Canonius

QTY@RISK

Canonius Atualizado   
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
Notas de Lançamento:
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)
Script de código aberto

Dentro do verdadeiro espírito TradingView, o autor deste script publicou ele como um script de código aberto, para que os traders possam compreender e checar ele. Um viva ao autor! Você pode usá-lo gratuitamente, mas a reutilização deste código em uma publicação é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.

Quer usar esse script no gráfico?