Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Help decifering error message

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

    Help decifering error message

    Just downloaded 6.5 and exported simple trading strategy. Whle running and i think on an enterlong() order or sendmail() function i get the attached error box...

    Thank you

    Ohowie
    Click image for larger version

Name:	ScreenHunter_01 Jan. 11 16.00.jpg
Views:	1
Size:	95.8 KB
ID:	890204

    #2
    Thanks for reporting.

    Can this be reproduced each time you run the strategy?
    RayNinjaTrader Customer Service

    Comment


      #3
      I'm sorry Ray. If you give me a hint... i am referencing :
      TempBuy = Cbi.Core.UserDataDir.ToString() + "Lucy\\" + Instrument.MasterInstrument.Name + ".Buy";
      TempSell = Cbi.Core.UserDataDir.ToString() + "Lucy\\" + Instrument.MasterInstrument.Name + ".Sell";
      The strategy then looks for the file and then my triggers all say if (bla && bla && bla) || the file exists.

      I found this to be a great way to flatten a strategy running upon load and to also to signal buy and sell within the strategy so the strategy can maintain the orders. a by product is it makes it great for testing. If i can pinpoint it i will post here to let you know more. I was hoping for a clue.

      thanks
      Ohowie

      Comment


        #4
        Sorry, I don't fully understand what you are doing. If you are accessing areas of our underlying framework (outside what we officially publish as NinjaScript) then I can't provide any assistance on run time errors.

        If the error is generated from supported methods then for sure I would want to investigate and resolve.
        RayNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CarlTrading, 03-31-2026, 09:41 PM
        1 response
        37 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, Yesterday, 02:41 AM
        0 responses
        17 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        25 views
        1 like
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        40 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        34 views
        0 likes
        Last Post CarlTrading  
        Working...
        X