No you have misunderstood, that would mean not using the market analyzer for conditions and instead making your own indicator that has alerts programmed into it. There is no means to custom code sorting in the analyzer. The answer for your question was detailed in post 14.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
About market analyzer sort
Collapse
X
-
Hello ラリー,
You can program any conditions or alerts into indicators but there is no means to customize the market analyzer from an indicator its self. You can only plot a result from an indicator.
The market analyzer simply runs the indicator and reads plot values.
If you need sorting or customization in the analyzer you need to do that manually using the market analyzer cell and row conditions. Those conditions are based off the cell value which would be a plot value when using an indicator.
You can read about using the market analyzer in the help guide: https://ninjatrader.com/support/help...t_analyzer.htm
Comment
-
Thank you for your reply.
I would like to do the same thing as the question posted here, although with a different kind of indicator.
And the answer is as follows.
https://ninjatrader.com/support/foru...45#post1187245
For example, if the indicator plots a 1 when the indicator condition becomes true, you could create a cell condition in the Market Analyzer that checks if the plot is 1 and changes the color of the cell to Green.
This would also need to be done for the second column you would like to create. A custom indicator would need to be created that plots 1, 0, or -1 when your condition becomes true. column and set up your cell/filter conditions.
However, I was unable to find any sample examples, so it would be helpful if you could provide them.Last edited by ラリー; 10-22-2022, 03:40 AM.
Comment
-
Hello ラリー,
There would not be any samples to download for that concept because using the market analyzer is done by using your mouse. You would have to manually set up those conditions in the market analyzer under the cell conditions, the conditions would be based on the value the indicator plots.
You can read about using cell conditions in the help guide here: https://ninjatrader.com/support/help...lter_condi.htm
If you want to learn about plotting from an indicator you can read about that here: https://ninjatrader.com/support/help...ghtsub=addplot
Comment
-
Hello ラリー,
Cell conditions are a part of the market analyzer. The condition is based on the indicators plot value. You manually create cell conditions by using your mouse in the market analyzer.
If you want to color a cell based on an indicator value you need to plot a specific value from that indicator. For example if an indicator plotted a 1 you could check for 1 in your manually created cell condition.
Comment
-
Thank you for your reply.
You mean you have to do it in NinjaScript, right? If so, can you provide a screenshot as an example?If you want to color a cell based on an indicator value you need to plot a specific value from that indicator. For example if an indicator plotted a 1 you could check for 1 in your manually created cell condition.
Comment
-
Hello ラリー,
No, cell conditions are not a part of NinjaScript. You set up cell conditions in the market analyzer manually using your mouse. Please use the help guide to read about how cell conditions work:
https://ninjatrader.com/support/help...CellConditions
The cell condition is based on whatever indicator you used and its value. If an indicator had a value of 1 for a plot and you needed to color it based on the value being 1 you would manually set up a cell condition that checks for a value of 1.
Comment
-
Thank you for your reply.
I know that I have to set the cell conditions manually, but I don't know how to check the cell conditions with an indicator (NinjaScript) and make it work.The cell condition is based on whatever indicator you used and its value. If an indicator had a value of 1 for a plot and you needed to color it based on the value being 1 you would manually set up a cell condition that checks for a value of 1.
How is that possible?
Comment
-
Hello ラリー,
Correct. You manually configure cell conditions in the market analyzer using your mouse. You can plot a value based on a condition in a script but that has no effect on the analyzer cell conditions, you have to manually create cell conditions using your mouse. The analyzer reads the indicator plot value. If you have configured a cell condition manually it could color the cell based on the plot value.
Comment
-
Hello ラリー,
Yes an indicator can plot values. You can read about plotting in the help guide: https://ninjatrader.com/support/help...ghtsub=addplot
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
88 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
48 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
30 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
33 views
0 likes
|
Last Post
|
||
|
Started by Mindset, 02-28-2026, 06:16 AM
|
0 responses
68 views
0 likes
|
Last Post
by Mindset
02-28-2026, 06:16 AM
|

Comment