NexusFi: Find Your Edge


Home Menu

 





Draw Lines Don't Persist on Chart?


Discussion in NinjaTrader

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




 
Search this Thread
  #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?
Ripple Prime Joins Nodal Clear as Clearing Member -- $3 …
Cryptocurrency
$500M Riding on World Cup 2026: France/Spain Co-Favored …
Prediction Markets & Event Contracts
April CPI Preview: +3.7% YoY Expected at 8:30 AM ET -- C …
Traders Hideout
Post-Summit Scorecard: $36M in May 15 Bets Settle Near-Z …
Prediction Markets & Event Contracts
Expiration Day: Wall Street Rallies on Peace Hopes While …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
24 thanks
2026 Jlab journal
10 thanks
Lady Vols Primer: Trading Volatility Journal
7 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Trying to learn Volume and price action correlation
5 thanks
  #2 (permalink)
 
cory's Avatar
 cory 
virginia
the coin hunter
 
Experience: Intermediate
Platform: ninja
Trading: NQ
Posts: 6,098 since Jun 2009
Thanks Given: 877
Thanks Received: 8,093


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


© 2026 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 - Downloads - Top
no new posts