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 CarlTrading, 03-31-2026, 09:41 PM
    1 response
    64 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    35 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    58 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    61 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    49 views
    0 likes
    Last Post CarlTrading  
    Working...
    X