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 MacDad, 02-25-2024, 11:48 PM
|
7 responses
158 views
0 likes
|
Last Post Today, 10:23 PM | ||
Started by Belfortbucks, Today, 09:29 PM
|
0 responses
6 views
0 likes
|
Last Post
by Belfortbucks
Today, 09:29 PM
|
||
Started by zstheorist, Today, 07:52 PM
|
0 responses
7 views
0 likes
|
Last Post
by zstheorist
Today, 07:52 PM
|
||
Started by pmachiraju, 11-01-2023, 04:46 AM
|
8 responses
151 views
0 likes
|
Last Post
by rehmans
Today, 06:44 PM
|
||
Started by mattbsea, Today, 05:44 PM
|
0 responses
6 views
0 likes
|
Last Post
by mattbsea
Today, 05:44 PM
|
Comment