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!
See more
See less

Partner 728x90

Collapse

How change color Dot's range?

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

    How change color Dot's range?

    Hi,

    Object Dot/Triangle and etc. have black range.
    How change color the range ?

    Thanks

    #2
    Hello,

    What do you mean by color range?

    You can change the color of a dot by changing the last parameter in DrawDot(). This example is red:
    DrawDot("tag1"+ CurrentBar, true, 0, Low[0] - TickSize, Color.Red);

    Then under a different condition you could do the same line of code but use Color.Blue. Post some of your code so we can get a better idea what you are after. This link may help:
    http://www.ninjatrader-support.com/H...6/DrawDot.html
    DenNinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_Ben View Post
      Hello,
      What do you mean by color range?
      Pls, write Your code
      DrawDot("tag1"+ CurrentBar, true, 0, Low[0] - TickSize, Color.Red);
      run
      and look, better on white color_back chart
      zoom chart

      You can see:
      - we have red dot inside, but
      - arround red we have black circumference/circle - range of dot

      How change color of dot's range/circumference/circle ?

      Comment


        #4
        Hello,

        I will have someone reply to you on Monday. Thank you for your patience.
        DenNinjaTrader Customer Service

        Comment


          #5
          Are you referring to the outline color of the dot? This is linked to the color of your axis set in the Chart properties (Ctrl T).
          BertrandNinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Tim-c, Today, 03:54 AM
          0 responses
          3 views
          0 likes
          Last Post Tim-c
          by Tim-c
           
          Started by FrancisMorro, Today, 03:24 AM
          0 responses
          3 views
          0 likes
          Last Post FrancisMorro  
          Started by Segwin, 05-07-2018, 02:15 PM
          10 responses
          1,772 views
          0 likes
          Last Post Leafcutter  
          Started by Rapine Heihei, 04-23-2024, 07:51 PM
          2 responses
          31 views
          0 likes
          Last Post Max238
          by Max238
           
          Started by Shansen, 08-30-2019, 10:18 PM
          24 responses
          945 views
          0 likes
          Last Post spwizard  
          Working...
          X