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




 
Search this Thread
  #11 (permalink)
 
RJay's Avatar
 RJay 
Hartford, CT. USA
 
Experience: Intermediate
Platform: NinjaTrader
Broker: AMP/CQG, Kinetick
Trading: RTY
Posts: 683 since Jun 2009
Thanks Given: 759
Thanks Received: 787


Fat Tails View Post
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.


Going the new chart type route would be easier for me being familiar with chart code.

having zero volume filler bars could be an issue with volume indicators. Sometimes NinjaTrader tries to replace a zero value with a "default Value" even though you really want the zero value.

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
tick data interval discrepancy
NinjaTrader
Help re translation of ninjascript to EL
NinjaTrader
Historical data for Kospi and Nikkei Index
NinjaTrader
is there a better Trade Performance tool for NinjaTrader?
NinjaTrader
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Tao te Trade: way of the WLD
45 thanks
HumbleTraders next chapter
42 thanks
What is Markets Chat (markets.chat) real-time trading ro …
41 thanks
ApexTraderFunding.com experience and review
31 thanks
1 Minute Man
19 thanks




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