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
Script de código aberto

Dentro do verdadeiro espírito TradingView, o autor deste script publicou ele como um script de código aberto, para que os traders possam compreender e checar ele. Um viva ao autor! Você pode usá-lo gratuitamente, mas a reutilização deste código em uma publicação é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.

Quer usar esse script no gráfico?