I want to enter my trailing stop only after a certain number of bars since entry.
I thus wrote:
if (BarsSinceEntry() > 5)
{
SetStopLoss(blah, blah);
}
However, I see that NT is in fact firing my stoploss the same bar I have my entry...I read that this is the default in the helpfile.
Anyway, I do not want that - how do I take control of when my stop loss is entered? I don't want NT's default behaviour and yet everything I code, it ignores and puts it in right away regardless.
In addition, I note that in backtesting, having the stop loss fire on the same bar is also resulting in ridiculous stop outs...its fairly clear that NT is making some gross, worst case assumptions about what happened in that bar and stopping you out based simply on whether your stop *could have been hit* and not whether it really was hit (i.e. the width of a 10 min bar covers the stop, but looking at the minute chart you see that from entry to close of the bar, the stop loss was never touched)...so if there is any info on how to control that as well, I would appreciate it.
Thanks
Comment