Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Optimize on Profit Factor with Minimum Net Profit?

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

    Optimize on Profit Factor with Minimum Net Profit?

    I want to maximize Profit Factor, but only AFTER I have satisfied a requirement of let's say $100,000 net profit...

    If my net profit is $1,000 with a 100x profit factor, I don't care...

    I would rather $100,000 with a 2x profit factor.

    Is there any way to do this?

    Thank you,
    Joe

    Edit: (Or minimum # of trades would be okay. I'm trying to avoid it from just executing 2 trades over ~4 years and getting a great "profit factor" that doesn't tell you much).

    The optimizer will take ~24 hours, so I want to make sure it gets the right value the first time around!
    Last edited by joespo; 02-29-2012, 07:08 PM.

    #2
    Hi Joe, that would unfortunately not be supported per default, but if you're an experienced coder you could look into creating a custom optimization type that would include your constraints - those would be stored under Documents\NinjaTrader 7\bin\Custom\Type.

    Comment


      #3
      Hi,

      I recently upgraded to NT 7.0.1000.10 from 7.0.x.8 and this is no longer working for me.
      I even deleted every single .cs file in

      C:\Users\ . . .\Documents\NinjaTrader 7\bin\Custom\Type

      except for my custom optimization, but I can still use any optimization method in NT7 (except for my custom one).

      I tried searching my C:\ drive for a new location, but it didn't find any...

      1) Did the location for the optimization files change?
      2) Are optimization methods still customizable?

      Thanks,
      Joe

      Comment


        #4
        Hi,

        My oversight...
        I went into a random Ninjascript, hit the compile button, and it recompiled the .dll that contains the optimization algorithms. I didn't know the compile was for all custom files!

        Thanks,
        Joe

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by kinfxhk, 07-14-2026, 09:39 AM
        0 responses
        125 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 07-13-2026, 10:18 AM
        0 responses
        105 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 07-13-2026, 09:50 AM
        0 responses
        84 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 07-13-2026, 07:21 AM
        0 responses
        104 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 07-11-2026, 02:11 AM
        0 responses
        83 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Working...
        X