I need to evaluate a specific value that is between -50 and +50 and then return an onAction. What I am having trouble with is evaluating the value between the -50 and +50. I tried using the following code in the second else if below, but it does not appear to work. Any thoughts.
Regards,
zMendel
Regards,
zMendel
PHP Code:
if (
vSMI > 50
) onAction1(Trade, TradeB1, TradeB2)
else if (
vSMI < -50
) onAction2(Trade, TradeB1, TradeB2)
else if (
vSMI <= 50 || >= -50
) onAction3();
return vSMI;
Comment