The Adaptive Donchian plots a line based on the average of the lowest low and highest high. I call it 'ADL'. Maximum/Minimum lookback period defines the range where the adaptive length can move. When the asset velocity increases the indicator shortens its lookback period. When the asset velocity decreases the indicator lengthens its lookback period. The higher value 'Percent of change' is, the more adaptive it will be, hench, Adaptive Donchian sensitivity increases to velocity changes.
You can select from two different types of signals "Above or Below Middle Line" and "Touching Bands". "Above or Below Middle Line" gives a Buy signal if LOW is crossing over the middle line and Sell signal if HIGH is crossing under the middle line. "Touching Bands" gives Buy signal if HIGH touches the upper band and Sell signal if LOW touches the lower band.
== Color for "Touching Bands" == Green: Low is above center line - Up trending. Lighter Green: Close is above center line but Low is still below H/L line - Weaker up trend. Red: High is below center line - Down trending. Lighter Red: Close is below the center line but High is still above H/L line - Weaker down trend.
== Color for "Above or Below Middle Line" == Green: Low is above center line - Up trending. Red: High is below center line - Down trending.
== Notes == Bar coloring is disabled by default. Middle line can also act as a stop loss. Like if you like and Enjoy!
Code is currently closed as it needs more cleaning and updates. Feel free to comment and Follow to stay updated with upcoming scripts: tradingview.com/u/dman103
تم نشر هذا النص البرمجي بمصدر غير مفتوح ويمكنك استخدامه بحرية. يمكنك جعله مفضلاً لاستخدامه على الرسم البياني. لا يمكنك مشاهدة أو تعديل كود المصدر الخاص به.
هل تريد استخدام هذا النص البرمجي على الرسم البياني؟
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.