Canonius

QTY@RISK

Canonius Zaktualizowano   
What it does:
This indicator calculates the amount of shares to take at a predefined risk according to market volatility based on ATR.
This should help novice traders focus more on their trades and strategies instead of spending too much time calculating parameters.

How it works:
You have some configuration parameters
1. Number of candles used to calculate the ATR
2. ATR calculation method (SMA, RMA, EMA, WMA)
3. How much you want to risk in $.
4. Safety factor on ATR, to get a buffer
5. Size of your capital to be able to calculate the maximum amount of shares
6. Shares limit, if you have a certain limit of shares to take

The formula is simple:
Is the RISK/ATR * price > Equity ? then take the Equity/price
otherwise: SHARES = RISK/(ATR * safety_factor)

How to use it:
This indicator is most useful for intraday timeframe. If you trade on 1m, then use it in this timeframe
Informacje o Wersji:
Updated this indicator with following features
- you can show up to 3 different ATRs and it's risk calculations
- added timeframe based calculation to see the ATR of 1m timeframe inside a 15s timeframe and so on
- you always can select one timeframe as CT = current timeframe to see always the ATR of your visible timeframe
- added OTF / Onetime Framing indicator on candle sticks (experimental)
Skrypt open-source

Zgodnie z prawdziwym duchem TradingView, autor tego skryptu opublikował go jako open-source, aby traderzy mogli go zrozumieć i zweryfikować. Brawo dla autora! Możesz używać go za darmo, ale ponowne wykorzystanie tego kodu w publikacji jest regulowane przez Dobre Praktyki. Możesz go oznaczyć jako ulubione, aby użyć go na wykresie.

Wyłączenie odpowiedzialności

Informacje i publikacje przygotowane przez TradingView lub jego użytkowników, prezentowane na tej stronie, nie stanowią rekomendacji ani porad handlowych, inwestycyjnych i finansowych i nie powinny być w ten sposób traktowane ani wykorzystywane. Więcej informacji na ten temat znajdziesz w naszym Regulaminie.

Chcesz użyć tego skryptu na wykresie?