The Truth: NinjaTrader - NinjaTrader | futures io social day trading
futures io futures trading


The Truth: NinjaTrader
Updated: Views / Replies:199,035 / 1,059
Created: by AynRandFan Attachments:66

Welcome to futures io.

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

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors – all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you don’t need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

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

Reply
 66  
 
Thread Tools Search this Thread
 

The Truth: NinjaTrader

  #721 (permalink)
Elite Member
Denver, CO
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: NinjaTrader Brokerage
Favorite Futures: ES
 
NinjaTrader's Avatar
 
Posts: 1,260 since May 2010
Thanks: 153 given, 1,890 received


kashter View Post
I posted a thread on NT forums about issues causing rectangle objects to draw inconsistently across charts. The main issue is that if I manually draw a rectangle on 30min chart, and try to change the setting to have the End Time into the future, it throws an error. Yet if I draw the same rectangle on 405 min chart, it draws as expected, even if I extend the End Time into tomorrow's session. In both charts I use the "Use instrument settings". Quite annoying.

Unfortunately, NT's response was less than expected. They claim you cannot draw into the future using the "Use instrument settings" session template. Yet this is what I do all the time! Just place a horizontal line on a chart and see where it ends!

I see quite a few issues, and I wish NT gets a better grasp of the drawn objects. Hope the next iteration of NT7 does a better job.

K

From what I can tell, you and my support rep might not be on the same page. I have asked them to reach out to you privately so they can remote into your PC to ensure we understand your issue and that it is properly answered.

Reply With Quote
The following user says Thank You to NinjaTrader for this post:
 
  #722 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,653 since Mar 2010
Thanks: 4,226 given, 25,602 received
Forum Reputation: Legendary

Does anybody have an idea, why all indicators do not plot for the first 20 bars?

Attached Thumbnails
The Truth:  NinjaTrader-indicator-plot.jpg  
Reply With Quote
 
  #723 (permalink)
Elite Member
UK
 
Futures Experience: Intermediate
Platform: Ninja
Broker/Data: Mirus/Zen
Favorite Futures: Futures - bonds, currencies, index
 
Posts: 288 since Oct 2010
Thanks: 70 given, 267 received



Fat Tails View Post
Does anybody have an idea, why all indicators do not plot for the first 20 bars?

No idea, I just tried it and it happens for me too. The data box shows values for the days not plotted too.

To be honest, I'm used to Ninja's calculations/indicators starting at random times for charts and backtesting, and I sort of live with it. I shouldn't have to though.

(I actually calculate daily indicators seperately direct from the feed and keep them in files which my strategy loads. I just don't really trust Ninja to have all the right data, to know whether it's going to load new data, to pause my strat while it calculates historical, to get the right start date etc etc)

Reply With Quote
 
  #724 (permalink)
Elite Member
Israel
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: pfg
Favorite Futures: eminis
 
Posts: 323 since Jun 2009
Thanks: 6 given, 206 received

Default min bars required =20

Reply With Quote
 
  #725 (permalink)
Elite Member
Denver, CO
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: NinjaTrader Brokerage
Favorite Futures: ES
 
NinjaTrader's Avatar
 
Posts: 1,260 since May 2010
Thanks: 153 given, 1,890 received


Fat Tails View Post
Does anybody have an idea, why all indicators do not plot for the first 20 bars?


Fat Tails,

Indicators have a property known as BarsRequired. The default value of this is 20 bars. What this does is that it prevents the plotting (not calculation) of the indicator until the BarsRequired criteria is met. If you wish for the indicator to plot earlier you could add this line into the Initialize() method of the indicator:

BarsRequired = 0;

Please note that usually plotting an indicator early with 0 bars required will show an “unstable” period when the indicator values are not properly calculating yet with enough data points. For example, on the EMA of period 5, the first 5 bars would be irrelevant EMA values since they aren’t really EMAs of period 5 yet since there aren’t 5 data points available. You could also try something like the line below to avoid plotting the “unstable” period, but begin plotting earlier than 20.

BarsRequired = Period;

For more information on this property, please see here: http://www.ninjatrader.com/support/helpGuides/nt7/barsrequired.htm

Reply With Quote
The following user says Thank You to NinjaTrader for this post:
 
  #726 (permalink)
Elite Member
UK
 
Futures Experience: Intermediate
Platform: Ninja
Broker/Data: Mirus/Zen
Favorite Futures: Futures - bonds, currencies, index
 
Posts: 288 since Oct 2010
Thanks: 70 given, 267 received

BarsRequired does spring to mind, but it's not settable anywhere that I see in the dialog boxes.

Surely you're not saying you have to create your own indicator to see the perfectly valid EMA(5) on on the tenth bar?

Where on earth did the arbitrary 20 come from?

Reply With Quote
 
  #727 (permalink)
Elite Member
Houston,Tx
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: Mirus Futures/Zen-Fire
Favorite Futures: TF
 
ThatManFromTexas's Avatar
 
Posts: 2,302 since Feb 2010
Thanks: 1,208 given, 4,293 received


ThatManFromTexas View Post
I tried that... made no difference.




It appears I "fixed" it. But I still don't know what caused it.


That was pre-mature. Had the same problems this morning.

NT support gave me the standard;

1. We've never seen that...

2. You are the ONLY one out of 10,000 customers that have reported this ...

3. What are you doing wrong you aren't confessing...

4. Dump every thing and start over with a clean install....


Update:

They just replied that they consider the indicators I wrote in NT as "Third Party Programs" so they can't help me. Even though they are just compiled Ninja Scripts and have no DLL's.

Sheeesssh .....

I'm just a simple man trading a simple plan.

My daddy always said, "Every day above ground is a good day!"
Reply With Quote
 
  #728 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,653 since Mar 2010
Thanks: 4,226 given, 25,602 received
Forum Reputation: Legendary


NinjaTrader View Post
Fat Tails,

Indicators have a property known as BarsRequired. The default value of this is 20 bars. What this does is that it prevents the plotting (not calculation) of the indicator until the BarsRequired criteria is met. If you wish for the indicator to plot earlier you could add this line into the Initialize() method of the indicator:

BarsRequired = 0;

Please note that usually plotting an indicator early with 0 bars required will show an “unstable” period when the indicator values are not properly calculating yet with enough data points. For example, on the EMA of period 5, the first 5 bars would be irrelevant EMA values since they aren’t really EMAs of period 5 yet since there aren’t 5 data points available. You could also try something like the line below to avoid plotting the “unstable” period, but begin plotting earlier than 20.

BarsRequired = Period;

For more information on this property, please see here: http://www.ninjatrader.com/support/helpGuides/nt7/barsrequired.htm

Thanks for making this clear. I had indeed used BarsRequired for some of my MTF indicators and they do not show this behaviour.

In this case this is simply a bug of the system indicators. If you display an EMA(55) it will include 35 bars of the unstable period. If you display an EMA(5) it will cut off 15 bars of the stable period.

So, why not add this line

BarsRequired = Period;

or similar (if applicable) to all system indicators?

Reply With Quote
 
  #729 (permalink)
Elite Member
Israel
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: pfg
Favorite Futures: eminis
 
Posts: 323 since Jun 2009
Thanks: 6 given, 206 received


Quoting 
So, why not add this line

BarsRequired = Period;

or similar (if applicable) to all system indicators?

No no this is no good.
If you use indicators with several lengths? Should it start from the biggest?
If you have a multi timeframe strategy (5min & 1 day) and you use an indicator only for 5 min time series.
The "BarsRequired" is applied to all bar series, so if automatically it will be equal to the longest indicator (lets say you use SMA(200)) then it wont plot for 200 days!
Its more complicated then appears from the first look.

Reply With Quote
 
  #730 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,653 since Mar 2010
Thanks: 4,226 given, 25,602 received
Forum Reputation: Legendary



baruchs View Post
No no this is no good.
If you use indicators with several lengths? Should it start from the biggest?
If you have a multi timeframe strategy (5min & 1 day) and you use an indicator only for 5 min time series.
The "BarsRequired" is applied to all bar series, so if automatically it will be equal to the longest indicator (lets say you use SMA(200)) then it wont plot for 200 days!
Its more complicated then appears from the first look.

The code is part of the indicator and has no impact on other indicators. It is not applied to a bar series. The "BarsRequired" will not be equal to the indicator with the longest period, as the value of "BarsRequired" is different for each indicator. I am just talking of how to code an indicator correctly.

If you have a multi-timeframe indicator, BarsRequired must be set within that indicator, otherwise it will not work correctly. The question I asked does not relate to new indicators, as you can code them in the way you like.

SMA(200): The question is, if you want to plot false values for the SMA(200), because every value plotted earlier than for CurrentBar = 200 has nothing to do with a SMA(200). The data is not available on the chart.

So you prefer false data to no data? I prefer no data to false data!

Reply With Quote

Reply



futures io > > > > The Truth: NinjaTrader

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)

Jigsaw Trading: TBA

Elite only

FuturesTrader71: TBA

Elite only

NinjaTrader: TBA

Jan 18

RandBots: TBA

Jan 23

GFF Brokers & CME Group: Futures & Bitcoin

Elite only

Adam Grimes: TBA

Elite only

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
The Truth: MultiCharts Fat Tails MultiCharts 32 September 10th, 2012 04:49 AM
Daytrading - The Pain, Truth, and Redemption Rudy52 Elite Trading Journals 18 February 12th, 2011 07:08 AM
Easy Language to NT/ Futures truth gg80108 NinjaTrader Programming 5 November 21st, 2010 11:04 AM
Can NinjaTrader data be stored other than \My Documents\NinjaTrader 6.5 tc12357 NinjaTrader 4 December 15th, 2009 02:55 PM


All times are GMT -4. The time now is 01:20 AM.

Copyright © 2017 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
Page generated 2017-12-18 in 0.15 seconds with 20 queries on phoenix via your IP 54.92.201.232