Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NTSample verification error

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

    NTSample verification error

    I've trying to setup the sample strategy NTSample provided for NinjaTrader DLL integration,

    but I'm getting an error "Error in the Function" Type (#200)

    when I try to re-verify this strategy after a minor modification

    (i.e. added extra blank line in code).

    It'shighlighting the LastBarOnChart for the error.

    I'm sure I probably missed something in the setup process,

    so here are some specifics and what I did so far.

    I'm using:

    Tradestation version: 8.1 build SP1 (build 3258)

    Ninjatrader version: 6.0.0.6

    Steps that I've taken so far:


    1) started Tradestation
    1) imported the file: <NinjaTrader Installation

    Folder>\bin\AutoTrade\NINJATRADER.ELD"

    as per instructions: DLL Based Integration->Set Up

    2) started Ninjatrader 6 and checked File->AT Interface

    3) tried recompiling the NTSample code


    Result:verificationerror mentioned previously

    Where did I go wrong and what do I need to do to progress here?

    (Attached is the NTSample strategy that I'm trying to re-verify without success)

    Attached Files

    #2
    imported post

    I suggest reimporting the NinjaTrader.eld file, thus overwriting any changes you made the NT functions and strategies. Next you should create a new (!) strategy as a copy-cat of NTSample and start applying your chanegs there. Please make sure you verify your new strategy after every change you made so you get an idea what went wrong.

    Comment


      #3
      imported post

      I'vehave corrected the problem another way.

      I opened, slightly changed, and then reverifyed each of the (dependant) functions

      that were reporting the "Error in the function" message, as well as any functions

      that they depended on. Seems to work now.

      Thanks for the input.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by MacDad, 02-25-2024, 11:48 PM
      7 responses
      158 views
      0 likes
      Last Post loganjarosz123  
      Started by Belfortbucks, Today, 09:29 PM
      0 responses
      7 views
      0 likes
      Last Post Belfortbucks  
      Started by zstheorist, Today, 07:52 PM
      0 responses
      7 views
      0 likes
      Last Post zstheorist  
      Started by pmachiraju, 11-01-2023, 04:46 AM
      8 responses
      151 views
      0 likes
      Last Post rehmans
      by rehmans
       
      Started by mattbsea, Today, 05:44 PM
      0 responses
      6 views
      0 likes
      Last Post mattbsea  
      Working...
      X