PDA

View Full Version : Can't get "SampleScaleOut.cs" strategy to work


yawbus
08-12-2010, 03:20 AM
I am having problem with my own scale out strategy, and so I've gone back to test the sample scale out example in http://www.ninjatrader.com/support/forum/showthread.php?t=3751

But the same problem still exists in the above example as in my own scale out strategy. The problem is - the trades are immediately exited as they are entered. Please see the strategy analyzer screen as well as order trace in the attached files.

Please can anyone help ?

NinjaTrader_Bertrand
08-12-2010, 03:34 AM
yawbus, which timeframe / interval are you working on? It seems to be your target and trailstop are just to tight to allow for any 'runners' to be seen - I tried for example the sample on ES 1 min and it worked as expected (Target 10 ticks, TrailStop at 8 as the defaults).

yawbus
08-12-2010, 09:54 AM
Bertrand - thanks, that's indeed the cause of the problem !