Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Can not compile strategy
Collapse
X
-
Can not compile strategy
I am trying to write a strategy with a custom indicator (trade devils buy/sell momentum) and I am getting an error saying that it can not compile the ninjascript. I have a friend getting the same error message when he trys as well. I have contacted the vendor but their website says they do not provide support for the strategy builder. Is there a way to see what's causing the issue with compiling?1 PhotoTags: None
-
Hello Tyler803,
Some indicators are not designed to work in the Strategy Builder. It is sometimes necessary to unlock the script and code by hand, or contact the developer to make changes to the indicator so that it is compatible with the Strategy Builder.
Below is a link to a forum post with instructions on how to find compile errors in the NinjaScript Editor.
Please provide a screenshot of the errors and I will be happy to assist.Chelsea B.NinjaTrader Customer Service
-
Originally posted by NinjaTrader_ChelseaB View PostHello Tyler803,
Some indicators are not designed to work in the Strategy Builder. It is sometimes necessary to unlock the script and code by hand, or contact the developer to make changes to the indicator so that it is compatible with the Strategy Builder.
Below is a link to a forum post with instructions on how to find compile errors in the NinjaScript Editor.
https://forum.ninjatrader.com/forum/...64#post1211564
Please provide a screenshot of the errors and I will be happy to assist.
1 Photo
Comment
-
Hello Tyler803,
I'm not familiar with TDUBuySellMomentum, but the parameters you are supplying to the overload is incorrect.
Put the cursor just inside the parenthesis. Then hit Ctrl + Spacebar on the keyboard. Then take a screenshot of the overload signature (or hit print screen and paste into MS Paint).
What is the overload signature for this custom indicator?Chelsea B.NinjaTrader Customer Service
Comment
-
Originally posted by NinjaTrader_ChelseaB View PostHello Tyler803,
I'm not familiar with TDUBuySellMomentum, but the parameters you are supplying to the overload is incorrect.
Put the cursor just inside the parenthesis. Then hit Ctrl + Spacebar on the keyboard. Then take a screenshot of the overload signature (or hit print screen and paste into MS Paint).
What is the overload signature for this custom indicator?1 Photo
Comment
-
Hello Tyler803,
From the looks of it, this custom indicator has no parameters in the overloads. The Input series is added by default.
You might have to set properties after instantiating.
private MyIndicatorName myIndy;
myIndy = MyIndicatorName();
myIndy.CustomPropertyName = 10;
I would recommend you reach out to the vendor or author that created this indicator for instructions on how to call it from NinjaScript.Chelsea B.NinjaTrader Customer Service
Comment
-
Thanks Chelsea, I am reaching out to trade devilsOriginally posted by NinjaTrader_ChelseaB View PostHello Tyler803,
From the looks of it, this custom indicator has no parameters in the overloads. The Input series is added by default.
You might have to set properties after instantiating.
private MyIndicatorName myIndy;
myIndy = MyIndicatorName();
myIndy.CustomPropertyName = 10;
I would recommend you reach out to the vendor or author that created this indicator for instructions on how to call it from NinjaScript.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by NullPointStrategies, Yesterday, 05:17 AM
|
0 responses
58 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
133 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
73 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
45 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
50 views
0 likes
|
Last Post
|

Comment