[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Tick Counter for ts2ki



PureBytes Links

Trading Reference Links

I am really desperate. Tick charts a big part of my intraday discretionary trading, and the indicator I have, which necessarily need to update every tick, flashes my chart at every tick. Anyone has something that doesn't do this? Something I can buy? AFAIK, this is a ts2ki specific problem - I think it works fine in TS 8.x etc. I need something for ts2ki.

This is what I have

var:
TickTxt(-1);

if(LastBarOnChart) then begin
if(TickTxt = -1 and CurrentBar > 1) then
TickTxt = Text_New(Date, MinutesToTime(TimeToMinutes(Time) + 2), Close + 0.10, "< " + NumToStr((Ticks[1] - Ticks), 0))
else if(TickTxt <> -1) then begin
Text_SetString(TickTxt, "< " + NumToStr((Ticks[1] - Ticks), 0));
TickTxt = Text_SetLocation(TickTxt, Date, MinutesToTime(TimeToMinutes(Time) + 2), Close + 0.10);
end;
end;


Thanks,

Abhijit