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

Panel 2

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

    Panel 2

    trying to set plot to panel 2

    Code:
    [FONT=Courier New][SIZE=2][COLOR=#0000ff]protected[/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#0000ff]override[/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#0000ff]void[/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2] Initialize() [/SIZE][/FONT]
    [FONT=Courier New][SIZE=2]Panel = 2[/SIZE][/FONT]
    in Initialize doesn't seem to work


    Code:
    [SIZE=2][FONT=Courier New]Add([/FONT][/SIZE][FONT=Courier New][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2] Plot([/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2] Pen(Color.Red, [/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#800080]1[/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2]), PlotStyle.Bar,PlotPanel(2), [/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#800000]"Red_Bar"[/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2]));[/SIZE][/FONT]

    #2
    Hi duck_CA, unfortunately this is not supported.
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Originally posted by duck_CA View Post
      trying to set plot to panel 2

      Code:
      [FONT=Courier New][SIZE=2][COLOR=#0000ff]protected[/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#0000ff]override[/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#0000ff]void[/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2] Initialize() [/SIZE][/FONT]
      [FONT=Courier New][SIZE=2]Panel = 2[/SIZE][/FONT]
      in Initialize doesn't seem to work


      Code:
      [SIZE=2][FONT=Courier New]Add([/FONT][/SIZE][FONT=Courier New][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2] Plot([/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#0000ff]new[/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2] Pen(Color.Red, [/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#800080]1[/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2]), PlotStyle.Bar,PlotPanel(2), [/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#800000]"Red_Bar"[/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2]));[/SIZE][/FONT]

      Try this in the initialize section. remember this is not supported, so no guaranties.

      Add(Stochastics(5,3,3));
      Stochastics(5,3,3).PanelUI = 2;

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by joselube001, 05-10-2024, 12:17 PM
      6 responses
      27 views
      0 likes
      Last Post joselube001  
      Started by bigc0220, 09-18-2018, 09:16 AM
      6 responses
      2,579 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by lorem, 04-25-2024, 09:18 AM
      18 responses
      78 views
      0 likes
      Last Post lorem
      by lorem
       
      Started by DawnTreader, 05-08-2024, 05:58 PM
      21 responses
      81 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Started by doihaveto13, Today, 12:46 PM
      2 responses
      4 views
      0 likes
      Last Post doihaveto13  
      Working...
      X