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 cre8able, Yesterday, 07:24 PM
    1 response
    13 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by cocoescala, 10-12-2018, 11:02 PM
    6 responses
    939 views
    0 likes
    Last Post Jquiroz1975  
    Started by gbourque, Today, 06:39 AM
    1 response
    4 views
    0 likes
    Last Post NinjaTrader_Erick  
    Started by cmtjoancolmenero, Yesterday, 03:58 PM
    1 response
    17 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by benmarkal, Yesterday, 12:52 PM
    3 responses
    23 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Working...
    X