is that the correct version?
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
DrawText in Strategy
Collapse
X
-
Josh, Dierk
This is interesting
I exported 32 bit protected from desktop and imported to my laptop...remotesoft worked fine.
I forgot to create my atmstrategy for my strategy and therefore got the typical error message.
The interesting part is that Text now plotted from my strat on the chart.
I then created the atmstrategy and ran the strat....no text on chart this time, only horizontal line
And now, of course, I got the error message from trying to place an order using atmstrategycreate.....i.e. that Dierk has fixed for beta 4....re BarDisplayText error
Conclusion: unable to draw text on chart from strat is directly related to same issue
to reproduce: put the DrawText line in SampleAtmStrategy.....run it without creating the atmstrategytemplate....text will draw... then create the atmstrategytemplate and text will not draw and you should get the BarsDisplayText error
....
BTW....neither laptop nor desktop will run my strat on a second chart....only minute chartsLast edited by ATI user; 10-27-2009, 12:10 PM.
Comment
-
correction
beta 3 on my laptop XP does draw the text with the atm template in place
and the same strat on one of my user's Windows 7 machine it draws the text also
so problem is only on my Vista machine
all 3 machines are using .NET 3.5 and zenfire
will try to re-install .net on my desktopLast edited by ATI user; 10-27-2009, 01:16 PM.
Comment
-
Josh,Originally posted by NinjaTrader_Josh View PostIf you mean plots, that would be the StrategyPlot reference sample. Though that was always more of a workaround with limitations. Strategies are generally not meant for plotting. If you want to plot you should use an indicator.
I made heavy use of StrategyPlot with 6.5 due to some data I needed plotting that is intimately tied with calculations specific to a strategy - not really indicator material.
I'm going thru the list of Code-Breaking Changes for NT 7 and was wondering about StrategyPlot's use of DataSeries since a couple of issues regarding DataSeries is mentioned in changes, notably:
* default of 256 lookback
* calling DataSeries.Set() before accessing a DataSeries value on a bar
Does StrategyPlot need any alteration do you think with regard to how it uses DataSeries for it to work comparably to how it did in 6.5? I didn't notice any .Set method calls in StrategyPlot so was concerned about that.
Thanks for any pointers..
JD
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
612 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
355 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
105 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
561 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
564 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment