Maybe at least changing anchor point of the arrows plotted?
The built in Fractal indicator arrows seem like having top anchor points for the down Fractals and bottom anchor points for the up ones.
Custom indicator arrow plot appears with something like center anchor point.
Is there a way to change these anchor points?
chart_heigth_pix=(int)ChartGetInteger(0,CHART_HEIGHT_IN_PIXELS,0); chart_price_min=ChartGetDouble(0,CHART_PRICE_MIN,0); chart_price_max=ChartGetDouble(0,CHART_PRICE_MAX,0); //pips in one pixel pips_in_pix=((chart_price_max-chart_price_min)) / chart_heigth_pix;
![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
Hello!
I want to achieve the effect of built-in Fractal indicator - shifting arrow plots above an below price action by a certain number of pixels.
In MQL5 PLOT_ARROW_SHIFT does the job perfectly, but I couldn't find anything like that in MQL4.
I'm aware a similar effect can be done with another array summing up original array and a certain price margin, but I don't want to do that.