Home Technical Indicator Post

Mastering the Fractal Keltner x5 Cloud HTF Indicator for MetaTrader 5

Attachments
17106.zip (10 KB, Download 0 times)

Hey traders! Today, we're diving into the Fractal Keltner x5 Cloud indicator, a powerful tool you can use in MetaTrader 5. This indicator comes with a handy timeframe selection option, which you can set right in the input parameters:

input ENUM_TIMEFRAMES TimeFrame=PERIOD_H4;  // Indicator chart period (timeframe)

To get the Fractal Keltner x5 Cloud HTF repeater indicator up and running, make sure you have the compiled custom indicator file Fractal_Keltner_x5_Cloud.mq5. You’ll need to place it in your MetaTrader 5 folder under <terminal_data_folder>\MQL5\Indicators.

Once it's compiled, the Fractal Keltner x5 Cloud HTF indicator file will automatically include the original Fractal_Keltner_x5_Cloud.ex5 as a resource, so you don’t need to keep the original in your terminal folder. This is all built into the code, streamlining your setup!

The executable file has been enhanced to include the custom indicators as resources, allowing for a smoother experience:

//---- Include custom indicators in the indicator code as resources
#resource \\Indicators\\Fractal_Keltner_x5_Cloud.ex5

We’ve also adjusted the string path in the OnInit() function to fetch the Fractal Keltner x5 Cloud indicator handle:

//---- getting handle of the Fractal Keltner x5 Cloud indicator
   Ind_Handle=iCustom(Symbol_, TimeFrame, "::Indicators\\Fractal_Keltner_x5_Cloud",
                      e_period, normal_speed, alpha1, alpha2, IPC, 0, PriceShift, Upper_color, Middle_color, Lower_color, FontSize);

With this setup, the compiled executable file for the repeater indicator can operate independently on any trading terminal without needing the original indicator file. How cool is that?

Fig1. The Fractal Keltner x5 Cloud HTF indicator

Fig1. The Fractal Keltner x5 Cloud HTF indicator

Related Posts

Comments (0)