Forum

1M data displayed in the data window for the 15M candle (MQL5)

Hi, I have started to look at MQL5, which is quite hard even if I have some informations about MQL4. What I would like to do is to have in the data window (as an indicator), for each 15M candle, buffers of the 1M candles data that composed the 15M candle. At the same time have the direction of the

Retrieve information about number of trades opened

Hi, I am trying to open at the beginning of a candle an order (buy/sell) with relative stop loss and take profit , after a generic signal is given at the end of the previous candle. Clearly it should be opened only one trade in the candle after the signal. How can I tell the EA not to open

Retrieve values of prices from an indicator

Hi, I have purchased an indicator, which is of course protected. My question is: is it possible to retrieve the data that appear in the Data Window? I mean for example, that I want to use Value 7 and Value 8. What code should I use? Because, I don't know in which way are named the buffers of the