loop?
tradetrigger never activated?
loop?
tradetrigger never activated?
I just wake a new code to confirm. This code command to open position if there is any position opened, I the problem persist. Here is the code:
int start()
{
double sl,tp;
int ticket;
sl=0.0030;
tp=0.0030;
if (OrdersTotal()==0)
{
ticket=OrderSend(Symbol(),OP_BUY,0.1,Ask,3,Ask-sl,Ask+tp,NULL,0,0,CLR_NONE);
}
return(0);
}
And this are the messagge (there is one new):
2011.01.29 17:44:48 There were 1 passes done during optimization, 1 results have been discarded as insignificant2011.01.29 17:44:48 Generator: optimization stopped
2011.01.29 17:44:38 Generator: optimization started
2011.01.29 17:44:38 Generator EURUSD,M15: loaded successfully
PD: I just make a format to may PC. the only new chnge was install a new windows (I had windows vista, now I have installed Window 7)
works fine for me...
have you got any historical data? (F2)
and uncheck optimization
Btw. next time use the 'SRC' button for code
2011.01.29 13:00:19 Generator started for testing
2011.01.29 13:00:10 Generator EURUSD,M5: loaded successfully- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hello. I'm tring to test a strategy, but the mt4 don't giveme any results (no negative and no positive, any results).
This are the messagge:
2011.01.29 13:00:19 Generator started for testing
2011.01.29 13:00:10 Generator EURUSD,M5: loaded successfullybut that's all.
Somebody know why is that?
thanks
trader201