RenkoButterfly
- Indicators
- Sergey Deev
- Version: 1.1
- Updated: 18 November 2021
- Activations: 5
The indicator displays Renko bars on the chart, uses them to plot the ZigZag - trend lines connecting the local Lows and Highs of the price movement, and highlights them based on the Gartley patterns, showing the potential price reversal points.
Renko - specialized display of the price action, in which the graph is displayed not every bar of the time frame, but only under the condition that the price had passed more than the specified number of points. Renko bars are not bound to a time frame, so the indicator can work on any time frame with the same efficiency.
This implementation of the ZigZag is plotted based on two parameters - zzDev (minimum deviation as a percentage of the previous movement) and zzBack (the minimum number of Renko bars formed in the direction opposite to the previous movement).
The Gartley patterns are highlighted according to the specified ratio. An example of naming the vertices is provided in the screenshot, proportions - in the indicator parameters. The proportions set in the indicator by default aim only to increase the number of identified figures and to demonstrate the operability of the indicator. You can enter more precise values for the indicator to detect specific patterns. The indicator can be configured to detect patterns similar in structure - Butterfly, Bat, Crab, White and Black Swan. The indicator displays only the latest formed pattern on the chart.
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;
- 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;
- AB_min, AB_max - settings of AB/XA ratios;
- BC_min, BC_max - settings of BC/AB ratios;
- CD_min, CD_max - settings of CD/BC ratios;
- AD_min, AD_max - settings of AD/XA ratios;
- patternBullColor - bullish pattern color;
- patternBearColor - bearish pattern color;
- useAlert - enable pop-up alerts;
- useMail - enable email notifications;
- useNotification - enable push notifications.