capissimo

PPO Divergence and Aggregate Signal Combo

This is a further development of the last two posts on aggregated signal generation. It shows how to implement the idea in conjunction with another indicator. In this case general rule for long and short entry: the aggregated curve (gray) must cross the mid-line. Colored columns serve as an early warning. Settings were tested with EURUSD in 5m, 30m and 1H TFs.
Note di rilascio: Minor fix connected with a scaling function.
Rimuovi dagli script preferiti Aggiungi agli script preferiti
Donate: PayPal (paypal.me)

Commenti

Seriously... Thanks for your work. Very clear code, nice indication. Very great.
+1 Rispondi
@Docop1, thx)
Rispondi
UPD: this line seems to produce better results:
fast = 5 //timeframe.multiplier<=5 ? 5 : timeframe.multiplier
Rispondi
capissimo capissimo
may as well be declared in the Inputs section
Rispondi
samdoug911 capissimo
@capissimo, Does it repaint?
Rispondi
capissimo samdoug911
@samdoug911, according to this article (https://www.tradingview.com/script/cyPWY96u-How-to-avoid-repainting-when-using-security-PineCoders-FAQ/), since the script does not use security function in the form security(..., ..., price, ..., ...), where price is any CURRENT price in the form close or hl2 or hlc3, etc., it does not repaint.
Rispondi
capissimo samdoug911
@samdoug911, by the way, repainting is a dubious term. It may stand for the situation when the indicator changes its display configuration after refreshing it. And this is exactly what I mean.
Rispondi
capissimo samdoug911
@samdoug911, the other meaning is an occasional appearance and disappearance of a signal, which depends upon the current bar.
Rispondi
capissimo samdoug911
@samdoug911, see section 'How to avoid repainting when NOT using the security() function?' here http://www.pinecoders.com/faq_and_code/
In other words, it repaints because the script does not use previous value of the price.
Rispondi
samdoug911 capissimo
@capissimo, I understand and you're certainly correct in your explanation. I agree. I've been using MT4 for many years and now trying Tradingview because of the community. I saw "highest" and "lowest" in the code. I think it was for the scale of the indicator. I'm trying to learn pinecode so its all new coding for me. Definitely different than SQL. Thanks for the indicator, ill try it out, it may offer something ive been looking for.
Rispondi
Home Screener azioni Screener forex Screener cripto Calendario economico Come funziona Caratteristiche Grafico Costi Invita un amico Regolamento Centro di supporto Soluzioni per broker & siti web Widget Librerie grafiche Libreria grafica leggera Blog & Novità Twitter
Profilo Impostazioni profilo Account e fatturazione Invita un amico I miei ticket di supporto Centro di supporto Idee pubblicate Follower Seguiti Messaggi Privati Chat Esci