Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Compile indicator error on v7, but not v6.5 (MACOS)
Collapse
X
-
Ahh, great! Now it works.. I was not aware the program compiled everything in the directory.
Thanks a lot.
-
Double-click on the error message and the NT Editor will open the correct file at the error location. The error is not in your indicator; it is in the Tides.cs file.
Regardless, the error will have to be resolved before you will have a successful compilation, as all indicators are compiled by NT into one assembly. That is where the speed and efficiency comes from, among other things.
Leave a comment:
-
Trejder, the red highlighted error means the error is coming from another file - tides.cs in this case. You'll have to fix the error in that script. Your MyCustomIndicator3 file compiled fine on my machine.
Leave a comment:
-
Attached the requested files.
System (virtualized):
Microsoft Windows Server 2003
Standard x64 Edition
Service Pack 2
Computer (as reported under System Properties):
Intel(R) Core(TM) i5-2415M
CPU @ 2.30 GHz
2.29 GHz, 1.00 GB of RAM
Installed programs (according to Control Panel):
Microsoft .NET Framework 2.0 Service Pack 1
Microsoft .NET Framework 3.0 Service Pack 1
Microsoft .NET Framework 3.5
Mozilla Firefox 6.0 (x86 en-US)
MSXML 6.0 Parser (KB933579)
NinjaTrader 7
VMware Tools
Leave a comment:
-
Thanks, could you please as well post the script cs file and a screenshot of the exact error received?
Leave a comment:
-
Trejder, welcome to our forums and thanks for letting us know - I have not heard yet of any similiar reports on this matter - what .NET framework would be run in those virtualized OS, would you know?
Leave a comment:
-
Compile indicator error on v7, but not v6.5 (MACOS)
Hello,
Don't know if this is a general problem or because I run under MACOS with VMWARE virtualization (I understand this is unsupported), but thought I'd post it anyway.
When auto generating the indicator in accordance with the help guide (Custom Color Plots using Thresholds) I chose to create these plots "AboveZero" and "BelowZero".
I edited nothing in the generated script. Then I compiled it.
It fails with error message "AboveZero is not defined in the current context" and also "BelowZero is not defined in the current context" - or similar message.
So, I have tried this using both Windows 7 and Windows 2003 Server edition under VMWARE (i.e. very different platforms although both virtualized).
The error messages occur for both version:
7.0.1000.7 (Current), and
7.0.1000.6 (Previous), 32-bit as well as 64-bit version
But funny thing, compiling the same code works with:
6.5.1000.19 (Legacy)*
Just thought I'd post it before I return to explore 6.5...Tags: None
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by junkone, 04-28-2024, 02:19 PM
|
8 responses
91 views
1 like
|
Last Post Today, 01:58 AM | ||
Started by mkouitra, 10-23-2021, 04:40 PM
|
17 responses
1,962 views
0 likes
|
Last Post Today, 12:51 AM | ||
Started by Vietanhnguyen2hotmailcom, 05-03-2024, 10:29 AM
|
4 responses
29 views
0 likes
|
Last Post Yesterday, 09:06 PM | ||
Started by PhillT, 04-19-2024, 02:16 PM
|
4 responses
37 views
0 likes
|
Last Post
by PhillT
Yesterday, 04:24 PM
|
||
Started by ageeholdings, 05-01-2024, 05:22 AM
|
5 responses
39 views
0 likes
|
Last Post
by ageeholdings
Yesterday, 03:21 PM
|
Leave a comment: