Forum

How to create an array?

Hello friends! Well, im trying to create a moving average of an array. The array I want is fed everytime the price goes up or down a certain number of ticks. In other words, it is possible the array will be updated many times in the same candle. Then, I want to make an moving average of the last X

Some beginner's doubts about somethings

Hello. Started studing MQL5 3 days ago. My first language. Been looking at the Reference a lot. Some explanations there are a bit vague, so I still dont fully understood some concepts. Return operator: The return operator terminates the current function execution and returns control to the calling