Cute bug in Strategytester New comment Forex Trader 2005.09.22 12:31 I found a cute little bug in the Strategytester. I think everyone should be aware of this. Even if you catch err, it does not show. int start() { OrderSend(Symbol(),OP_BUYSTOP,1,Ask+5*Point,3,Ask+30*Point,0,NULL,0,Time[0]+24*60*60,Green); OrderSend(Symbol(),OP_SELLSTOP,1,Bid-5*Point,3,Bid-30*Point,0,NULL,0,Time[0]+24*60*60,Green); } Obviously in real trading it doesn't work Questions from Beginners MQL4 MT4 MetaTrader 4 MQL4 Learning [ARCHIVE] Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 3. New comment
int start() { OrderSend(Symbol(),OP_BUYSTOP,1,Ask+5*Point,3,Ask+30*Point,0,NULL,0,Time[0]+24*60*60,Green); OrderSend(Symbol(),OP_SELLSTOP,1,Bid-5*Point,3,Bid-30*Point,0,NULL,0,Time[0]+24*60*60,Green); }Obviously in real trading it doesn't work