calling a custom indicator from the code

 

How would I go about calling a custom indicator from the code??

I want to use the bollinger bandwidth indicator but dno where to start.

 could you give me example please also how would I go about creating an indicator of indicator.

 

sorry to sound noobish I'm just learning programming and this language for the first time.

 

thanks for help. 

 
n22alpha:

How would I go about calling a custom indicator from the code??

I want to use the bollinger bandwidth indicator but dno where to start.

 could you give me example please also how would I go about creating an indicator of indicator.

 

sorry to sound noobish I'm just learning programming and this language for the first time.

 

thanks for help. 

Check the MT4 documentation:
   https://docs.mql4.com/indicators/ibands 
   https://docs.mql4.com/indicators/icustom
HTH
John
 
jftjft:
Check the MT4 documentation:
   https://docs.mql4.com/indicators/ibands 
   https://docs.mql4.com/indicators/icustom
HTH
John

what about doing indicator within indicator??/

 how would I do that???

 

sorry to be annoying I'm just trying to get my head around all this. 

 
n22alpha:

what about doing indicator within indicator??/

 how would I do that???

 

sorry to be annoying I'm just trying to get my head around all this. 

Have you studied MQL yet? If yes then you will know how to call indicators in EA or within any other indicator.

If it is local MT indcator then call using predefined function like "iMA" for moving average indicator.

If it's your own custom indicator, use "iCustom" 

Reason: