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.
Sep 05
Release Notes: Minor fix connected with a scaling function.
Ta bort från favoritskript Lägg till som favoritskript
Donate: PayPal (paypal.me)

Kommentarer

Seriously... Thanks for your work. Very clear code, nice indication. Very great.
+1 Svara
@Docop1, thx)
Svara
UPD: this line seems to produce better results:
fast = 5 //timeframe.multiplier<=5 ? 5 : timeframe.multiplier
Svara
capissimo capissimo
may as well be declared in the Inputs section
Svara
samdoug911 capissimo
@capissimo, Does it repaint?
Svara
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.
Svara
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.
Svara
capissimo samdoug911
@samdoug911, the other meaning is an occasional appearance and disappearance of a signal, which depends upon the current bar.
Svara
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.
Svara
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.
Svara
Hem Aktie-screener Forex-screener Krypto-screener Ekonomisk kalender Hur det fungerar Diagramfunktioner Priser Refer a friend Ordningsregler Help Center Webbsidor och mäklarlösningar Widgets Diagramlösningar Lightweight Charting Library Blogg och nyheter Twitter
Profil Profilinställningar Konto och fakturering Refer a friend Mina kölappar Help Center Publicerade idéer Följare Följer Privata meddelanden Chatt Logga ut