Portfolio Metrics = α(Jensen's), β, CAPM(Ra), Sharpe, Treynor

Portfolio Metrics...

Standard Deviation

Jensen's Alpha


Expected Return (CAPM, Ra)

Sharpe Ratio

Treynor Ratio
Release Notes: //
Release Notes: error correction
Remove from Favorite Scripts Add to Favorite Scripts


Hi luminaryfi, Fantastic work!!, would it be more efficient to use global arrays, to push much of the processing into static functions. Secondly, although the line indicator advantages those looking for historical data, is there a version which uses a label overlay, or would this be problematic with the bar_lookahead?
wow. thanks for this
Just excellent work, thank you.
luminaryfi angelitos
@angelitos, no problem! thanks!! If you have any scripts you would like to see, I'll be happy to write it. I've just been doing them for coding practice. I always make the source code open-source too.
+1 Reply
angelitos luminaryfi
@luminaryfi, Perfect I will write you soon :)
angelitos luminaryfi
@luminaryfi, Hello I hope you are well. As you offered me here I have a project for you. Investing based on angles and slopes is a disruptive concept but I think it is going to be a very effective technique. Here I present this script based on that model to identify trends from mild to extreme but only downward. I wonder if you can program it, I think, in an inverse way so that it can give the same signals towards the upside, although the two indicators that are consigned in a single script. I look forward to your kind comments, thank you.
//discontinued support
//new indicator will be released
Home Stock Screener Forex Screener Crypto Screener Economic Calendar How It Works Chart Features Pricing Refer a friend House Rules Help Center Website & Broker Solutions Widgets Charting Solutions Lightweight Charting Library Blog & News Twitter
Profile Profile Settings Account and Billing Referred friends Coins My Support Tickets Help Center Ideas Published Followers Following Private Messages Chat Sign Out