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 Mindset, 04-21-2026, 06:46 AM
|
0 responses
63 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|
||
|
Started by M4ndoo, 04-20-2026, 05:21 PM
|
0 responses
92 views
0 likes
|
Last Post
by M4ndoo
04-20-2026, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
48 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|
||
|
Started by cmoran13, 04-16-2026, 01:02 PM
|
0 responses
106 views
0 likes
|
Last Post
by cmoran13
04-16-2026, 01:02 PM
|
||
|
Started by PaulMohn, 04-10-2026, 11:11 AM
|
0 responses
63 views
0 likes
|
Last Post
by PaulMohn
04-10-2026, 11:11 AM
|

Comment