Beforehand thank you very much!
Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
Create a moving average from point A to point B
Collapse
X
-
Hello BIOK.NT,
It depends on what you mean. Is this an indicator or a custom method?
You could supply a Series<double> object that only has values set on bars between a time range and then supply this as the input series to the SMA() indicator.
Or you could make a custom method that loops through SMA() values between certain bars using the primary series.
Or you could make a custom method that loops through specific bars and divides by the number of bars.Chelsea B.NinjaTrader Customer Service
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by AlphaOptions, 06-18-2013, 08:24 AM
|
5 responses
2,167 views
0 likes
|
Last Post Today, 05:48 PM | ||
Started by JTizz, 04-08-2020, 08:59 AM
|
2 responses
211 views
0 likes
|
Last Post
by betsuni_123
Today, 05:39 PM
|
||
Started by bortz, 11-06-2023, 08:04 AM
|
53 responses
2,023 views
0 likes
|
Last Post
by muchacha
Today, 05:32 PM
|
||
Started by NickyD, 10-26-2023, 04:41 PM
|
5 responses
192 views
0 likes
|
Last Post Today, 05:29 PM | ||
Started by janio973, Yesterday, 07:24 PM
|
4 responses
26 views
0 likes
|
Last Post Today, 05:26 PM |
Comment