OPEN-SOURCE SCRIPT

Price - Mean Reversion Expansion

تم تحديثه
A simple indicator, to plot the quantitatively the reversion and expansion of price from a set of means.

A green bar plots prices above the set of means. A bar plots prices below the set of means. A blue bar plots price entangled in the means. The height of the bars denotes the far-ness from the set of means.

A blue envelope over the bars is the average of this reversion/expansion. A "crossover" of any bar (red/green) over this envelope is indicated by a "green dot" a "crossunder" of any bar (red/green) under this envelope is indicated by a "red dot".

The small trend strength table (when enabled) on the right side below show in a easy manner the data presented in the "Mean Angles" indicator. Refer to description there for more details.
ملاحظات الأخبار
  • Added Price Delta, scaled price performance

Added an overlap of scaled price movement vis-a-vis the expansion and contraction. Clearly identifies the trend changes and objectively defines expansion and reversion.
ملاحظات الأخبار
  • Option to select another symbol (benchmark) instead of the chart symbol

This option will help in measuring the reversion / expansion vis-a-vis broader benchmark when placed side-by-side. When the other symbol (benchmark is ticked, the envelope will be of orange color and not the usual blue color. This will help in quick identification.

Refer to لقطة
The lower plot is orange envelope, that of the benchmark. We can clearly observe regions where the symbol followed the benchmark, outperforms or lags the benchmark. This analysis can be done over multiple timeframes.
ملاحظات الأخبار
  • Fixed other symbol EMA calculations when valid mean length of symbol starts later than benchmark
contractionExponential Moving Average (EMA)expansion

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

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

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


يعمل أيضًا:

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