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 jeronymite, 04-12-2024, 04:26 PM
      3 responses
      40 views
      0 likes
      Last Post jeronymite  
      Started by bill2023, Today, 08:51 AM
      2 responses
      15 views
      0 likes
      Last Post bill2023  
      Started by sidlercom80, 10-28-2023, 08:49 AM
      167 responses
      2,260 views
      0 likes
      Last Post jeronymite  
      Started by warreng86, 11-10-2020, 02:04 PM
      7 responses
      1,362 views
      0 likes
      Last Post NinjaTrader_Manfred  
      Started by Perr0Grande, Today, 08:16 PM
      0 responses
      5 views
      0 likes
      Last Post Perr0Grande  
      Working...
      X