fareidzulkifli

Study - Mean Reversion Index

fareidzulkifli تم تحديثه   
© fareidzulkifli

Disclaimer:
I always felt Pinescript is a very fast to type language with excellent visualization capabilities, so I've been using it as code-testing platform prior to actual coding in other platform.
Having said that, these study scripts was built only to test/visualize an idea to see its viability and if it can be used to optimize existing strategy.
While some of it are useful and most are useless, none of it should be use as main decision maker.

Indicator title : Mean Reversion Index
Description : This index is based on theory that suggests that asset prices and historical returns eventually will revert to the long-run mean or average level of the entire dataset.
Please note that this indicator are not intended to establish a trend bias. It only tells how far the closing price is from the mean price in terms of ATR multiples,
e.g. The green zone indicates that the price is within 3 ATR (default setting) from the mean price.
One way to use it is to determine a safe entry zone to enter current trend from a pullback.
For example, after a sharp retracement during an uptrend, as long as it does not retraced beyond the low of the green zone, Chances are, price is only retraced to its mean value and its not a start of a new downtrend and now ready to continue the uptrend.
More aggressive method to use this is as indicator approaching the higher limit of yellow zone,
prices is to far from the mean and not sustainable, and we can start to look for counter trend opportunity as price reverse to its mean value.
ملاحظات الأخبار:
- Improve smoothing method
- Improve line display
- Added Sensitivity Option (High sensitivity will have more jagged line, and slightly faster reaction to price)

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

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

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