OPEN-SOURCE SCRIPT
Atualizado

Position Size Calculator - Fixed Dollar amount, point value ATR

4 945
Hello Traders,

A very simple code aiming to help you size your position, according to the amount you're accepting to lose AND the current volatility ATR.

Why is it important to use ATR size ? Markets move, and having fixed stoploss values will lead to getting stopped out in case of volatility increase.

You also need to size down your trades in case of more volatily, as more points can be taken or lost.

Hope it helps!

Kudos to Racer9 who inspired me :
Position Size Calculator ATR
Notas de Lançamento
Removed the precision roundup, as some products allow fractional trading.

And it's safer to take round low, than up.
Notas de Lançamento
Added timeframe selection and organized the code a little
Notas de Lançamento
Added average sizing position : middle between user defined stoploss, and ATR stoploss. Provides an in between risk management

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.