Thanks
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Error in generate indicator
Collapse
X
-
Thanks for your help. I just open the indicator - DM which is already written in Ninjatrader program. I press F5 and the error occurs. This error occurs at every program which included those programs which was already in NinjaTrader.
The error code is CS1040,CS1028 and CS0116.
Comment
-
Winnie, not sure I follow - every programming error in all your files will always be listed at the bottom of your NinjaScript editor, regardless of which file you compile. NinjaTrader compiles all your script into one file, so none of them can have programming errors for the compile to complete successfully. If you click on those errors it will directly take you to the portion in your script where the error was found, also other ones than the just opened one. If you dont't want to debug them, just comment them out and compile again.
Comment
-
You're welcome - correct, but you need to consider the CalculateOnBarClose setting in realtime use - http://www.ninjatrader-support.com/H...BarClose1.html
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CaptainJack, 05-29-2026, 05:09 AM
|
0 responses
310 views
0 likes
|
Last Post
by CaptainJack
05-29-2026, 05:09 AM
|
||
|
Started by CaptainJack, 05-29-2026, 12:02 AM
|
0 responses
200 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
186 views
1 like
|
Last Post
by charlesugo_1
05-26-2026, 05:03 PM
|
||
|
Started by DannyP96, 05-18-2026, 02:38 PM
|
1 response
278 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
229 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|

Comment