John
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Dynamic SR Lines
Collapse
X
-
Dynamic SR Lines
There is a bug in this code. It always plots in the pane with the original data. I am trying to apply this to an indicator (CCI) which is in pane 2. The Dynamic SR lines always plot in pane 1. I have tried plot in same pane, as well as specifying the pane. Additionally, if I move the CCI to pane 1 and original data(ES) to pane 2, the SR lines moves to pane 2 with the ES, irregardless of where I chose to plot them. This indicator was created by NinjaTrader_MichaelM 10-26-2015
JohnTags: None
-
Hello joromero,
Thank you for writing in. What you are describing is also the functionality the original author posted with the NinjaTrader 7 version of the indicator so I do not believe this is a bug.
For your purposes however, please feel free to navigate to New -> NinjaScript Editor and then double click the DynamicSRLines indicator under the Indicators section in the right panel. From there you will want to change line 79 from:
Code:DrawOnPricePanel = true;
Code:DrawOnPricePanel = false;
Please let me know if I may be of further assistance.Michael M.NinjaTrader Quality Assurance
-
In doing some more testing, There is the capability to change the pane to draw in, and this is correct. What is not correct, is when you apply it to an indicator instead of "original" data. To see what I am discussion. perform the following
1 - In pane one, put 5 min ES data
2 - In pane 2 add the CCI
3 - add the Dynamic SR lines to the CCI instead of the original ES data and put it in pane 2.
It will put the Dynamic lines in pane 2. You will have to change the scale of the pane to go up to the values of the ES data.
So, it appears it is still using the original data and not the indicator as the input data to do it's calculations. Normally the CCI will scale from -200 up to +200 or so.
John
Comment
-
Me too. (Battling application to an indicator)
I changed the line number as directed but still can't get the zones to draw on panel 2 and reference while referencing an indicator, not the data series.
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Net Change
by Segwin
Started by Segwin, 05-07-2018, 02:15 PM
|
14 responses
1,789 views
0 likes
|
Last Post
by aligator
Today, 11:47 AM
|
||
Started by Jimmyk, 01-26-2018, 05:19 AM
|
6 responses
837 views
0 likes
|
Last Post
by emuns
Today, 11:27 AM
|
||
Started by jxs_xrj, 01-12-2020, 09:49 AM
|
6 responses
3,293 views
1 like
|
Last Post
by jgualdronc
Today, 10:56 AM
|
||
Started by Touch-Ups, Today, 10:36 AM
|
0 responses
13 views
0 likes
|
Last Post
by Touch-Ups
Today, 10:36 AM
|
||
Started by geddyisodin, 04-25-2024, 05:20 AM
|
11 responses
63 views
0 likes
|
Last Post Today, 10:08 AM |
Comment