NexusFi: Find Your Edge


Home Menu

 





Draw Lines Don't Persist on Chart?


Discussion in NinjaTrader

Updated
    1. trending_up 736 views
    2. thumb_up 1 thanks given
    3. group 2 followers
    1. forum 2 posts
    2. attach_file 0 attachments




 
Search this Thread

Draw Lines Don't Persist on Chart?

  #1 (permalink)
MrDevDevy
Pheonix Arizona
 
Posts: 14 since Feb 2019
Thanks Given: 1
Thanks Received: 21

Hello,

I am new to this, hope it's not too silly a question.. Every time I call Draw.Line() it removes the previous line. So I am always left with one single line AND the last called draw line. How can I make all the previous calls to Draw.Line() stay on the chart? Thanks!!!

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
Better Renko Gaps
The Elite Circle
MC PL editor upgrade
MultiCharts
ZombieSqueeze
Platforms and Indicators
MC Advanced Simulated Trading.
MultiCharts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Trading with Intuition
12 thanks
Spoo-nalysis ES e-mini futures S&P 500
11 thanks
GFIs1 1 DAX trade per day journal
10 thanks
Favorite High Probability Setup
9 thanks
System Performance Stats Comparison
8 thanks
  #2 (permalink)
 
cory's Avatar
 cory 
virginia
 
Experience: Intermediate
Platform: ninja
Trading: NQ
Posts: 6,098 since Jun 2009
Thanks Given: 877
Thanks Received: 8,090


MrDevDevy View Post
Hello,

I am new to this, hope it's not too silly a question.. Every time I call Draw.Line() it removes the previous line. So I am always left with one single line AND the last called draw line. How can I make all the previous calls to Draw.Line() stay on the chart? Thanks!!!

the problem is the new "tag1", will erase the old "tag1", specify "tag1"+CurrentBar, instead. This will give each Draw.Line(this, "tag1"+CurrentBar, false,... a unique id so they don't overwrite each others

Reply With Quote
Thanked by:
  #3 (permalink)
MrDevDevy
Pheonix Arizona
 
Posts: 14 since Feb 2019
Thanks Given: 1
Thanks Received: 21



cory View Post
the problem is the new "tag1", will erase the old "tag1", specify "tag1"+CurrentBar, instead. This will give each Draw.Line(this, "tag1"+CurrentBar, false,... a unique id so they don't overwrite each others

That was exactly it, thanks for the quick reply!


Reply With Quote




Last Updated on February 24, 2019


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts