Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

K-Ratio

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

    K-Ratio

    Hello all,

    Has anyone seen an implementation of the K-Ratio in NinjaTrader. For those who aren't familiar with this ratio, it's a measure that helps assess the smoothness of the equity curve. It was mentioned in the book Quantitative Trading Strategies by Kestner on page 85.

    The calculation of this ratio is simple, but I don't know enough about C# to implement it myself. All you have to do is regress the equity curve (Equity Curve = b0 + b1*trend). The ratio is as follows: K = b1 / (SE(b1)*Nobs) where b1 is the slope of the regression, SE(b1) is the standard error of b1 and Nobs is the number of observations.

    This ratio should help identify nice smooth equity curves. Should be useful for everyone :-)

    Please let me know if you have seen this performance measure on the forums or if you can program it yourself. It would be a great addition to the optimizer.

    Cheers,
    Phil

    #2
    Hello,

    Thank you for your first forum post!

    I will submit this to development for a possible addition in the next version of NinjaTrader.

    Thank you for your feedback.
    BrettNinjaTrader Product Management

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    93 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    48 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    31 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    34 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    70 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X