View Full Version : Bar timer
Hey there,
I was pleased to see that you added a Bar Timer to your indicators with your newest version. I have tried to get it to work and have failed. In the data box next to bar timer it just says "Dummy" in an orange box. What I am doing wrong? Any suggestions?
NinjaTrader_Dierk
06-22-2007, 11:09 AM
- bar timer only works as you are connected
- which interval do you have on your chart? 1 minute? different?
nelson
06-22-2007, 01:17 PM
ok, i've got it added to my inidcators for a 5 min chart
what settings should i have for it?
right now, in default, it appears to be the words "bar timer" in the upper left corner of my chart
NinjaTrader_Dierk
06-22-2007, 01:19 PM
- are you connected?
- do you see any text displayed in the lower right corner of the chart?
- what are your session begin/end settings?
nelson
06-22-2007, 01:29 PM
Hi Dierk,
I am using a 24 hr ZG chart, 5 min, nothing related to bar timer in lower rt corner
I am connected
NinjaTrader_Dierk
06-22-2007, 01:38 PM
Thanks. We will look into it and let you know.
Thanks. We will look into it and let you know.
Thanks, I have been connected also, to MB Trading. Using 3 and 5 minute charts. I am not getting anything with the bar timer in the lower right hand corner. It just says "bar timer" in the upper left with the other indicatiors, but really no other sign of the bar timer anywhere on the chart. Also I am using trading hours for start and end times. 9:30-4:01 EST.
Thanks for your help.
yeneuro
06-22-2007, 02:08 PM
FYI
Same here, nothing on the charts even though there is a connection
NinjaTrader_Dierk
06-22-2007, 10:54 PM
Guys,
Please find attached a revised version. Please:
- copy attached to <my documents>/NinjaTrader6/bin/Custom/Indicator
- start NT
- Tools->Edit NinjaScript->Indicator->BarTimer->F5 (compile)
- add BarTimer to your chart
Should work better now.
Thanks
(deleted attachment)
yeneuro
06-25-2007, 07:40 AM
Followed your instructions, still no joy.
Before markets opened there was text on the chart to the effect that no timer was being displayed either because there was no connection or the session had not started yet. After market open there is nothing on the chart.
NinjaTrader_Dierk
06-25-2007, 07:45 AM
- do you have any other indicators running on the chart? which one?
- is there any funny stuff in the logs?
- what time series are it running on?
- what are your session begin/end settings? which time zone are you in?
yeneuro
06-25-2007, 09:24 AM
Will provide other requested info, if any, later this evening.
Time zone is MDT(Mountain Day Light Time)
Session is 7:30am to 2.15pm MDT
Tried on 3 min, 5 min and 15 min charts on YM
Indicators are pivot, today's OHLC, yeterday's OHLC, indicators provided by MTP
Attached is a snap shot of the errors in the log
Thanks
NinjaTrader_Dierk
06-25-2007, 12:56 PM
My apologies. There still was bug.
Please find attached a revised version. Please:
- copy attached to <my documents>/NinjaTrader6/bin/Custom/Indicator
- start NT
- Tools->Edit NinjaScript->Indicator->BarTimer->F5 (compile)
- add BarTimer to your chart
Thanks for the download. I will give it a try. With the other download the bar timer seemed to work with 24 hour charts only. I will try this one. Thanks for all your help.
NinjaTrader_Dierk
06-25-2007, 12:58 PM
Please retry version I just posted.
yeneuro
06-25-2007, 01:27 PM
Perfect, working now.
Thanks .........
NinjaTrader_Dierk
06-25-2007, 01:30 PM
Glad we got that ironed out. Sorry for confusion.
nelson
06-30-2007, 05:16 PM
Bar timer running fine . Appreciate having it.
nelson
07-03-2007, 10:25 AM
This might sound picky, but would it be possible to re-position the bar timer data line from the far bottom right to the left? I find that the price bars cover the read out most of the time.
Thanks
nelson
07-03-2007, 10:39 AM
After asking about this, I realized I forgot to check the flexibility of the indicator's inputs . . I reset it to Panel 2, and now is working beautifully.
Thanks
ceesvh
07-05-2007, 08:12 AM
It is working nicely.
But is it possible to increase the font size?
NinjaTrader_Dierk
07-05-2007, 08:16 AM
Sorry, not supported at this time.
pivot44
01-10-2008, 12:31 PM
Having the words 'Time remaining" in front of the time display takes up too much space. It seems redundant. We all need to conserve space; why not do away with this prefix?? Also, is there a need for the leading zeros representing hours?? Does anyone really use a bar timer for charts greater than an hour?
Thanks.
NinjaTrader_Dierk
01-10-2008, 12:38 PM
Thanks for your suggestions. We'll add them to the list of future considerations.
monpere
01-10-2008, 04:26 PM
What should market open, or being connected have to do with a bar timer? It is a time countdown. Time does not stop when the market closes or when you are not connected to your broker. Here's my version of the bar timer, it is a simple countdown, it works as long as the chart is up. It counts down the amount of time specified bar the chart period, resets and restarts when it reaches 0. That's all it needs to do.
Followed your instructions, still no joy.
Before markets opened there was text on the chart to the effect that no timer was being displayed either because there was no connection or the session had not started yet. After market open there is nothing on the chart.
pivot44
01-11-2008, 08:03 AM
Thanks for the bar countdown timer; could you possibly add a parameter for vertical placement (bottom/top/middle, last price, etc), and would it make sense to remove the minus ("-") prefix?
Thanks again.
Jibu V
01-11-2008, 12:51 PM
Is there a way to set the timer so that it counts down the "ticks" remaining, if you are using a tick chart instead of a timed bar chart? Thanks.
NinjaTrader_Jason
01-11-2008, 01:09 PM
Hello Jibu V,
You can apply the TickCounter indicator to your chart to accomplish this. You can select it from the indicator menu, which you can access by right clicking in the chart and select "Indicator".
monpere
01-11-2008, 06:36 PM
Ok, with this version you can place it where ever you want on the chart by supplying offsets from the top and right edges of the chart.
I believe the version that I originally modified was based on the NT supplied TickCounter indicator, so this also works with tick charts. The only issue is that the way the NT development implemented it, it seems you have to wait at least the number of ticks of the chart period to go by before the counter is displayed. I tried 10 ticks, and the counter shows up right away, when I tried 1000 ticks, it took nearly a minute to show up. I'm sure there's a better way to do it. I haven't looked closely at that code yet.
Thanks for the bar countdown timer; could you possibly add a parameter for vertical placement (bottom/top/middle, last price, etc), and would it make sense to remove the minus ("-") prefix?
Thanks again.
Datha
08-23-2011, 08:59 AM
Hello,
my indicator Bar timer shows only 1 minute on 2 minutes chart. When first minute is finished, only 00:00:00 is displayed. It starts from 01:00:00 and Bar timer starts from 02:00:00 is correct. Can you help mi, please? I have data from Zen-fire.
Thanks
Datha
NinjaTrader_Matthew
08-23-2011, 09:03 AM
Hello,
Since BarTimer is built using your local PC clock, the first step in troubleshooting is to shut down NinjaTrader and sync your local PC clock.
You can sync your PC clock by double clicking on the clock in the lower right corner of your desktop. Once you have done that, click on Internet Time tab and then click Update. Your PC clock should now be updated.
Next, restart NinjaTrader and reconnect to your data provider.
Please let me know you continue to experience issues.