OPEN-SOURCE SCRIPT
Percentage Price Levels

Percentage Price Levels displays dynamic price levels based on percentage gains and losses from the current price. Instantly visualize where price would be at ±2%, ±4%, ±6%, ±8%, ±10%(and beyond) — perfect for setting profit targets, stop-losses, and understanding potential price movement.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 WHAT IT DOES
• Draws horizontal lines at percentage-based price levels above and below current price
• Green lines = potential profit targets (positive %)
• Red lines = potential stop-loss zones (negative %)
• Yellow line = current price reference
• Summary table shows all levels in a clean, easy-to-read format
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙️ FEATURES
• Up to 8 positive and 8 negative percentage levels
• Fully customizable percentages (set your own values)
• Toggle each level on/off individually
• Adjustable font size (Tiny to Huge)
• Multiple line styles (Solid, Dashed, Dotted)
• Movable summary table (any corner)
• Base price options: Close, Open, High, Low, HL2, OHLC4
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📈 HOW TO USE
1. Add the indicator to your chart
2. Default shows ±2%, ±4%, ±6%, ±8%, ±10% levels
3. Open Settings to customize:
• Enable/disable specific levels
• Change percentage values
• Adjust colors and font size
• Move table position
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💡 USE CASES
• Day Trading — Quick intraday profit targets
• Swing Trading — Visualize multi-day price zones
• Risk Management — Set stop-losses based on % risk tolerance
• Options Trading — Find strike prices relative to spot
• Position Sizing — See exact dollar values at each level
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔧 DEFAULT SETTINGS
Positive: +2%, +4%, +6%, +8%, +10% (3 extra slots available)
Negative: -2%, -4%, -6%, -8%, -10% (3 extra slots available)
Font Size: Normal
Line Style: Dashed
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
If you find this useful, please leave a like! Feedback and suggestions welcome in the comments.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 WHAT IT DOES
• Draws horizontal lines at percentage-based price levels above and below current price
• Green lines = potential profit targets (positive %)
• Red lines = potential stop-loss zones (negative %)
• Yellow line = current price reference
• Summary table shows all levels in a clean, easy-to-read format
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙️ FEATURES
• Up to 8 positive and 8 negative percentage levels
• Fully customizable percentages (set your own values)
• Toggle each level on/off individually
• Adjustable font size (Tiny to Huge)
• Multiple line styles (Solid, Dashed, Dotted)
• Movable summary table (any corner)
• Base price options: Close, Open, High, Low, HL2, OHLC4
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📈 HOW TO USE
1. Add the indicator to your chart
2. Default shows ±2%, ±4%, ±6%, ±8%, ±10% levels
3. Open Settings to customize:
• Enable/disable specific levels
• Change percentage values
• Adjust colors and font size
• Move table position
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💡 USE CASES
• Day Trading — Quick intraday profit targets
• Swing Trading — Visualize multi-day price zones
• Risk Management — Set stop-losses based on % risk tolerance
• Options Trading — Find strike prices relative to spot
• Position Sizing — See exact dollar values at each level
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔧 DEFAULT SETTINGS
Positive: +2%, +4%, +6%, +8%, +10% (3 extra slots available)
Negative: -2%, -4%, -6%, -8%, -10% (3 extra slots available)
Font Size: Normal
Line Style: Dashed
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
If you find this useful, please leave a like! Feedback and suggestions welcome in the comments.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.