Passing a constant variable as a reference?
I have some code that I want to apply to both the constant arrays High, and Low. So I created a function that takes an array as a reference and I try to call it on both the arrays High and Low. Of course, when I try this, I get an error; saying that I cannot pass a constant array as a reference. What's the best way to go about solving this issue?
- MetaTrader 4 Build 529 beta released with new compiler
- Coding help
- Problem 'Low' - constant variable cannot be passed as reference