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 RDTrader16, Today, 10:19 PM
|
0 responses
2 views
0 likes
|
Last Post
by RDTrader16
Today, 10:19 PM
|
||
Started by gemify, 03-08-2023, 08:02 AM
|
9 responses
148 views
0 likes
|
Last Post
by culpepper
Today, 10:14 PM
|
||
Started by elirion, Today, 10:03 PM
|
0 responses
1 view
0 likes
|
Last Post
by elirion
Today, 10:03 PM
|
||
Started by RaddiFX, Today, 09:55 PM
|
0 responses
6 views
0 likes
|
Last Post
by RaddiFX
Today, 09:55 PM
|
||
Started by Trader146, 03-29-2024, 01:22 PM
|
4 responses
25 views
0 likes
|
Last Post
by Trader146
Today, 09:53 PM
|
Comment