NinjaTrader Support Forum  
X

Attention!

This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com


Go Back   NinjaTrader Support Forum > NinjaScript Development Support > General Programming

General Programming General NinjaScript programming questions.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 05-24-2010, 02:22 PM   #1
advs108
Member
 
Join Date: May 2010
Posts: 42
Thanks: 0
Thanked 0 times in 0 posts
Question Removing drawing objects

Hello everybody !

I have a set of conditions :

Code:
if (				
conditionOne== true
&& conditionTwo==false
&& conditionThree==false
&& Low[1] < Low[0])	

            {
 
DrawArrowLine("My arrow line" + CurrentBar, 1, Low[0] + rangePriceLong * TickSize, 0, Low[0] + rangePriceLong * TickSize, Color.Blue);
DrawDot("My dot" + CurrentBar, false, 0, Low[0] + -3 * TickSize, Color.Blue);
	
            }
everything is calculated for each incoming ticks, not at bar close.

I want "My arrow Line" and "My dot" to disappear from the chart, if intrabar one of the condition, is not respected anymore and re-appear if during the development of the candle, the conditions are again all there.

How to do that ?

Thank you very much for your help !
P.
advs108 is offline  
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Strategy: Removing draw objects from the chart NinjaTrader_Josh Reference Samples 0 07-23-2009 10:55 AM
Removing Single Drawing Object? wannabeninjatrader Charting 2 01-18-2009 10:03 AM
Drawing objects coochi Charting 5 10-31-2008 06:04 AM
too many drawing objects duck_CA Indicator Development 1 08-06-2008 01:22 AM
Indicator: Drawing unique objects and objects that update NinjaTrader_Josh Reference Samples 0 09-24-2007 09:01 PM


All times are GMT -6. The time now is 10:32 AM.