Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

About market analyzer sort

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    Hello ラリー,

    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.

    Comment


      #17
      Thank you for your reply.

      So if I create my own indicator in NinjaScript, it doesn't change depending on the conditions in the Market Analyzer, but does the alert mean it's possible?

      Comment


        #18
        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


          #19
          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


            #20
            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


              #21
              Thank you for your reply.

              I learned from other people's posts and answers that if the conditions are met, NinjaScript and cells can be used to color the Market Analyzer, but isn't that the case?​

              Comment


                #22
                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


                  #23
                  Thank you for your reply.

                  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.
                  You mean you have to do it in NinjaScript, right? If so, can you provide a screenshot as an example?​

                  Comment


                    #24
                    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


                      #25
                      Thank you for your reply.

                      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.

                      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.
                      How is that possible?​

                      Comment


                        #26
                        Hello ラリー,

                        You can't check the cell condition with an indicator, cell conditions are not part of NinjaScript as mentioned. Cell conditions are set up in the analyzer using your mouse.

                        Comment


                          #27
                          Thank you for your reply.

                          Are you saying that you can't color the market analyzer when a condition written in NinjaScript is met?​

                          Comment


                            #28
                            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


                              #29
                              Thank you for your reply.


                              If you have configured a cell condition manually it could color the cell based on the plot value.
                              Are the plot values the plot code written in NinjaScript?

                              Comment


                                #30
                                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 argusthome  
                                Started by NabilKhattabi, 03-06-2026, 11:18 AM
                                0 responses
                                48 views
                                0 likes
                                Last Post NabilKhattabi  
                                Started by Deep42, 03-06-2026, 12:28 AM
                                0 responses
                                31 views
                                0 likes
                                Last Post Deep42
                                by Deep42
                                 
                                Started by TheRealMorford, 03-05-2026, 06:15 PM
                                0 responses
                                34 views
                                0 likes
                                Last Post TheRealMorford  
                                Started by Mindset, 02-28-2026, 06:16 AM
                                0 responses
                                68 views
                                0 likes
                                Last Post Mindset
                                by Mindset
                                 
                                Working...
                                X