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 cmoran13, 04-16-2026, 01:02 PM
|
0 responses
51 views
0 likes
|
Last Post
by cmoran13
04-16-2026, 01:02 PM
|
||
|
Started by PaulMohn, 04-10-2026, 11:11 AM
|
0 responses
31 views
0 likes
|
Last Post
by PaulMohn
04-10-2026, 11:11 AM
|
||
|
Started by CarlTrading, 03-31-2026, 09:41 PM
|
1 response
165 views
1 like
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
100 views
1 like
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
160 views
2 likes
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|

Comment