tRADERlI-

positionsize calculator

tRADERlI- Aktualisiert   
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.
Versionshinweise:
Add a breakeven line. When the price hit this line, you can move your stop loss to your entry price.
Versionshinweise:
Fixed the breakeven line code. The previous one can cause the script not working
Versionshinweise:
Revised the calculation about the actual risk/reward
Versionshinweise:
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.
Versionshinweise:
Added the English version. You can change it to English version by replacing the code I provided.
Versionshinweise:
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.
Versionshinweise:
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.
Versionshinweise:
Added two features.
1. improve the box visual quality.
2. Now you can see the profit you get from the table in real time.
Versionshinweise:
Minor adjust
Versionshinweise:
Changed some translated words.
Versionshinweise:
Change the algorithm of breakeven and added target2 option.
Versionshinweise:
fixed the algorithm
Versionshinweise:
fixed bug
Versionshinweise:
fixed bug
Open-source Skript

Ganz im Spirit von TradingView hat der Autor dieses Skripts es als Open-Source veröffentlicht, damit Trader es besser verstehen und überprüfen können. Herzlichen Glückwunsch an den Autor! Sie können es kostenlos verwenden, aber die Wiederverwendung dieses Codes in einer Veröffentlichung unterliegt den Hausregeln. Sie können es als Favoriten auswählen, um es in einem Chart zu verwenden.

Haftungsausschluss

Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.

Möchten Sie dieses Skript auf einem Chart verwenden?