[FONT=Courier New][SIZE=2][COLOR=#0000ff] private[/COLOR][/SIZE][/FONT][FONT=Courier New][/FONT][FONT=Courier New][SIZE=2][COLOR=#0000ff]string[/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2] strSymbol = [/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#800000]"CME\MINI S&P\SEP08"[/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2]; [/SIZE][/FONT]
Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
Unrecognized escape sequence
Collapse
X
-
Unrecognized escape sequence
this line of code is giving the error "Unrecognized escape sequence". It gives 2 errors, one on MINI and one on the S of SEP08. This leads me to believe that the \'s are causing problems. How can I create this string?
Code:Tags: None
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by frankthearm, Today, 09:08 AM
|
5 responses
14 views
0 likes
|
Last Post Today, 10:19 AM | ||
Started by jeronymite, 04-12-2024, 04:26 PM
|
3 responses
43 views
0 likes
|
Last Post
by jeronymite
Yesterday, 10:10 PM
|
||
Started by yertle, Today, 08:38 AM
|
5 responses
15 views
0 likes
|
Last Post Today, 09:45 AM | ||
Started by adeelshahzad, Today, 03:54 AM
|
3 responses
19 views
0 likes
|
Last Post Today, 09:43 AM | ||
Started by bill2023, Yesterday, 08:51 AM
|
6 responses
27 views
0 likes
|
Last Post Today, 09:37 AM |
Comment