'setIndexLabel' - function not defined in file IndicatorFile.mq5 in line 31 , column 4

 

As the title says ,


after writing the indicator codes , in MQL5 , every time clicking on Compile button

it makes this error 'setIndexLabel' - function not defined in file IndicatorFile.mq5 in line 31 , column 4

by the way , it makes more errors like this


'setIndexBuffer' - function not defined

'setIndexStyle' - function not defined

'setIndexLabel' - function not defined


where's the issue ? I followed the docs correctly , step by step

 
The issue is in the code, which you didn't post.
 

@Alian Verleyen

Looks like these functions changed from MQL4 to MQL5 version

 
Ahmed Mohsen:

@Alian Verleyen

Looks like these functions changed from MQL4 to MQL5 version

My name is Alain, not Alian.

SetIndexBuffer is unchanged. SetIndexStyle and SetIndexLabel doesn't exist in mql5. And they take an uppercase to start.

Looks like you didn't read the documentation :-)

 

Yes sorry , 

I just followed a video on Youtube

actually , I did not find a good course for MQL5 , I understand better from videos more than the written docs