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 kevinenergy, 02-17-2023, 12:42 PM
      117 responses
      2,766 views
      1 like
      Last Post jculp
      by jculp
       
      Started by Mongo, Today, 11:05 AM
      5 responses
      15 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by traderqz, Today, 12:06 AM
      8 responses
      16 views
      0 likes
      Last Post traderqz  
      Started by SightCareAubetter, Today, 12:50 PM
      0 responses
      2 views
      0 likes
      Last Post SightCareAubetter  
      Started by Skifree, Today, 03:41 AM
      5 responses
      14 views
      0 likes
      Last Post Skifree
      by Skifree
       
      Working...
      X