Strategy tester only from 2006.06.19?? - page 2

 
paulan wrote:
15:36:03 Hans123MV21: loaded successfully
15:36:03 Hans123MV21 inputs: Start1=10; Start2=14; EOD=24; FridayClosing=23; Length=1; Pips=5; StopLoss=999; BreakEven=999; TrailingStop=0; TakeProfit=130; Lots=1;
15:36:07 2004.06.18 10:00 Hans123MV21 GBPUSD,M15: invalid stoploss for OrderSend function
15:36:07 2004.06.18 10:00 Hans123MV21 GBPUSD,M15: invalid price for OrderSend function
15:36:07 2004.06.18 10:00 Hans123MV21 GBPUSD,M15: invalid stoploss for OrderSend function
15:36:07 2004.06.18 10:00 Hans123MV21 GBPUSD,M15: invalid price for OrderSend function
15:36:07 2004.06.18 10:00 Hans123MV21 GBPUSD,M15: invalid stoploss for OrderSend function
You can see that this EA tested from 2004.06.18 10:00. All right
 
stringo:
paulan:

sorry I'm a newbie with programming and stuff


Really? You are a participant of AT Championsip. Ask question your programmer
Yes I programmed it myself, but only partly, the other part I've got from Hans123MV-something.

But because in my opninion I changed a lot I made a new one.
 
stringo:
paulan:
15:36:03 Hans123MV21: loaded successfully
15:36:03 Hans123MV21 inputs: Start1=10; Start2=14; EOD=24; FridayClosing=23; Length=1; Pips=5; StopLoss=999; BreakEven=999; TrailingStop=0; TakeProfit=130; Lots=1;
15:36:07 2004.06.18 10:00 Hans123MV21 GBPUSD,M15: invalid stoploss for OrderSend function
15:36:07 2004.06.18 10:00 Hans123MV21 GBPUSD,M15: invalid price for OrderSend function
15:36:07 2004.06.18 10:00 Hans123MV21 GBPUSD,M15: invalid stoploss for OrderSend function
15:36:07 2004.06.18 10:00 Hans123MV21 GBPUSD,M15: invalid price for OrderSend function
15:36:07 2004.06.18 10:00 Hans123MV21 GBPUSD,M15: invalid stoploss for OrderSend function
You can see that this EA tested from 2004.06.18 10:00. All right
But why are all the prices/stoplosses/etcetra invalid for OrderSend function then?

data is from alpari-idc.
 
Invalid stoploss means value < 0
Invalid price means value <= 0

You need check parameters yourself before order send. Maybe change algorithm
 
so how could I for example change it?

I have already posted the code
Reason: