Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Backtesting

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

    Backtesting

    I'm trying to find a quicker way to backtest ideas but don't have an extensive programming background. I'd like to test every time price pulls back to the 20 ema on a 1 min. See how much it bounces, the time it takes, how often it fails, things like that. Is there any way to do this in Ninjatrader and have it export all the data to excel? Thanks in advance for the help.

    #2
    Hello n8dogg59,

    Thanks for your note.

    This type of logic is possible but would take some custom code to achieve.
    The Strategy Builder with a point and click interface is a great way to get started. However the Strategy Builder has some limitations, such as doing math for things like having counters.

    Below I am providing a link to a forum post where I've outlined our training videos and some helpful 3rd party resources for getting started with NinjaScript.


    And a link to an example of a counter.


    I am happy to answer any questions you may have about NinjaScript if you decide to code this yourself.

    You can also contact a professional NinjaScript Consultant who would be eager to create or modify this script at your request or assist you with your script. The NinjaTrader Ecosystem has affiliate contacts who provide educational as well as consulting services. Please let me know if you would like our business development follow up with you with a list of affiliate consultants who would be happy to create this script or any others at your request.


    Results from grids, like a trades list can be exported and then opened in excel. Right-click the grid -> select Export.



    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Thank you so much for the info! This is definitely going to help.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by chbruno, Today, 04:10 PM
      0 responses
      3 views
      0 likes
      Last Post chbruno
      by chbruno
       
      Started by josh18955, 03-25-2023, 11:16 AM
      6 responses
      436 views
      0 likes
      Last Post Delerium  
      Started by FAQtrader, Today, 03:35 PM
      0 responses
      6 views
      0 likes
      Last Post FAQtrader  
      Started by rocketman7, Today, 09:41 AM
      5 responses
      19 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by frslvr, 04-11-2024, 07:26 AM
      9 responses
      127 views
      1 like
      Last Post caryc123  
      Working...
      X