Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

atm

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

    #31
    Hello franatas,

    Thank you for your reply.

    I see you have spaces in the "Nombre de archivo.zip" and spaces are not allowed when exporting a compiled assembly. You would have to change the name so that it does not include spaces. You could consider using underscores or dashes (_ or -) instead such as "Nombre_de_archivo" or "Nombre-de-archivo"

    Thank you for your time and patience.

    Comment


      #32
      I'm not done with this hahaha, now this error appears
      Attached Files

      Comment


        #33
        Sorry, I realized I had the protection thing activated, I'm sorry.

        Comment


          #34
          Since I installed the addons I stopped marking the entries, the marker and text are selected in the data series, could it be that I am missing something in the code?

          Comment


            #35
            an aesthetic query, because in the drop-downs on the right when changing the color of the platform to white they change the text to black and the texblocks on the right do not change
            Attached Files

            Comment


              #36
              Hello franatas,

              Are you seeing the executions for the strategy listed in the strategies performance report? If the text and markers are not on the chart that could be due to the chart trader if it is open and has a different account selected.

              Regarding the second question, which specific control are you asking about? On the right side of that window there are multiple different controls being used. Some appear to be account selectors and some appear to be text or dropdown boxes or some custom control. What control is being used specifically?

              Comment


                #37
                cantidadordenes4 = new ComboBox();
                for (int i = 0; i <= 20; i++)
                {
                cantidadordenes4.Items.Add(i);
                }
                cantidadordenes4.SelectedIndex = 0;
                grid.Children.Add(cantidadordenes4);
                Grid.SetRow(cantidadordenes4, 6);
                Grid.SetColumn(cantidadordenes4, 2);

                ComprasButton = new Button()
                {
                Background = Brushes.Lime,
                BorderBrush = Brushes.DimGray,
                Foreground = Brushes.Black,
                Content = "COMPRAR",
                Height = 30,
                HorizontalAlignment = HorizontalAlignment.Right,
                Width = 115
                };
                ComprasButton.Click += ComprasButton_Click;
                Grid.SetRow(ComprasButton, 8);
                Grid.SetColumn(ComprasButton, 1);
                grid.Children.Add(ComprasButton);
                The ones on the right are these and they all change with the color of the platform, these are fine
                These are the text-only ones on the left and they are the ones that do not change

                grid.Children.Add(textBlock1);
                Grid.SetRow(textBlock1, 1);
                Grid.SetColumn(textBlock1, 0);

                TextBlock textBlock2 = new TextBlock()
                {
                Text = "Activo",
                VerticalAlignment = VerticalAlignment.Center,
                HorizontalAlignment = HorizontalAlignment.Left,
                Margin = new Thickness(10, 0, 0, 0),
                Foreground = Brushes.White
                };
                grid.Children.Add(textBlock2);
                Grid.SetRow(textBlock2, 2);
                Grid.SetColumn(textBlock2, 0);​

                I have tried to leave them behind by removing this line: Foreground = Brushes.White but it remains unchanged

                That is, those on the right, if the platform is white, write them in black and if the platform is black, write them white. but those on the left don't do it​

                Comment


                  #38
                  Hello,

                  In some use cases you may need to set the colors yourself if you are creating a custom control or something outside which the skin can manage. You can find the skin being used to make a condition to change the colors by using NinjaTrader.Core.Globals.GeneralOptions.Skin

                  Comment

                  Latest Posts

                  Collapse

                  Topics Statistics Last Post
                  Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                  0 responses
                  635 views
                  0 likes
                  Last Post Geovanny Suaza  
                  Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                  0 responses
                  365 views
                  1 like
                  Last Post Geovanny Suaza  
                  Started by Mindset, 02-09-2026, 11:44 AM
                  0 responses
                  106 views
                  0 likes
                  Last Post Mindset
                  by Mindset
                   
                  Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                  0 responses
                  567 views
                  1 like
                  Last Post Geovanny Suaza  
                  Started by RFrosty, 01-28-2026, 06:49 PM
                  0 responses
                  571 views
                  1 like
                  Last Post RFrosty
                  by RFrosty
                   
                  Working...
                  X