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 CaptainJack, 05-29-2026, 05:09 AM
|
0 responses
239 views
0 likes
|
Last Post
by CaptainJack
05-29-2026, 05:09 AM
|
||
|
Started by CaptainJack, 05-29-2026, 12:02 AM
|
0 responses
155 views
0 likes
|
Last Post
by CaptainJack
05-29-2026, 12:02 AM
|
||
|
Started by charlesugo_1, 05-26-2026, 05:03 PM
|
0 responses
164 views
1 like
|
Last Post
by charlesugo_1
05-26-2026, 05:03 PM
|
||
|
Started by DannyP96, 05-18-2026, 02:38 PM
|
1 response
247 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
199 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|

Comment