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
Skript med en öppen källkod

I sann TradingView-anda har författaren publicerat detta skript med öppen källkod så att andra handlare kan förstå och verifiera det. Hatten av för författaren! Du kan använda det gratis men återanvändning av den här koden i en publikation regleras av våra ordningsregler. Du kan ange den som favorit för att använda den i ett diagram.

Frånsägelse av ansvar

Informationen och publikationerna är inte avsedda att vara, och utgör inte heller finansiella, investerings-, handels- eller andra typer av råd eller rekommendationer som tillhandahålls eller stöds av TradingView. Läs mer i Användarvillkoren.

Vill du använda det här skriptet i ett diagram?