trialanderror

Position Size Calculator w/ profit targets

This script helps the user visualize profit targets and calculates position size based on the input risk amount.

Input variables:
- Risk amount
- Entry price
- Stop loss amount
- Profit target amount

Calculated variables:
- Profit loss ratio
- Position size
- Postion cost

Plotted variables:
- shaded: entry price --> price target (green filled)
- shaded: entry price --> stop loss target (red filled)
- 1:1 p/l ratio --> yellow line
- 2:1, 3:1, 4:1 p/l ratios --> green lines

Overlay text can be toggled on/off in parameter input section

סקריפט קוד פתוח

ברוח TradingView אמיתית, מחבר הסקריפט הזה פרסם אותו בקוד פתוח, כך שסוחרים יכולים להבין ולאמת אותו. כל הכבוד למחבר! אתה יכול להשתמש בו בחינם, אך שימוש חוזר בקוד זה בפרסום כפוף לכללי הבית. אתה יכול להכניס אותו למועדפים כדי להשתמש בו בגרף.

כתב ויתור

המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.

רוצה להשתמש בסקריפ זה בגרף?