one trade a day - page 3

 

Check that the magic number parameter in your OrderSend() is  MAGICMA and in the correct position

also

TimeDay(LastTimeforClosed()) < TimeDay(TimeCurrent())  

if the last trade was placed on the 31st and today is the 1st (or any date), this will return false

TimeDay(LastTimeforClosed()) != TimeDay(TimeCurrent())  

would be better, but still fail if there happened to be 1 month between trades

Reason: