'If Then Else If' in MT3

 
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
 
else if

check the cci_for_gazuz2.mq4 file for syntax

thought you were asking for mt4, not sure about mt3 =)
 
use switch instead of elseif
Reason: