The error is 'CurpentHigh' does not exist in the current context. I don't know i could have created this typo or how to correct it.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Strategy Not Compiling - CurrentDayOHL Error
Collapse
X
-
Strategy Not Compiling - CurrentDayOHL Error
I have just started working with Strategy Wizard and made 3 strategies that worked fine. I was editing one of them and now none of them compile. The error I get is on line 83 of the code in CurrentDayOHL indicator. I can see a typo there.
The error is 'CurpentHigh' does not exist in the current context. I don't know i could have created this typo or how to correct it.Tags: None
-
lrsweeney, any changes made to system indicators will not be saved, so I'm not sure why that error is occurring. It looks as if somehow CurrentHigh got changed to CurpentHigh, so that would be causing the trouble - most likely this error is actually in your strategy. Please check there and see if you can fix the typo.AustinNinjaTrader Customer Service
-
I have checked my three strategies for typos and they are very short with really no room for typos. I had given up on this waiting for your response and was trying to import an indicator and now receive the error that since I have ninjascripts that don't compile I cannot import the indicator. So, I decided to delete all my strategies and start over, but I cannot do this either as I get the error "Error on building the custom assembly."
Any suggestions? thanks.
Comment
-
My screens were too big so I have attached zips of them here. Thanks.Attached Files
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
660 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
375 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
110 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
574 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
579 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment