TradingView
NoveltyTrade
Mar 4, 2024 7:19 PM

Risk Management Chart 

Bitcoin / TetherUS PERPETUAL CONTRACTBinance

Description

█ OVERVIEW

Risk Management Chart allows you to calculate and visualize equity and risk depend on your risk-reward statistics which you can set at the settings.
This script generates random trades and variants of each trade based on your settings of win/loss percent and shows it on the chart as different polyline and also shows thick line which is average of all trades.
It allows you to visualize and possible to analyze probability of your risk management. Be using different settings you can adjust and change your risk management for better profit in future.
It uses compound interest for each trade.
Each variant of trade is shown as a polyline with color from gradient depended on it last profit.
Also I made blurred lines for better visualization with function :
poly(_arr, _col, _t, _tr) => for t = 1 to _t polyline.new(_arr, false, false, xloc.bar_index, color.new(_col, 0 + t * _tr), line_width = t)


█ HOW TO USE

Just add it to the cart and expand the window.


█ SETTINGS

Start Equity $ - Amount of money to start with (your equity for trades)
Win Probability % - Percent of your win / loss trades
Risk/Reward Ratio - How many profit you will get for each risk(depends on risk per trade %)
Number of Trades - How many trades will be generated for each variant of random trading
Number of variants(lines) - How many variants will be generated for each trade
Risk per Trade % -risk % of current equity for each trade

If you have any ask it at comments.
Hope it will be useful.

Comments
PineCoders
In the name of all TradingViewers, thank you for your valuable contribution to the community, and congrats!
RedKTrader
Good job here.. thank you for the effort and for sharing. Looking forward for more ..
NoveltyTrade
@RedKTrader, Thank you so much!
KioseffTrading
Nice work
NoveltyTrade
@KioseffTrading, Thank you so much
PineCoders
This publication is now featured in our Editors' Picks: tradingview.com/scripts/editors-picks/
NoveltyTrade
@PineCoders, thanks, I so glad that you appreciated my work!
Vinpir
Thanks, interesting
More