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.開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。