Hi Everyone:

I'm having a problem implementing (or more likely understanding) an nBar stop.

I want to enter a trade and always exit fifteen days later. I think the 
following code should do this:

ApplyStop(stopTypeNBar,1,15,0,False);

However, when I look at the back test results, there are some trades that stay 
open much longer (as long as 60 days in one test).  As far as I can tell, if 
there are other buy signals within the 15 days then the bar count resets to 
zero.  However, I can't find any combination of parameters for the ApplyStop 
that seems to stop this.

Any suggestions?

Thanks

Jeff



Reply via email to