If anyone would be willing to modify the code to accomplish the above, it would be greatly appreciated. Thanks
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
How to remove color variable from indicator for strategy wizard use
Collapse
X
-
How to remove color variable from indicator for strategy wizard use
I am using an indicator that displays vwap along with 2 and 3 std deviation VWAP lines and would like to create a strategy using the strategy wizard. However I receive an error " System drawing color is a type but is being used like a variable" . Is there a simple way to remove the color variable? I have tried with no success so far The code for the indicator is attached. Any help would be greatly appreciated..
If anyone would be willing to modify the code to accomplish the above, it would be greatly appreciated. ThanksTags: None
-
Hello NAD1225,
The Strategy Wizard in NinjaTrader 7 was not designed to handle color inputs.
Because of this, the Color inputs would need to be removed from the indicator for this to work with the Strategy Wizard. (I would recommend making a copy of the indicator for use specifically with strategies).
If the script is open source, to edit this click Tools -> Edit NinjaScript -> Indicator...
To copy a script:
The color inputs will appear as they do in this post.
Chelsea B.NinjaTrader Customer Service
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
579 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
334 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
101 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
554 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
551 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment