AddPlot(new Pen(Brushes.MediumSeaGreen, 2), PlotStyle.Square, "ValueOfTheIndicator");
AddPlot(new Pen(Brushes.Firebrick, 2), PlotStyle.TriangleDown, "ValueOfTheSignalLine");
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Wizard generates bad code
Collapse
X
-
Wizard generates bad code
The wizard-generated cod had these lines:
which give compiler errorsCode:
--EVArgument 1: cannot convert from 'System.Windows.Media.Pen' to 'NinjaTrader.Gui.Stroke'Tags: None
-
Beta 3Originally posted by NinjaTrader_Jesse View PostHello,
Thank you for the report.
Can you tell me what version of the beta this error is from?
Also what wizard were you using to generate this code, was this a strategy or an indicator? Strategies can now also plot also is why I ask.
I look forward to being of further assistance.
Indicator
Also see my recent post in "General" about another bug in wizard code generation -- wrong index values for the accessor properties
--EVLast edited by ETFVoyageur; 08-09-2015, 12:34 PM.
Comment
-
Hello,
Thank you for the reply.
I can confirm in the current B3 this does exist, I also do see this has already been reported and is being reviewed by development currently.
This will likely be corrected in one of the next beta releases.
As always thanks you for the report.
I look forward to being of further assistance.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CaptainJack, 05-29-2026, 05:09 AM
|
0 responses
45 views
0 likes
|
Last Post
by CaptainJack
05-29-2026, 05:09 AM
|
||
|
Started by CaptainJack, 05-29-2026, 12:02 AM
|
0 responses
30 views
0 likes
|
Last Post
by CaptainJack
05-29-2026, 12:02 AM
|
||
|
Started by charlesugo_1, 05-26-2026, 05:03 PM
|
0 responses
99 views
0 likes
|
Last Post
by charlesugo_1
05-26-2026, 05:03 PM
|
||
|
Started by DannyP96, 05-18-2026, 02:38 PM
|
1 response
177 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
170 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|

Comment