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 AttiM, 02-14-2024, 05:20 PM
|
12 responses
213 views
0 likes
|
Last Post
by DrakeiJosh
Today, 11:17 AM
|
||
Started by cre8able, 02-11-2023, 05:43 PM
|
3 responses
238 views
0 likes
|
Last Post
by rhubear
Today, 10:46 AM
|
||
Started by frslvr, 04-11-2024, 07:26 AM
|
8 responses
117 views
1 like
|
Last Post Today, 10:30 AM | ||
Started by stafe, 04-15-2024, 08:34 PM
|
10 responses
47 views
0 likes
|
Last Post
by stafe
Today, 10:29 AM
|
||
Started by rocketman7, Today, 09:41 AM
|
3 responses
12 views
0 likes
|
Last Post Today, 10:07 AM |
Comment