calling a custom indicator from the code

To add comments, please log in or register
n22alpha
63
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. 

John Townsend
57
John Townsend  
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
n22alpha
63
n22alpha  
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. 

Nilppa Bhope
25
Nilppa Bhope  
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" 

To add comments, please log in or register