Australia
Posts: 1 since Apr 2011
Thanks Given: 0
Thanks Received: 0
|
Please see this thread for code for a Market Delta indicator:
multicharts. com
/discussion/viewtopic.php?t=2380
With a couple of little adjustments I was able to get it to compile and run, however it does not display correct data... trade volume is sometimes added to the wrong column (buys in the sell volume and vice versa).
Hunting around, I came across this as a likely reason:
"TS & MC are not the best platforms for this type of work. In a nutshell the mechanisms they use to get bid and ask (insidebid,insideask) do not return the data synchronously. They return the current bid and ask not the value that occurred at the time of the tick that you are processing."
Can this issue be resolved with the enhancements in MC7? Also forgive my ignorance, but surely the trade tick information says if the trade was a buy or a sell?
Final problem... I want to use this on a tick chart (say 1500 ticks), but sometimes the most recent bar is drawn on top of the prior bar for part of the 1500 ticks before being drawn in the correct position , and sometimes a whole bar is left empty with no volume deltas drawn.
Any assistance or thoughts apreciated!
|