Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
EMA, WMA calculations
Collapse
X
-
EMA, WMA calculations
Is there an explanation somewhere on how the Exponential moving average and Weighted moving averages are calculated in Ninjatrader?Tags: None
-
Hi fourpeaks99,
Thank you for you post.
The Exponential Moving Average is an indicator that shows the average value of a security's price over a period of time. When calculating a moving average. The EMA applies more weight to recent prices than the SMA. (http://www.ninjatrader-support.com/H...verageEMA.html)
Input[0] * (2.0 / (1 + Period)) + (1 - (2.0 / (1 + Period))) * Value[1]
Where...
Input[0] = is the close of the current bar in most cases
Value[1] = the value of the EMA calculated one bar prior
The WMA (Weighted Moving Average) is a Moving Average indicator that shows the average value of a security's price over a period of time with special emphasis on the more recent portions of the time period under analysis as opposed to the earlier. (http://www.ninjatrader-support.com/H...verageWMA.html)
The calculation here is more involved but you can view it by navigating to "Tools>Edit NS>Indicators"TimNinjaTrader Customer Service
-
-
Also, does Ninjatrader only use the data on the chart to calculate the moving average? For instance, if i have a chart with a start point of 1/1/10 will Ninjatrader use data from 2009 to create the moving average or will it use data starting from 1/1/10?
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by pechtri, 06-22-2023, 02:31 AM
|
9 responses
122 views
0 likes
|
Last Post Today, 02:31 PM | ||
Started by frankthearm, 04-18-2024, 09:08 AM
|
16 responses
66 views
0 likes
|
Last Post Today, 02:17 PM | ||
Started by habeebft, Today, 01:18 PM
|
1 response
5 views
0 likes
|
Last Post Today, 02:03 PM | ||
Started by benmarkal, Today, 12:52 PM
|
2 responses
15 views
0 likes
|
Last Post
by benmarkal
Today, 02:00 PM
|
||
Started by f.saeidi, Today, 01:38 PM
|
1 response
9 views
0 likes
|
Last Post Today, 01:45 PM |
Comment