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 cmoran13, Yesterday, 01:02 PM
        0 responses
        27 views
        0 likes
        Last Post cmoran13  
        Started by PaulMohn, 04-10-2026, 11:11 AM
        0 responses
        18 views
        0 likes
        Last Post PaulMohn  
        Started by CarlTrading, 03-31-2026, 09:41 PM
        1 response
        160 views
        1 like
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        95 views
        1 like
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        148 views
        2 likes
        Last Post CaptainJack  
        Working...
        X