PROTECTED SOURCE SCRIPT
已更新 HMA Trend Scalper [wjdtks255]

🚀 HMA Trend Scalper V1: Ultimate Precision Strategy
1. Overview
This indicator captures immediate market trend reversals based on the high-responsiveness of the HMA (Hull Moving Average). It doesn't just show direction; it simultaneously calculates ATR-based volatility to generate optimal Take Profit (TP) and Stop Loss (SL) lines in real-time.
2. How to Trade
🚀 LONG Entry:
The HMA line must be Green, and the price must be positioned above the line.
Enter when the price breaks above the high of the last 5 bars and the 🚀 LONG label appears.
💀 SHORT Entry:
The HMA line must be Red, and the price must be positioned below the line.
Enter when the price breaks below the low of the last 5 bars and the 💀 SHORT label appears.
🎯 Exit (TP/SL):
Close the position immediately when the price touches the Aqua line (TP) or the Yellow line (SL).
3. Key Features
Smart Cleaning: By enabling the 'Hide Past Records' option, the indicator automatically removes previous labels and lines when a new signal occurs, keeping your chart clean and focused.
Real-time Tracking: TP and SL lines extend candle-by-candle as the price moves, providing superior readability for active trades.
High Visibility: Status panels like 🎯 TP Hit or ⚠️ SL Hit are generated upon trade completion, allowing you to intuitively track your trading results.
4. Recommended Settings
Sensitivity: 15 (Optimized for Scalping).
TP/SL Multipliers: Fully customizable to fit your personal risk-to-reward strategy.
1. Overview
This indicator captures immediate market trend reversals based on the high-responsiveness of the HMA (Hull Moving Average). It doesn't just show direction; it simultaneously calculates ATR-based volatility to generate optimal Take Profit (TP) and Stop Loss (SL) lines in real-time.
2. How to Trade
🚀 LONG Entry:
The HMA line must be Green, and the price must be positioned above the line.
Enter when the price breaks above the high of the last 5 bars and the 🚀 LONG label appears.
💀 SHORT Entry:
The HMA line must be Red, and the price must be positioned below the line.
Enter when the price breaks below the low of the last 5 bars and the 💀 SHORT label appears.
🎯 Exit (TP/SL):
Close the position immediately when the price touches the Aqua line (TP) or the Yellow line (SL).
3. Key Features
Smart Cleaning: By enabling the 'Hide Past Records' option, the indicator automatically removes previous labels and lines when a new signal occurs, keeping your chart clean and focused.
Real-time Tracking: TP and SL lines extend candle-by-candle as the price moves, providing superior readability for active trades.
High Visibility: Status panels like 🎯 TP Hit or ⚠️ SL Hit are generated upon trade completion, allowing you to intuitively track your trading results.
4. Recommended Settings
Sensitivity: 15 (Optimized for Scalping).
TP/SL Multipliers: Fully customizable to fit your personal risk-to-reward strategy.
發行說明
[V1.1 Update Logs]Global Multi-language Support: English has been added to the settings menu, allowing international users to configure the indicator with ease.
Real-time Alert Functionality: Added 4 distinct alert conditions. You can now receive instant notifications not only for Long/Short entry signals but also when the price hits your Target (TP) or Stop Loss (SL) levels.
發行說明
V1.2 Update]Integrated Unified Alerts: Added the alert() function, allowing you to receive all signals (Long, Short, TP, SL) with a single "Any alert() function call" setup.
Customizable Alert Messages: Added new input options to customize all alert text directly in the settings menu without modifying the source code.
Improved User Experience: Resolved previous feedback regarding alert flexibility to ensure a more seamless trading workflow.
發行說明
"Updated script preview image and optimized alert functions."發行說明
"Updated script preview image and optimized alert functions."發行說明
This update focuses on professional risk management and trade stability.Position Sizing: Automatically calculates "Recommended Qty" based on your risk settings.
HTF Trend Filter: Integrated Higher Timeframe analysis to filter out false signals.
Trailing Stop: Added profit protection logic that moves SL to breakeven/profit.
Live Dashboard: Real-time tracking of Win Rate and Cumulative PnL ($).
V5 Optimization: Complete code refactoring to Pine Script v5 for maximum stability.
發行說明
This indicator is a comprehensive scalping solution that leverages the high responsiveness of the HMA (Hull Moving Average) to capture market reversals while performing advanced risk management. This latest update grants users full control over chart readability.[v1.5.2 Key Features]
Customizable Display (New): You can now individually toggle the visibility of Entry Price, Quantity, TP, SL, and Risk/Reward labels in the settings to keep your chart clean.
Intelligent Risk Management: Automatically calculates the optimal 'Recommended Quantity (Rec. Qty)' for every trade based on your account balance and risk percentage (%).
MTF (Multi-Timeframe) Trend Filter: Analyzes trends from higher timeframes and provides instant reliability cues with ✅ (Aligned) or ⚠️ (Caution) icons.
Real-time Performance Dashboard: Live tracking of your Win Rate, Cumulative Profit ($), and total Risk/Reward ratio (R/R) in the top-right corner.
Integrated Alert System: Fully automated alerts are triggered for entry signals, as well as when the price hits your Take Profit (TP) or Stop Loss (SL) levels.
[Recommended Trading Guide]
Configuration: Optimize your chart by selecting only the essential information in the DISPLAY OPTIONS menu.
Entry: Maximize your win rate by entering trades only when the background color aligns with the MTF trend icon (✅).
Execution: Follow a mechanical trading approach based on the Aqua (TP) and Yellow (SL) lines generated by the indicator.
發行說明
## 🚀 HMA Trend Scalper Pro v1.5.2 (Update)This update focuses on user-centric interface improvements, providing full control over chart visibility to ensure a clean trading environment.
✅ New in v1.5.2: Individual Display Toggles
Customizable Labels: You can now individually toggle the visibility of the Entry Price, Recommended Quantity, Take Profit (TP), Stop Loss (SL), and Risk/Reward (R/R) labels in the settings.
Clean Chart Management: Tailor the on-screen information to match your personal trading style and reduce visual clutter.
🔥 Core Features
HMA-Based Precision: Utilizes the high responsiveness of the Hull Moving Average for trend following and reversal detection.
Smart Risk Management: Automatically calculates the 'Recommended Quantity' based on your account equity and risk percentage.
MTF Trend Filter: Built-in Multi-Timeframe analysis ensures you trade with the higher timeframe trend, marked by ✅ or ⚠️ icons.
Real-time Performance Table: Tracks your Win Rate, Total PnL ($), and Total R:R live on the chart.
Integrated Alerts: Fully automated alerts for entries, TP hits, and SL hits.
💡 Quick Start Guide
Open the "DISPLAY OPTIONS" group in settings to choose which labels to show.
For the highest probability, enter trades when the background color matches the MTF trend indicator (✅).
Author's Note
To be honest, I hesitated for a long time before deciding to make this code open-source. Out of all the scripts I’ve developed, I consider this my finest work, and I was naturally concerned about others imitating or copying my logic. However, I’ve decided to share it because I believe in the power of the community. I hope this tool helps you in your trading journey as much as it has helped mine. Please respect the original work.
發行說明
HMA Trend Scalper Pro v1.5.2 [Official Release][Notice regarding Source Code]
To protect the original logic, the source code will remain Protected on TradingView.
If you would like to request the source code for personal or educational use, please send me an email. I will review your request and send the code individually.
📧 Contact for Code Request: wjdtks255@gmail.com
[What's New in v1.5.2]
English Default: No more language barriers! Settings and labels now default to English.
UI Customization: Individually toggle labels (Entry, Qty, TP, SL, R/R) via settings.
No Subtitles Needed: As promised, the language barrier is gone! 😂
發行說明
[English] 🚀 Version 1.5.3 Patch NotesFixed TP Line Alignment: Based on feedback from Parabolic, I have fixed the issue where the TP line did not visually match the price label. Lines are now perfectly synced in real-time.
Enhanced SL Signal Management:
Added a "💀 SL" label that appears precisely when the stop-loss is hit.
Improved the "Hide Past Records" feature: Now, when a new signal is generated, all previous SL labels are automatically cleared for a cleaner chart.
Stability: Fixed syntax errors (e.g., 'then' input error) to ensure smooth operation on all timeframes.
[Korean] 🚀 버전 1.5.3 패치 노트
익절선(TP) 시각적 오류 수정: Parabolic 유저의 제보를 바탕으로, 익절 라인이 가격 라벨 수치와 일치하지 않던 현상을 해결했습니다. 이제 라인과 수치가 실시간으로 완벽히 동기화됩니다.
손절 시그널 및 관리 기능 강화:
손절가 도달 시 즉시 "💀 SL" 해골 마크가 표시되도록 개선했습니다.
'새 신호 시 이전 기록 숨기기' 옵션 최적화: 새로운 진입 신호가 나오면 이전 거래의 손절 마크까지 한꺼번에 삭제되어 차트를 깔끔하게 유지합니다.
안정성 개선: 이전 버전에서 발생하던 구문 오류('then' 관련)를 완전히 수정하여 안정성을 높였습니다.
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由使用,沒有任何限制 — 點擊此處了解更多。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由使用,沒有任何限制 — 點擊此處了解更多。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。