TradingView
NS91
12 ตุลา 2019 เวลา 14 นาฬิกา 13 นาที

Custom position sizer 

Bitcoin / US Dollar Perpetual Inverse Swap ContractBitMEX

คำอธิบาย

This is a simple script to aid with determining position size.

Inputs are the intended entry price, desired risk (expressed as % of account at risk), account value, and leverage factor.

To use the script;

1. Identify and update the entry price (yellow line on the chart)
2. Update with desired risk
3. Update with account size
4. Adjust the leverage value until the stop loss (red line on chart for long positions, green line for short positions) reaches the desired value/location on the chart

The label will then update to show the required position size for the trade.

เอกสารเผยแพร่

Updated to generate label on current bar only

เอกสารเผยแพร่

Further update to fix the issue of labels forming at every new bar

เอกสารเผยแพร่

Reworked calculation of position size, added individual inputs for stop and target prices, added background colours.
ความคิดเห็น
ffoff
Would love to see this for leveraged trading also <3
เพิ่มเติม