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 Rapine Heihei, Today, 08:19 PM
    1 response
    6 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Started by Rapine Heihei, Today, 08:25 PM
    0 responses
    5 views
    0 likes
    Last Post Rapine Heihei  
    Started by f.saeidi, Today, 08:01 PM
    1 response
    4 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Started by Rapine Heihei, Today, 07:51 PM
    0 responses
    6 views
    0 likes
    Last Post Rapine Heihei  
    Started by frslvr, 04-11-2024, 07:26 AM
    5 responses
    98 views
    1 like
    Last Post caryc123  
    Working...
    X