Hello
I use a simple script which plots numbers below the bars.
# plot bar number using seconds since open at 0930 EST
input show_bars_divisable_by = 2;
plot barNum = 1 + (SecondsFromTime(0930) / 300);
barNum.SetPaintingStrategy(PaintingStrategy.VALUES_BELOW);
Since show_bars_divisable_by = 2; it should plot the number on only every second bar. Like Al Brooks it does. But it shows it on every bar.
Some ideas what is wrong?
It would also be nice if the numbers which get plotted are a little bit lower. Now they are just at the low of the bar.
Would be nice if someone could help.
Thank you.
|
Subject: Bar counting for TOS
Page 1 of 1
You cannot post new topics in this forumYou cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum |
Full Version
Powered by IntegraMOD © 2004, 2005 The Integramod Group
[ Forum powered by phpBB © 2001, 2005 phpBB Group :: All times are GMT - 8 Hours :: Design by phpBBXS.Com | Lo-Fi Mod ]
Powered by IntegraMOD © 2004, 2005 The Integramod Group
[ Forum powered by phpBB © 2001, 2005 phpBB Group :: All times are GMT - 8 Hours :: Design by phpBBXS.Com | Lo-Fi Mod ]