i ask because polynomial curve fits are very sensitive to data precision. my indicator, TIS_PRC_v2c, does polynomial curve fits and excel Linest() function calculations do not exactly match [sometimes by a significant amount] the TIS_PRC_v2c calcs.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Open/high/low/close value precision?
Collapse
X
-
Open/high/low/close value precision?
''show data box'' displays daily bar chart $eurusd open/high/low/close values to a precision of 5 decimal places. is that the precision of the numbers internally available to indicators or do the values actually have greater than that number of decimal places.
i ask because polynomial curve fits are very sensitive to data precision. my indicator, TIS_PRC_v2c, does polynomial curve fits and excel Linest() function calculations do not exactly match [sometimes by a significant amount] the TIS_PRC_v2c calcs.Tags: None
-
Originally posted by joemiller View Posti now understand that the most precision visually available is that displayed by ''show data box'' and is 5 decimal points.
i'm still unclear about what the precision is internally when the indicator is doing its calculations?Last edited by koganam; 10-02-2015, 05:05 PM.
Comment
-
Originally posted by joemiller View Postmany thanks, Koganam.
however, i don't understand how and where to get the values to print to an output window.
is it a ninja output window to which you are referring? if so, where do i gain access to the values and where is the window?
Do this.
Search for the line in OnBarUpdate() where a value is assigned to the Plot. I do not know what that line is, so I will assume that it says:
Code:Plot0.Set(//some expression in here);
Code:Print("CurrentBar: " + CurrentBar); Print("Plot0 Value: " + Values[0]); Print(null);
Now compile the indicator, then open the NT Output Window and you should see what you want to see; a print of each bar number followed by the value of the Plot at that bar number, and separated by a line.
How to access the Output Window is in the NT Help file. ref: http://ninjatrader.com/support/helpG...tools_menu.htmLast edited by koganam; 10-03-2015, 07:14 AM.
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by llanqui, Today, 03:53 AM
|
0 responses
6 views
0 likes
|
Last Post
by llanqui
Today, 03:53 AM
|
||
Started by burtoninlondon, Today, 12:38 AM
|
0 responses
10 views
0 likes
|
Last Post Today, 12:38 AM | ||
Started by AaronKoRn, Yesterday, 09:49 PM
|
0 responses
15 views
0 likes
|
Last Post
by AaronKoRn
Yesterday, 09:49 PM
|
||
Started by carnitron, Yesterday, 08:42 PM
|
0 responses
11 views
0 likes
|
Last Post
by carnitron
Yesterday, 08:42 PM
|
||
Started by strategist007, Yesterday, 07:51 PM
|
0 responses
14 views
0 likes
|
Last Post Yesterday, 07:51 PM |
Comment