johannduplessis

Bitmex Position Size Calculator

This script calculates the position size for a specified amount of exposure. Simply specify your wallet size and the amount of your bankroll that you wish to risk in a trade, and this script will calculate the number of contracts.

The aim of this script is to make sure you don't overleverage yourself and consistently trade the required size.

The script will calculate three position sizes:

1. Position size if you want to use a specific EMA as stoploss.
2. Position size if you want to use the ATR multiplied by a specified factor as stoploss.
3. Position size if you want to use the Parabolic SAR as stoploss.

I will update this script as I think of more ways to optimally set a stoploss.
オープンソーススクリプト

TradingViewの精神に則り、このスクリプトの作者は、トレーダーが理解し検証できるようにオープンソースで公開しています。作者に敬意を表します!無料で使用することができますが、このコードを投稿で再利用するには、ハウスルールに準拠する必要があります。 お気に入りに登録してチャート上でご利用頂けます。

免責事項

これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。

チャートでこのスクリプトを利用したいですか?