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 mjairg, 07-20-2023, 11:57 PM
|
3 responses
213 views
1 like
|
Last Post
by PaulMohn
Today, 04:22 AM
|
||
Started by TheWhiteDragon, 01-21-2019, 12:44 PM
|
4 responses
544 views
0 likes
|
Last Post
by PaulMohn
Today, 04:09 AM
|
||
Started by GLFX005, Today, 03:23 AM
|
0 responses
3 views
0 likes
|
Last Post
by GLFX005
Today, 03:23 AM
|
||
Started by XXtrader, Yesterday, 11:30 PM
|
2 responses
12 views
0 likes
|
Last Post
by XXtrader
Today, 03:07 AM
|
||
Started by Waxavi, Today, 02:10 AM
|
0 responses
7 views
0 likes
|
Last Post
by Waxavi
Today, 02:10 AM
|
Comment