OPEN-SOURCE SCRIPT
Hamazaki-Style Scalping System

Overview: hmzk-Style Scalping System
This system is designed to identify high-probability entries in the 1-minute time frame while strictly filtering out low-efficiency market noise. It focuses on the concept of "Gensen" (Strict Selection)—only trading when volatility and trend alignment provide a clear statistical edge.
1. Visual Filtering (Background Colors)
The system uses background colors to provide instant environmental awareness:
Green Zone (High Probability):
Condition: ATR is above the 1.5-pip threshold and the price is diverging from the Kernel line.
Meaning: High volatility and momentum are present. This is the optimal "War Zone" for scalping.
Gray Zone (Avoidance):
Condition: Price is overlapping with the Kernel line.
Meaning: A "sideways" or "ranging" market. hmzk labels this as the "Death Point" where traders lose money due to spreads and lack of direction.
2. Technical Components
Calix Kernel Regression (h=21, r=34, x_0=55):
Serves as the primary trend filter. When the line is horizontal and price is tangled with it, stay out.
When the line slants and price moves away ("Gator opening"), follow the trend.
ATR Break-Out (1.5 Pips Threshold):
Ensures there is enough "meat" in the move to cover spreads and generate profit.
Fractal Arrows (▲/▼):
Indicates potential turning points or breakout levels. These are most effective when they appear in a Green Zone.
3. Execution & Discipline
The 40-Trade Rule: Limit yourself to roughly 40 high-quality trades per day to avoid overtrading and maintain focus.
0.4-Second Stop Loss: If the price action does not immediately follow your hypothesis, exit within a fraction of a second to minimize "expenses" (losses).
Pattern Over Instinct: Only enter when your predefined "form" or "pattern" appears. hmzk teaches that "waiting is the ultimate skill".
Market Context: Prioritize trades during high-liquidity windows like the London/NY open or specific time transitions (e.g., the 24:00 winter time shift).
This system is designed to identify high-probability entries in the 1-minute time frame while strictly filtering out low-efficiency market noise. It focuses on the concept of "Gensen" (Strict Selection)—only trading when volatility and trend alignment provide a clear statistical edge.
1. Visual Filtering (Background Colors)
The system uses background colors to provide instant environmental awareness:
Green Zone (High Probability):
Condition: ATR is above the 1.5-pip threshold and the price is diverging from the Kernel line.
Meaning: High volatility and momentum are present. This is the optimal "War Zone" for scalping.
Gray Zone (Avoidance):
Condition: Price is overlapping with the Kernel line.
Meaning: A "sideways" or "ranging" market. hmzk labels this as the "Death Point" where traders lose money due to spreads and lack of direction.
2. Technical Components
Calix Kernel Regression (h=21, r=34, x_0=55):
Serves as the primary trend filter. When the line is horizontal and price is tangled with it, stay out.
When the line slants and price moves away ("Gator opening"), follow the trend.
ATR Break-Out (1.5 Pips Threshold):
Ensures there is enough "meat" in the move to cover spreads and generate profit.
Fractal Arrows (▲/▼):
Indicates potential turning points or breakout levels. These are most effective when they appear in a Green Zone.
3. Execution & Discipline
The 40-Trade Rule: Limit yourself to roughly 40 high-quality trades per day to avoid overtrading and maintain focus.
0.4-Second Stop Loss: If the price action does not immediately follow your hypothesis, exit within a fraction of a second to minimize "expenses" (losses).
Pattern Over Instinct: Only enter when your predefined "form" or "pattern" appears. hmzk teaches that "waiting is the ultimate skill".
Market Context: Prioritize trades during high-liquidity windows like the London/NY open or specific time transitions (e.g., the 24:00 winter time shift).
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.