Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Color MA based on slope?
Collapse
X
-
Color MA based on slope?
How can you color an MA based on slope or rising/falling? Ideally, I would like to change the colors as the slope intensifies, etc., but just rising/falling is what I am trying to do now. I assume this would be a Ninjascript design?Tags: None
-
Hello Stok,
Thanks for your post.
Correct, any modifications would need to be through Ninjascript. If you would like educational links to get you started with Ninjascript please let us know. If you would like this developed for you, we can provide references to 3rd party coders who could provide this service. Finally, you may find examples of what you need in the NT8 indicators downloads section.
The IsRising() and IsFalling() methods can be found here:
A good example of this can be found in the MACrossbuilder here: https://ninjatrader.com/support/foru...d=7&linkid=906
The IsRising and IsFalling simply compare the current value to the prior value.
You can use the Slope() method to determine the slope over a period of time (bars), here is a link to the slope method: https://ninjatrader.com/support/help...-us/?slope.htmPaul H.NinjaTrader Customer Service
-
Originally posted by NinjaTrader_Paul View PostHello Stok,
Thanks for your post.
Correct, any modifications would need to be through Ninjascript. If you would like educational links to get you started with Ninjascript please let us know. If you would like this developed for you, we can provide references to 3rd party coders who could provide this service. Finally, you may find examples of what you need in the NT8 indicators downloads section.
The IsRising() and IsFalling() methods can be found here:
A good example of this can be found in the MACrossbuilder here: https://ninjatrader.com/support/foru...d=7&linkid=906
The IsRising and IsFalling simply compare the current value to the prior value.
You can use the Slope() method to determine the slope over a period of time (bars), here is a link to the slope method: https://ninjatrader.com/support/help...-us/?slope.htm
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by inanazsocial, Today, 01:15 AM
|
1 response
6 views
0 likes
|
Last Post Today, 02:18 AM | ||
Started by rocketman7, Today, 02:12 AM
|
0 responses
10 views
0 likes
|
Last Post
by rocketman7
Today, 02:12 AM
|
||
Started by dustydbayer, Today, 01:59 AM
|
0 responses
1 view
0 likes
|
Last Post
by dustydbayer
Today, 01:59 AM
|
||
Started by trilliantrader, 04-18-2024, 08:16 AM
|
5 responses
23 views
0 likes
|
Last Post Today, 12:32 AM | ||
Started by Davidtowleii, Today, 12:15 AM
|
0 responses
3 views
0 likes
|
Last Post
by Davidtowleii
Today, 12:15 AM
|
Comment