I would like to use the following logic in MT4...
if (count < MP)
TradeStraight();
if (count >= MP)
Don't TradeStraight();
Right now I am using a return(0) but it's not the same because I don't want it to zero out since I have other related trade functions that I want executed for other other conditions.
if ((count1S + count2S + count3S + count4S + count5S + count6S) >= MP)
return(0);
else
TradeStraight();
The above works technically but it's not the same as what I want to happen.
Anyone familiar with the logic to use without returning zero?
if (count < MP)
TradeStraight();
if (count >= MP)
Don't TradeStraight();
Appreciate any comments. Thank you.
if (count < MP)
TradeStraight();
if (count >= MP)
Don't TradeStraight();
Right now I am using a return(0) but it's not the same because I don't want it to zero out since I have other related trade functions that I want executed for other other conditions.
if ((count1S + count2S + count3S + count4S + count5S + count6S) >= MP)
return(0);
else
TradeStraight();
The above works technically but it's not the same as what I want to happen.
Anyone familiar with the logic to use without returning zero?
if (count < MP)
TradeStraight();
if (count >= MP)
Don't TradeStraight();
Appreciate any comments. Thank you.