Forum

defining []= operator

Hi everyone, I'm want to define []= operator in a class to change values of an array inside that class. Is there anyway to return array's index by reference in mql5? If not, is there any way to define []= operator to change values of that array inside the class

Creating a custom symbol using synthetic formula from two other custom symbols

Hi everyone, I searched around but couldn't find anything that answers my question, so appreciate if anyone can help me with this problem. I have created two custom symbols for Brent Oil and WTI oil by adding 1M bars. Now I'm trying to create another custom symbol by dividing Brent over WTI. Here is

Need help with unexpected token error!

Hi all, I'm new to coding and MQL5 and this is my first ea. The problem I have is "unexpected token" for my buy conditions. I did a google search and was not able to find any answer, so I was hoping you guys can help me with the issue. Please let me know if I need to send more information