OPEN-SOURCE SCRIPT

Position calc

업데이트됨
Current script was created to help faster calculate possible gain or loss from a furure trade. Making money management a bit simpler, by changing values you can adjust proper trade leverage and see possible target values
릴리즈 노트
Changed shares precision, updated interface
릴리즈 노트
Added Entry price display and adjusted display layout
릴리즈 노트
emoji updated for position size field
릴리즈 노트
Added volatility indicator, giving credits to HomelessLemon for this part from his script.
Added shares input, in case you want to type specific amount of shares for your position, and adjusted calculations accordingly.
릴리즈 노트
Adjusted stop loss text based on short/long positions
릴리즈 노트
Added stop loss field and created optional section for all optional fields. Tooltip info updated as well
릴리즈 노트
- Converted label to table view, for better alignment options.
- Fixed some decimimal calculation
릴리즈 노트
- Added ATR option, changed some fields

How to use this indicator
By default 10k is hardcoded for future trade position. This field can be ignored if you want to open position based on shares or coins amount. Proper position size will be visible in the table. Same rule applied with risk percent which is set by default to 2% and it shows stop loss values for both long and short position. But if it's needed you can put custom stop loss, target values and risk will be calculated accordingly. Keep in mind what current price is used by default to calculate future trade, you can change this in 'Entry price' field.

I also added ATR indicator which can help you to decide which stop/profit values to put for current timeframe. It also has multiplier and other adjustable fields.

There is also sentiment column which can be hidded to save amount of space.
Table position and size can be changed as well.

Enjoy.


릴리즈 노트
- Changed atr logic.
- Added atr loopback period parameter to see how many times for given period atr was crossed.
릴리즈 노트
Added ATR based stop loss amount which is visible on the label
릴리즈 노트
Added posibility to hide table.
Added another type of stop label, now it's a bit smart and tries to adapt direction based on current price and to which part of the atr band it's closer.

Future plans:
Add smart target label
Adjust visual settings
릴리즈 노트
You can use position size calculator in a 2 ways, either rely on the table and you can adjust all values, either you can adjust atr band and rely on the price labels. Soon i will update the readme with more examples
릴리즈 노트
Added small visual adjustments
릴리즈 노트
now manual position reflected on the label as well
릴리즈 노트
bug fixing
릴리즈 노트
bugfixes and cleanup
릴리즈 노트
label text changes
릴리즈 노트
fixed risk reward label value
릴리즈 노트
Label size change added
릴리즈 노트
Converted to v5
Alert added if price touches atr level
calculatormoneymanagementpositionpositionmanagementpositionsizeriskriskrewardTrend Analysis

오픈 소스 스크립트

진정한 TradingView 정신에 따라, 이 스크립트의 저자는 트레이더들이 이해하고 검증할 수 있도록 오픈 소스로 공개했습니다. 저자에게 박수를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 출판물에서 이 코드를 재사용하는 것은 하우스 룰에 의해 관리됩니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.

차트에 이 스크립트를 사용하시겠습니까?

면책사항