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

Assigning Values for DashStyles

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

    Assigning Values for DashStyles

    Dear Support,

    The following assigned value for Width in NT8 works fine:

    Plots[0].Width = 1;

    However, The same for the following DashStyle assignment does not compile:

    Plots[0].DashStyle = DashStyleHelper.Dot;

    What is the working syntax?

    Thanks.

    #2
    Hello,

    For future reference, I am including a link to the NinjaTrader 8 Beta section of the forums.
    http://ninjatrader.com/support/forum...splay.php?f=59

    Setting the DashStyleHelper does not appear to cause an error on my end.

    Are you able to run the attached test script?

    What version of NinjaTrader 8 Beta are you using?
    (Help -> About)
    Attached Files
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_ChelseaB View Post
      Hello,

      For future reference, I am including a link to the NinjaTrader 8 Beta section of the forums.
      http://ninjatrader.com/support/forum...splay.php?f=59

      Setting the DashStyleHelper does not appear to cause an error on my end.

      Are you able to run the attached test script?

      What version of NinjaTrader 8 Beta are you using?
      (Help -> About)
      Thanks ChelseaB,

      Looking at your code, I was using the following setting:

      Plots[0].DashStyle = DashStyleHelper.Dot;

      instead of:

      Plots[0].DashStyleHelper = DashStyleHelper.Dot;

      Issue fixed, Thanks.

      Cheers!

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by mattdowns1234, Today, 06:57 PM
      0 responses
      14 views
      0 likes
      Last Post mattdowns1234  
      Started by dgee949, Today, 06:26 PM
      0 responses
      24 views
      0 likes
      Last Post dgee949
      by dgee949
       
      Started by dgee949, Today, 05:58 PM
      0 responses
      30 views
      0 likes
      Last Post dgee949
      by dgee949
       
      Started by thepcmd, Today, 05:14 PM
      0 responses
      34 views
      0 likes
      Last Post thepcmd
      by thepcmd
       
      Started by xmess777, Today, 04:58 PM
      0 responses
      23 views
      0 likes
      Last Post xmess777  
      Working...
      X