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 charlesugo_1, 05-26-2026, 05:03 PM
        0 responses
        57 views
        0 likes
        Last Post charlesugo_1  
        Started by DannyP96, 05-18-2026, 02:38 PM
        1 response
        143 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        161 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 05-10-2026, 08:12 PM
        0 responses
        97 views
        0 likes
        Last Post CarlTrading  
        Started by Hwop38, 05-04-2026, 07:02 PM
        0 responses
        276 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Working...
        X