dickymoore

MA cloud + divergence tension

dickymoore تم تحديثه   
I noticed how well BTC often bounces off the 200 Moving Averages on the 4HR so started investigating ways of visualising the ongoing relationship between price and MAs.

Firstly, this draws a cloud which is made up of the SMA and the EMA, and it colours the cloud based on how far the price is diverging from the middle of the cloud. If the price is the most extreme distance out of the set (by default, the past 200) the cloud will be coloured dark blue. If it's the closest, it will be transparent.

I then looked at plotting these extremes. If the price passes the sensitivity threshold (default 99 - I will look at adding more sensitivity in the future), and by that I mean the price is more divergent than that percentage of other prices inspected in the range, it plots a circle - green if it's oversold, red if it's overbought.

These signal maximum tension between the price and the moving averages. Though when I say maximum, I'm only referring to the historic range! As you can see, often price diverges even further and so more signals are placed. But usually, this tension is resolved, either by the MA cloud moving towards the price or the price moving towards the cloud. With confluence from other indicators, these could be good points to start taking dollar cost averaging, or start taking profits.

Once that tension is released, and the price and cloud converge closely again, we get a blue "relief signal", which could signal that the price action is about to rebound again.

Please be careful with this, it's only for fun. Not investment advice!

If you have any suggestions, comments, criticism, I'd love to hear them,

Thanks

ملاحظات الأخبار:
simplified the detection of when price moves within the cloud sensitivity area.
نص برمجي مفتوح المصدر

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

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

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

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