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

Visual Studio Colors

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

    Visual Studio Colors

    Does anyone know how I can make my Visual studio like this? what extension it is? I want it to show me the colors
    Click image for larger version

Name:	image.png
Views:	64
Size:	175.8 KB
ID:	1281235

    #2
    Hello gjb1234,

    Thank you for your post.

    While we do not provide support for Visual Studio, we will leave this thread open for other users to share their responses.
    Gaby V.NinjaTrader Customer Service

    Comment


      #3
      No problem I just wondered if you know about it. I saw it in a video and couldn't figure it out

      Comment


        #4
        Hello gjb1234, do you have visual studio, which version and is it already linked to your NinjaTrader ? .

        Comment


          #5
          Originally posted by Emma1 View Post
          Hello gjb1234, do you have visual studio, which version and is it already linked to your NinjaTrader ? .
          Hello
          I have the 2022 version and yes, it's linked with NT ( I opened the file: NinjaTrader.Custom.csproj with Ninja)

          Comment


            #6
            ok , the code on color , is that part of your coding the one above . One moment , i will get the interactive.
            Last edited by Emma1; 12-08-2023, 10:43 AM.

            Comment


              #7
              Originally posted by Emma1 View Post
              ok , the code on color , is that part of your coding the one above . One moment , i will get the interactive.
              The image I posted is from a course I am taking .
              The instructor can't help me.

              Comment


                #8
                The [Browsable(true)], Color property has to be set true has to be set true and an application RD also help to get that . If you have the line of code .
                I can point it out .

                Please , Check NinjaTrader 8 Help guide under ' Working with Brushes' . If that does not help then i do have another option to send you a piece of code.
                Last edited by Emma1; 12-08-2023, 11:35 AM.

                Comment


                  #9
                  Originally posted by Emma1 View Post
                  The [Browsable(true)], Color property has to be set true has to be set true and an application RD also help to get that . If you have the line of code .
                  I can point it out .
                  What is 'application RD'?

                  And I tried changing to 'true' and nothing happend:
                  part of the code(if you need everything I can post the cs file):
                  [Browsable(true)]
                  private string ColorReversalUpSerialize
                  {
                  get { return Serialize.BrushToString(ColorReversalUp); }
                  set { ColorReversalUp = Serialize.StringToBrush(value); }
                  }

                  protected override void OnStateChange()
                  {
                  if (State == State.SetDefaults)
                  {
                  SetDefaultSettings();
                  SetParameters();

                  var stroke = new Stroke(Brushes.Red,DashStyleHelper.Solid,width:2) ;

                  //AddPlot(Brushes.Red, name:"Range");
                  AddPlot(stroke, PlotStyle.Bar, name: "Range");
                  AddPlot(Brushes.Blue, name: "EMA Range");
                  var dailyStroke = new Stroke(Brushes.Fuchsia, DashStyleHelper.Dash, width: 2);
                  AddPlot(dailyStroke, PlotStyle.Hash, name: "Daily Range");


                  ​​Click image for larger version

Name:	image.png
Views:	61
Size:	94.0 KB
ID:	1281430

                  Comment


                    #10
                    RD is a special Application Software .
                    Is it ok if i send a sample of the coding to you here Saturday.

                    Comment


                      #11
                      yea its fine . I appreciate the help.

                      Comment


                        #12
                        Tools, Extensions ,check your messaging.

                        Comment

                        Latest Posts

                        Collapse

                        Topics Statistics Last Post
                        Started by mishhh, 05-25-2010, 08:54 AM
                        19 responses
                        6,189 views
                        0 likes
                        Last Post rene69851  
                        Started by gwenael, Today, 09:29 AM
                        0 responses
                        3 views
                        0 likes
                        Last Post gwenael
                        by gwenael
                         
                        Started by Karado58, 11-26-2012, 02:57 PM
                        8 responses
                        14,829 views
                        0 likes
                        Last Post Option Whisperer  
                        Started by Option Whisperer, Today, 09:05 AM
                        0 responses
                        2 views
                        0 likes
                        Last Post Option Whisperer  
                        Started by cre8able, Yesterday, 01:16 PM
                        3 responses
                        11 views
                        0 likes
                        Last Post cre8able  
                        Working...
                        X