SpaghettiScott

Scott’s ATR volatility histogram with smoothing

ATR shows volatility. The sma of the ATR (default=14 period) shows the average volatility over the look-back period, (default=200 period.)
When volatility is higher than average, the histogram turns green. When volatility is less than average, the histogram turns red. This shows volatility expansion and contraction. Volatility expansion is a good confirmation for entering a trade position. Volatility contraction is a sign that a trend is not developing.
Now I have added an sma which acts as a smoothing of expanding or contracting volatility. When the histogram is higher than this smoothing (default=21) then volatility expansion momentum is creasing. WWhen the histogram is lower than the smoothing sma, volatility contraction momentum is increasing.
I introduce an idea that volatility momentum can be used as a substitute for volatility expansion and contraction.
Now we have volatility expansion momentum and volatility contraction momentum.
نص برمجي مفتوح المصدر

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

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

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

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