![]() |
|
|||||||
| Indicator Development Support for the development of custom indicators using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: May 2011
Posts: 13
Thanks: 0
Thanked 1 time in 1 post
|
Can anyone help?
I have attached a reference sample code that i got off of this forum, but i have spent the past 3 hours trying to find the specific post to ask this question: How do I get this to print on panel 2 -- my indicator? I do not want it on the input series (panel1). I have changed the DrawOnPricePanel = false -- i have tried overlay = false and nothing seems to work. Thanks to anyone lending assistance....... I simply want to be able to shade the area between the upper and lower bollinger bands without 457 lines of code (which I found elsewhere on this forum). Thanks so much. |
|
|
|
|
|
#2 | |
|
Senior Member
|
Quote:
|
|
|
|
|
|
The following user says thank you to koganam for this post: |
|
|
|
#3 |
|
Junior Member
Join Date: Aug 2012
Posts: 4
Thanks: 1
Thanked 0 times in 0 posts
|
Try this, below On Bar Update()
DrawRegion("tag1", CurrentBar, 0, Bollinger(2, 14).Upper, Bollinger(2, 14).Lower, Color.Empty, Color.Lime, 2); |
|
|
|
|
|
#4 |
|
NinjaTrader Customer Service
Join Date: Sep 2009
Location: Denver, CO
Posts: 8,117
Thanks: 249
Thanked 418 times in 415 posts
|
zoom zoom 126,
Setting Overlay = false should do it. With most code changes you can reload NinjaScript and will see right away. However if you make any code changes in Initialize() the indicator needs to be removed and re-applied in order to see. http://www.ninjatrader.com/support/h...t7/overlay.htm
Ryan M
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| DrawRegion | Romulan | Indicator Development | 10 | 12-06-2011 02:30 PM |
| Drawregion help | safetrading | Indicator Development | 2 | 07-03-2009 02:35 PM |
| DrawRegion | bobmike | General Programming | 23 | 10-06-2008 03:17 PM |
| DrawRegion | jrs | Indicator Development | 6 | 04-15-2008 01:57 AM |
| DrawRegion | rt-trader | General Programming | 1 | 12-28-2007 10:41 PM |