Now I'm using:
if (CrossAbove(EMA1, EMA2, 1))
{
EnterLong(_posSize, LongPos);
}
But the Enterlong action always occurs after 1 or 2 bars after the cross happened.
How can make the Enterlong action occurs in the current bar that when the cross just happen?
Thank you so much!!!
Comment