Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Run Strategy Analyzer from Excel?

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

    Run Strategy Analyzer from Excel?

    Hello,
    I did dig around the forum a bit but much of it seemed to focus on exporting data to excel.

    My request is slightly different:
    I'd like leverage excel as an interface to define the variables for my strategy (ex. lets say 13/50 crossover with some other variables), and then call the strategy analyzer from Excel using those variables, and then return the various results to excel in different cells.

    We do this commonly at my old job, just passing the variables in via Excel and defining which field to bring back for each cell.

    Ex. Imagine a strategy called "Strat" with variables EMA1 and EMA 2 and Timeframe and start and end date.
    You would then pass something via excel like " =StrategyAnalyzer ("Strat", EMA1, EMA2, TimeFrame (10min), Start Date, End Date))

    thanks

    #2
    Hello farawayz,

    The platform only has very basic excel export support, nothing to interface with excel. You can see the following forum post for some user direction on using excel with NinjaTrader. Excel has a dll interface that can be referenced in NinjaScript however that is outside what our support can really help with, that would be something you can reference and learn about to utilize the dlls functions.

    This is a NinjaTrader 8 conversion of the BigMikeExcel tool created as an example to demonstrate NinjaTrader – Microsoft Excel interoperability that is found in the forums here. This script uses code that is not supported by the NinjaTrader Platform Support team.



    The NinjaTrader Ecosystem website is for educational and informational purposes only and should not be considered a solicitation to buy or sell a futures contract or make any other type of investment decision. The add-ons listed on this website are not to be considered a recommendation and it is the reader's responsibility to evaluate any product, service, or company. NinjaTrader Ecosystem LLC is not responsible for the accuracy or content of any product, service or company linked to on this website.

    Comment


      #3
      Thank you Jesse will dive into it.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      79 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      45 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      29 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      32 views
      0 likes
      Last Post TheRealMorford  
      Started by Mindset, 02-28-2026, 06:16 AM
      0 responses
      66 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Working...
      X