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.
Информация о релизе: Minor fix connected with a scaling function.
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Хотите использовать этот скрипт на графике?

Комментарии

Seriously... Thanks for your work. Very clear code, nice indication. Very great.
+2 Ответить
@Docop1, thx)
Ответить
UPD: this line seems to produce better results:
fast = 5 //timeframe.multiplier<=5 ? 5 : timeframe.multiplier
Ответить
capissimo capissimo
may as well be declared in the Inputs section
Ответить
samdoug911 capissimo
@capissimo, Does it repaint?
Ответить
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.
Ответить
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.
Ответить
capissimo samdoug911
@samdoug911, the other meaning is an occasional appearance and disappearance of a signal, which depends upon the current bar.
Ответить
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.
Ответить
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.
Ответить
Домой Скринер акций Скринер форекс Скринер криптовалют Экономический календарь О проекте Особенности Цены Приведи друга Правила поведения Справочный центр Решения для сайтов и брокеров Виджеты Графики TradingView для сайтов Легкая версия графиков Блог и новости Твиттер
Профиль Настройка профиля Счёт и оплата Ваши друзья Монеты Мои запросы в поддержку Справочный центр Личные сообщения Чат Выйти