I've attached 2 sets of codes. The difference between the tdbuysetup and tdsplusperf is the former includes only the buy portion while the latter contains both buy and sell.
when i use tdbuysetup, it seems to work fine. when i use tdsplusperf on another chart, the "buy counts" only updates for the past 24 hours while the "sell counts" are working fine. I also noticed that if i right-click the mouse, select "indicator" and click "apply", the "buy counts" for the next 24 hours appear...
is there something wrong with my code?
|