This forum is in read-only mode now. You may discuss your questions on forums of MQL4.community and MQL5.community

Cute bug in Strategytester


Back to topics list
avatar
23
fukinagashi 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

Back to topics list  
Download MetaTrader 5 (450 Kb, web installer) — a new terminal for financial markets