Forum

Is symbol open at the Market Watch window?

Is it there a command to know if a Symbol is open at the Market Watch? Or should I make my own function ? Thanks

Trying to get iMA of a Symbol

Hi I am new to MQL5, and I was trying a small script code (below) and I have one question. Why the CopuBuffer is giving me -1 and error is giving me 4806 ? void OnStart () { double ma[]; ArraySetAsSeries (ma, true ); string sym= "#ABT" ; SymbolSelect (sym, true ); int handle= iMA (sym