• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

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 bbdjad, Today, 04:36 AM
      0 responses
      4 views
      0 likes
      Last Post bbdjad
      by bbdjad
       
      Started by mittie3, Today, 03:33 AM
      0 responses
      6 views
      0 likes
      Last Post mittie3
      by mittie3
       
      Started by Againmain1, Today, 03:04 AM
      0 responses
      8 views
      0 likes
      Last Post Againmain1  
      Started by tonytimpa, Today, 01:33 AM
      0 responses
      5 views
      0 likes
      Last Post tonytimpa  
      Started by kiwidtrader, Yesterday, 11:49 PM
      0 responses
      5 views
      0 likes
      Last Post kiwidtrader  
      Working...
      X