EMA Layered Strategy V5.9 by ozerh07
By ozerh07
Performance Metrics
- Author: ozerh07
- Symbol: BIST:ENKAI
- Timeframe: 1 week
- Net P&L: +4,673.35 TRY (+42.48%)
- Win Rate: 42.5%
- Profit Factor: 10.484
- Max Drawdown: 204.90 TRY (2.00%)
- Total Trades: 40
Description
Here is a professional English explanation of your EMA Layered Strategy V5.9. You can use this for your GitHub documentation, TradingView script description, or a technical manual.📈 EMA Layered Strategy V5.9 (Technical Documentation)OverviewThe EMA Layered Strategy is a trend-following trading system designed to capitalize on medium-to-long-term momentum. It uses a triple Exponential Moving Average (EMA) setup to identify the primary trend, entry points, and dynamic support levels for adding to positions (pyramiding).Core Logic & IndicatorsThe strategy utilizes three specific EMAs:EMA 34 (Signal Line): Used for primary entry triggers and initial take-profit levels.EMA 55 (Support/Rebuy Line): Acts as a secondary support level for adding to existing positions.EMA 200 (Trend Filter): Defines the "Golden Zone." The strategy only goes Long when the price is above the 200 EMA to ensure trades align with the macro trend.Key FeaturesTimeframe Protection: Includes a built-in filter (Min. Period) to prevent the script from running on low-liquidity/volatile timeframes (e.g., preventing execution below 15 minutes).Session Control: Optimized for the BIST (Borsa Istanbul) or specific market hours (10:00 - 18:00) to avoid "gap" risks and low-volume overnight moves.Layered Exit (Partial Take Profit): Automatically closes 50% of the position when the price crosses under the EMA 34, securing profits while keeping "skin in the game."Pyramiding (Re-entry): If the trend remains strong, the strategy adds to the position when the price bounces off or crosses back over the EMA 55.Automation Ready: Generates standardized JSON Alert Messages for seamless integration with Webhooks and algorithmic execution bots (e.g., 3Commas, WunderTrading).Strategy ConditionsActionConditionInitial Entry (GIRIS)Price crosses above EMA 34 AND Price > EMA 200Take Profit 50%Price crosses below EMA 34Add Position (REBUY)Price crosses back above EMA 55 (If already in a trade)Total Exit (STOP)Price crosses below EMA 55 OR Price falls below EMA 200How to UseInputs: Set your preferred session times and minimum timeframe under the "Inputs" tab.Pyramiding: The default is set to 2. This means the strategy will open a maximum of two layers (Initial + One Add-on).Alerts: When creating an alert on TradingView, set the Message to {{strategy.order.alert_message}} to pass the JSON commands to your trading bot.Would you like me to add a "Risk Management" section explaining the Stop-Loss calculation or perhaps a guide on how to adjust the JSON for a specific bot?