The result is not so good, but it a good step forward from which create something that could be very useful and great.
Here you can find a short video that describes what has been done and the problems that I've found.
http://www.youtube.com/watch?v=O4A8xVOJ ... e=youtu.be
(the video could be watched in HD full screen)
1 - The code has been written to RecalcLastBarAfter(1) (1 second)
2 - The levels of the DOM update only if a new trade has occured and not if the price of the DOM changes or if the size/quantity of the single level of the DOM change.
Code: Select all
If DOM_IsConnected then begin
3 - The info of the DOM do not updates if there is no trade, and the update seems to be as a snapshot of the DOM at the moment of the trade.
You can check this looking at the Time & Sales on the Right margin. The DOM infos change only when a new trade occured on the Time&Sales.
Now this logic seems not so useful if the update logic of the DOM is the same as the update of the Price/volume (trade event to update the values). The DOM logic and syntax should be setted to update every time a DOM level price or DOM level quantity changes. This way every level of the DOM could be used to implement some strategies or indicators or logics, other way the info we get now are very partial and random, so every strategy or indicator we could create can not be accurate.
I think that the DOM logic and syntax is very useful to create a new step to analyze the market, but it should be thought to work based on a different way and update logic from the other "classical" indicators. The Updates of the DOM are different from the trade event (price/volume action), so we must use a different logic to update the DOM levels and INFO.
My congratulations go anyway to the programmers who have done a great work which we can develop on