• Información general
  • Comentarios (1)
  • Discusión (15)
  • Novedades

TSO Top Bottom Divergence MACD

This indicator combines double bottom and double top reversal chart patterns together with detection of divergences between the price chart and the MACD oscillator.


  • Easily detect strong reversal signals
  • Allows to use double top/bottom and MACD divergence signals combined or independently
  • Get email and/or push notification alerts when a signal is detected
  • Custom colors can be used
  • The indicator is not repainting
  • Can easily be used in an EA (see below)


  • ENABLE Double Top - Bottom: Enable the double top - bottom indicator.
  • ENABLE Show Double Top - Bottom Potential: Show Potential Double Top - Bottom before happens(repaint feature)
  • ENABLE Divergence: Enable the MACD divergence indicator.
  • Fast Period: Set the fast period of the MACD oscillator.
  • Slow Period: Set the slow period of the MACD oscillator.
  • Signal Period: Set the signal period of the MACD oscillator.
  • Applied Price: The candlestick price to be used for MACD calculations.
  • Relationship between Double Top-Bottom and MACD Divergence:
    • Combined: All Double Top - Bottom signals are shown but only the MACD Divergence Signals that correspond with Double Top - Bottom signals are shown. Both Double Top - Bottom and MACD Divergence indicators should be enabled.
    • Independent: Each indicator presents their signals independently.
  • Number of Bars (Odd Number) [Affects only Divergence]: This is the number of bars that are required to detect a price high or low, including the top/bottom bar. For example, if set to 5, price HIGHs will be detected at bars which have a HIGH that is higher than the HIGH of the first two bars on their left and right. If MACD Divergence is used independently, it uses this mechanism to detect highs and lows. Otherwise, highs and lows are detected through the Double Top/Bottom indicator.
  • Color Settings: Set the colors for the objects shown on the graph.
  • ENABLE Alert For Divergences: Get an alert when divergence is detected.
  • ENABLE Alert For Double Top - Bottom: Get an alert when double top/bottom is detected.
  • ENABLE Metatrader Alert: Get an alert on the MetaTrader platform.
  • ENABLE Email Alert: Get an alert to your email.
  • ENABLE Push Notification: Get a push notification on your mobile.

For EA Developers

  1. MACD value: Buffer = 0
  2. Divergence Signal: Buffer = 1
    • Buy=0
    • Sell=1
  3. First Bottom value: Buffer = 2
  4. Second Bottom value: Buffer = 3
  5. First Top value: Buffer = 4
  6. Second Top value: Buffer = 5
  7. Top/bottom Signal: Buffer = 6
    • Buy=0
    • Sell=1
  8. MACD Signal value: Buffer = 7
rainwalker123 2019.04.13 08:41 

Very very good Indicator and signals.

Versión 1.32 2019.05.13
- fix minor issue
Versión 1.31 2019.04.23
- New feature for showing potential double top/bottom before happens
- Adding alert for double top/bottom
Versión 1.20 2017.10.26
- Code optimization
- Minor bug fixes