Forum

iATR in mql5

hi all, from what i read in the documentation its the Average Trading Range, and as I imagine the value should be a single number. But when i use iATR I reailized that the result value is an array instead, should I only use the first ([0]) value of the array? Thanks

calling buy or sell order in Indicator?

hello, I am trying to make an indicator and working on the onCalculate, may I know if it is possible to make a trade order in it? or I have to make the trade order in EA instead? thanks have a good day