happymab

(mab) Divergences

happymab تم تحديثه   
This overlay indicator detects divergences between price movement and a number of price, volume and combined price-volume indicators.

In contrast to other scripts which can detect divergences, this indicator re-evaluates the status of each divergence at every confirmed candle. Divergences are potential when they are first detected. They can later be confirmed if the indicator value crosses the confirmation level. They can be invalidated before or after confirmation if the indicator value crosses the invalidation level.

Potential divergences are good bullish or bearish signals. However, confirmed divergences are much more significant and powerful. Invalidated divergences on the other hand shouldn't be considered as any signal anymore, that's why the are removed from the display by default.

The chart below illustrates confirmation and invalidation levels.


Bullish divergences:
- Potential bullish divergence: Price in downtrend making a lower low (pivot point D lower than pivot point B) while the indicator makes a higher low (pivot point D higher than pivot point B)
- Confirmed bullish divergence: The indicator value moves above the previous high (indicator value E higher than confirmation level C)
- Invalidated bullish divergence: The indicator value moves below the previous low (indicator value lower than invalidation level D). Divergences can be invalidated at any point, before or after
confirmation.

Bearish divergences:
- Potential bearish divergence: Price in uptrend making a higher high (pivot point D higher than pivot point B) while the indicator makes a lower high (pivot point D lower than pivot point B)
- Confirmed bearish divergence: The indicator value moves below the previous low (indicator value E lower than confirmation level C)
- Invalidated bearish divergence: The indicator value moves above the previous high (indicator value higher than invalidation level D). Divergences can be invalidated at any point, before or after
confirmation.

Divergences for the following price and volume indicators are implemented:
- MACD , Moving Averages Convergence Divergence, modified default configuration
- RSI , Relative Strength Index
- MMF, (mab) Money Flow , my proprietary money flow index using price and volume data and a formula similar to RSI
- MVI , (mab) Volume Index, my proprietary volume index using a formula similar to RSI
- Willy, a Williams %R, modified default configuration
- SqzMom, Squeeze Momentum, the momentum indicator of Squeeze Pro (John Carter)
- CMF , Chaikin Money Flow
- MFI , Money Flow Index
- OBV, On-balance Volume

V 0.9

© happymab
ملاحظات الأخبار:
V 1.0
- Fixed: Labels with only invalidated divs have been shown as empty labels
- Fixed: "Maximum number of bull/bear div labels" is now working
نص برمجي محمي
تم نشر هذا النص البرمجي بمصدر غير مفتوح ويمكنك استخدامه بحرية. يمكنك جعله مفضلاً لاستخدامه على الرسم البياني. لا يمكنك مشاهدة أو تعديل كود المصدر الخاص به.
إخلاء المسؤولية

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

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