![]() |
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
|
|||||||
| General Programming General NinjaScript programming questions. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Member
Join Date: Aug 2009
Posts: 51
Thanks: 10
Thanked 1 time in 1 post
|
Hello,
is it possible to draw a ray into a different panel than the price one? I have an indicator that draws a ray. If I put this indicator into Panel 5 (for example), the ray is still drawn into price action. Having the possibility to automatically draw horizontal rays into cumulative delta would be really awesome. Many thanks, Daniel |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Dec 2011
Location: India
Posts: 3,286
Thanks: 580
Thanked 546 times in 541 posts
|
Hello Daniel,
Thanks for writing in and I am happy to assist you. To set the draw object in a panel other than the price panel. Please append the below code in the initialize section of the code. Code:
DrawOnPricePanel = false; Please let me know if I can assist you any further.
Joydeep M.
NinjaTrader Customer Service |
|
|
|
|
The following user says thank you to NinjaTrader_Joydeep for this post: |
|
|
|
#3 |
|
Member
Join Date: Aug 2009
Posts: 51
Thanks: 10
Thanked 1 time in 1 post
|
Many thanks!!
|
|
|
|
|
|
#4 |
|
NinjaTrader Customer Service
Join Date: Dec 2011
Location: India
Posts: 3,286
Thanks: 580
Thanked 546 times in 541 posts
|
Hello Daniel,
Thanks for your note. Please let me know if I can assist you any further.
Joydeep M.
NinjaTrader Customer Service |
|
|
|
|
|
#5 |
|
Senior Member
Join Date: Mar 2010
Posts: 320
Thanks: 87
Thanked 5 times in 5 posts
|
Hi Joydeep, I know about drawonpricepanel = false which works well if I have 2 panels. How would I draw on panels 3 and 4 for example?
Thanks in advance DJ |
|
|
|
|
|
#6 |
|
NinjaTrader Customer Service
Join Date: Dec 2011
Location: India
Posts: 3,286
Thanks: 580
Thanked 546 times in 541 posts
|
Hello DJ,
A draw object drawn through a NinjaScript indicator can be drawn to the price pane and the indicator panel only. I will forward your feature request to development for future enhancement. Please let me know if I can assist you any further.
Joydeep M.
NinjaTrader Customer Service |
|
|
|
|
|
#7 |
|
NinjaTrader Customer Service
Join Date: Dec 2011
Location: India
Posts: 3,286
Thanks: 580
Thanked 546 times in 541 posts
|
Hello DJ,
Development has assigned tracker id #457 for your feature request. Please let me know if I can assist you any further.
Joydeep M.
NinjaTrader Customer Service |
|
|
|
|
The following user says thank you to NinjaTrader_Joydeep for this post: |
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Simple DrawRay Issue | Kentoes | Indicator Development | 4 | 06-13-2010 08:10 AM |
| DrawRay problem | gartonrd | General Programming | 1 | 11-15-2009 12:07 PM |
| DrawRay | nigeleyre | Strategy Development | 3 | 09-21-2009 07:17 AM |
| help with the drawRay | junkone | General Programming | 1 | 09-25-2008 08:12 AM |
| DrawRay() and the *next* bar | cassb | Indicator Development | 4 | 08-28-2008 06:49 PM |