OPEN-SOURCE SCRIPT

Position Size Calculator - Fixed Dollar amount, point value ATR

已更新
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
版本注释
Removed the precision roundup, as some products allow fractional trading.

And it's safer to take round low, than up.
版本注释
Added timeframe selection and organized the code a little
版本注释
Added average sizing position : middle between user defined stoploss, and ATR stoploss. Provides an in between risk management
assistantAverage True Range (ATR)positionsizing

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?


更多:

免责声明