OPEN-SOURCE SCRIPT

positionsize calculator

업데이트됨
How to use:
Use the cursor to select the time, entry, stop loss, and target position. Enter the trading fee to calculate the reward/risk ratio and the actual reward/risk ratio (including the commission) according to the price you selected.

Known error:
Settings of this script can't be saved as default might due to the interactive price selection function. If anyone knows how to fix it, please let me know.

feature:
The visual Risk/Reward box, have three price labels on the right hand of the box.
Calculate the actual reward/risk ratio based on the trading fee.

The visual Risk/Reward box will extend automatically.
https://www.tradingview.com/x/y44RXuZZ/
https://www.tradingview.com/x/jvLOvAFv/
릴리즈 노트
Add a breakeven line. When the price hit this line, you can move your stop loss to your entry price.
릴리즈 노트
Fixed the breakeven line code. The previous one can cause the script not working
릴리즈 노트
Revised the calculation about the actual risk/reward
릴리즈 노트
Added alert option. Note that you have to open new alerts every time you enter a new trade and close them after the trade is finished.
Added the risk/reward lost percent function based on the trading fee.
릴리즈 노트
Added the English version. You can change it to English version by replacing the code I provided.
릴리즈 노트
Fixed Algorithm of calculating position size and actual reward/risk again. Now your position size will be calculated based on the risk per trade, taker and maker fee.
릴리즈 노트
Added a couple of simple calculations that could help you determine how much Leverage should use and the lowest win rate required. All the calculation includes the trading fee.
Added Break even label.
릴리즈 노트
Added two features.
1. improve the box visual quality.
2. Now you can see the profit you get from the table in real time.
릴리즈 노트
Minor adjust
릴리즈 노트
Changed some translated words.
릴리즈 노트
Change the algorithm of breakeven and added target2 option.
릴리즈 노트
fixed the algorithm
릴리즈 노트
fixed bug
릴리즈 노트
fixed bug
Pine utilitiesPortfolio managementsentiment

오픈 소스 스크립트

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

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

면책사항