LEANDRO EMA ALMEIDA RODRIGUES / Publications
Forum
Getting Simple Moving Average of last candle
Hi Guys, I need to get the Moving Average value at the previous candle. I want to extract the value at the middle of candle. Currrently I have this code (MQL4): lastCandleMA = NormalizeDouble ( iMA ( _Symbol , _Period , MA_Period, 0 , MA_Method, PRICE_CLOSE , 1 ), Digits ); The returned value of the
How to obtain values for purchase / sale of the EURUSD
Good! I'm new to MQL4 programming and mql5 and I liked to obtain values for purchase / sale of the EURUSD. I wanted to show these values in the graph window EURUSD currency. Is this possible? I tried obtrer values using the following code: MarketInfo double price = ("EURUSD", Bid); double