Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Color Condition for DrawArrowUp and DrawArrowDown

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

    Color Condition for DrawArrowUp and DrawArrowDown

    Hello.

    Is there a way to set a color condition under Market Analyzer in the following way :

    When the indicator code calls 'DrawArrowUp', paint the column cell BLUE.

    When the indicator code calls 'DrawArrowDown', paint the column cell RED.

    Regards,
    R. C.

    #2
    Hello,

    Thank you for your post.

    Unfortunately that is not supported. The Market Analyzer color conditions are only based on numerical values.
    Ray S.NinjaTrader Customer Service

    Comment


      #3
      Color Condition for DrawArrowUp and DrawArrowDown

      ok.

      Can I do the following?

      When the indicator calls 'DrawArrowUp' then set a flag = 1
      if flag = 1 then color column cell BLUE under Market Analyzer

      When the indicator calls 'DrawArrowDown' then set a flag = 0
      if flag = 0 then color column cell RED under Market Analyzer

      Regards,
      R. C.

      Comment


        #4
        rcsingleton,

        The Market Analyzer can only read plot values. If you set a plot to 0 or 1 then just create yourself a color condition based off of the plot value.
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          Plot0.Set(trueFalse);

          Hi
          Trying to code trueFalse as private double in your variables,
          and how to reference these Plot values in your Market Analyzer alert or coloring conditions. Thanks,greatly appreciated.

          Comment


            #6
            gary9,

            Market Analyzer does not read variables. It reads plots. Please see the Help Guide tutorial on creating custom indicators. http://www.ninjatrader-support.com/H...verview23.html
            Josh P.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by NullPointStrategies, Yesterday, 05:17 AM
            0 responses
            79 views
            0 likes
            Last Post NullPointStrategies  
            Started by argusthome, 03-08-2026, 10:06 AM
            0 responses
            146 views
            0 likes
            Last Post argusthome  
            Started by NabilKhattabi, 03-06-2026, 11:18 AM
            0 responses
            79 views
            0 likes
            Last Post NabilKhattabi  
            Started by Deep42, 03-06-2026, 12:28 AM
            0 responses
            52 views
            0 likes
            Last Post Deep42
            by Deep42
             
            Started by TheRealMorford, 03-05-2026, 06:15 PM
            0 responses
            58 views
            0 likes
            Last Post TheRealMorford  
            Working...
            X