Forums ProRealTime English forum ProOrder support Optimization moving average crossing strategy Reply To: Optimization moving average crossing strategy

#132416

The instrument (Wall St Cash £1 or $10) is not determined in the code, it will run on any chart you launch it from. For me it runs fine with your other settings so not sure where the problem is ???

Yes that’s what I thought so all good.

minimum order quantity I can set is 0.5

Are you sure this is the min position? If I run mine with position size €.1 then I get the same result as you (my minimum is €.2)

Try it with startpositionsize = 1

Yes, I am sure about the minimum position, I have attached a screenshot for the sake of being 100% sure.

I did some further test and weirdly if I change the time constraint and replace the “AND” by “OR”, I have a result.

Ctime = time >=213000 OR time <230000

But I am concerned that it may affect the results…