iCryptoScalper

iRisk Manager

Hi everyone!
I would like to present my second indicator which has been incredibly useful to help me managing the risk when doing many kind of trades.
This tool can be used by anyone, on every timeframe and every asset and represents, in my opinion, one of the most effective methods for graphically managing multiple entries and keeping track of the most important quantities that come into play when entering a position:
- Entry Price.
- Take Profit Price.
- Stop Loss Price.
- Average Entry Price (in case we place additional orders to average the position).
- RR ratio.
- Margin effectively used.

HOW TO USE IT
In order to use this indicator properly, you need to
1) insert the amount of money you would like to employ for the position your are planning, in particular your deposit and the percentage you intend to use.
2) how many positions (initial entry included) you would like to enter.
3) which kind of trade you would like to pursue (long/short).
4) how far the stop loss and take profit should be from the original entry price.
5) how far any additional entry must be placed from the original entry price in order to average the position.

CALCULATIONS
Once everything is set up, the indicator will split the margin you want to employ for the trade into different smaller amounts for each additional entry (original entry included).
The amounts will be computed by using some recursive formulas and will be proposed when an additional entry order is filled. Notice that the number of filled additional entries must be inserted by hand so that the indicator will propose how much margin you should employ and at what price you should place the next order.

LINES
- Yellow, it represents the initial price we planned to enter.
- Green solid, it represents the take profit level.
- Red, it represents the stop loss level.
- Olive dotted, it represents the next entry suggested by the indicator.
- Blue, it represents the cumulative average price of the position.

EXAMPLE
Suppose we want to enter a Long position on BTC at 30k and place a TP at 32k and SL at 28k. Suppose also that we plan to enter 3 positions with variations respectively of 500$ and we want to invest 1% of our deposit, e.g. 10k $, so that the total margin we are going to use will be 100$.
With this set up, the indicator will tell us to enter a long position with the following procedures:

x_1 = 18,18$ at p_1 = 30 000 $
x_2 = 27,27$ at p_2 = 29 500 $
x_3 = 54,55$ at p_3 = 29 000 $

The indicator will also automatically keep track of the total margin employed according to each filled entry, the cumulative average entry price of the ongoing trade and its associated RR ratio.
I hope you will enjoy it!

Release Notes:
Minor fixes and table shortening for a better visualization of data
Release Notes:
Labels update:
- Profit and net Loss are computed from leveraged margin whereas percentages are shown with respect to the unleveraged one.
Release Notes:
Calculation improvements

Protected script
This script is published closed-source but you may use it freely. You can favorite it to use it on a chart. You cannot view or modify its source code.
Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?