An alternative to MT4 related doubts in a MT5 territory

 

The brand new MT4 is very close to the "old" MT5!

The consequence is that we can see several MT4 doubts that looks like interesting to MT5 guys at this Forum.

In this sense, I created this topic to open a new door to MT4 regarding doubts and analysis.

Also, I will collect some top and/or essential questions about MT4 and bring here, to help break the ice.

Maybe we can find a convergence way to join good ideas about these two great platforms! 

 
so, what's the main different between MT4 and MT5? and what's their merit and demerit ?
 
song_song:
so, what's the main different between MT4 and MT5? and what's their merit and demerit ?

Hi song_song, in my opinion most of the differences today are regarding functional aspects, since the core platforms looks the same (if don't) with individual business rules for each version.

This is good for developers, since the MT4/MT5 code is more compatible. 

 

Forum on trading, automated trading systems and testing trading strategies

Help ProRealTime code to MQL4

Travelfrog, 2014.04.18 12:14

  I am new to MT4 and I am trying to convert some code from ProRealTime to MT4

  I get compile warning "possible loss of data due to type conversion". Can't seem to find how to correct the code.

// c1 =abs( high - low)
   double c1=MathAbs(High[0]-Low[0]);
   // c2 = abs( close[1]-high )
   double c2=MathAbs(Close[1]-High[0]);
   // c3 = abs ( close[1] - low )
   double c3=MathAbs (Close[1]-Low[0]);
   // c4 = max(c1,c2)
   double c4=MathMax(c1,c2);
   // c5 = max(c4,c3)
   double c5=MathMax(c4,c3);
   //atr =Average[P](c5);
   atr =iMA(NULL, 0, Nbr_Periods, 0, MODE_SMA, c5, 0);

 
figurelli:

This use already got a reply.
 
angevoyageur:
This use already got a reply.
For sure, and this is the reason to be here.
 
figurelli:
For sure, and this is the reason to be here.
I missed your point, you try to centralized what is regarding mql4 ?
 
angevoyageur:
I missed your point, you try to centralized what is regarding mql4 ?
No, this is just a personal radar of MT4 doubts that in my point of view are aligned in some way to MT5.
 

Forum on trading, automated trading systems and testing trading strategies

Certainly MT5 was far more improved over MT4. But still majority traders are using MT4........

FinanceEngineer, 2014.02.02 12:54

myfxbook or any other major forex site does not support MT5. It is shame that MT5 is still less popular than MT4.

I was trying to upload my statement on myfxbook using MT5 and they provided some bridging software in beta version for MT5 to read my account info from my MT5 terminal.

The bridging software was totally miscalculated my trading summary but they do provide perfect service for MT4. I asked the site staff for help but no response for 5 days. Other major forex site does not even provide any support for MT5.

It is little shame as I do not want to go back to MT4 anymore..... 


 

Forum on trading, automated trading systems and testing trading strategies

dayofweek() function MT4

friov, 2014.04.20 16:37

Today is Sunday April 20 , 2014 , the function dayofweek() return me 5. Can you tell me why?

thanks.

Francesco 


Forum on trading, automated trading systems and testing trading strategies

Day of Week in MQL5

walb99, 2010.01.07 08:20


When I understand corrctly this means: I can use the old expression, with 

#include <mt4datetime.mqh>

 Compiler  shows no errors.

Hope it works

 

Thanks. 

 


 

Forum on trading, automated trading systems and testing trading strategies

Force ENDEDIT for an "OBJ_EDIT"

FerruFx, 2014.04.21 03:08

Dear All,

Is there a way in the new MT4 to force ENDEDIT for an "OBJ_EDIT" without pressing the ENTER key and without external DLL intervention ?

I mean with a specific chart event or any other way.

Thank you for your help.

Eric