Big Mike's Trading Forum
 

Go Back   Big Mike's Trading Forum

> Trading Forums > Platforms and Indicators > NinjaTrader > NinjaTrader Programming


Notices
     

Bar Counter For Line Break Bar Type
Started:June 8th, 2011 (09:15 AM) by Eagle01 Views / Replies:1,723 / 8
Last Reply:April 1st, 2012 (11:29 PM) Attachments:0

Welcome to Big Mike's Trading Forum.

Welcome, Guest!

This forum was established to help traders by openly sharing indicators, strategies, methods, trading journals and discussing the psychology of trading.

BMT is fundamentally different than most other trading forums:
  • We work extremely hard to keep things positive on our forums.
  • We do not tolerate rude behavior, trolling, or vendor advertising in posts.
  • We firmly believe in openness and encourage sharing. The holy grail is within you, it is not something tangible you can download.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.


You'll need to register in order to view the content of the threads and start contributing to our community. It's free and simple, and we will never resell your private information.

-- Big Mike
     

Reply
 
Thread Tools Search this Thread

Bar Counter For Line Break Bar Type

Old June 8th, 2011, 09:15 AM   #1 (permalink)
Elite Member
Dallas, TX, USA
 
Trading Experience: Intermediate
Platform: NinjaTrader
Favorite Instrument: ES, currency futures, oil
 
Posts: 16 since Oct 2010
Thanks: 51 given, 3 received

Bar Counter For Line Break Bar Type

Big Thanks to Zacharydw00 and to Gordo for sharing the LB Wicked Bar Type! However, the Bar Counter indicator won't work with that type of bar. I was wondering if any programmer can take a look at Felton Bar Counter (or any other bar counter) and tweak it to show the tick countdown on LB Wicked bar type. Thanks.
Please register to view the post attachment(s), image(s), or screenshot(s) - it's simple and free.

Reply With Quote
     

Old June 8th, 2011, 09:15 AM   #2 (permalink)
Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.

     

Old September 3rd, 2011, 10:14 PM   #3 (permalink)
Elite Member
Overland Park, Kansas
 
Trading Experience: Advanced
Platform: NinjaTrader
Broker/Data: Mirus-Contiuum /Optimus / Kinteck
Favorite Instrument: Currency Futures, oil, corn, soybeans, e-minis...
 
photog53's Avatar
 
Posts: 35 since Apr 2010
Thanks: 35 given, 32 received


just in case you haven't discovered it, there is a BarCounterLBW in the Eilte section that will work on Zac's Wicked LineBreak bars

Reply With Quote
     
The following 2 users say Thank You to photog53 for this post:
     

Old December 8th, 2011, 12:55 PM   #4 (permalink)
Elite Member
Philadelphia, PA
 
Trading Experience: Advanced
Platform: Ninja 7
Broker/Data: Amp/CQG
Favorite Instrument: CL, ES
 
longboat's Avatar
 
Posts: 120 since Jun 2009
Thanks: 592 given, 157 received


photog53 View Post
just in case you haven't discovered it, there is a BarCounterLBW in the Eilte section that will work on Zac's Wicked LineBreak bars

I can't seem to find BarCounterLBW in Elite section. Can somebody please post a link if it is still there?

Thanks in advance

Reply With Quote
     

Old December 8th, 2011, 06:35 PM   #5 (permalink)
Elite Member
Philadelphia, PA
 
Trading Experience: Advanced
Platform: Ninja 7
Broker/Data: Amp/CQG
Favorite Instrument: CL, ES
 
longboat's Avatar
 
Posts: 120 since Jun 2009
Thanks: 592 given, 157 received

Found it. For future reference if anybody searches for it...it is actually called: Line Break Wicked Bar Timer



FYI This counter did not work on my Better Line Break Wicked charts but it does work great on the Line Break Wicked version. Don't know why that is, but thanks for coding it!


Last edited by longboat; December 8th, 2011 at 08:53 PM. Reason: more info
Reply With Quote
     

Old December 9th, 2011, 02:26 PM   #6 (permalink)
Elite Member
Overland Park, Kansas
 
Trading Experience: Advanced
Platform: NinjaTrader
Broker/Data: Mirus-Contiuum /Optimus / Kinteck
Favorite Instrument: Currency Futures, oil, corn, soybeans, e-minis...
 
photog53's Avatar
 
Posts: 35 since Apr 2010
Thanks: 35 given, 32 received


longboat View Post
Found it. For future reference if anybody searches for it...it is actually called: Line Break Wicked Bar Timer



FYI This counter did not work on my Better Line Break Wicked charts but it does work great on the Line Break Wicked version. Don't know why that is, but thanks for coding it!


...It doesn't work with the BetterLineBreak because that bartype uses a different internal identifier "Custom?" number. Each custom bartype in Ninja is identified with a unique label....and I did not include the labels for BetterLineBreak or for Ninja's standard LineBreak bar types. I have a request from other BMT members to make a modification to this code...so if I get time during the holiday season, I will look at adding these other bartypes as well.

Reply With Quote
     
The following user says Thank You to photog53 for this post:
     

Old December 13th, 2011, 12:18 PM   #7 (permalink)
Elite Member
Pitea, BD, Sweden
 
Trading Experience: Beginner
Platform: Ninjatrader
Favorite Instrument: ES
 
Posts: 17 since Nov 2011
Thanks: 1 given, 0 received

I have the indicator, but Im not sure how to use it, I thought it would count down with "real" numbers. It counts down, up many times before the candle actually close, is there a setting for this or how do I really know when the bar is near to close?

Thanks

Leo

Reply With Quote
     

Old December 15th, 2011, 11:22 PM   #8 (permalink)
Elite Member
Overland Park, Kansas
 
Trading Experience: Advanced
Platform: NinjaTrader
Broker/Data: Mirus-Contiuum /Optimus / Kinteck
Favorite Instrument: Currency Futures, oil, corn, soybeans, e-minis...
 
photog53's Avatar
 
Posts: 35 since Apr 2010
Thanks: 35 given, 32 received


Leo123 View Post
I have the indicator, but Im not sure how to use it, I thought it would count down with "real" numbers. It counts down, up many times before the candle actually close, is there a setting for this or how do I really know when the bar is near to close?

Thanks

Leo

Leo,

The issue is not the bartimer.....this BarType will stay in an area and keep ticking until it breaks out....(thus the name LineBreak). Unlike time based bars (Minute, hour, day) which only go for a specified time...and unlike tick or volume bars which accumulate a specified number of ticks/volume....LineBreak bars will continue to count and reset themselves until price has moved enough to trigger a "line break".
The BarTimer will capture this and show it to you with the "Red" number that appears beside the timer. This number tells you how many times price has bounced in the same area, filling the bar, resetting it, and then filling it again.

My suggestion is to spend a bit of time and learn what the "LineBreak" and "WickedLineBreak" BarTypes do.

Reply With Quote
     

Old April 1st, 2012, 11:29 PM   #9 (permalink)
Membership Temporarily Revoked
Magadan Russia
 
Trading Experience: Master
Platform: NT
Favorite Instrument: FDAX
 
Posts: 79 since Nov 2010
Thanks: 17 given, 14 received

Guys,do anyone still have the script code that one could share?

Thx

Reply With Quote
     

Reply



Tags
bars, candle, cd, charts, close, code, coding, custom, day, dow, elite, future, holiday, how to, indicator, indicators, learn, line, line break, linebreak, ninja, ninjascript, ninjatrader, price, programmer, programming, script, tick, ticks, type, volume, volume bars
     

Big Mike's Trading Forum > Trading Forums > Platforms and Indicators > NinjaTrader > NinjaTrader Programming > Bar Counter For Line Break Bar Type

Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads
Thread Thread Starter Forum Replies Last Post
Range Counter / Tick Counter / Bar Timer zeller4 NinjaTrader 19 February 5th, 2013 12:18 PM
Reversal Bar Type monolisa NinjaTrader 18 August 2nd, 2012 10:02 AM
Felton Bar Counter!!! Help to Move it Left??? tdaman The Elite Circle 3 March 2nd, 2012 11:51 AM
Range bar counter Serger EasyLanguage Programming 21 January 20th, 2012 08:33 AM
Range Bars as base type for Better Line Break? aligator Traders Hideout 4 September 25th, 2011 10:04 PM


All times are GMT -4. The time now is 05:18 PM.

Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
Copyright © 2014 by Big Mike Trading. 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.
 
no new posts

Page generated 2014-04-23 in 0.12 seconds with 19 queries on atlantis via your IP 54.204.66.38