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 CarlTrading, 03-31-2026, 09:41 PM
|
1 response
64 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
35 views
0 likes
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
59 views
1 like
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
62 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
51 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment