All In One Divergence - indicator for MetaTrader 4




All In One Divergence - indicator for MetaTrader 4


This indicator is based on code from the original author Petr, published by Aleh Sasonka.

As per users requests in comments, some improvements were made, specifically:

  • Trading alerts (Alerts in MetaTrader 4 terminal, Email notifications, Push notifications).
  • Inputs to enable/disable each alert type separately.
  • Dropdown list of 30 indicators with real names instead of numbers.
  • Signal buffer (Indicator output value).
  • Indicator is compatible with Universalis MT4, you can import it, create your own automated strategy and backtest with high precision (step-by-step guide).


Adjustable Parameters

  • Osc=29 - the number of the oscillator.
  • TH=true - bearish divergence.
  • TL=true - bullish divergence.
  • trend=true - support/resistance lines.
  • convergen = true - hidden divergence.
  • Complect = 1 - the distinguishing index of the indicator on the chart.
  • BackSteph = 0 - number of steps back h.
  • BackStepl = 0 - number of steps back l.
  • BackStep = 0 - number of steps back.
  • qSteps = 1 - number of displayed steps, no more than three.
  • LevDPl = 5 - DeMark level points (2 = the central bar will be above (below) the two bars on the left).
  • LevDPr = 1 - DeMark level points (2 = the central bar will be above (below) the two bars on the right).
  • period = 8 - period for iADX, iATR, iBearsPower, iBullsPower, iCCI, iDeMarker, iForce, iMomentum, iMFI, iRVI, iStdDev, iRSI, iRSI, iWPR.
  • ma_method = 0 - averaging method for iStochastic, iStdDev, iForce.
  • ma_shift = 0 - MA shift for iStdDev.
  • applied_price = 4 - applied price for iRSI, iRSI, iStdDev, iOBV, iOsMA, iMACD, iMomentum, iForce, iCCIiBullsPower, iBearsPower, iADX.
  • mode=0 - line index for iStochastic, iRVI, iMACD, iADX.
  • fast_ema_period = 12 - fast MA period for iOsMA, iMACD.
  • slow_ema_period = 26 - slow MA period for iOsMA, iMACD.
  • signal_period = 9 - signal line period for iOsMA, iMACD.
  • Kperiod = 13 - K line period for iStochastic.
  • Dperiod = 5 - D line period for iStochastic.
  • slowing = 3 - slowing for iStochastic.
  • price_field = 0 - applied price for iStochastic.
  • showBars = 1000 - if = 0, the indicator is displayed for the entire chart.
  • Trend_Down = true - resistance lines.
  • Trend_Up = true - support lines.
  • TrendLine = true - support/resistance lines.
  • HandyColour = true.
  • Highline = Red - HL channel color.
  • Lowline = DeepSkyBlue - LL channel color.
  • ChannelLine = false - channels parallel to trend lines.
  • Trend = 0 - 1 = only for UpTrendLines, -1 = only for DownTrendLines, 0 = for all TrendLines.
  • Channel = false - channels.
  • Regression = true - Linear Regression Channel, false - Standard Deviation Channel.
  • RayH = true - ray for the High channel.
  • RayL = true - ray for the Low channel.
  • ChannelH = Red - color of the High channel.
  • ChannelL = DeepSkyBlue - color of the Low channel.
  • STD_widthH = 1.0 - deviation size for the CHANNEL High object.
  • STD_widthL = 1.0 - deviation size for the CHANNEL Low object.
  • comment = false - display comments.
  • code = 159 - character code of the Wingdings font to display the extremums.
  • BuyStop = false - BuyStop levels.
  • SellLimit = false - SellLimit levels.
  • SellStop = false - SellStop levels.
  • BuyLimit = false - BuyLimit levels.
  • Alerts = false - Enable/Disable trading alerts.
  • Email = false - Enable/Disable email trading alerts.
  • Push = false - Enable/Disable push trading alerts.


Examples


Recommendations

  • Change the Complect parameter when attaching more than one indicator to the chart.


Download All In One Divergence - indicator for MetaTrader 4




Related News




Latest News
U.S. women's veterans praise new era of Andonovski
08.03.2020 06:07
By Amy Tennery (Reuters) - Little more than four months on the job, U.S. women's soccer head coach Vlatko Andonovski is earning high praise from team veterans, as the squad looks to build off the momentum of its fourth World Cup win and shake off the demons of an early exit at Rio 2016. Andonovski, who took over in late October from longtime
Read more
Boca pip River to Argentine title with late Tevez screamer
08.03.2020 05:07
BUENOS AIRES (Reuters) - A dramatic late goal from Carlos Tevez gave Boca Juniors the Argentine league title on Saturday, as the Buenos Aires club overcame Gimnasia 1-0 to pip their arch rivals River Plate on an breathtaking last day of the season. River led the Superliga from Boca by a point going into their final round of games and could have
Read more
Boca pip River to Argentine title with late Tevez screamer
08.03.2020 05:04
BUENOS AIRES (Reuters) - A dramatic late goal from Carlos Tevez gave Boca Juniors the Argentine league title on Saturday, as the Buenos Aires club overcame Gimnasia 1-0 to pip their arch rivals River Plate on an breathtaking last day of the season. River led the Superliga from Boca by a point going into their final round of games and could have
Read more
Japan's 7-Eleven worker infected with coronavirus, another case likely caused meningitis
08.03.2020 04:06
TOKYO (Reuters) - A worker at Japan's 7-Eleven convenience store chain in Yamanashi prefecture, west of Tokyo, has contracted the new coronavirus, the company said on Sunday. 7-Eleven, a unit of Japanese retail group Seven & i Holdings said it temporarily closed the store for cleaning and disinfection after the case was confirmed on Saturday
Read more
U.S., Japan women's soccer teams keep focus on games as coronavirus fears swirl
08.03.2020 04:03
By Amy Tennery Harrison, NEW JERSEY (Reuters) - The U.S. and Japan women's national soccer teams said on Saturday they were laser-focused on preparing for the upcoming Olympics, even as a global coronavirus outbreak threatens the postponement or cancellation of the Tokyo Games. The two teams are expected to compete in the second of three
Read more