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

Transparent colors

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

    Transparent colors

    Hello,
    I was wondering if creating lines with transparent colors is possible with ninja script?
    Also do you happen to have codes to draw fib retracment for a particular range in your archives? (i.e. time range like 9:40am to 10:20am).
    Thanks.

    #2
    Use Color.Transparent.

    Use DrawFibonacciRetracements() along with GetBar() to get the barsAgo to pass in for your specific points in time.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      If I'm not mistaken the Syntex to draw a vertical line is as it is below. How can I fit the "Color.Transparent " within this syntex?

      DrawVerticalLine("My vertical line" + CurrentBar, 0, Color.PaleTurquoise, DashStyle.Dot, 1);

      Comment


        #4
        Replace Color.PaleTurquoise with Color.Transparent. I am not sure why you would want to draw a transparent line though. Nothing will show up.
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          I want to keep the color but want to make it trasparent so it doesn't cover the price bar underneath. One of the problems I am having with drawing vertical lines is that they cover the price bar underneath.

          Comment


            #6
            Unfortunately you cannot do that at the moment. Color.Transparent makes the line transparent as in invisible.
            Josh P.NinjaTrader Customer Service

            Comment


              #7
              One more thing.
              NT already comes with almost a hundered built in indicators and on top of that I already have added about 30 other indicators myself. So the problem comes in when I have to look through a list of 130 indicators just to find the one I am looking for and since I do this often it has become a headache,
              Is there any way I can delete the indicators I don't use or organize them in folders ?
              Or maybe you can offer some other way?

              Comment


                #8
                You can delete the ones you don't use by going Edit->Indicator and then select one to delete. You cannot delete system indicators though. If you have some indicators you use a lot, you can try naming them in a way where they will be at the top of the alphabetical list. Perhaps use a number at the front of the name.
                Josh P.NinjaTrader Customer Service

                Comment


                  #9
                  I have already done the number trick but was looking for a better way.
                  And what do you mean by system indicators? It seems all the built in indicators that come with NT are sytem indicators. right? And how can I tell?

                  Comment


                    #10
                    NT provided indicators are system indicators. You can tell because they have a different icon. They are the dark gray ones when you try to go to Edit -> Indicators.
                    Josh P.NinjaTrader Customer Service

                    Comment

                    Latest Posts

                    Collapse

                    Topics Statistics Last Post
                    Started by PaulMohn, Today, 03:49 AM
                    0 responses
                    1 view
                    0 likes
                    Last Post PaulMohn  
                    Started by inanazsocial, Today, 01:15 AM
                    1 response
                    6 views
                    0 likes
                    Last Post NinjaTrader_Jason  
                    Started by rocketman7, Today, 02:12 AM
                    0 responses
                    10 views
                    0 likes
                    Last Post rocketman7  
                    Started by dustydbayer, Today, 01:59 AM
                    0 responses
                    2 views
                    0 likes
                    Last Post dustydbayer  
                    Started by trilliantrader, 04-18-2024, 08:16 AM
                    5 responses
                    23 views
                    0 likes
                    Last Post trilliantrader  
                    Working...
                    X