Start Time for placing orders

 

Can someone tell me how to code for a certain start time for placing orders, but not have stop time for closing. I want to stop out only at profit target, or stop loss,

Thanks

 

Hi jmarch,

just place a conditioning before sending your order, ie

if (Hour()>=12)

{

do whatever you want;

}

Just keep in mind that it is server time, not the one at your country.

Good luck,

Reason: