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 rhyminkevin, Today, 04:58 PM
            4 responses
            52 views
            0 likes
            Last Post dp8282
            by dp8282
             
            Started by iceman2018, Today, 05:07 PM
            0 responses
            5 views
            0 likes
            Last Post iceman2018  
            Started by lightsun47, Today, 03:51 PM
            0 responses
            7 views
            0 likes
            Last Post lightsun47  
            Started by 00nevest, Today, 02:27 PM
            1 response
            14 views
            0 likes
            Last Post 00nevest  
            Started by futtrader, 04-21-2024, 01:50 AM
            4 responses
            50 views
            0 likes
            Last Post futtrader  
            Working...
            X