I am a seasoned python programmer but a novice in all things FOREX and MT5.
I am trying to create a program to log the last closing position in an array for the purpose of creating an SMA and EMA indicator.
How can I access the last "CANDLESTICK" data that just immediately occurred (within seconds) and be able to see the CLOSING, HIGH and LOW using the python 'MetaTrader5' library?
If someone knows the answer as to how to do this on PYMT5ADAPTER library as well i would thank you for your response as I may be transitioning to this library.
Hey guys, Thanks but i found my answer in the following
as such here is the line of code needed for the last candle position
Please enable the necessary setting in your browser, otherwise you will not be able to log in.