OPEN-SOURCE SCRIPT

Trend following 3 EMA & Bullish Engulfing indicator for Forex

Aggiornato
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
Note di rilascio
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

Script open-source

In pieno spirito TradingView, l'autore di questo script lo ha pubblicato open-source, in modo che i trader possano comprenderlo e verificarlo. Un saluto all'autore! È possibile utilizzarlo gratuitamente, ma il riutilizzo di questo codice in una pubblicazione è regolato dal nostro Regolamento. Per aggiungerlo al grafico, mettilo tra i preferiti.

Vuoi usare questo script sui tuoi grafici?

Declinazione di responsabilità