Canonius

QTY@RISK

Canonius Aktualisiert   
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
Versionshinweise:
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)
Open-source Skript

Ganz im Spirit von TradingView hat der Autor dieses Skripts es als Open-Source veröffentlicht, damit Trader es besser verstehen und überprüfen können. Herzlichen Glückwunsch an den Autor! Sie können es kostenlos verwenden, aber die Wiederverwendung dieses Codes in einer Veröffentlichung unterliegt den Hausregeln. Sie können es als Favoriten auswählen, um es in einem Chart zu verwenden.

Haftungsausschluss

Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.

Möchten Sie dieses Skript auf einem Chart verwenden?