• 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

Flatten Chart with indicator lines

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

    Flatten Chart with indicator lines

    I have created an indicator that posts a dialog box allowing me to enter a single value for a horizontal line using the Drawline funtion. This saves me a lot of mouse clicks required when using the drawing tool.

    The problem is the lines disappears if I refresh the chart to restart Ninja. Is there a way to flatten the chart after I draw the line making it part of the chart?

    Thanks!

    I posted this in the wrong category....not sure how to move it...
    Last edited by buschkt; 12-21-2014, 05:36 PM. Reason: Wrong category

    #2
    Hello buschkt,

    Thank you for your post.

    Unfortunately, the drawing object is part of the indicator and will be removed the chart or NinjaScript is refreshed as the value will revert to the original value.
    Patrick H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by quinton77, Today, 09:59 PM
    0 responses
    2 views
    0 likes
    Last Post quinton77  
    Started by Tradarr, Today, 06:25 PM
    2 responses
    14 views
    0 likes
    Last Post Tradarr
    by Tradarr
     
    Started by cocopod, Today, 04:47 PM
    1 response
    6 views
    0 likes
    Last Post NinjaTrader_JoshG  
    Started by digibob, Today, 02:47 AM
    2 responses
    14 views
    0 likes
    Last Post NinjaTrader_Kate  
    Started by mntemel, Today, 03:31 PM
    4 responses
    23 views
    0 likes
    Last Post mntemel
    by mntemel
     
    Working...
    X