Forum

Migrating from PineScript to MQL5

Hello everyone, I am attempting to transform a strategy on PineScript to an EA on MQL5. I have been facing difficulties mainly related to how candles are modelled between the two: open, high, low, and close prices in the candles of Tradingview do not match those of MT5, even though data from the

Extracting Ask High and Ask Low Information of Previous Candles

Greetings all, Do you know of a any way to extract Ask High and Ask Low Information of previous daily candles in MQL5? I have tried the following two methods: 1- Using Mqlrates to extract spread data and deduce Ask High and Ask Low accordingly. However, it seems that Mqlrates only stores the highest