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 arvidvanstaey, Yesterday, 02:19 PM
|
5 responses
14 views
0 likes
|
Last Post Today, 07:16 AM | ||
Started by Rapine Heihei, Yesterday, 08:25 PM
|
1 response
12 views
0 likes
|
Last Post Today, 07:16 AM | ||
Started by Mongo, Yesterday, 11:05 AM
|
6 responses
27 views
0 likes
|
Last Post
by Mongo
Today, 07:12 AM
|
||
Started by ct, 05-07-2023, 12:31 PM
|
7 responses
206 views
0 likes
|
Last Post Today, 07:11 AM | ||
Started by wzgy0920, Yesterday, 09:53 PM
|
1 response
13 views
0 likes
|
Last Post Today, 07:06 AM |
Comment