OPEN-SOURCE SCRIPT

Original Keltner with Support And Resistance

تم تحديثه
This indicator is based on the original Keltner Channels using typical price and calculating the 10 period average of high - low

Typical price = (high + low + close)/3

In this case, I've taken Typical price as (open + high + low + close)/4 on the advice of John Bollinger from his book Bollinger on Bollinger Bands.

Buy Line = 10 Period Typical Price Average + 10 Period Average of (High - Low)
Sell Line = 10 Period Typical Price Average - 10 Period Average of (High - Low)

This is the basis for the indicator. I've added the highest of the Buy Line and lowest of the Sell Line for the same period which acts as Support and Resistance.

If price is trending below the Lowest of Sell Line, take only sell trades and the Lowest Line acts as resistance.

If price is trending above the Highest of Buy Line, take only buy trades and the Highest Line acts as support.
ملاحظات الأخبار
Removed the bool argument since it doesn't get with the indicator's purpose.
Bands and Channelskeltnerchannel

نص برمجي مفتوح المصدر

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

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

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