- Sergey Deev
- Version: 1.5
- Mise à jour: 18 novembre 2021
- Activations: 5
The indicator displays renko bars on a chart, uses them to plot the MACD oscillator and determines the divergence conditions (divergences of price movements and oscillator values). The buy/sell signal is formed if the next High/Low price is not confirmed by the oscillator values.
The ZigZag indicator is used to evaluate the extremums. Only the last 3 peaks are taken into account (see the screenshot). If peak 1 is higher than peak 2 or peak 3, and at the same time the macd value is lower, then a sell signal is formed. The logic of buy signals is mirrored.
The indicator draws its signals as arrows in the main chart window, displays pop-up messages, sends emails and push-notifications, as well as generates an EventChartCustom custom event for using the signal in automation of trading. The event generated by the indicator can be handled by an external EA in the OnChartEvent function. The parameters passed to the event handler from the indicator are the following: dparam - the value of the nearest price peak; sparam - text message.
Description of the indicator parameters:
- RenkoBar - size of a Renko bar in points (automatically recalculated for 5-digit quotes);
- CountBars - the number of Renko bars displayed on the chart;
- bearColor - color of a bearish Renko bar;
- bullColor - color of a bullish Renko bar;
- hideBars - flag to hide the usual bars on the chart;
- MacdFast - period of the fast line of the oscillator;
- MacdSlow - period of the slow line of the oscillator;
- MacdColor - color of the oscillator;
- zzDev - deviation from the previous movement as a percentage;
- zzBack - deviation from the previous movement as a number of Renko bars;
- zzColor - color of the ZigZag lines;
- zzWidth - width of the ZigZag lines.
- signalBuyColor - the color of the Buy signal arrow;
- signalSellColor - the color of the Sell signal arrow;
- useAlert - enable pop-up messages;
- useMail - enable e-mail messages;
- useNotification - enable push-notifications;
- CustomEventBuy - indicator of the custom buy event (0 - disable);
- CustomEventSell - indicator of the custom sell event (0 - disable);
A very bad indicator that it is losing your money just nonsense candles do not open automatically and candles do not move with the price it only brings loss