OPEN-SOURCE SCRIPT

Trend following 3 EMA & Bullish Engulfing indicator for Forex

アップデート済
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
リリースノート
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

オープンソーススクリプト

TradingViewの精神に則り、このスクリプトの作者は、トレーダーが理解し検証できるようにオープンソースで公開しています。作者に敬意を表します!無料で使用することができますが、このコードを投稿で再利用するには、ハウスルールに準拠する必要があります。 お気に入りに登録してチャート上でご利用頂けます。

チャートでこのスクリプトを利用したいですか?

免責事項