• Overview
  • Reviews
  • Comments (3)
  • What's new

TSO Top Bottom Divergence MT5

This indicator combines double bottom and double top reversal chart patterns together with RSI divergence detection.


  • Easily detect strong reversal signals.
  • Allows to use double top/bottom and RSI 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 Divergence: Enable the RSI divergence indicator.
  • RSI Period: Set the period of the RSI.
  • RSI Applied Price: The bar price to be used for RSI calculations.
  • Relationship between Double Top-Bottom and RSI Divergence:
    • Combined: All Double Top - Bottom signals are shown but only the RSI Divergence Signals that correspond with Double Top - Bottom signals are shown. Both Double Top - Bottom and RSI 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 RSI 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.
  • ENABLE Metatrader Alert: Get an alert on the MetaTrader platform when a divergence is detected.
  • ENABLE Email Alert: Get an alert sent to your email when a divergence is detected.
  • ENABLE Push Notification: Get a push notification on your mobile when a divergence is detected.

For EA Developers

  1. RSI 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
No reviews
Version 1.20 2017.10.26
- Code optimization
- Minor bug fixes
Version 1.1 2017.10.16
- Added support for signal notifications through email and push notifications on mobile devices.