MQL4 - automated forex trading   /  

Forum

Beta Testing of MetaTrader 5 Has Started!

Back to topics list  | << < 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 > >> To post a new topic, please log in or register

avatar
182
n8937g 2009.10.19 21:14 
fai wrote >>

This is my MQL4 to MQL5 porting table .

Maybe useful for someone.

Very nice work.... BUT...I don't see how they could possibly say MQL5 is very similar to MQL4 ...about the only similarity is they both use the alphabet...


avatar
2
hawkman 2009.10.19 21:38 
you guys suck! you've removed essentially all the good features of MT4.

avatar
100
circlesquares 2009.10.19 22:07 
fai wrote >>

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.



avatar
100
circlesquares 2009.10.19 23:29 
Wow, I was just playing with the new ellipse tool to see how line id figured in to it. You get an A+ for that one guys. For me, its the best change you made.

avatar
76
fxt 2009.10.20 00:51 

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.




avatar
279
devilian1899 2009.10.20 01:01 
fai wrote >>

This is my MQL4 to MQL5 porting table .

Maybe useful for someone.

Well, thanks.


I'm also waiting for codersguru's tutorial :)


avatar
100
circlesquares 2009.10.20 01:11 
I'm having trouble finding the font color property for objects in the reference. there's a font size, but no color.

avatar
59
fai 2009.10.20 02:38 
circlesquares wrote >>
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);


avatar
100
circlesquares 2009.10.20 03:46 
That sets the object color for me, not the font color. Maybe i'm mistaken, but wasn't it possible to change the font color of the object description with code?

avatar
100
circlesquares 2009.10.20 04:19 

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: http://forum.mql4.com/26550/page18 for all the updated includes.

Attached files:
  mt4objects.mqh (3.18 KB)
Back to topics list   | << < 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 > >>  

To add comments, please log in or register