NexusFi: Find Your Edge


Home Menu

 





Draw Lines Don't Persist on Chart?


Discussion in NinjaTrader

Updated
    1. trending_up 1,224 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?
CFTC Opens First COT Report Review in 20 Years -- Asks W …
Traders Hideout
CME Group CEO Calls CFTC-Approved Crypto Perps Dangerous …
Traders Hideout
Memorandum Watch: How the 60-Day MOU Framework Makes May …
Prediction Markets & Event Contracts
Four New E-mini Futures Launch June 29 -- Russell 3000, …
Emini and Emicro Index
April FOMC Minutes: Most Divided Fed Since 1992 -- Many …
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
8 thanks
Darmok and Jalad at Tanagra
3 thanks
  #2 (permalink)
 
cory's Avatar
 cory 
virginia
 
Experience: Intermediate
Platform: ninja
Trading: NQ
Posts: 6,099 since Jun 2009
Thanks Given: 877
Thanks Received: 8,098


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