![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
I agree, I am thinking narrowly - only in relation to currency pairs available to MQ.
Can you tell me how Theaeditor 5 can use the order book? How can I read data from there?
Apparently, you mean the function from the Getting Market Information section?
advise how theaeditor 5 can use the order stack? how can i read data from there?
It goes something like this:
PS
It's better to try to work with the cup on Alpari, it seems to be available there...
It goes something like this:
PS
The glass work is better tried on Alpari, it's kind of there...
I thought about it again, so I came up with this: make a function that divides the specified symbol/timeframe into two halves, e.g. bool SetEdge(string symbol ,int timeframe,datetime time). This boundary is static, i.e. it exists even after restarting the terminal.
How to use: Run through the symbol/timeframe and based on your considerations determine what is, for example, m1 and what is not. Colour the halves with different colours ( chart background ( or bar colour)). The same algorithm is applied to other timeframes.
The result: the boundary is visible visually (for manual analysis) and programmatically ( datetime GetEdge(string symbol ,int timeframe) ).
Or, for example, allow to write a standard function (with predefined name and parameters) which answers the question - where is the boundary on this symbol/timeframe? And what to do (highlight, colour hide ...)?
P.S:
For example, put such a function in dll (with disclosure of prototype), and the most prepared will write their own version. It seems to me, it will be very beautiful.
I don't want to be intrusive, but I'd like to know the management's attitude to delegating the function of determining the timeframe boundaries to the user (maybe there are some plans). It's not very solid to paint the graph with rectangles :).