![]() |
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
|
|||||||
| Indicator Development Support for the development of custom indicators using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Dec 2011
Posts: 14
Thanks: 3
Thanked 2 times in 2 posts
|
Hello,
I am developing and indicator which identifies candle patterns. (I am new to NT and script, but not new to c#) I have written the following in the OnBarUpdate method: if(BDoji){ if (Open[0] == Close[0]){ DrawArrowDown("Doji", 0,High[0]+TickSize, Color.Blue); DrawText("Doji","Doji",0,High[0]+TickSize*2,Color.Blue); } } I only get the text drawn and not the arrow. If I draw the text before the arrow then the arrow is drawn. .i.e only the last draw is taken into account. Is this correct? I am using NT7 on Win 7. Edit: Okay I am being daft - the problem is the same tag names ! SIlly me! |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Aug 2011
Location: Denver, CO, USA
Posts: 2,895
Thanks: 241
Thanked 375 times in 365 posts
|
rsksmiles,
I am happy you have resolved your issue, Please let me know if I may assist further.
Adam P.
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Help! when conditions are met,it will draw arrow,text & alert but does not play sound | JC2000 | General Programming | 3 | 10-05-2011 07:50 PM |
| How to draw text above arrow? | jrobert | Version 7 Beta General Questions & Bug Reports | 1 | 08-16-2010 04:14 PM |
| Draw Arrow if Bar Over Certain Pip Size | pmn100 | General Programming | 2 | 09-07-2009 07:44 AM |
| Draw Text above the high of the bar | Winnie | Indicator Development | 7 | 03-27-2009 08:28 AM |
| Can draw dot, arrow, etc. but cannot draw line | cunparis | Strategy Development | 10 | 03-21-2009 01:44 AM |