This forum is in read-only mode now. You may discuss your questions on forums of MQL4.community and MQL5.community
'If Then Else If' in MT3Back to topics list |
|
EmeraldKing
2005.04.01 04:08
Does MT3 have If Then Else If statement?
I am trying something like this if Index >= TestValue then { } Else if Index <= TestValue then { } Now Normally I would just make 2 If Then sections of Code like this if Index >= TestValue then { } If Index <= TestValue then { } But the problem I am running into is during the First block I can Modify TestValue and in doing so the second block will execute when I dont want it too. Any Ideas? Thanks for your Time EK |
|
ctt
2005.04.01 08:05
else if
check the cci_for_gazuz2.mq4 file for syntax thought you were asking for mt4, not sure about mt3 =) |
|
Slawa
2005.04.01 10:45
use switch instead of elseif
|
Download MetaTrader 5 (450 Kb, web installer) — a new terminal for financial markets
