Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Problem Plots
Collapse
X
-
Problem Plots
In 6.5 if you used something like DrawDot() you would have to test to see if the dot should be removed if the condition changed. It was always much easier to use a dot Plot which would automatically be removed if the condition changed. With NT7 I am having problems with dot Plots on an oscillator line which sometimes persist when the condition goes away. These work perfectly in NT6.5. I have tried a number of ways of recoding but can't get to the bottom of the problem. Did I miss something very basic in the changes for NT7? Of course refreshing the chart fixes it up to that point but the problem comes back.Tags: None
-
Thanks for the reply Josh. I know there are changes but this has nothing to do with any indicator breaking code. This is straight forward testing and plotting and the sample code I sent was just made up from two standard NT7 indicators. If the chart is refreshed (F5) every plot is correct. In real time they are not updated correctly and there is no convoluted code involved.
Comment
-
eDanny, I just spent some time trying to figure out what is happening here. I believe the code behaves exactly like it is supposed to. I edited your code a bit to add some print statements to verify. Please try the attached code and notice how an OnBarUpdate() does not always result in a dot being re-drawn.Attached FilesAustinNinjaTrader Customer Service
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
607 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
353 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
105 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
560 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
561 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment