Undecleared identifier

 

Hey,

 

have problems with programming.

Im a newbie and tried to solve this problem but im hopeless :D

double shift = 0.2;
      for (ii=0; ii<4; ii++)

During compiling it says:

'ii' - undecleared identifier

 

Thats crazy because the indicator worked very well.

Then i started uploading it and it stopped working.  It says something with #property strict....

 Then i changed:

#property copyright ""
#property link      ""

 To:

#property strict copyright ""
#property strict link      ""

 Hahaha.

Then the above mentioned problem appeared...

Im a newbie. Please help me:) 

 
double shift = 0.2;
      for (int ii=0; ii<4; ii++)
 

Okay many thanks:)

but now it says

Version name is not specified. Please specify it by setting #property version in source code 

 :/// 

 
 
Alain Verleyen:

lol
 
Slyto_Carnell:
lol

Why are you laughing ? You can't declare a variable, so I suggest you the good links.

I am not able to tinker so when I need it I ask to a professional if I can't find what I need already done.

 
Slyto_Carnell:

I made this code and then the error message appears when uploading it on the market. What do i need to change?

 

Which error message ?
 
Alain Verleyen:
Which error message ?
EX4 file must be compiled using #property strict directive.
 
Slyto_Carnell:
EX4 file must be compiled using #property strict directive.

So add this directive, what is so hard ?

 
Alain Verleyen:

So add this directive, what is so hard ?

i really dont understand what they want from me :D
Reason: