Thanks!
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Moving Average calculated on candle mean
Collapse
X
-
Moving Average calculated on candle mean
Hi there, Is there an existing indicator, or a variable that can be modified to make a SMA that instead of calculating the mean using the close, calculates the mean using the mean of each candle involved? (when I said the mean of each candle I refer to the average between the hight and the low of each candle)
Thanks!Tags: None
-
Hello Joaqvil,
Thank you for your post.
You could always change the input series for the SMA to something other than the close price; the different price types for the data series on the chart include Close, High, Low, Median, Open, Typical, and Weighted. I am not sure if one of these options is calculated in the same way that you have in mind for the "average" of a candle. For example, typical price is equal to (High + Low + Close) / 3. For more information about changing an indicator's input series, please see the "Indicator Input Series" section at the following link:
If you are working with the SMA programmatically, you would just need to refer to the desired input series within your syntax:
Please let me know if I may be of further assistance.
- Likes 1
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
576 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
334 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
101 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
553 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
551 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment