Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Bar Dates from custom Optimize metric

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

    Bar Dates from custom Optimize metric

    Hi,

    I trying to write my own metric for optimizing the systems. I can't seem to access any bar dates via .. Time or Times... Any suggestions?

    thanks

    Matt

    #2
    Not sure I follow. Within NinjaScript you e.g. can access the time stamp of the current bar by Time[0].

    Comment


      #3
      re: custom metric

      I'm writing to the files that the optimizer sees in the bin\Custom\Type directory. e.g. (@MinDrawDownShort.cs)... I only seem to get access to systemPerformance here, not anything related to iteration bar data....
      Ideally, I would like to get access to when max dd occurs, etc..

      Regards

      Matt

      Comment


        #4
        Unfortunately this is not supported.
        Note: You never should overwrite any of the @...cs files in <my documents>/NinjaTrader6/bin/Custom.

        Comment


          #5
          re: custom optimize metrics

          I haven't overwritten any of the default metrics, however it is quite handy to use combinations of the systemPerformance methods available. I like the software....

          Regards


          Matt

          Comment


            #6
            Glad to hear that.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Segwin, 05-07-2018, 02:15 PM
            14 responses
            1,789 views
            0 likes
            Last Post aligator  
            Started by Jimmyk, 01-26-2018, 05:19 AM
            6 responses
            837 views
            0 likes
            Last Post emuns
            by emuns
             
            Started by jxs_xrj, 01-12-2020, 09:49 AM
            6 responses
            3,293 views
            1 like
            Last Post jgualdronc  
            Started by Touch-Ups, Today, 10:36 AM
            0 responses
            13 views
            0 likes
            Last Post Touch-Ups  
            Started by geddyisodin, 04-25-2024, 05:20 AM
            11 responses
            63 views
            0 likes
            Last Post halgo_boulder  
            Working...
            X