I'm trying to recode my own indicator from a completely different language. I need 7 or 8 moving averages. Can I take them all from one price array, do I need to import a price array for each, or is it better to use the built-in MA several times? Thanks for any help anyone can give, I'm new to MQL5 and to MT5.
- Issues transfering templates and indicators from MT4 to MT5
- mql5 mobile indicators
- Problem with arrays out of range
Kenny Lewis :
I'm trying to recode my own indicator from a completely different language. I need 7 or 8 moving averages. Can I take them all from one price array, do I need to import a price array for each, or is it better to use the built-in MA several times? Thanks for any help anyone can give, I'm new to MQL5 and to MT5.
I'm trying to recode my own indicator from a completely different language. I need 7 or 8 moving averages. Can I take them all from one price array, do I need to import a price array for each, or is it better to use the built-in MA several times? Thanks for any help anyone can give, I'm new to MQL5 and to MT5.
You need eight variables - eight indicator handles will be stored in these variables. Remember: the indicator handle is created ONCE (this is done in OnInit ()) !!!
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