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
STRATEGY BUILDER ERROR PROBLEM ... ''input string not in correct format'' ?
Collapse
X
-
Hello joemiller, and thank you for your question. Please attach a copy of your (My) Documents\NinjaTrader 8\bin\Custom\Strategies\<yourstrategyname>.cs file to an e-mail to platformsupport[at]ninjatrader[dot]com, referencing Attn:NinjaTrader_JessicaP and 1652738 in the subject line. I look forward to assisting further.Jessica P.NinjaTrader Customer Service
-
Thank you joemiller, your reply was received and I have had a chance to review your logic. If you call EnterLong on the short side of the market, rather than returning you to a flat position, your short positions will be closed, and you will enter trades on the long side of the market. This behavior is documented here for more information.
So, briefly,
* If you would like to return to a flat position, use an Exit method
* If you would like to move to the other side of the market, use an Enter method
* Trades with Exit and Enter should not be used together on the same bar, unless they contain the same side of the market in their name. For example, EnterLong and ExitLongMIT can be used together. Please review the Internal Order Handling Rules at the bottom of the page I linked for more information.
Please let us know if there are any other ways we can help.Jessica P.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by mattbsea, Today, 05:44 PM
|
0 responses
4 views
0 likes
|
Last Post
by mattbsea
Today, 05:44 PM
|
||
Started by RideMe, 04-07-2024, 04:54 PM
|
6 responses
31 views
0 likes
|
Last Post
by RideMe
Today, 05:31 PM
|
||
Started by tkaboris, Today, 05:13 PM
|
0 responses
2 views
0 likes
|
Last Post
by tkaboris
Today, 05:13 PM
|
||
Started by GussJ, 03-04-2020, 03:11 PM
|
16 responses
3,282 views
0 likes
|
Last Post
by Leafcutter
Today, 04:14 PM
|
||
Started by WHICKED, Today, 12:45 PM
|
2 responses
20 views
0 likes
|
Last Post
by WHICKED
Today, 03:36 PM
|
Comment