After weeks of unsuccessful coding, I have built my strategy completely through the Strategy Wizard, all except one aspect. I'm looking to have the Strategy Wizard not enter into any new trades once my max daily loss is reached. I'm only dealing with one market, one set of contracts in and out. I tried setting up the following conditions with my buy-ins:
A: Realized PNL (currency) <= -1000 (backtest comes back all 0's)
B: Realized PNL (currency) >= -1000 (backtest shows several days where a number trades were made later in the day well after $1000 in losses where realized)
Does anyone know of another option? And just to make it harder, anything that can be done within the Wizard? (it's been a nightmare coding/compiling, etc. that I'd rather not take any chances unlocking code). Please advise.
Thanks
Comment