• 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

DashStyle as a Parameter

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

  • Griesha_uk
    started a topic DashStyle as a Parameter

    DashStyle as a Parameter

    I have (unsuccessfully) tried to find a simple way to input a DashStyle (e.g. Dot, Dash,,,) as a parameter, and then apply it to the DashStyle of DrawHorizontalLine.

    Any suggestions:

    a) As to how best to set up the parameter
    b) How to apply the input to the line-draw.

    Many thanks,

    G

  • NinjaTrader_PatrickH
    replied
    Hello Griesha_uk,

    Thank you for your post.

    You could use a enum in order to have the user select the desired option and then switch the DashStyle of the drawing tool.

    You can find an example of using enums to select different input series as indicators at the following link: http://ninjatrader.com/support/forum...ead.php?t=3420

    Please let me know if you have any questions.

    Leave a comment:

Latest Posts

Collapse

Topics Statistics Last Post
Started by U0000999, Yesterday, 05:17 AM
1 response
15 views
0 likes
Last Post NinjaTrader_Kate  
Started by asmmbillah, Today, 05:03 AM
1 response
19 views
0 likes
Last Post NinjaTrader_PaulH  
Started by lordvader34, Today, 06:18 AM
1 response
9 views
0 likes
Last Post NinjaTrader_PaulH  
Started by bc24fl, Today, 06:51 AM
0 responses
3 views
0 likes
Last Post bc24fl
by bc24fl
 
Started by vasagoo, Today, 06:21 AM
0 responses
10 views
0 likes
Last Post vasagoo
by vasagoo
 
Working...
X