TradingView
DanyChe
19 set 2019 15:47

Candle Patterns Alert 

Brent Crude Oil FuturesMOEX

Descrizione

Candlestick pattern alerts for strategies "Candle Patterns Strategy" and "Candle Patterns Strategy - 2".
In order not to receive unnecessary signals, in the "Manage alerts" option should be selected "Once per bar close".
Commenti
jepper987
The engulfing logic is incorrect. Engulfing concerns the body (and direction) of the candle, not the shadows. This is the correct logic, although bear in mind this alone does not consider the direction of any previous trends, it only ensures the direction of the previous candle is reversed.

bullish_engulfing = close[[]0]>close[[]1] and close[[]0]>open[[]1] and open[[]0]<open[[]1] and open[[]0]<close[[]1] and close[[]1]<open[[]1] ? OnEngulfing : na
bearish_engulfing = close[[]0]<close[[]1] and close[[]0]<open[[]1] and open[[]0]>open[[]1] and open[[]0]>close[[]1] and close[[]1]>open[[]1] ? OnEngulfing : na
HTVH
Best candlestick alerts so far on tradingview!!
Can you plz add pin bar to this script ?
DanyChe
@WinterX, Thanks. As soon as I am done with current affairs, I will see what I can do.
PDIFM
Only Engulfing appear on my charts.
Karthi056
Thanks for your efforts
AyoFR
Greetings, in my version of trading view (premium), I'm not shown an option for "bar close" in setting alterts. It appears I'll have to add relevant code in the "message" box. If you can supply a sample of functional code for this I would be most appreciative.
Altro