Bar Timer Indie - futures io
futures io



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 2,743 views
    2. thumb_up 3 thanks given
    3. group 4 followers
    1. forum 9 posts
    2. attach_file 1 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 125,000 members
  • Genuine reviews from real traders, not fake reviews from stealth vendors
  • Quality education from leading professional traders
  • We are a friendly, helpful, and positive community
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts
  • We are here to help, just let us know what you need
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.

-- Big Mike, Site Administrator

(If you already have an account, login at the top of the page)

 
Search this Thread
 

Bar Timer Indie

(login for full post details)
  #1 (permalink)
 trs3042 
Holland, Michigan
 
Experience: None
Platform: ninjatrader
Broker: CQG
Trading: Acoustic Guitar
 
trs3042's Avatar
 
Posts: 1,617 since Jun 2009
Thanks: 23,764 given, 5,615 received

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

Can you help answer these questions
from other members on futures io?
Mack + Order Flow
Emini and Emicro Index
2003 Nymex Symposium
Traders Hideout
Pulling Historical Account
Sierra Chart
Pause calculation When Position is Open-Backtesting
ThinkOrSwim
Simple code to end my indicator
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on futures io
Spoo-nalysis ES e-mini futures S&P 500
52 thanks
Are you sure that your broker cant spy your trades and w …
19 thanks
Would you share your Holy Grail?
16 thanks
Want your NinjaTrader indicator created, free?
15 thanks
Big Mike in Ecuador
14 thanks
 
(login for full post details)
  #3 (permalink)
 Fat Tails 
Berlin, Europe
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,860 since Mar 2010
Thanks: 4,238 given, 26,794 received



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
 
(login for full post details)
  #4 (permalink)
 trs3042 
Holland, Michigan
 
Experience: None
Platform: ninjatrader
Broker: CQG
Trading: Acoustic Guitar
 
trs3042's Avatar
 
Posts: 1,617 since Jun 2009
Thanks: 23,764 given, 5,615 received


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
 
(login for full post details)
  #5 (permalink)
 trs3042 
Holland, Michigan
 
Experience: None
Platform: ninjatrader
Broker: CQG
Trading: Acoustic Guitar
 
trs3042's Avatar
 
Posts: 1,617 since Jun 2009
Thanks: 23,764 given, 5,615 received


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:
 
(login for full post details)
  #6 (permalink)
 madLyfe 
Des Moines, Iowa
 
Experience: None
Platform: Ninja, TOS
Broker: AMP/CQG, TOS
Trading: CL, TF, GC
 
madLyfe's Avatar
 
Posts: 1,641 since Feb 2011
Thanks: 9,220 given, 1,016 received

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 futures io Trade Journal Reply With Quote
 
(login for full post details)
  #7 (permalink)
 Fat Tails 
Berlin, Europe
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,860 since Mar 2010
Thanks: 4,238 given, 26,794 received


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:
 
(login for full post details)
  #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: 54 given, 461 received


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
 
(login for full post details)
  #9 (permalink)
 madLyfe 
Des Moines, Iowa
 
Experience: None
Platform: Ninja, TOS
Broker: AMP/CQG, TOS
Trading: CL, TF, GC
 
madLyfe's Avatar
 
Posts: 1,641 since Feb 2011
Thanks: 9,220 given, 1,016 received


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 futures io Trade Journal Reply With Quote
 
(login for full post details)
  #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: 54 given, 461 received



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:


futures io Trading Community Platforms and Indicators NinjaTrader > Bar Timer Indie


Last Updated on May 8, 2012


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing
     



Copyright © 2021 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada), 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