Programming - editing - modification
EA, Script or Indicator
for MT4 OR MT5
----
Trading on the Forex market involves substantial risks, including complete possible loss of funds and other losses and is not suitable for all members. Client should make an independent judgments as to whether trading is appropriate for him/her in light of his/her financial condition, investment experience, risk tolerance and other factors.
Tuesday, 27 November 2012
day of the week
Here is code function which can be used say when ea needs to trade only during certain hours of the day and skip of certain day of the week :
Code:
bool ValidTime()
{
if (DayOfWeek()==1 && Hour()<=6) return(false);
return(true);
}
No comments:
Post a Comment