NexusFi: Find Your Edge


Home Menu

 





Bar Timer Indie


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one trs3042 with 3 posts (1 thanks)
    2. looks_two Fat Tails with 2 posts (1 thanks)
    3. looks_3 TimeTrade with 2 posts (1 thanks)
    4. looks_4 madLyfe with 2 posts (0 thanks)
    1. trending_up 4,104 views
    2. thumb_up 3 thanks given
    3. group 4 followers
    1. forum 9 posts
    2. attach_file 1 attachments




 
Search this Thread
  #1 (permalink)
 
trs3042's Avatar
 trs3042 
Holland, Michigan
 
Experience: None
Platform: ninjatrader
Broker: CQG
Trading: Acoustic Guitar
Posts: 1,617 since Jun 2009
Thanks Given: 23,764
Thanks Received: 5,617

Please help. I have this indie for tick, volume and range charts and it works great. When I try to load the minute bar version I get this error message. Any suggestions??? I'm using NT7.

TIA,

Rick

BarTimerMod.cs


Attached Thumbnails
Click image for larger version

Name:	12-5-2010 7-17-01 PM.png
Views:	251
Size:	12.3 KB
ID:	26594  
Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Peace Deal Forward Curve: May 22%, June 51%, December 81 …
Prediction Markets & Event Contracts
Iran Forward Curve: June 30 at 56% vs June 15 at 28% -- …
Prediction Markets & Event Contracts
Iran Peace Expired NO: Ceasefire on Life Support, OPEC a …
Prediction Markets & Event Contracts
Rubios Good News Within Hours and the 30-Day Math: Why H …
Prediction Markets & Event Contracts
Iran Airspace Collapses 18 Points to 15.5% While Hormuz …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
8 thanks
Darmok and Jalad at Tanagra
3 thanks
  #3 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Legendary Market Wizard
 
Experience: Advanced
Platform: NinjaTrader
Broker: Interactive Brokers
Trading: Futures & Stocks
Posts: 9,887 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,117



trs3042 View Post
Please help. I have this indie for tick, volume and range charts and it works great. When I try to load the minute bar version I get this error message. Any suggestions??? I'm using NT7.

TIA,

Rick

BarTimerMod.cs

You will probably need to replace line 132 with

 
Code
 
&& Bars.Session.InSession(Now, Bars.Period, true, Bars.BarsType))
Not tested.

Why don't you use the bar timer of NT7?

The code of this indie is not entirely clean, looks like a modified NT 6.5 indie with some unwanted remainders.


Reply With Quote
  #4 (permalink)
 
trs3042's Avatar
 trs3042 
Holland, Michigan
 
Experience: None
Platform: ninjatrader
Broker: CQG
Trading: Acoustic Guitar
Posts: 1,617 since Jun 2009
Thanks Given: 23,764
Thanks Received: 5,617


Fat Tails View Post
You will probably need to replace line 132 with

 
Code
 
&& Bars.Session.InSession(Now, Bars.Period, true, Bars.BarsType))
Not tested.

Why don't you use the bar timer of NT7?

The code of this indie is not entirely clean, looks like a modified NT 6.5 indie with some unwanted remainders.

Big Mike wrote these a while back. You load tick, volume, range and bar indies on your chart. This way you can switch back and forth between them without getting that annoying NT message across the bottom of your chart. You know the one that basically says......you can't use a volume counter on a tick chart. So you would remove the volume counter indie and load the tick counter indie.

Thanks Fat Tails for your quick response,

Rick


Started this thread Reply With Quote
  #5 (permalink)
 
trs3042's Avatar
 trs3042 
Holland, Michigan
 
Experience: None
Platform: ninjatrader
Broker: CQG
Trading: Acoustic Guitar
Posts: 1,617 since Jun 2009
Thanks Given: 23,764
Thanks Received: 5,617


trs3042 View Post
Big Mike wrote these a while back. You load tick, volume, range and bar indies on your chart. This way you can switch back and forth between them without getting that annoying NT message across the bottom of your chart. You know the one that basically says......you can't use a volume counter on a tick chart. So you would remove the volume counter indie and load the tick counter indie.

Thanks Fat Tails for your quick response,

Rick

Just changed the code you provided. That was the problem. It works great!!!

Thanks again Fat Tails. You are very much appreciated!!!

Rick


Started this thread Reply With Quote
Thanked by:
  #6 (permalink)
 
madLyfe's Avatar
 madLyfe 
Des Moines, Iowa
 
Experience: None
Platform: Ninja, TOS
Broker: AMP/CQG, TOS
Trading: CL, TF, GC
Posts: 1,641 since Feb 2011
Thanks Given: 9,220
Thanks Received: 1,021

im using this bartimermod.cs, but when i have my chart set to hourly its ending the hour on the half hour, so 12:30, 1:30, etc.. is this normal as the mkt opens at 3:30cst? or should it be ending each hourly bar on 12, 1, 2, etc..


dont believe anything you hear and only half of what you see

¯\_(ツ)_/¯

(╯°□°)╯︵ ┻━┻
Visit my NexusFi Trade Journal Reply With Quote
  #7 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Legendary Market Wizard
 
Experience: Advanced
Platform: NinjaTrader
Broker: Interactive Brokers
Trading: Futures & Stocks
Posts: 9,887 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,117


madLyfe View Post
im using this bartimermod.cs, but when i have my chart set to hourly its ending the hour on the half hour, so 12:30, 1:30, etc.. is this normal as the mkt opens at 3:30cst? or should it be ending each hourly bar on 12, 1, 2, etc..

@madLyfe: The hourly bars align themselves to the start of the session. If you have selected a session template for ES which starts at 3:30 PM CT, then the hourly bars will have timestamps on the half hour. If your session starts at the full hour your hourly bars will have timestamps on the full hour.


Reply With Quote
Thanked by:
  #8 (permalink)
 TimeTrade 
Erfurt Germany
 
Experience: Master
Platform: rtMagic, NinjaTrader
Broker: AMP/CQG, IAB
Trading: ES, 6E, FDAX, FGBL
Posts: 338 since Aug 2011
Thanks Given: 54
Thanks Received: 461


Fat Tails View Post
@madLyfe: The hourly bars align themselves to the start of the session. If you have selected a session template for ES which starts at 3:30 PM CT, then the hourly bars will have timestamps on the half hour. If your session starts at the full hour your hourly bars will have timestamps on the full hour.

A nice idea... i well add a start time option to all my pubished bartypes(for example my free t4tBetterBars / Elite section)

Then its session independent possible to define the start of any time period...
start=1min when time Period=60min give hour bars started the session defined time
start=30min when time Period=60min give hour bars started on any half hours
start=60min when time Period=60min give hour bars started on any full hours


Reply With Quote
  #9 (permalink)
 
madLyfe's Avatar
 madLyfe 
Des Moines, Iowa
 
Experience: None
Platform: Ninja, TOS
Broker: AMP/CQG, TOS
Trading: CL, TF, GC
Posts: 1,641 since Feb 2011
Thanks Given: 9,220
Thanks Received: 1,021


TimeTrade View Post
A nice idea... i well add a start time option to all my pubished bartypes(for example my free t4tBetterBars / Elite section)

Then its session independent possible to define the start of any time period...
start=1min when time Period=60min give hour bars started the session defined time
start=30min when time Period=60min give hour bars started on any half hours
start=60min when time Period=60min give hour bars started on any full hours

im not sure what your talking about..


dont believe anything you hear and only half of what you see

¯\_(ツ)_/¯

(╯°□°)╯︵ ┻━┻
Visit my NexusFi Trade Journal Reply With Quote
  #10 (permalink)
 TimeTrade 
Erfurt Germany
 
Experience: Master
Platform: rtMagic, NinjaTrader
Broker: AMP/CQG, IAB
Trading: ES, 6E, FDAX, FGBL
Posts: 338 since Aug 2011
Thanks Given: 54
Thanks Received: 461



madLyfe View Post
im not sure what your talking about..

Up to this time, i dont know that NT7 will per default start any timebar with the session start. Any other concepts use hour bars fixed on full hours. (i self dont use time bars)

I well realize a session independent way for define the start of a hour bar. I well do this with a additional parameter for a special new hour bartype. (or i fixed predefine a simple selectable (named) FullHourMode, HalfHourMode or SessionMode)


Reply With Quote
Thanked by:




Last Updated on May 8, 2012


© 2026 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 - Downloads - Top
no new posts