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
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.
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 FilesJimNinjaTrader Customer Service
-
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.JimNinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Mariawilcoxi, Today, 01:32 AM
|
0 responses
1 view
0 likes
|
Last Post
by Mariawilcoxi
Today, 01:32 AM
|
||
Started by gleichnerany, Today, 01:17 AM
|
0 responses
3 views
0 likes
|
Last Post
by gleichnerany
Today, 01:17 AM
|
||
Started by WHICKED, 03-27-2024, 12:33 PM
|
4 responses
44 views
0 likes
|
Last Post Today, 12:28 AM | ||
Started by f.saeidi, Today, 12:12 AM
|
0 responses
5 views
0 likes
|
Last Post
by f.saeidi
Today, 12:12 AM
|
||
Started by Conall, Today, 12:06 AM
|
0 responses
9 views
0 likes
|
Last Post
by Conall
Today, 12:06 AM
|
Comment