Forum

m_symbol.Ask() and m_symbol.Bid() not showing real Ask and Bid price

Hello! I have an issue with an EA. I have a function that modifies the current open position stops and I realized that m_symbol.Ask() and m_symbol.Bid() are not the real Ask and Bid prices. In order to debug it, I have this code to print the values: Print("M symbol ask1 ======================= "

Obtain maxim and minimum price from specific time range.

Hello! I would like to obtain the maximum and the minimum price of an asset from a specific time range, lets say I want to obtain the max and min between 0:00 and 06:30 AM. How can I retrieve that? Thank you