NexusFi: Find Your Edge


Home Menu

 





TOS bar count labels


Discussion in ThinkOrSwim

Updated
      Top Posters
    1. looks_one Quick Summary with 1 posts (0 thanks)
    2. looks_two optntdr13 with 1 posts (1 thanks)
    3. looks_3 rbertoni with 1 posts (0 thanks)
    4. looks_4 brucehank with 1 posts (0 thanks)
    1. trending_up 18,011 views
    2. thumb_up 1 thanks given
    3. group 6 followers
    1. forum 7 posts
    2. attach_file 0 attachments




 
Search this Thread

TOS bar count labels

  #1 (permalink)
MAXX
Madera
 
Posts: 2 since Aug 2010
Thanks Given: 0
Thanks Received: 0

Does anyone know how to program or put scripts into TOS that will count bars (bar counts) on chart. maybe most of you know TS has it. wonder if TOS does?
thanks alot

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
ZombieSqueeze
Platforms and Indicators
REcommedations for programming help
Sierra Chart
Trade idea based off three indicators.
Traders Hideout
Better Renko Gaps
The Elite Circle
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
 
  #3 (permalink)
 
Massive l's Avatar
 Massive l 
OR/USA
Legendary /NQ Trader
 
Experience: None
Posts: 2,129 since Mar 2011
Thanks Given: 1,859
Thanks Received: 5,106


Sorry MAXX, never heard of such a script.

What is your reasoning if you don't mind me asking?

Visit my NexusFi Trade Journal Reply With Quote
  #4 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,460 since Jun 2009
Thanks Given: 33,234
Thanks Received: 101,655

Some traders like Al Brooks do a bar-by-bar analysis and need an indicator that puts numbers on each bar so they can logically compare them.

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
  #5 (permalink)
rbertoni
Monroe Township, NJ
 
Posts: 1 since Jul 2011
Thanks Given: 0
Thanks Received: 0


MAXX View Post
Does anyone know how to program or put scripts into TOS that will count bars (bar counts) on chart. maybe most of you know TS has it. wonder if TOS does?
thanks alot

Maxx,

Did you ever find out how to do this? I am looking to do this as well.

Looking forward to hearing back!

rbertoni

Reply With Quote
  #6 (permalink)
 optntdr13 
Glyndon, Maryland, USA
 
Experience: Advanced
Platform: TOS
Trading: options
Posts: 24 since Sep 2010
Thanks Given: 6
Thanks Received: 49

Here's the rudimentary off the top of my head version, modify to suit.

rec barct = if isnan(barct[1]) or barct[1] < 1 then 1 else if barct[1] > 0 then barct[1] + 1;

addchartlabel(yes, concat("barcount = ", barct), color.PLUM);

Reply With Quote
Thanked by:
  #7 (permalink)
tangerine
albuquerque nm/usa
 
Posts: 29 since Aug 2015
Thanks Given: 3
Thanks Received: 9

If you choose DRAWINGS--->TRENDLINE and start drawing a trendline a databox will show you the bar count as you draw it. If doing multiple counts like this then always just right-click (rather than left-click) at the end of the line and it will delete so you can do your next count.

Reply With Quote
  #8 (permalink)
brucehank
ottawa canada
 
Posts: 20 since Oct 2015
Thanks Given: 0
Thanks Received: 2


MAXX View Post
Does anyone know how to program or put scripts into TOS that will count bars (bar counts) on chart. maybe most of you know TS has it. wonder if TOS does?
thanks alot

Do you mean: show the current bar number ?
If yes, BarNumber(); can do it.

Let me know if you need help with thinkscript or Ninjatrader.

Reply With Quote




Last Updated on October 16, 2015


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts