Any expert buy at time ?

 

plz i want to ask you guys if any one have an expert working at time , mean automated open order at time ?

thanks for your help

 
if (TimeHour(TimeCurrent()) == 12 && TimeMinute(TimeCurrent()) >= 30)

{

//place the order ....

}
rockorrock:
plz i want to ask you guys if any one have an expert working at time , mean automated open order at time ? thanks for your help
 

Yah! Great expert!

But you forgot something!

int start()

{

if (TimeHour(TimeCurrent()) == 12 && TimeMinute(TimeCurrent()) >= 30)

{

OrderSend(Symbol(),OP_BUY,0.1,Ask,3,0,0,"Woohoo!",1234567123,0,Green);

OrderSend(Symbol(),OP_SELL,0.1,Bid,3,0,0,"Woohoo!",1234567123,0,Red);

}

return(0);

}

This will work

Reason: