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 ageeholdings, Today, 07:43 AM
            0 responses
            7 views
            0 likes
            Last Post ageeholdings  
            Started by pibrew, Today, 06:37 AM
            0 responses
            4 views
            0 likes
            Last Post pibrew
            by pibrew
             
            Started by rbeckmann05, Yesterday, 06:48 PM
            1 response
            14 views
            0 likes
            Last Post bltdavid  
            Started by llanqui, Today, 03:53 AM
            0 responses
            6 views
            0 likes
            Last Post llanqui
            by llanqui
             
            Started by burtoninlondon, Today, 12:38 AM
            0 responses
            12 views
            0 likes
            Last Post burtoninlondon  
            Working...
            X