Bar Counter For Line Break Bar Type - NinjaTrader Programming | futures io social trading
futures io futures trading


Bar Counter For Line Break Bar Type
Updated: Views / Replies:3,242 / 8
Created: by Eagle01 Attachments:0

Welcome to futures io.

Welcome, Guest!

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

We are 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

  #1 (permalink)
Elite Member
Dallas, TX, USA
 
Futures Experience: Intermediate
Platform: NinjaTrader
Favorite Futures: 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 on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).

Reply With Quote
 
  #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.

 
  #3 (permalink)
Elite Member
Overland Park, Kansas
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: Ninja-Contiuum /Optimus / Kinteck
Favorite Futures: Currency Futures, oil, corn, soybeans, e-minis...
 
photog53's Avatar
 
Posts: 40 since Apr 2010
Thanks: 38 given, 39 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:
 
  #4 (permalink)
Elite Member
Philadelphia, Pa
 
Futures Experience: Advanced
Platform: Ninja 7
Broker/Data: Amp/CQG
Favorite Futures: CL, ES
 
longboat's Avatar
 
Posts: 136 since Jun 2009
Thanks: 875 given, 188 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
 
  #5 (permalink)
Elite Member
Philadelphia, Pa
 
Futures Experience: Advanced
Platform: Ninja 7
Broker/Data: Amp/CQG
Favorite Futures: CL, ES
 
longboat's Avatar
 
Posts: 136 since Jun 2009
Thanks: 875 given, 188 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
 
  #6 (permalink)
Elite Member
Overland Park, Kansas
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: Ninja-Contiuum /Optimus / Kinteck
Favorite Futures: Currency Futures, oil, corn, soybeans, e-minis...
 
photog53's Avatar
 
Posts: 40 since Apr 2010
Thanks: 38 given, 39 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 futures.io (formerly 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:
 
  #7 (permalink)
Elite Member
Pitea, BD, Sweden
 
Futures Experience: Beginner
Platform: Ninjatrader
Favorite Futures: ES
 
Posts: 26 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
 
  #8 (permalink)
Elite Member
Overland Park, Kansas
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: Ninja-Contiuum /Optimus / Kinteck
Favorite Futures: Currency Futures, oil, corn, soybeans, e-minis...
 
photog53's Avatar
 
Posts: 40 since Apr 2010
Thanks: 38 given, 39 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
 
  #9 (permalink)
Banned: Piracy
Magadan Russia
 
Futures Experience: Master
Platform: NT
Favorite Futures: 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



futures io > > > > > Bar Counter For Line Break Bar Type

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)

FIO Journal Challenge featuring NinjaTrader ($2,000+ of prizes)

May

An overview of volumetric analytical tools w/Sergey Sokolov @ PTMC

Elite only

John Hoagland (TBA)

Elite only

FuturesTrader71 Extended Ask Me Anything (AMA)

Elite only

Pete @ Jigsaw Trading (TBA)

Elite only

John @ No BS Day Trading (TBA)

Elite only

An Afternoon with FIO member Softsoap (being rescheduled)

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Range Counter / Tick Counter / Bar Timer zeller4 NinjaTrader 20 August 10th, 2015 03:01 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 01:45 PM.

Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
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 2017-05-27 in 0.11 seconds with 19 queries on phoenix via your IP 54.145.71.49