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.
Skript med en öppen källkod

I sann TradingView-anda har författaren publicerat detta skript med öppen källkod så att andra handlare kan förstå och verifiera det. Hatten av för författaren! Du kan använda det gratis men återanvändning av den här koden i en publikation regleras av våra ordningsregler. Du kan ange den som favorit för att använda den i ett diagram.

Frånsägelse av ansvar

Informationen och publikationerna är inte avsedda att vara, och utgör inte heller finansiella, investerings-, handels- eller andra typer av råd eller rekommendationer som tillhandahålls eller stöds av TradingView. Läs mer i Användarvillkoren.

Vill du använda det här skriptet i ett diagram?