[i.e.]
does the ''1'' in the snippet from SampleMaCrossOver shown below
mean that it is displaced 1 bar?
protected override void OnBarUpdate()
{
if (CurrentBar < BarsRequiredToTrade)
return;
if (CrossAbove(smaFast, smaSlow, 1))
EnterLong();
else if (CrossBelow(smaFast, smaSlow, 1))
EnterShort();
}
Comment