OPEN-SOURCE SCRIPT

Position Size for ATR Trailing Stop

已更新
This indicator will calculate your position size, short or long, based on the ATR Trailing Stop indicator of mine, and are needed to be used together. General risk management suggests risking just 1 percent of your equity and using low leverage.
版本注释
Changed the Equity to be Float with no minimum value so you can set it to XBT Satoshi value.
版本注释
This new version allows you to set Manual Entries rather than the current price in case you want to set Limit Orders, and Manual Stops in case you want to override the ATR Trailing Stop and set your own instead. It thus becomes a general purpose Position Size Calculator.
版本注释
The original version was designed with XBTUSD on BitMex in mind, this new premium version deals with BTC pairs on Mex, or equity that is valued in USD(T) like Bitfinex. It also includes fees within the risk percentage, and you can set what percentage for fees based on whether you are using a market order and paying the Taker fee for entry, or a limit order and receiving the Maker rebate, though I suggest assuming a Stop Market gets hit for dealing with worst case scenario on total risk.
版本注释
Added ETHUSD on BitMex position sizing, which has an unusual contract size.
ATRpositionpositionsizeSIZEstopsVolatility

开源脚本

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

想在图表上使用此脚本?

免责声明