Quadruple EMA with Support and Resistance — Strategy by ankurb171991
By ankurb171991
Performance Metrics
- Author: ankurb171991
- Symbol: NSE:TATAPOWER
- Timeframe: 1 day
- Net P&L: −92,829.45 INR (−105.07%)
- Win Rate: 0.0%
- Profit Factor: 0
- Max Drawdown: 93,187.50 INR (93.19%)
- Total Trades: 22
Description
# EMA Trend + Support & Resistance Strategy## OverviewA clean, rule-based trading strategy designed for the **Daily timeframe**. It uses four Exponential Moving Averages (EMA 20, 50, 100, 200) as a trend filter combined with dynamic Support & Resistance levels to identify high-probability breakout and breakdown setups.The logic is intentionally simple — no indicators stacked on indicators, no complex filters. Just price, trend direction, and key levels.---## How It Works### Entry — Long (CE / Buy)A long entry is triggered when:- Price closes **above all four EMAs** (20, 50, 100, 200) — confirming strong bullish trend alignment- Price **breaks above the previous bar's high** — confirming momentum and breakout### Entry — Short (PE / Sell)A short entry is triggered when:- Price closes **below all four EMAs** (20, 50, 100, 200) — confirming strong bearish trend alignment- Price **breaks below the previous bar's low** — confirming momentum and breakdown### Exit Logic- **Stop Loss** — set at the previous bar's low (for longs) or previous bar's high (for shorts)- **Target** — calculated using the configurable Risk:Reward Ratio (default 3:1)- **EMA-based dynamic exit** — if price closes below EMA 20 or EMA 50 (for longs), or above EMA 20 or EMA 50 (for shorts), the stop is tightened to force an exit on the next bar, protecting open profit- **Optional Trailing Stop Loss** — activates after a defined profit % is reached, then trails at a set % distance from the peak---## Indicators on Chart| Line | Color | Meaning ||------|-------|---------|| EMA 20 | Yellow | Fast trend / momentum || EMA 50 | Blue | Mid-term trend || EMA 100 | White | Medium-long trend support || EMA 200 | Green | Long-term trend direction || Resistance | Orange dots | Swing high levels || Support | Blue dots | Swing low levels || ▲ Green arrow | Below bar | Long (CE) entry signal || ▼ Red arrow | Above bar | Short (PE) entry signal |---## Settings| Input | Default | Description ||-------|---------|-------------|| Risk Reward Ratio | 3.0 | Target = Entry + (RR × Risk) || Show Support/Resistance | On | Toggle S/R level plots || Swing Detection Bars | 20 | Lookback bars for pivot detection || One Trade Per Day | On | Limits to one CE and one PE per day || Use Trailing Stop Loss | Off | Enable trailing SL after activation || Trailing Activation % | 1.0% | Profit % before trailing SL kicks in || Trailing Distance % | 0.5% | Distance the trailing SL follows from peak |---## Best Used On- **Timeframe:** Daily (recommended), Weekly- **Instruments:** Stocks, Indices, ETFs- Works well on trending instruments where EMA stacking is meaningful---## Notes- This strategy does **not** use candle body filters, volume filters, or session time windows — keeping it universally applicable across timeframes and instruments- One trade per direction per day is enforced by default to avoid overtrading- Both CE (long) and PE (short) trades cannot be open simultaneously---⚠️ **Disclaimer:** This strategy is for educational and backtesting purposes only. Past performance does not guarantee future results. This is not financial advice. Always do your own research and consult a qualified financial advisor before making any trading decisions.