5. Institutional Impulse + Muzzle Mode
One of the defining mechanisms of the system. It detects institutional impulses (sudden, violent moves generated by large capital) and immediately changes the system’s behaviour.
Impulse Detection
On every new bar on Inp_Impulse_TF (default M1):
- Calculates average range and average volume over the last
Inp_Impulse_AvgPeriod(20) candles - Fetches ATR
- Calculates
velocity = |current_close - prev_close| / prev_close - Impulse detected if candle range >
Inp_Impulse_Min_Range_Points(50 pts) AND at least ONE of the following is true:
velocity > Inp_Impulse_Velocity(0.5% price change)current_range > RangeMult × avg_range(2× average)current_range > ATRMult × ATR(2× ATR)current_volume > VolMult × avg_volume(1.5× average volume)
Log: "Institutional Impulse Detected! Activating MUZZLE MODE for 15 mins."
Muzzle Mode — How the System’s Characteristics Change
After an impulse is detected, the system enters Muzzle Mode:
| Parameter | Normal Mode | During Impulse (Muzzle Mode) |
|---|---|---|
| Min. Smart DI candle body | 2 pts | 150 pts |
| CCI block level | Inp_Block_CCI_Level (350) | Inp_Muzzle_CCI_Block_Level (130) |
| SELL signals | Allowed | Blocked if Channel_Down = 0 |
| Price channel | Standard Dynamic Channel | Muzzle Box (anchored at impulse price) |
Key point: When Inp_Muzzle_Channel_Points_Down = 0, the system operates exclusively as BUY ONLY during an impulse — selling is completely blocked. This allows the system to ride the momentum after a breakout move.
Dynamic Muzzle Channel
At the moment an impulse is detected, the system saves the current BID price (g_Muzzle_BasePrice). All subsequent signals must fall within:
- Upper:
base_price + Muzzle_Channel_Points_Up - Lower:
base_price - Muzzle_Channel_Points_Down(or-DBL_MAXwhen Down = 0)
Muzzle Mode Deactivation
Muzzle Mode expires only when ALL of the following conditions are met:
- Cooldown elapsed:
(current_time - impulse_time) > Impulse_Cooldown_Mins × 60 - Market has calmed:
current_range ≤ 1.5 × avg_rangeANDcurrent_volume ≤ 1.5 × avg_vol - A local peak or trough has formed: the previous candle has a higher high (peak) or lower low (trough) than its neighbours
Log: "Market calmed down. MUZZLE MODE deactivated."
