NexusFi: Find Your Edge


Home Menu

 





NT Chart not plotting time periods when there is no volume


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Fat Tails with 4 posts (1 thanks)
    2. looks_two happyfatguy with 3 posts (0 thanks)
    3. looks_3 RJay with 2 posts (3 thanks)
    4. looks_4 ratfink with 1 posts (0 thanks)
    1. trending_up 3,316 views
    2. thumb_up 4 thanks given
    3. group 2 followers
    1. forum 10 posts
    2. attach_file 2 attachments




 
Search this Thread

NT Chart not plotting time periods when there is no volume

  #1 (permalink)
 happyfatguy 
Laguna Hills, CA
 
Experience: Master
Platform: StockFinder, NinjaTrader
Broker: Interactive Brokers
Trading: Stocks
Posts: 3 since Feb 2012
Thanks Given: 1
Thanks Received: 0

Hello. I have run into an issue plotting charts with low volume. For periods where there is no volume, the time period does not plot. I am using a 2 minute chart for the stock AROW with Kinetick data. On the attached screen shot, for one day the period from 10:30 to 12:30 is pretty wide, for the other day it is really narrow.

I talked with NinjaTrader support and they said this was by design. Unfortunately is messes up my indicators and is not how other trading programs like StockFinder work.

Any suggestions or work arounds? Thanks in advance.

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
ZombieSqueeze
Platforms and Indicators
Exit Strategy
NinjaTrader
Are there any eval firms that allow you to sink to your …
Traders Hideout
Futures True Range Report
The Elite Circle
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Get funded firms 2023/2024 - Any recommendations or word …
59 thanks
Funded Trader platforms
36 thanks
NexusFi site changelog and issues/problem reporting
25 thanks
GFIs1 1 DAX trade per day journal
19 thanks
The Program
18 thanks
  #2 (permalink)
 
ratfink's Avatar
 ratfink 
Birmingham UK
Market Wizard
 
Experience: Intermediate
Platform: NinjaTrader
Broker: TST/Rithmic
Trading: YM/Gold
Posts: 3,633 since Dec 2012
Thanks Given: 17,423
Thanks Received: 8,425


happyfatguy View Post
Hello. I have run into an issue plotting charts with low volume. For periods where there is no volume, the time period does not plot. I am using a 2 minute chart for the stock AROW with Kinetick data. On the attached screen shot, for one day the period from 10:30 to 12:30 is pretty wide, for the other day it is really narrow.

I talked with NinjaTrader support and they said this was by design. Unfortunately is messes up my indicators and is not how other trading programs like StockFinder work.

Any suggestions or work arounds? Thanks in advance.

I also find it a pain in the neck and not a great design idea.

The only workaround I know is to add a second data series of something that is more active (e.g. one of the indexes) with the same time period and make it transparent or leave it in a small separate panel. Downside of this hack is then you get the other Ninja pain of losing the option for equidistant bar spacing, so it's not quite so pretty.

I'd be interested in a better solution too.

Travel Well
Visit my NexusFi Trade Journal Reply With Quote
  #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



happyfatguy View Post
Hello. I have run into an issue plotting charts with low volume. For periods where there is no volume, the time period does not plot. I am using a 2 minute chart for the stock AROW with Kinetick data. On the attached screen shot, for one day the period from 10:30 to 12:30 is pretty wide, for the other day it is really narrow.

I talked with NinjaTrader support and they said this was by design. Unfortunately is messes up my indicators and is not how other trading programs like StockFinder work.

Any suggestions or work arounds? Thanks in advance.


@happyfatgui: Actually this behaviour depends on the data feed, not on NinjaTrader.

There are data feeds that create artificial 1-minute bars, when there is no trade during that minute. Other data feeds do not create those artificial bars.

NinjaTrader just displays the data which it has received.

Below is a sample chart of AROW with artificial minute data inserted.

By the way your chart looks wrong, you probably used a false session template, as data is missing.



Reply With Quote
Thanked by:
  #4 (permalink)
 
DavidHP's Avatar
 DavidHP 
Isla Mujeres, MX
Legendary Market Wizard
 
Experience: Advanced
Platform: NinjaTrader
Broker: Ninjatrader / Optimus Futures / AmpFutures
Trading: ES / 6E / 6B / CL
Frequency: Every few days
Duration: Minutes
Posts: 1,609 since Aug 2009
Thanks Given: 11,328
Thanks Received: 2,743


Fat Tails View Post

By the way your chart looks wrong, you probably used a false session template, as data is missing.

Here is an excellent thread about session times.

https://nexusfi.com/elite-circle/6055-correct-sessions-your-charts.html

Rejoice in the Thunderstorms of Life . . .
Knowing it's not about Clouds or Wind. . .
But Learning to Dance in the Rain ! ! !
Follow me on Twitter Reply With Quote
  #5 (permalink)
 happyfatguy 
Laguna Hills, CA
 
Experience: Master
Platform: StockFinder, NinjaTrader
Broker: Interactive Brokers
Trading: Stocks
Posts: 3 since Feb 2012
Thanks Given: 1
Thanks Received: 0

Thanks. I really appreciate your help.

Ratfink - I'm going to try the second data set hack.

Fat Tails - Is there a data service that you recommend? I have both Kinetick and IQFeed - both have the same issue of not displaying periods with no volume.

Started this thread Reply With Quote
  #6 (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


happyfatguy View Post
Thanks. I really appreciate your help.

Ratfink - I'm going to try the second data set hack.

Fat Tails - Is there a data service that you recommend? I have both Kinetick and IQFeed - both have the same issue of not displaying periods with no volume.

@happyfatguy: I have produced the chart with minute data from Interactive Brokers. However, I recommend the Kinetick or DTN/IQ data feed over any broker feed.

I think it is correct not to generate artificial data points and just adapt the indicators accordingly.

Reply With Quote
  #7 (permalink)
 
RJay's Avatar
 RJay 
Hartford, CT. USA
 
Experience: Intermediate
Platform: NinjaTrader
Broker: AMP/CQG, Kinetick
Trading: RTY
Posts: 682 since Jun 2009
Thanks Given: 757
Thanks Received: 787


happyfatguy View Post
Thanks. I really appreciate your help.

Ratfink - I'm going to try the second data set hack.

Fat Tails - Is there a data service that you recommend? I have both Kinetick and IQFeed - both have the same issue of not displaying periods with no volume.

Hi All,

I've worked extensively with charts so I thought I would share my thoughts.

NinjaTrader only updates their charts when a trade takes place. On time charts, NinjaTrader does this timer lookback thing during each potential time bar time interval.

If a trade takes place during the potential bar time interval, A bar is created and it receives a timestamp of the beginning of the interval.

If the time interval ends without any trades, NinjaTrader starts a new timer interval and waits for the next trade to create a new bar.

I believe it is possible to create a chart type that could plot a hash mark on time bars where no trades took place.

RJay

Reply With Quote
Thanked by:
  #8 (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


RJay View Post
Hi All,

I've worked extensively with charts so I thought I would share my thoughts.

NinjaTrader only updates their charts when a trade takes place. On time charts, NinjaTrader does this timer lookback thing during each potential time bar time interval.

If a trade takes place during the potential bar time interval, A bar is created and it receives a timestamp of the beginning of the interval.

If the time interval ends without any trades, NinjaTrader starts a new timer interval and waits for the next trade to create a new bar.

I believe it is possible to create a chart type that could plot a hash mark on time bars where no trades took place.

RJay


This is correct for the real-time data feed.

However, for historical data, some data feeds come with artificial minute bars, even if no trade has taken place.

Reply With Quote
  #9 (permalink)
 happyfatguy 
Laguna Hills, CA
 
Experience: Master
Platform: StockFinder, NinjaTrader
Broker: Interactive Brokers
Trading: Stocks
Posts: 3 since Feb 2012
Thanks Given: 1
Thanks Received: 0

Hi RJay,

Thank you for the reply. My trouble is that I have a series of indicators that I wrote in StockFinder that I am trying to convert into NinjaTrader to that I can trade with different brokerage firms. They all for for a certain member of periods and rely on a period being there even if there is no volume. When you remove those periods, it dramatically affects the outcome of the indicator. Any suggestions on how to create the hash mark chart that you suggested?

I've researched this issue a lot and am surprised to not find anyone else discussing it. To me, being able to verify an indicator across multiple trading platforms seems important. Even something as simple as Bollinger Bands has different results in NinjaTrader vs. other programs that insert a plot for each period.

Fat Tails: Thanks you again for the suggestion on Interactive Brokers. Are there any other data providers that you can think of that insert the periods like this? I would really like to find one that is not a brokerage.

Thanks advance to both of you.

Andrew

Started this thread Reply With Quote
  #10 (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



happyfatguy View Post
Hi RJay,

Thank you for the reply. My trouble is that I have a series of indicators that I wrote in StockFinder that I am trying to convert into NinjaTrader to that I can trade with different brokerage firms. They all for for a certain member of periods and rely on a period being there even if there is no volume. When you remove those periods, it dramatically affects the outcome of the indicator. Any suggestions on how to create the hash mark chart that you suggested?

I've researched this issue a lot and am surprised to not find anyone else discussing it. To me, being able to verify an indicator across multiple trading platforms seems important. Even something as simple as Bollinger Bands has different results in NinjaTrader vs. other programs that insert a plot for each period.

Fat Tails: Thanks you again for the suggestion on Interactive Brokers. Are there any other data providers that you can think of that insert the periods like this? I would really like to find one that is not a brokerage.

Thanks advance to both of you.

Andrew


I would not go for a broker just because he inserts fake bars for historical data.

If you have indicators that rely on lookback periods set up in bars, you would need to transform your lookback period from an integer to a DateTime object. For example, if you have a 5-minute chart and the lookback period of your indicator is 10 bars, then your new lookback period becomes 50 minutes. Each trade price that has printed during the lookback period will then need to be weighted with the time period for which it is applied.

It is a little bit more difficult to code lookback periods in minutes, but it can be done. I have used this method to calculate a time-weighted average price (TWAP), as I also want to get correct calculations in case that no trade has printed.

Reply With Quote




Last Updated on May 26, 2014


© 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