OPEN-SOURCE SCRIPT

⚡ Hidden Impulse

273
# ⚡ Hidden Impulse | Advanced Multi-Timeframe Trading System

## Overview

**Hidden Impulse** is a sophisticated multi-timeframe indicator that combines three powerful technical analysis tools to identify high-probability trading opportunities. The indicator uses Schaff Trend Cycle (STC), Force Index, and EMA filters to generate precise entry signals across multiple timeframes.

This indicator is designed for traders who want to catch momentum shifts early while filtering out false signals using multi-timeframe confirmation.

---

## Core Components

### 1. **Schaff Trend Cycle (STC)**
The STC is an advanced oscillator that combines MACD and Stochastic indicators to identify trend changes faster than traditional oscillators. It oscillates between 0 and 100:
- **Below 25**: Oversold zone (potential bullish reversal)
- **Above 75**: Overbought zone (potential bearish reversal)
- **Crossovers**: Signal potential trend changes

**Key Advantage**: The STC reacts faster to price changes than MACD while producing fewer false signals than Stochastic.

### 2. **Force Index**
Developed by Dr. Alexander Elder, the Force Index measures the strength behind price movements by combining:
- Price change
- Volume

It helps confirm the legitimacy of trends:
- **Positive values**: Bulls are in control
- **Negative values**: Bears are in control
- **Zero-line crosses**: Potential momentum shifts

### 3. **EMA Filter (50-period)**
Acts as a trend filter to ensure trades align with the broader market direction:
- Price above EMA → Look for LONG setups
- Price below EMA → Look for SHORT setups

---

## Three Trading Setups

### 📊 **Setup A: Classic (Most Frequent)**

**Entry Conditions - LONG:**
- Higher timeframe STC > 25 (bullish confirmation)
- Primary timeframe STC crosses above 25
- Force Index positive or crossing above zero
- Price above EMA 50

**Entry Conditions - SHORT:**
- Higher timeframe STC < 75 (bearish confirmation)
- Primary timeframe STC crosses below 75
- Force Index negative or crossing below zero
- Price below EMA 50

**Best for:** Catching trend continuations with multi-timeframe confirmation

---

### 💎 **Setup B: Divergence (Highest Win Rate)**

**Bullish Divergence:**
- Price makes a Lower Low (LL)
- Force Index makes a Higher Low (HL)
- STC in oversold zone (<25)
- Trigger: STC starts rising + Force Index crosses above zero

**Bearish Divergence:**
- Price makes a Higher High (HH)
- Force Index makes a Lower High (LH)
- STC in overbought zone (>75)
- Trigger: STC starts falling + Force Index crosses below zero

**Best for:** Identifying trend reversals with strong risk/reward ratios

---

### ⚡ **Setup C: Bounce (Fast Scalping)**

**LONG Bounce:**
- Price touches EMA 50 from above
- STC in extreme oversold (<15)
- Force Index positive

**SHORT Bounce:**
- Price touches EMA 50 from below
- STC in extreme overbought (>85)
- Force Index negative

**Best for:** Quick mean-reversion trades during strong trends

---

## Key Features

### ✅ **Multi-Timeframe Analysis**
- Choose any timeframe for primary STC calculation
- Select a higher timeframe for trend confirmation
- Visual display of both timeframes on one chart

### ✅ **Smart Signal Filtering**
- Only shows signals when all conditions align
- Filters out weak setups automatically
- Color-coded labels for easy identification

### ✅ **Comprehensive Information Panel**
Real-time dashboard showing:
- Current STC values for both timeframes
- Force Index direction
- Price position relative to EMA
- Active trend direction
- Current signal type

### ✅ **Visual Clarity**
- STC oscillator with oversold/overbought zones
- Force Index histogram (normalized for easy reading)
- Clear level lines at 25, 50, and 75
- Green/red background shading in extreme zones

### ✅ **Flexible Alerts**
- Individual alerts for each setup type (A, B, C)
- Separate LONG and SHORT alerts
- General "ANY LONG" and "ANY SHORT" alerts
- Custom alert messages for quick recognition

---

## Settings & Customization

### **Schaff Trend Cycle**
- **Length 1** (default: 23): Fast MACD period
- **Length 2** (default: 50): Slow MACD period
- **Smoothing** (default: 10): Stochastic smoothing period
- **Lower Level** (default: 25): Oversold threshold
- **Upper Level** (default: 75): Overbought threshold

### **Timeframes**
- **Primary Timeframe**: Leave empty for chart timeframe or select custom
- **Higher Timeframe** (default: 30min): For trend confirmation

### **Force Index**
- **EMA Period** (default: 13): Smoothing period for Force Index

### **EMA Filter**
- **Period** (default: 50): Trend filter period

### **Signal Controls**
- Toggle Setup A (Classic)
- Toggle Setup B (Divergence)
- Toggle Setup C (Bounce)
- Show/hide chart labels
- Show/hide higher timeframe STC

---

## How to Use

### **Step 1: Set Your Timeframes**
Choose your primary trading timeframe (current chart) and a higher timeframe for confirmation. Common combinations:
- 5min + 15min (scalping)
- 15min + 30min (day trading)
- 30min + 1H (swing trading)
- 1H + 4H (position trading)

### **Step 2: Wait for Signal**
The indicator will automatically display labeled signals when conditions align:
- 🟢 Green labels = LONG signals
- 🔴 Red labels = SHORT signals
- A/B/C prefix indicates setup type

### **Step 3: Check Information Panel**
Before entering, verify in the info panel:
- Both STC values confirm the direction
- Force Index aligns with signal
- Price position relative to EMA is correct
- Trend shows green (LONG) or red (SHORT)

### **Step 4: Set Alerts**
Create alerts for your preferred setup types:
- Setup B alerts for highest quality signals
- "ANY LONG/SHORT" for maximum opportunities
- Individual setup alerts for specific strategies

---

## Trading Tips

### **Best Practices:**
1. **Setup B (Divergence)** typically offers the best risk/reward ratios
2. Use **Setup A** for trend continuation in strong markets
3. **Setup C** works best in ranging markets with clear EMA respect
4. Always check higher timeframe confirmation before entering
5. Consider volume spikes when Force Index shows strong readings

### **Risk Management:**
- Place stops below/above recent swing points
- Use ATR-based position sizing
- Take partial profits at STC extreme levels (15/85)
- Avoid trading against higher timeframe STC direction

### **Market Conditions:**
- **Trending markets**: Focus on Setup A
- **Ranging markets**: Focus on Setup C
- **Reversal points**: Focus on Setup B
- **High volatility**: Increase timeframes for stability

---

## Technical Details

**Indicator Type:** Oscillator (separate window)
**Overlay:** No (displays in separate pane below chart)
**Repainting:** No - signals are confirmed on bar close
**Max Bars Back:** 500 (adjustable)
**Compatible with:** All markets (Forex, Stocks, Crypto, Futures)

---

## Credits

This indicator combines:
- **Schaff Trend Cycle** by Doug Schaff
- **Force Index** by Dr. Alexander Elder
- **EMA filtering** and multi-timeframe analysis

Original implementation and trading setups developed for TradingView.

---

## Disclaimer

This indicator is a technical analysis tool and does not guarantee profitable trades. Always use proper risk management, combine with your own analysis, and never risk more than you can afford to lose. Past performance does not indicate future results.

---

## Support & Updates

For questions, suggestions, or bug reports, please use the comments section below. Regular updates and improvements are planned based on user feedback.

**Happy Trading! 📈**

כתב ויתור

המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.