Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Testing tick data for normality
Collapse
X
-
Testing tick data for normality
hi, does anyone know of a method for testing tick data for normality?Tags: None
-
Hi,
I want to test for a normal distribution around the mean for tick data. I can do it with R but I want to do it on the fly while a strategy is running.
Comment
-
Yes, you can do this. You will probably want to add a secondary data series with a 1-tick interval, then you can perform any mean and standard deviation calculations that you wish on any portion of the data set. For more information on adding and accessing a secondary data series, please see the link below:
http://www.ninjatrader.com/support/h....html?add3.htm
There are a few useful items to note in the script sample listed in that page, including Closes and BarsInProgress. You can find more information about these in the links below:
http://www.ninjatrader.com/support/h...tml?closes.htm
http://www.ninjatrader.com/support/h...inprogress.htmDave I.NinjaTrader Product Management
Comment
-
I can tell you with near certainly that price data will not have a Normal/Gaussian distribution. It has a distribution closer to a sine wave distribution.Originally posted by GKonheiser View PostHi,
I want to test for a normal distribution around the mean for tick data. I can do it with R but I want to do it on the fly while a strategy is running.
Intuitively that makes sense, as we have a wave phenomenon, which Fourier Analysis tells us can be represented by a weighted sum of an infinite series of sines and cosines. In actuality John Ehlers has done some actual measurements and confirms this. more or less. Check out the details on the MESA software site.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
648 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
369 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
108 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
572 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
573 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment