PROTECTED SOURCE SCRIPT

Risk-Reward R:R

62
O/RR (Opportunity / Risk-Reward)

- Direction
→ Shows whether the trade setup is **Long** (buy) or **Short** (sell).
→ Displayed in green (Long) or red (Short) for quick visual recognition.

- Entry Price
→ The planned price where you want to enter the trade.
→ If you set it to **0**, it automatically uses the **current candle close price**.

- Stop Loss (SL)
→ The price level where you want to exit the trade if it goes against you (your max allowed loss).
→ Shown as a red dashed line + price label.
→ Also shown in % distance from entry (e.g. 2.0%).

- Target 1 (TP1)
→ First profit target / partial take-profit level.
→ Shown as a teal solid line + label.
→ Default is 4% (but you can change it).

-Target 2 (TP2)
→ Second (usually main or final) profit target.
→ Shown as a brighter aqua/cyan solid line + label.
→ Default is 8% (but adjustable).

- Risk-Reward Ratio (RR)
Two values are calculated and displayed:
- **RR Ratio T1** → how many units of reward per 1 unit of risk to reach **Target 1**
Example: 1 : 2.0 → you risk $1 to potentially make $2
- **RR Ratio T2** → same calculation but using **Target 2** (usually higher)
Example: 1 : 4.0 → you risk $1 to potentially make $4

- Visual Risk & Reward Zones (optional – toggle with "Show RR Boxes")
→ Red transparent box = **risk zone** (from entry → stop loss)
→ Teal transparent box = **reward zone** (from entry → Target 2)
→ Helps you quickly see visually whether the reward area is significantly larger than the risk area.

- Dashboard / Table (small info panel)
→ Appears in one of the four corners (you choose position)
→ Shows all key numbers at a glance:
• Direction
• Entry price
• Stop loss (% and price)
• RR for TP1
• RR for TP2

In short:
This indicator draws your planned trade levels (Entry, SL, TP1, TP2) directly on the chart, calculates the actual **risk:reward ratios**, and shows everything clearly in lines + labels + a small dashboard — so you can quickly judge "Is this trade worth taking?" purely from a **reward-to-risk** point of view.

Very useful for trade planning, journaling, or sharing setups with others.

免責事項

この情報および投稿は、TradingViewが提供または推奨する金融、投資、トレード、その他のアドバイスや推奨を意図するものではなく、それらを構成するものでもありません。詳細は利用規約をご覧ください。