Discussion of article "Implementing a Scalping Market Depth Using the CGraphic Library" - page 5
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
There is no time, because you cannot know the time of quote arrival in MQL5. The maximum you can do is to remember the time at the moment of OnBookEvent event arrival, so remember it. It is also pointless to remember the time of finding the tops of the stack, you need the time of arrival of the price stack, not the time of finding its maximal index.
It was not necessary exactly the time of the index, my algorithm is like this, now if you look in the stack, the selected density jumps here and there, but according to the idea it is not density at all, no one will move every second at 2000 lots at prices, put them, take them off, move 10 ticks up 10 down, from such density you can not trade, so you need a timer, selected density, time how long it stands at this price, 10 seconds or more, take it to analyse and enter.
In principle, separate methods written by taking the selected index, ran in the tester algorithm on the glass, yes, all confirmed, the algorithm began to screen out a lot of unnecessary densities.
Thank you for responding.
Same problem as in the former article of this author. The code does not work. One even cannot compile it:
'Event' - unexpected token, probably type is missing? MBookBtn.mqh 57 12
'Event' - function already defined and has different type MBookBtn.mqh 57 12
If you ask the author for help you will get an answer: "No".
Ridiculous, why do you even write articles?
This is the error I'm facing. Can you help me?
File: MBookBtn.mqh
~line 57
The void is missing. Just add it bevor the line, like so:
Compile without errors. ;)
Cheers!