i know that NT will not take long & short at the same bar, but look at below
for example:
Example1:
if (true)
{
EnterShortLimit(0,false,100,sellp,"Short");
ExitShortLimit(buyp,"ExitS");
}
Example2:
if (true)
{
EnterShortLimit(0,false,100,sellp,"Short");
EnterLongLimit(0,false,100,buyp,"Long");
}
both examples will enter short, but example 1, will exit @ buyp limit, and example 2 should exit & reverse @ buyp limit.
What actually happens when i run both is that, Example 2 initiate a short limit, and later on exit the position & enter long @ buyp limit.
but in Example 1, i am running the same chart, i dont see the system exiting at the point where in example 2 exited and entered long.
any clarification why such thing is happening??
thanks.
Comment