Why does there have to be two bars moving in the same direction to execute a trade in my strategy?
The following simple code requires two bars in the reverse direction to reverse my position in a strategy. ( This shows up in backtesting also.)
------------------------------------------------------------
// Condition set 1
if (Close[1] < Close[0])
{
EnterLongLimit(1, GetCurrentAsk(), "");
}
// Condition set 2
if (Close[1] > Close[0])
{
EnterShortLimit(1, GetCurrentBid(), "");
}
------------------------------------------------------------
If there is only one bar reversed, and the next bar continues in the previous direction, NT ignores the trade.
Can you explain this. I am using Renko Bars.
Thanks,
RJay
Comment