Can I change the symbol of the original built-in Bill Williams Fractals indicator?

To add comments, please log in or register
mar5
182
mar5  

Hey guys,

I searched in the BillWilliams.mqh for the Fractals indicator and I found some fragments of it. But this kind of coding (with classes etc.) is way beyond my knowledge.

Can somebody tell me where I could change the original arrow-wingding to a symbol of my choice? These arrows are too disturbing for me and I want to use a dot instead.

Thanks!

kypa
1079
kypa  

In MT4 you can't. If you want different arrows you need an alternative from Code Base, but the platform has a limitation and can't offset the arrows away from price (you'd need other buffers, recalculation on every timeframe etc. etc.). In MT5 it's all fixed and the code is available.

The mqh libraries are for internal use in other more complicated codes. They include only calculations of indicators, not plotting them on charts.

William Roeder
20214
William Roeder  

Attached is AsymetricFractals indicator I modified from the code base.

  1. It has two parameters (bars before, and after)
  2. It uses the diamond and offsets the arrow just fine.
  3. If you change the wingding, you'll have to adjust the two offsets
                                                             + 6 * gChartScale;
    :
                                                             - 8 * gChartScale;
    

Files:
mar5
182
mar5  
whroeder1:

Attached is AsymetricFractals indicator I modified from the code base.

  1. It has two parameters (bars before, and after)
  2. It uses the diamond and offsets the arrow just fine.
  3. If you change the wingding, you'll have to adjust the two offsets

Thanks guys!

To add comments, please log in or register