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.
Attached is AsymetricFractals indicator I modified from the code base.
- It has two parameters (bars before, and after)
- It uses the diamond and offsets the arrow just fine.
- If you change the wingding, you'll have to adjust the two offsets
+ 6 * gChartScale; : - 8 * gChartScale;
Files:
whroeder1:
Attached is AsymetricFractals indicator I modified from the code base.
- It has two parameters (bars before, and after)
- It uses the diamond and offsets the arrow just fine.
- If you change the wingding, you'll have to adjust the two offsets
Thanks guys!
William Roeder: If you change the wingding, you'll have to adjust the two offsets
I have extended and classified the code. There is an enumeration that can be adjusted to put the buffer objects aligned on top, on bottom or centered.
Files:
common_utilities.mqh
24 kb
indicator_utilities.mqh
15 kb
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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!