OPEN-SOURCE SCRIPT

Risk/Reward Calculator

已更新
Just a simple risk reward calculator to help indicate the R:R levels of your risk on a trade. The drawing tool doesn't have multiple R capabilities.
版本注释
If user puts in their basis points commission rate, the calculator will now automatically calculate their R (risk) in net (inclusive of comms).
If user doesn't put in their commission rate, then it will just take the stop loss amount as the total R.

版本注释
Had incorrect calculation in recent update. Have fixed this now

The calculator will now provide a gross R:R calculator if there is no commission input (left at 0)

The calculator will provide a net R:R if commission is included, and net risk will be auto calculated based on the entry price.
Your commission amount is dependent on your entry price, it is a rough estimation and is only accurate if entry and exit price are identical. Outside of this the R:R calculator is a rough estimation.
版本注释
missing a '/100' on reward plot line 9
版本注释
updated labels to present correct price too
版本注释
Changed the stop loss to be a price instead of distance, so that working out for user is faster.
Added in a breakeven line as well depending on users commission.
版本注释
Updated the reward levels to start from break even, rather than entry, that way your profit is net, and can be calculated by the R amount.
版本注释
Added in more Reward levels (up to 20) for those multi-baggers.
calculatorrewardriskRRTrend AnalysisVolatility

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明