Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

STRATEGY BUILDER ERROR PROBLEM ... ''input string not in correct format'' ?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    STRATEGY BUILDER ERROR PROBLEM ... ''input string not in correct format'' ?

    the following NT8 compile error pops up in the strategy builder.
    Click image for larger version

Name:	Jan30 for NT Forum1.JPG
Views:	1
Size:	18.9 KB
ID:	906994


    i'm guessing it doesn't like something on the inputs and variables page shown here.
    Click image for larger version

Name:	Jan30 for NT Forum2.JPG
Views:	1
Size:	159.4 KB
ID:	906995

    thoughts and suggestions about how to resolve the issue will be appreciated.

    #2
    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

    Comment


      #3
      email sent to platform support.
      thanks jessica

      Comment


        #4
        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 NullPointStrategies, Yesterday, 05:17 AM
        0 responses
        65 views
        0 likes
        Last Post NullPointStrategies  
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        139 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        75 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        45 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        50 views
        0 likes
        Last Post TheRealMorford  
        Working...
        X