Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Every Single Draw tool that uses BarsAgo is Messed up in New version
Collapse
X
-
Every Single Draw tool that uses BarsAgo is Messed up in New version
You have introduced a bug in your new version. Using BarsAgo does not work properly on Multiple Data Series. You tools get confused between the root data series and the data series a draw is initiated. I am thinking that you must have a check in your draw code that is testing to see if the bar your accessing to draw to/from is on the chart except you are not referencing the root data series and because of this legitimate draws cause errors. I have found the only temp fix is to check that CurrentBars[n] > the BarsAgo I am attempting to draw when the actual consideration is CurrentBars[0] > BarsAgo.Tags: None
-
I am getting some similar errors relating to Drawing Tools barsAgo parameter in NT 8.0.6. I have a separate post describing the errors:
http://ninjatrader.com/support/forum...66&postcount=1
-
Camdo
Looks like exactly the same issue. If you put in a check before your dot.
Something like
If ( CurrentBars[BarsInProgress] > BarsAgo ) Draw.Dot () ;
BarsAgo being the BarsBack you are looking to place the dot on the root series. You should avoid
the error you get when BarsAgo is not zero. I tested this in several of my indicators and it seemed to work. But there are other problems. Things are not drawing the way they should . I tested this by uninstalling and reinstalling 8.0.5 and everything is back to normal except that 8.0.5 has its own problems, so I just got fed up and went back to NT7.
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by bortz, 11-06-2023, 08:04 AM
|
47 responses
1,610 views
0 likes
|
Last Post
by aligator
Today, 07:22 PM
|
||
Started by jaybedreamin, Today, 05:56 PM
|
0 responses
9 views
0 likes
|
Last Post
by jaybedreamin
Today, 05:56 PM
|
||
Started by DJ888, 04-16-2024, 06:09 PM
|
6 responses
19 views
0 likes
|
Last Post
by DJ888
Today, 05:12 PM
|
||
Started by Jon17, Today, 04:33 PM
|
0 responses
6 views
0 likes
|
Last Post
by Jon17
Today, 04:33 PM
|
||
Started by Javierw.ok, Today, 04:12 PM
|
0 responses
22 views
0 likes
|
Last Post
by Javierw.ok
Today, 04:12 PM
|
Comment