Intraday RealTime Chart: Indicators show late - futures io
futures io futures trading



Intraday RealTime Chart: Indicators show late


Discussion in NinjaTrader

Updated by ManuAdam
    1. trending_up 3,239 views
    2. thumb_up 4 thanks given
    3. group 3 followers
    1. forum 5 replies
    2. attach_file 2 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 100,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
 

Intraday RealTime Chart: Indicators show late

(login for full post details)
  #1 (permalink)
New Delhi
 
 
Posts: 9 since Aug 2011
Thanks: 1 given, 2 received

Dear Sir,
I am puzzled how to show indicators on Intraday chart from beginning. I mean, when market opens I open the chart - at 9.15 a.m.. but no indicators are visible on chart till late, not even EMI (5) on a One-minute chart. Indicators start getting visible only after 20 candles .. that means - on 5-min chart indicators become visible after 100 minutes (20candles x 5) and on 3-min chart they become visible after an hour. That is troublesome - how can I do trading in the beginning hours if indicators take so much time to be visible? I tried with indicators like RSI (14), Stochs (14,3) CCI (14) and EMI ( 5/13 ). None start showing on chart till after 20 candles of price move. Perhaps there is something seriously wrong in my setting or the way I am doing thing. I am using Ninjatrader 7 with yahoo connection for Real time Intraday chart - getting data regularly without delay. But somehow indicators do not show up. Please Help so that I could get indicators working from the very beginning (as I see on most charts). Dear friends, Please guide me.

Attached Thumbnails
Click image for larger version

Name:	capture_001_29082011_115901.jpg
Views:	44
Size:	132.1 KB
ID:	47643   Click image for larger version

Name:	capture_033_29082011_120141.jpg
Views:	42
Size:	106.0 KB
ID:	47644  
Reply With Quote

Can you help answer these questions
from other members on futures io?
How to place NT8 indicator output into a grid, under each bar?
NinjaTrader
Price Down, Volume Up, Open Interest Down
Traders Hideout
Horizontal Line Indicator
Platforms and Indicators
IB Bracker Order
Platforms and Indicators
Excited and scared at the same time
Traders Hideout
 
 
(login for full post details)
  #2 (permalink)
virginia
 
Experience: Intermediate
Platform: ninja
Trading: NQ
 
cory's Avatar
 
Posts: 5,999 since Jun 2009
Thanks: 831 given, 7,832 received

go to setting increase number of days to load.

Reply With Quote
 
(login for full post details)
  #3 (permalink)
Market Wizard
Berlin, Europe
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,840 since Mar 2010
Thanks: 4,238 given, 26,585 received


NinjaTrader indicators do not display values for the first 20 candles. This is made on purpose, as many of the indicators display false values during the unstable period. Actually it is a bad compromise, as the number of bars required for accurate values depends

-> on the indicator and
-> on the indicator settings, such as the period.

It is technically possible to display indicator values prior to the 20th candle. You would just need to add BarsRequired = 0 in the Initialize() section of the indicator, to display the values beginning with the first candle. However, it does not help you if you display false values during the unstable period of the indicator.

Best you pay yourself a datafeed that comes with historical data, ignore all indicator values for the first 100 bars (value depends on settings) and then use the indicators, when they are stable.

Reply With Quote
The following user says Thank You to Fat Tails for this post:
 
(login for full post details)
  #4 (permalink)
New Delhi
 
 
Posts: 9 since Aug 2011
Thanks: 1 given, 2 received


Fat Tails View Post
NinjaTrader indicators do not display values for the first 20 candles. This is made on purpose, as many of the indicators display false values during the unstable period. Actually it is a bad compromise, as the number of bars required for accurate values depends

-> on the indicator and
-> on the indicator settings, such as the period.

It is technically possible to display indicator values prior to the 20th candle. You would just need to add BarsRequired = 0 in the Initialize() section of the indicator, to display the values beginning with the first candle. However, it does not help you if you display false values during the unstable period of the indicator.

Best you pay yourself a datafeed that comes with historical data, ignore all indicator values for the first 100 bars (value depends on settings) and then use the indicators, when they are stable.

Thanks Mr Cory and Mr. Hunter-Gatherer for your quick responses. But now it has become enormously more confusing. Sorry for being so ignorant .. i m such a newbie.
As Mr Cory has suggested : "go to setting increase number of days to load." I see that in NT7 default setting is 5 days .. is it not enough to provide suffient candles for an RSI (14) or even EMI (5) to show up from beginning? If not - what is the standard number of days to be there? Should I make it to 20 or 30? Is there a way to calculate it?

Now as per Mr Hunter's suggestion: "ignore all indicator values for the first 100 bars" I am more confused- I tried to google to refresh my idea of bar vs candle vs tick .. At one place I read that bar and candles are just different ways of presentation .. so if I wait for 100 bars on a 5-min chart .. that would mean 500 minute or more than 8 hours .. more than market hours.. How can I ignore 100 bars on an Intraday chart? I am sorry again .. butI am truely puzzled.. by bar do you mean tick? How to ignore 100 bars on NT 7 .. does it show bars anywhere?

Sir, One more thing - you said : "Add Bars Required = 0" .. Do you mean by BarsRequired - "Maximum Bars Look Back" which is set to TwoHundredFiftySix by default? Should Ichange this setting in each indicator? But if an indicator will not look back any bar (=0) how will it show up with proper calculation?

Also - in Indiacator setting under Data - Calculate on Bars close -- Should it be "True" or "false" . I ask because Ihave set them as false in general for all charts after I found that on Daily chart indi9cators are not reaching to last (or latest) candles.

Plz help me about proper standard setting in both DataSeries and Indicators for an Intraday Chart of 3-minute and 5-minute durations. By setting I mean .. not the special parameters of indicators but basic requirement to show them on chart from the opening time of the market to ending time.

Reply With Quote
 
(login for full post details)
  #5 (permalink)
Market Wizard
Berlin, Europe
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,840 since Mar 2010
Thanks: 4,238 given, 26,585 received


ManuAdam View Post
Now as per Mr Hunter's suggestion: "ignore all indicator values for the first 100 bars" I am more confused- I tried to google to refresh my idea of bar vs candle vs tick .. At one place I read that bar and candles are just different ways of presentation .. so if I wait for 100 bars on a 5-min chart .. that would mean 500 minute or more than 8 hours .. more than market hours.. How can I ignore 100 bars on an Intraday chart? I am sorry again .. butI am truely puzzled.. by bar do you mean tick? How to ignore 100 bars on NT 7 .. does it show bars anywhere?

100 bars (or candles) on a 5 min chart would be indeed 500 min. When I open a chart, I tyically want to have 65 days of backfill (or about 11,000 bars) on by chart. Otherwise my indicators do not work properly.

When I switch on my machine, I therefore first update historical data, before I continue with real-time data.

Mathematically a 34 period SMA requires 34 bars. During the first 33 bars - this is the unstable period - all values will be false. For indicators which use a recursive formula such as the EMA, it is more difficult to tell until when the results will be false. My monthly pivots indicator requires 65 days (worst case) to show correct pivots. My FibonacciZones indicator requires 40 days of intraday data to calculate Fibonacci confluence zones.


ManuAdam View Post
Sir, One more thing - you said : "Add Bars Required = 0" .. Do you mean by BarsRequired - "Maximum Bars Look Back" which is set to TwoHundredFiftySix by default? Should Ichange this setting in each indicator? But if an indicator will not look back any bar (=0) how will it show up with proper calculation?

BarsRequired has nothing to do with Bars.MaximumBarsLookBack. BarsRequired is used to suppress the plotting of the indicator values for the first bars. The default value is 20.


ManuAdam View Post
Also - in Indiacator setting under Data - Calculate on Bars close -- Should it be "True" or "false" . I ask because Ihave set them as false in general for all charts after I found that on Daily chart indicators are not reaching to last (or latest) candles.

If you set an indicator to "CalculateOnBarClose = false", it will calculate with each incoming tick. In a fast moving market this may cause NinjaTrader to freeze, so you should only use this setting, if it is absolutely necessary. I would consider it necessary for a volume indicator or an indicator that triggers intra-bar alerts, but not otherwise.


ManuAdam View Post
Plz help me about proper standard setting in both DataSeries and Indicators for an Intraday Chart of 3-minute and 5-minute durations. By setting I mean .. not the special parameters of indicators but basic requirement to show them on chart from the opening time of the market to ending time.

Select an appropriate session template which reflects the opening hours of the market that you want to trade, and attach that template to the instrument via the instrument manager. Then load a couple of days of historical data and your indicators should display correctly.

If you do not want that the SMA takes into accounts yesterday's price, you need to code a special SMA, which will only start calculating with the session begin.

Reply With Quote
The following 2 users say Thank You to Fat Tails for this post:
 
(login for full post details)
  #6 (permalink)
New Delhi
 
 
Posts: 9 since Aug 2011
Thanks: 1 given, 2 received

Dear Sir,
Mr Hunter-Gatherer aka Fat Tails you are really amazing. The way you cleared my confusion giving your precious time to give categorical replies and step by step guidelines, I am thankful to you from the core of my heart. Awesome! Thanks to Bigmiketrading forum too - a real lighthouse for lost traveller .. traders like me. I am sure many new traders and users of Ninja Trader 7 will be helped immensely by this. Today I was so happy as I was able to sail through real-time charts with perfect ease and indicators worked like charm from beginning. Yahoo, too, is nowadays working nicely without delay in perfect rhythm with the market. Besides last night I had done complete backfilling for 10 days from Google finance. So now everything is in order as it should be. My setup, though free and may not be so reliable (depending on yahoo and google), is working as good as any paid data feed setup now.
Thanking you once again, sir.
Manu Adam

Reply With Quote
The following user says Thank You to ManuAdam for this post:


futures io Trading Community Platforms and Indicators NinjaTrader > Intraday RealTime Chart: Indicators show late


August 30, 2011


Upcoming Webinars and Events
     



Copyright © 2020 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, 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