Modify Fractal - MetaTrader 4 Script | Forex Indicator Download - MT4/MT5 Resources - MetaTrader 5 Resources



This indicator is a small modification of the classic fractal indicator .
You can select numeric or left/right columns to have new top or bottom and shift parameters.
In the image below you can see the indicator with parameter values:

The parameters leftbars/rightbars indicate the number of left/right bars required to have a bottom or top. Instead, the last parameter shift can be chosen to be 0 for better visualization of the top/bottom levels.
However, in order to use this indicator, it should be conveniently chosen as the maximum value between the left and right columns. It is at this moment that the top/bottom is created.
In the image below you can see the same parameters as before:

I have attached the new version of the FractalsMod indicator. This new version only accepts two external variables leftbars/rightbars. You can display a chart with this indicator and parameter values here:

Please note that the indicator is not defined for bars 0, ..., right bars. Therefore, in order to use this indicator in an EA, you must define
double_fractal_up = custom ( void , 0 , "Fractal Modv2" , left column, right column, 0 , right column + 1 );
or
double lower fractal = custom ( void , 0 , "Fractal Modv2" , left column, right column, 1 , right column + 1 );
Attachment download
📎Fractal Mod.mq4 (3.31 KB)
Source: MQL5 #11101
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •