TradingView
madoqa
5 feb 2020 03:54
Divergence MACD [mado]
FX:EURGBP
60
Euro Fx/British Pound
FXCM
Descrizione
⋅
5 feb 2020 03:54
Divergence screener for MACD
Regular Bullish: "D" navy label
Hidden Bullish: "H" navy label
Regular Bearish: "D" red label
Hidden Bearish: "H" red label
Centered Oscillators
Divergence
Commenti
alorse
⋅
22 lug 2021 00:59
Hi, thanks for the scripts, works awesome, however the line is printed late, 2 or 3 candles after the divergence, do you now how to fix it?
petemartin95
⋅
26 apr 2021 07:46
Any idea how to get alerts to fire on the regular divergences?? Thanks.
alorse
⋅
22 lug 2021 01:02
@petemartin95
, modify the script and add this to the end:
`alertcondition((bullCond ? macd[lbR] : na) or (bearCond ? macd[lbR] : na), "Divergence", "{{ticker}}: Divergence in {{interval}}")`
Then you can setup the alerts through tradingview.
Altro