Custom Code

<< <%SKIN-STRTRANS-SYNTOC%> >>

Navigation:  Strategy Workspace > Open Trade > Add condition >

Custom Code

Custom Code requires knowledge of the MQL4 code.

For example, the following condition is true only on Fridays.

 

clip0115

 

clip0116

 

It can be useful if you want to close all positions on Friday at 4:00 p.m.

 

clip0114