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 aussugardefender, Today, 01:07 AM
            0 responses
            3 views
            0 likes
            Last Post aussugardefender  
            Started by pvincent, 06-23-2022, 12:53 PM
            14 responses
            238 views
            0 likes
            Last Post Nyman
            by Nyman
             
            Started by TraderG23, 12-08-2023, 07:56 AM
            9 responses
            384 views
            1 like
            Last Post Gavini
            by Gavini
             
            Started by oviejo, Today, 12:28 AM
            0 responses
            4 views
            0 likes
            Last Post oviejo
            by oviejo
             
            Started by pechtri, 06-22-2023, 02:31 AM
            10 responses
            125 views
            0 likes
            Last Post Leeroy_Jenkins  
            Working...
            X