Thanks.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Forum Indicator Adjustment Help.
Collapse
X
-
Forum Indicator Adjustment Help.
I want change Plot from Line to HLine. I made changes and compiled, but doesn't change chart image. Want HLine extended to right side price column. I removed indicator and re added to chart, but still no change. See Attached Notes & Indicator.
Thanks.Last edited by santafe; 05-29-2019, 09:11 AM.Tags: None
-
I believe if you've compiled changes to the code you'll have to remove and re-add the indicator to the charts so it'll call the Initialize method. Otherwise, the old version of the code will be using the old settings from when it was last added to the chart.
It's possible there could be an old template file that is preventing your changes, but good luck!
-
Hello santafe,
Thanks for your post.
The plots in this indicator are overridden in the section: public override void Plot(Graphics graphics, Rectangle bounds, double min, double max)
In addition to the changes you made, in the override void Plot() method, add the line: base.Plot(graphics, bounds, min, max);
Comment
-
Hello santafe,
Thanks for your reply.
You have added in the correct location.
I noticed that the indicator will not display certain lines if there is not enough data loaded and this would also be noted on the chart at the bottom by the indicator itself.
Please make sure you have at least 30 days of data in the data series.
I've attached an example of what I see which shows the ADR high/low lines extended across the chart. I have 30 days of data loaded in the data series
Comment
-
I believe if you've compiled changes to the code you'll have to remove and re-add the indicator to the charts so it'll call the Initialize method. Otherwise, the old version of the code will be using the old settings from when it was last added to the chart.Last edited by mopakarim4500; 07-20-2019, 09:42 AM.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CarlTrading, 03-31-2026, 09:41 PM
|
1 response
149 views
1 like
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
84 views
1 like
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
129 views
2 likes
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
125 views
1 like
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
102 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment