You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
I start to learn mql5 today. It is a difficult for me . so I decided to write mql4 in mt5. and I start this project.
by these class I can use Ask Open and iMA as in mql4.
I tried to use standard library but failed to get iMA result.
CObject
CArray
CArrayObj
CSeries
CIndicator
CiMA
although I tried to solve this problem by my own way but still want to learn how others get a MA price by the standard lib.
Maybe they use this function
Main
Returns the buffer element by the specified index.
double Main(
int index // index
)
because the help file write it can Access to data.
but what I got is always like below. what's wrong? or where I can got a example code?
2018.04.08 23:19:03.833 test_Script (EURUSD,M30) 1.797693134862316e+308
In help file I got code like this . where I hope can find some example code write "//--- use element " OOh my Dog!!