• 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, 04: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 Newtrader101, Today, 12:07 PM
    0 responses
    1 view
    0 likes
    Last Post Newtrader101  
    Started by behindthewheel, Today, 10:39 AM
    1 response
    5 views
    0 likes
    Last Post NinjaTrader_Jim  
    Started by Newtrader101, Today, 10:46 AM
    3 responses
    10 views
    0 likes
    Last Post NinjaTrader_ChristopherJ  
    Started by tecmisc1, Today, 10:42 AM
    2 responses
    10 views
    0 likes
    Last Post NinjaTrader_ChrisL  
    Started by ballboy11, Today, 10:35 AM
    1 response
    12 views
    0 likes
    Last Post NinjaTrader_Kate  
    Working...
    X