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.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by andrewtrades, Today, 04:57 PM
    1 response
    5 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Started by chbruno, Today, 04:10 PM
    0 responses
    3 views
    0 likes
    Last Post chbruno
    by chbruno
     
    Started by josh18955, 03-25-2023, 11:16 AM
    6 responses
    436 views
    0 likes
    Last Post Delerium  
    Started by FAQtrader, Today, 03:35 PM
    0 responses
    7 views
    0 likes
    Last Post FAQtrader  
    Started by rocketman7, Today, 09:41 AM
    5 responses
    19 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Working...
    X