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 madLyfe with 2 posts (0 thanks)
    3. looks_3 Fat Tails with 2 posts (1 thanks)
    4. looks_4 TimeTrade with 2 posts (1 thanks)
    1. trending_up 3,271 views
    2. thumb_up 3 thanks given
    3. group 4 followers
    1. forum 9 posts
    2. attach_file 1 attachments




 
Search this Thread

Bar Timer Indie

  #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,616

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:	180
Size:	12.3 KB
ID:	26594  
Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
ZombieSqueeze
Platforms and Indicators
NexusFi Journal Challenge - April 2024
Feedback and Announcements
My NT8 Volume Profile Split by Asian/Euro/Open
NinjaTrader
Request for MACD with option to use different MAs for fa …
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Retail Trading As An Industry
66 thanks
NexusFi site changelog and issues/problem reporting
48 thanks
Battlestations: Show us your trading desks!
37 thanks
GFIs1 1 DAX trade per day journal
32 thanks
What percentage per day is possible? [Poll]
31 thanks

  #3 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102



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,616


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,616


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
The following user says Thank You to trs3042 for this post:
  #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,020

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
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102


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
The following user says Thank You to Fat Tails for this post:
  #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,020


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
The following user says Thank You to TimeTrade for this post:





Last Updated on May 8, 2012


© 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