OPEN-SOURCE SCRIPT

Trend following 3 EMA & Bullish Engulfing indicator for Forex

Aktualisiert
Hello world,

I now took the time and puzzled through my own indicator.

The idea:
Main "strategy" uses 3 EMAs (8, 13 and 21) to attain trend-relevant information.
Then we look for bullish & bearing engulfing candles which indicate and pullback into trend direction and a gain in momentum.
Trading purpose:
One could now enter with next open. SL at low/high of engulfing candle. TP at e.g. 1.25 of that candles size.

Security:
There are two security functions build in.
We check for higher timeframe confirmation.
This is done by checking if current trend is in accordance with the EMA of the next higher timframe.
Standard-deviation is 3 on default. Can be changed in the inputs.

Alerts:
Until now there is just one alertcondition programmed.
It alerts for every engulfing candle (bullish and bearish).


More will follow in further versions.

Inputs:
I build in multiple inputs.
- switch on/off the security EMA's
- define security trend backcheck
- define the higher timeframe (15min/1h, 1h/240, 4h/D, D/W)

Happy to take feedback or contr.

All the best,
c4ss10p314
Versionshinweise
New feature:
Only one alert needed, not two like before.
Alert now triggers when engulfer is painted and gives the low/high of the engulfer + the distance + 3 minticks.

If "StopLossDelta" is positive, it's a bullish engulfing candle.
If it is negative, it is a bearish engulfing candle.

StopLossDelta is useful since my broker only accepts distance values.
This is the distance from open of candle to stoploss.
Candlestick AnalysisExponential Moving Average (EMA)Engulfing Candletrendfollowing

Open-source Skript

Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun das Script auch andere Trader verstehen und prüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden. Die Nutzung dieses Codes in einer Veröffentlichung wird in unseren Hausregeln reguliert. Sie können es als Favoriten auswählen, um es in einem Chart zu verwenden.

Möchten Sie dieses Skript auf einem Chart verwenden?

Haftungsausschluss