Is there a limit to the amount of times you can use the and operator && ? I have this statement:
if ( Time >= 1555 && Time <= 1700 && lstexec !=0 && closed !=1 && getCurrentBarIndex() >= -1 )
{ command list................. }
and it keeps executing even though lastexec is equal to 0. This should not be the case? Am I using too many &&'s?
if ( Time >= 1555 && Time <= 1700 && lstexec !=0 && closed !=1 && getCurrentBarIndex() >= -1 )
{ command list................. }
and it keeps executing even though lastexec is equal to 0. This should not be the case? Am I using too many &&'s?
Comment