PROFITSCIENCE

[DT] ATR Trigger Bar Overlay

ATR Trigger candle is an idea that I originally heard about studying alexander elder's work at spike trade. This code is my interpretation of his work.

The idea behind an ATR trigger bar is to find areas where price is likely trapping market participants. In some cases a trigger will not form in one bar so a two bar analysis is also included in study.

Bull trap condition:
- price moves above previous bar high and in the same candle will close below previous bar close

Bear trap condition:
- price moves below previous bar low and in the same candle will close above previous bar close

TODO:

- categorize trigger bar as 1 bar or 2 bar price action
- allow user to filter 1 bar or 2 bar price action
- multiple timeframes
- volume filter
- horizontal line for average price on a trigger bar
نص برمجي مفتوح المصدر

قام مؤلف هذا النص البرمجي بنشره وجعله مفتوح المصدر، بحيث يمكن للمتداولين فهمه والتحقق منه، وهو الأمر الذي يدخل ضمن قيم TradingView. تحياتنا للمؤلف! يمكنك استخدامه مجانًا، ولكن إعادة استخدام هذا الكود في منشور تحكمه قواعد الموقع. يمكنك جعله مفضلاً لاستخدامه على الرسم البياني.

إخلاء المسؤولية

لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.

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