• 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

    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

    #2
    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.
    Patrick H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by brucerobinson, Today, 08:27 AM
    0 responses
    1 view
    0 likes
    Last Post brucerobinson  
    Started by welson, Today, 08:26 AM
    1 response
    2 views
    0 likes
    Last Post welson
    by welson
     
    Started by Leeroy_Jenkins, Today, 07:45 AM
    1 response
    6 views
    0 likes
    Last Post NinjaTrader_PaulH  
    Started by 1001111, 02-22-2020, 09:10 AM
    5 responses
    34 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by teafortwo, Today, 12:51 AM
    1 response
    15 views
    0 likes
    Last Post NinjaTrader_PaulH  
    Working...
    X