How to bring Previous indicator data from moving average indicator to EA? - page 2

 

i understood ur help only now....but how to store ma result in an array??

 

ho hoooooooooooo

c here

 

thanks qjol.....i got ur code...and thanks others for ur help......i will update u guys after i use it in the EA...

 
mnatarajan63:

thanks qjol.....i got ur code...and thanks others for ur help......i will update u guys after i use it in the EA...

hi .i have problem with this code.can You share the code you wrote in this site ?

I want to write the code with the specifications you mentioned.

tanks

 
Does this same principle happen when I wish to use use data say from the ADX on a moving cross strategy???
It's easy to apply it in the MT4, but the code isn't available. 😔 
 
Trinity Uruturi:
Does this same principle happen when I wish to use use data say from the ADX on a moving cross strategy???
It's easy to apply it in the MT4, but the code isn't available. 😔 

It is the same, you do not need the indicator's code, use iAdX function, instead of iMA function

https://docs.mql4.com/indicators/iadx

iADX - Technical Indicators - MQL4 Reference
iADX - Technical Indicators - MQL4 Reference
  • docs.mql4.com
iADX - Technical Indicators - MQL4 Reference
 
qjol:

Thank you so much

Reason: