Hi...
I tried to convert custom indicator to expert advisor. Based on the code, i tried to print out iMAONArray values but its return blank... Why and what is the fucntion used for ?.. Please help me
Hi..
What do you means MA buffer.. sorry this is my first experience... could you help me ?
Hi..
What do you means MA buffer.. sorry this is my first experience... could you help me ?
Your iMAOnArray() call . . .
RSIMA = iMAOnArray(MA, 0, SF, 0, MODE_EMA, 0);
. . . the first parameter is the Array, in your call MA[], but I don't see where you are adding any values to this buffer. Perhaps you EA code is different ?
Your iMAOnArray() call . . .
. . . the first parameter is the Array, in your call MA[], but I don't see where you are adding any values to this buffer. Perhaps you EA code is different ?
Ops... I'm sorry... I forgot to replace it after try test and error..The code should be like this:-
RSIMA=iMAOnArray(RSI, 0, SF, 0, MODE_EMA, 0); FileWrite(handle, "-> RSIMA : " + iMAOnArray(RSI, 0, SF, 0, MODE_EMA, 0));
Ops... I'm sorry... I forgot to replace it after try test and error..The code should be like this:-
That should be working better now ?
This thread may help . . . https://www.mql5.com/en/forum/143479
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi...
I tried to convert custom indicator to expert advisor. Based on the code, i tried to print out iMAONArray values but its return blank... Why and what is the fucntion used for ?.. Please help me
This is sample output file:-
Please help me..
Thank you