Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Market Analyzer Cell colors
Collapse
X
-
Market Analyzer Cell colors
Is it possible to programmatically define Market Analyzer cell foreground or background colors in NT8 via Ninja Script.? If not, is it possible to reference values from various outputs within a script when setting cell color conditions within a Market Analyzer template? For example if Values[0][0]>Values[1][0] color the cell green. Thanks in advance. -
Hello Hawk Arps,
Thanks for opening the thread.
There currently is not a way to color Market Analyzer column though NinjaScript.
As the Cell window in the Market Analyzer limits you to comparing values of a Market Analyzer cell and numeric values, you would not be able to use the plots from 2 indicators to create your cell color.If not, is it possible to reference values from various outputs within a script when setting cell color conditions within a Market Analyzer template?
As a work around, you could create a simple indicator that has the condition you wish to use to color a cell. You could have the plot output a certain value once a condition has been met, and you can use a Market Analyzer cell condition to color the cell based off of the indicator plot. This Market Analyzer could then be saved as a template so the colored cell conditions can be remembered.
Attached is a sample indicator that checks for a cross over and plots a -1, 0 , or 1 depending on the crossover conditions. These values can then be used in a Market Analyzer to create conditional cell colors.
Please let me know if I may be of further assistance.Attached Files
-
Hello Hawk Arps,
This would not be possible, as the workaround is to have an additional indicator plot a value that can be easily translated into some data that the Market Analyzer can use to change the color of the cell. Since the Market Analyzer cell only receives one plot value, it can either be the actual value of the plot, or some other value we replace the plot with to trigger the cell color changes.
I would advise to create "MarketAnalyzerCellAlert" versions of your indicators so they can plot a value that can be turned into a color, and then include the actual indicator so it's actual plot value can be referenced along side the "MarketAnalyzerCellAlert" version.
If you have any additional questions, please don't hesitate to ask.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
576 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
334 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
101 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
553 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
551 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment