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. اقرأ المزيد في شروط الاستخدام.

هل تريد استخدام هذا النص البرمجي على الرسم البياني؟