Download MetaTrader 5

EAs

To add comments, please log in or register
Write articles and earn money. We pay 200 USD for them!
Mohammad Soubra
18590
Mohammad Soubra 2015.08.16 22:39 

IN_EAs

what_is_the_timing_used_when_a_programmer_write_his_code?

is_it_my_local_timing_or_broker_time....or_GMT???? 

 

for_example

***********************************************************************

// Input variable of trading date

input bool                 UsingTradingDate     = false;          // Use Trading Date Limitation

input string               StartDate            = "01.07.2010";   // Start Date

input string               EndDate              = "31.07.2015";   // End Date

// Input variable of trading time

input bool                 UsingTradingTime     = false;          // Use Trading Time Limitation

input string               StartTime            = "07:00";        // Start Time

input string               EndTime              = "10:00";        // End Time 

***********************************************************************

 

 

 

THANK_YOU_ALL

Stuart Browne
5535
Stuart Browne 2015.08.17 00:19  
It depends on how it is used further down in the code. All you have provided is the input variables. But it is usually server time (ie the time shown in your MT terminal, which is set by your broker)
/
To add comments, please log in or register