• 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

  • 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:


  • 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

Latest Posts

Collapse

Topics Statistics Last Post
Started by vivekniwas, 04-18-2018, 06:49 AM
5 responses
589 views
0 likes
Last Post NinjaTrader_ChrisSch  
Started by smcllr, Yesterday, 08:25 PM
1 response
9 views
0 likes
Last Post NinjaTrader_ChrisSch  
Started by pol133, Today, 12:39 AM
0 responses
8 views
0 likes
Last Post pol133
by pol133
 
Started by giulia_brotzu, Yesterday, 10:09 PM
0 responses
4 views
0 likes
Last Post giulia_brotzu  
Started by Woomera, Yesterday, 09:55 PM
0 responses
3 views
0 likes
Last Post Woomera
by Woomera
 
Working...
X