Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Need some advice on using NT7 as a strategy charting tool and using user controls

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

    Need some advice on using NT7 as a strategy charting tool and using user controls

    I would appreciate some advice about the best way to achieve the following:
    I have an c# application that creates and tests strategies, this application exports data to an Excel spreadsheet.
    I would like to be able to use NT7 as a means of charting these strategies.
    What I am thinking about doing is to export (probably a CSV) file from my stategy application with the buy,sell, adjust stop data that will then be imported into NT7 and the trades executed in NT7 as determined by the strategy.
    I would like the option to select the CSV strategy file to load from a file selector user control
    Does anyone have any suggestions as to how I can do this or know of any example strategies or indicators I could use as a starting point?
    Thanks.

    #2
    pauluk,

    The best option would be to try recreating the strategy in native NinjaScript and just use the Enter() and Exit() methods to recreate the trades. This way you can fully utilize all features of NT for trade visualization, strategy analysis, etc.

    The only way to do what you want based on a csv is to manually import each and every single one of the trade executions into NT. It cannot "read" csv files to do that.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Thanks Josh.
      Is it possible to use a user control like a file selector or is there some other way I can select the csv to load?
      Thanks.

      Comment


        #4
        That would unfortunately not be supported in NinjaScript Paul, but you can take a look at MSDN if there's a suitable C# approach that could be used for this task.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        630 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        364 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        105 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        566 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        568 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X