Работа завершена
Техническое задание
I want a long-only strategy in Pine Script version 6 designed to run on Heikin Ashi candle chart type. The strategy uses two groups of EMAs:
Group A: EMA 6, 7, 8, 10, 12, 15;
Group B: EMA 30, 35, 40, 45, 50.
MACD: 50, 200,20
Entry Logic (Multi-Step Process):
Step 1 – Detect GMMA Breakout Setup:
All EMAs of Group A cross above all EMAs of Group B from down to upside;
Step 2 – After the group cross in step 1 above, follow the Green HA candles, and when a Red HA candle closes; then Mark the "Registance" at its previous HA Candle's Body High. (SL: its swing Low in case of trade execution)
Step 3 - After completing Above Step 3; if Group B EMAs are in bullish State (i.e. smaller EMAs are above larger EMAs); and HA Bullish Candle Closes above the "Registance Candle's Body High;
Step 4: Buy Long on Candle close.
Stoploss: Below swing Low as stated above)
Target: 1:2
Only buy trades.
(Image attached for reference)