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 Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
580 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
335 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
102 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
554 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
552 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment