RafaelZioni

Peak detector

This indicator aims to detect the peaks of high and lows
in volatile assets like BTC and others , trend normaly start or end at those peaks . it simple logic that based on the fact that we reach price satuartion (either end of seller or end of buyers)
so how it logic work?
I takew linear regression channel (high low) then we expect the peaks either the high or the low will be at some extreme
so simply we put percentage either above or bellow and by this way we can try to detect those peaks
you can control the linear channel by length or deviation
and you can try to find best estimation of peak by % high or low
alert when peak is found and signal included
this is just idea, can be make better if we add more indicators to it :)
for each time frame try to adjust the % for best fit
Скрипт с открытым кодом

В истинном духе TradingView автор этого скрипта опубликовал его с открытым исходным кодом, чтобы трейдеры могли понять, как он работает, и проверить на практике. Вы можете воспользоваться им бесплатно, но повторное использование этого кода в публикации регулируется Правилами поведения. Вы можете добавить этот скрипт в избранное и использовать его на графике.

Отказ от ответственности

Все виды контента, которые вы можете увидеть на TradingView, не являются финансовыми, инвестиционными, торговыми или любыми другими рекомендациями. Мы не предоставляем советы по покупке и продаже активов. Подробнее — в Условиях использования TradingView.

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