
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
This is my MQL4 to MQL5 porting table .
Maybe useful for someone.
That is very helpful. I think i'm gonna work on making the objects, datetime, and some conversion functions mql4 compatible now if possible.
Wish for the chart zooming:
In current metatrader when we zoom out the chart bars goes to the right in the window, and when we zoom in the chart they go to the left side in the window. The last bar changes it's location in the window. It would be good not to change the position of the last bar in window when zooming in and out of the chart.
Now in metatrader what happening when auto scroll is enabled? The bars goes to left side in the window while i zoom out. Then a few second after the chart are moved to the right side by autoscoll. Or i just press End button. It's not good zooming i think.
When zooming in the chart, don't change the location of the last bar in window and "add" the bars to window from left side while zooming.
When zooming out the chart, don't change the location of the last bar in window and "remove" the bars from left side in the window while zooming.
Srry 4 bad english. Hope u understood me.
This is my MQL4 to MQL5 porting table .
Maybe useful for someone.
Well, thanks.
I'm also waiting for codersguru's tutorial :)
I'm having trouble finding the font color property for objects in the reference. there's a font size, but no color.
use like this:
ObjectSetInteger(0,name,OBJPROP_COLOR,Red);
Thanks Fai, I'm posting the Objects functions now. I realize there was never a way to change the text color or size of an objects description. The ObjectSetText made it possible to change all those things for labels and text objects only.
Don't forget to also include the mt4timeseries.mqh when using this.
Eventually, I would recommend to place all the functions in one big file. i'm just uploading in pieces still.
Soon we should have some serious compatibility.
See: https://www.mql5.com/en/forum/121011/page18 for all the updated includes.
ObjectSetInteger(0,name,OBJPROP_COLOR,Red);
This sets the font color of OBJPROP_TEXT object.
If you want to change the font color of the object description,try this.
ChartSetInteger(0,CHART_COLOR_FOREGROUND,SkyBlue);