1-Is there any rule regarding BIP and inst x y z condition?
2-can I mixes condition on different instruments?
3-Do I have to use BIP??
4-can I use BIP==0 and check a condition on inst[1]?
1) if (BarsInProgress == 1 && (priorClosePrice-Medians[1][0]> -deltaVX) && (priorClosePrice-Medians[1][0]< deltaVX))
{
if (CrossAbove(Medians[0], Bollinger( BarsArray[0], NumberStdDev, Period).Lower, 1) && (Medians[1][0] > SMA (BarsArray[1],SMACycle)[0]))
{
EnterLong(0,positionTaken,priorClosePrice.ToString ());
}
}
<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>
2) if ((priorClosePrice-Medians[1][0]> -deltaVX) && (priorClosePrice-Medians[1][0]< deltaVX) && (Medians[1][0] > SMA (BarsArray[1],SMACycle)[0]))
{
if (BarsInProgress == 0 && CrossAbove(Medians[0], Bollinger( BarsArray[0], NumberStdDev, Period).Lower, 1))
{
EnterLong(0,positionTaken,(deltaVX).ToString());
}
}
Comment