Compiler problem or code problem ?
username1:
This is the piece of code i'm working on. The compiler says "the variable BarsCount is not defined". What do i do? As far as I can see, the variable has been initialized and given a value.
Is it my compiler problem or code problem ?
This is the piece of code i'm working on. The compiler says "the variable BarsCount is not defined". What do i do? As far as I can see, the variable has been initialized and given a value.
Is it my compiler problem or code problem ?
You've left off the ; on likes 14 and 15.
You are also missing the closing } of the if statement.
jaman:
You've left off the ; on likes 14 and 15.
You are also missing the closing } of the if statement.
jaman,
That solved the problem. Thank you. :-)
username1:
The compiler says "the variable BarsCount is not defined". What do i do? As far as I can see, the variable has been initialized and given a value.
Is it my compiler problem or code problem ?
The compiler says "the variable BarsCount is not defined". What do i do? As far as I can see, the variable has been initialized and given a value.
Is it my compiler problem or code problem ?
double MA=iMA(NULL,tf,period,0,method,0,shift) return(MA)
missing semicolons:
double MA=iMA(...) return(MA) } int start() {int BarsCount=0;
BarsCount not yet defined.
This is the piece of code i'm working on. The compiler says "the variable BarsCount is not defined". What do i do? As far as I can see, the variable has been initialized and given a value.
Is it my compiler problem or code problem ?