Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Change color of CCI plot line when it crosses the value line in a certain direction
Collapse
X
-
Change color of CCI plot line when it crosses the value line in a certain direction
Hi, I am attempting to find a way to change the color of the CCI plot line when it crosses the 50 or "X" value line in a given direction. ie. if the plot value is 51 I want the plot line to be green if it is 49 I want the plot line to turn red, etc. Any way to do this?Tags: None
-
Hello gjbeaudin, thanks for your post and welcome to the NinjaTrader forum.
You can use the PlotBrushes array to change the color of the plot based on a condition. There is an example use case on that help guide page.
Kind regards.
-
Hi gjbeaudin, thanks for your reply.
Yes, we have the NinjaTrader Ecosystem which hosts many NinjaScript consultants that will be happy to create custom code.
More info on the publicly available website here: https://ninjatraderecosystem.com/
The NinjaTrader Ecosystem website is for educational and informational purposes only and should not be considered a solicitation to buy or sell a futures contract or make any other type of investment decision. The add-ons listed on this website are not to be considered a recommendation and it is the reader's responsibility to evaluate any product, service, or company. NinjaTrader Ecosystem LLC is not responsible for the accuracy or content of any product, service or company linked to on this website.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
599 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
344 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
103 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
558 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
557 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment