Ciclo while help me!

Back to topics list  | 1 2 To post a new topic, please log in or register
avatar
1206
FMIC 2016.08.13 15:06 #
 
fly7680:

I may have mixed up the "for" loop and while. Eliminating the "for" loop syntax of the while loop should be correct right?

I do not understand this step .. sorry
I declare this: Int a=bars; and operator Cylce body is a--;
Ok?

No, not OK! The whole thing is just not right. I don't think you seem to understand how a custom Indicator works and how its code is supposed to be structured correctly.

I suggest you study all the sample indicator code provided by MetaQuotes and go over the documentation again, until you fully understand how customer indicators are supposed to be coded.

Also, you seem to have some difficulty with understand basic coding concepts as well, so I suggest you also do some more learning of coding in general, such as in "C".

Back to topics list   | 1 2  

To add comments, please log in or register