GS Institutional Trend (Vol Target)hedge fund strategy used on a 4 hour chart with a purple bar warning to signal dangerous volitilaty. this strategy will lose money in choppy sideways markets.
Chỉ báo và chiến lược
TDZZ ETH 15min Vault: No-Loss Martin Gale StrategyStrategy Overview
The ETH 15min Vault is an enhanced, high-frequency Martin Gale strategy designed specifically for Ethereum on the 15-minute chart. Its core innovation lies in integrating pre-calculated margin management with a multi-layer exit system, transforming the traditional high-risk Martingale approach into a controlled, calculated growth engine. The strategy aims for sustainable compound growth of small capitals (e.g., 1000U) in ranging markets while systematically eliminating the risk of account blow-up.
Core Concept: The "No-Loss" Guarantee
Unlike conventional Martingale systems that risk infinite losses, this strategy pre-calculates and logically reserves the total margin required for all potential layers (configurable, e.g., up to 30) at the initial entry. This ensures sufficient capital is always available for the next averaging order, preventing liquidation due to margin shortage. Combined with intelligent, proactive take-profit and safety-net closures, it creates a theoretically "No-Loss" framework for the Martin Gale method.
Key Mechanisms
1、Smart Position Averaging:
Averaging distances expand geometrically (configurable multiplier), preventing rapid layer depletion during sharp drops.
Averaging order size increases progressively (configurable multiplier) to effectively lower the break-even point.
2、Dynamic Multi-Stage Exit Logic:
Rebound TP: Partially closes a position when price rebounds a certain percentage from its entry, locking in profits early during oscillations.
Cycle TP: Closes the remaining position upon reaching the primary profit target, which is dynamically recalculated after each average to reflect the new aggregate cost.
Safety-Net Close (Defense Mode): Activates after a defined number of averages. Triggers a full exit if price: a) rallies significantly from the lowest point, b) retraces from a recent high, or c) fails to make a new low within a set time. This forms the final protective layer for capital preservation.
Main Advantages
✅ True Risk Isolation: Transforms Martingale's "unlimited risk" into a "defined and manageable drawdown" via pre-calculated margins and safety-net exits.
✅ Active Profit Capture: The "Rebound TP" mechanism increases win rate and capital efficiency in ranging markets.
✅ Adaptive to Volatility: Adjustable parameters for averaging distance and size allow tuning for different market conditions.
✅ High-Frequency Compounding Potential: Operates on the 15-min timeframe, offering numerous opportunities to complete profit cycles in consolidating phases.
Configuration & Parameters
Key adjustable inputs include: Initial Capital %, Averaging Distance % and Multiplier, Order Size Multiplier, Max Layers, Take-Profit %, Rebound Close %, and all Defense Mode thresholds.
This strategy significantly reduces liquidation risk through its design but does not eliminate trading risk. Substantial drawdowns can occur during strong, sustained trends. "No-Loss" refers to prevention of margin-call liquidation, not guaranteed profitability. Always conduct thorough backtesting and forward testing in a simulated environment before committing real capital. Past performance is not indicative of future results. Trade responsibly.
MACD Signals - TradeMaster (Trend & Momentum Filter) 中文簡介
設計理念: 此指標是為了將經典的 MACD 策略「可視化」並「優化」而設計。傳統 MACD 在盤整震盪期容易出現頻繁的黃金交叉(假訊號),導致虧損。本腳本透過整合 OBV (能量潮) 與 TTM Squeeze (擠壓動能) 作為趨勢濾網,只有在動能與量能皆配合的情況下,才會標示為「✅ 有效金叉」。
核心功能與邏輯:
主圖純淨模式 (Clean Overlay):不顯示雜亂的 MACD 線圖,直接在 K 棒上下方標示買賣訊號,保持圖表乾淨。
MAM 濾網機制 (Smart Filtering):
OBV 趨勢:確認資金流向是否支持價格上漲。
動能擠壓 (Squeeze):結合 Bollinger Bands 與 Keltner Channels,避開無方向的盤整區間。
訊號分類:
✅ 有效金叉 (Valid Buy):MACD 金叉 + 通過 MAM 濾網偵測(高勝率 setup)。
❌ 無效金叉 (Fake Buy):MACD 金叉,但動能不足或處於盤整(建議觀望)。
🔻 死叉出場 (Sell):MACD 死叉,提示波段獲利了結或停損。
如何使用:
當出現 綠色標籤 (✅有效) 時,代表趨勢與動能共振,為潛在進場點。
當出現 灰色標籤 (❌無效) 時,代表僅是指標交叉但缺乏動能,建議忽略或謹慎操作。
當出現 紅色標籤 (🔻出場) 時,代表動能轉弱,建議離場。
English Description
Concept: This script is designed to visualize and optimize the classic MACD strategy directly on your main chart. Traditional MACD often generates false signals during consolidation periods. This indicator integrates OBV (On-Balance Volume) and Squeeze Momentum as a trend filter. It only marks a signal as a "✅ Valid Buy" when both momentum and volume confirm the trend.
Key Features & Logic:
Clean Main Chart Overlay: Instead of occupying a bottom pane with lines, this script plots actionable signals directly on the candlesticks, keeping your workspace clean.
MAM Filter Mechanism:
OBV Trend: Confirms if volume flow supports the price action.
Momentum Squeeze: Combines Bollinger Bands and Keltner Channels to filter out choppy, sideways markets.
Signal Classification:
✅ Valid Buy: MACD Golden Cross + Confirmed by MAM Filter (High probability setup).
❌ Fake Buy: MACD Golden Cross without momentum confirmation (Weak signal, usually ignored).
🔻 Sell Signal: MACD Death Cross, suggesting an exit.
How to Use:
Green Label (✅ Valid): Trend and momentum are in resonance. Potential entry.
Gray Label (❌ Fake): Crossover occurred but failed the filter test. Caution advised.
Red Label (🔻 Exit): Momentum is weakening. Suggested exit point.
免責聲明 (Disclaimer)
免責聲明
本腳本僅供教育與技術分析研究使用,不構成任何形式的金融投資建議。
過去的績效不代表未來的表現。
所有的交易訊號僅供參考,使用者應結合自身的風險管理策略(如停損設置)。
作者不對使用此腳本造成的任何盈虧負責。
Disclaimer
This script is for educational and technical analysis purposes only and does not constitute financial advice.
Past performance is not indicative of future results.
All signals are for reference only. Users should always apply their own risk management strategies (e.g., Stop Loss).
The author is not responsible for any trading losses incurred from using this script.
Smart Money Swing Strategy [All-in-One]# Pro Swing Trader 📈
A comprehensive swing trading indicator for TradingView that combines multiple confluence factors to identify high-probability trade setups with built-in risk management.
## 🎯 Overview
This indicator is designed for swing traders who want to catch momentum pullbacks with precision entries. It filters trades using multiple timeframe analysis, RSI zones, volume confirmation, and EMA trends to deliver only the highest-confidence setups.
### Key Features
✅ **Multi-Timeframe Confluence** - Confirms trades with higher timeframe analysis (Daily, 4H, etc.)
✅ **Smart Entry Signals** - Detects pullback-to-EMA reclaim patterns
✅ **Automatic Risk Management** - Calculates stops, targets, and R-multiples
✅ **Dynamic Stop Loss** - ATR trailing stop + break-even automation
✅ **Real-Time HUD Dashboard** - Live confluence scoring and trade metrics
✅ **Comprehensive Alerts** - Entry, TP1, TP2, and stop-loss notifications
✅ **Visual Trade Levels** - Clear on-chart stop-loss and take-profit lines
---
## 📊 How It Works
### Signal Logic
The indicator identifies two types of signals:
**Base Signals** (Small triangles):
- Price pulls back between Fast EMA and Slow EMA
- RSI is in the swing zone (40-60 by default)
- Price reclaims the Fast EMA with momentum
- Optional: Volume spike confirmation
**High-Confidence Signals** (Large triangles):
- All base signal criteria met
- Higher timeframe confirms the trend direction
- HTF RSI and slope alignment
- These are your primary trade signals
### Entry Conditions
#### Long Entry (🟢 HC L)
1. Fast EMA > Slow EMA (uptrend)
2. Previous candle closed between the EMAs (pullback)
3. Current candle crosses above and closes above Fast EMA (reclaim)
4. RSI between 40-60 (swing zone)
5. **HTF Confirmation**: Daily/4H price above EMA50, RSI > 50, positive slope
6. Optional: Volume > 1.5x 20-bar average
#### Short Entry (🔻 HC S)
1. Fast EMA < Slow EMA (downtrend)
2. Previous candle closed between the EMAs (pullback)
3. Current candle crosses below and closes below Fast EMA (reclaim)
4. RSI between 40-60 (swing zone)
5. **HTF Confirmation**: Daily/4H price below EMA50, RSI < 50, negative slope
6. Optional: Volume > 1.5x 20-bar average
---
## 🎛️ Settings & Parameters
### Trend Parameters
- **Fast EMA**: Default 20 - Quick trend detection
- **Slow EMA**: Default 50 - Major trend filter
- **Swing Lookback**: Default 10 - Bars to find swing high/low for stops
### RSI Settings
- **RSI Length**: Default 14
- **RSI Min**: Default 40 - Lower bound of swing zone
- **RSI Max**: Default 60 - Upper bound of swing zone
### Risk Management
- **Final TP Risk-Reward (R)**: Default 2.0 - Main profit target multiplier
- **TP1 R Multiple**: Default 1.0 - Partial profit target
- **Use Break-even Stop**: Move stop to entry after 1R profit
- **ATR Trailing Stop**: Dynamic stop based on ATR(14) x 2.0
### Filters
- **Require Volume Spike**: Optional volume confirmation filter
- **Use Higher TF Confirmation**: Enable multi-timeframe analysis
- **Higher TF**: Default "D" (Daily) - Can use 240 (4H), W (Weekly), etc.
---
## 📈 Dashboard (HUD)
The top-center dashboard shows real-time confluence status:
| Column | Meaning |
|--------|---------|
| **Trend** | Current trend direction (UP/DOWN/Flat) |
| **HTF** | Higher timeframe alignment (Bull/Bear/Flat) |
| **RSI Zone** | Is RSI in swing zone? (YES/NO) |
| **Volume** | Volume spike detected? (YES/NO) |
| **Signal** | Active signal type (HC LONG/HC SHORT/None) |
| **R Risk** | Current profit in R-multiples |
| **Stop** | Current stop-loss level |
| **TP1** | Partial take-profit status |
| **TP2** | Final take-profit status |
| **Conf %** | Overall confluence score (0-100%) |
### Confidence Score Breakdown
- **20%** - Trend present (up or down)
- **30%** - HTF confirmation aligned (or 15% if HTF off)
- **20%** - RSI in swing zone
- **10%** - Volume spike
- **20%** - High-confidence signal triggered
**Scoring**:
- 🟢 70%+ = High probability setup
- 🟡 40-69% = Moderate setup
- 🔴 <40% = Low probability
---
## 🔔 Alert Setup
The indicator includes 8 alert conditions:
### Entry Alerts
- **HC LONG ENTRY** - High-confidence long signal triggered
- **HC SHORT ENTRY** - High-confidence short signal triggered
### Profit Target Alerts
- **LONG TP1 Reached** - Hit partial profit (1R by default)
- **LONG Final TP Reached** - Hit final target (2R by default)
- **SHORT TP1 Reached** - Hit partial profit
- **SHORT Final TP Reached** - Hit final target
### Stop Loss Alerts
- **LONG Stop/BE/Trail Level Hit** - Long position stopped out
- **SHORT Stop/BE/Trail Level Hit** - Short position stopped out
### How to Set Up Alerts
1. Click "Add Alert" on TradingView
2. Choose this indicator from the dropdown
3. Select desired alert condition
4. Set alert to trigger "Once Per Bar Close"
5. Customize notification method (popup/email/webhook)
---
## 📋 Trading Workflow
### 1. Wait for High-Confidence Signal
Look for the large **HC L** or **HC S** triangle on chart close.
### 2. Verify Confluence
Check the HUD dashboard:
- Confidence score should be 70%+
- HTF status should show alignment
- RSI Zone should be "YES"
### 3. Entry
Enter the trade at market or on next candle open.
### 4. Set Stop Loss
Use the **initial stop** shown in the HUD (red line on chart):
- **Longs**: Below the swing low (10-bar lookback)
- **Shorts**: Above the swing high (10-bar lookback)
### 5. Set Take Profits
- **TP1**: 1R (50% position close) - Yellow line
- **TP2**: 2R (remaining 50% close) - Green line
### 6. Manage the Trade
- Monitor the **R Risk** column to track profit
- Stop moves to break-even automatically after 1R (if enabled)
- ATR trailing stop engages dynamically (red line adjusts)
- Exit if price hits dynamic stop level
---
## 🎨 Visual Guide
### On-Chart Elements
**Triangles**:
- Small lime/red triangles = Base signals (lower confidence)
- Large lime/red triangles = High-confidence signals (trade these!)
**Lines**:
- 🟢 Green line = Fast EMA (20)
- 🟠 Orange line = Slow EMA (50)
- 🔴 Red line = Dynamic stop-loss level
- 🟡 Yellow line = TP1 level
- 🟢 Green line = TP2 (final target)
**HUD Colors**:
- 🟢 Green = Bullish/Active/Good
- 🔴 Red = Bearish/Inactive/Warning
- 🟡 Yellow = Neutral/Caution
- 🔵 Blue = Informational
- ⚫ Gray = Disabled/Off
---
## 💡 Strategy Tips
### Best Practices
1. **Only trade High-Confidence signals** - Ignore base signals unless very experienced
2. **Respect the HTF** - Don't fight the higher timeframe trend
3. **Use proper position sizing** - Risk 1-2% of account per trade
4. **Partial profits work** - Take 50% off at TP1, let rest run to TP2
5. **Let winners run** - Trailing stop helps capture extended moves
6. **Be patient** - Quality over quantity; wait for 70%+ confluence
### Optimal Timeframes
- **Primary Chart**: 1H, 4H, Daily (swing trading)
- **HTF Setting**: One level higher than your chart
- If trading 1H → Set HTF to 4H or D
- If trading 4H → Set HTF to D or W
- If trading Daily → Set HTF to W
### Market Conditions
**Best Performance**:
- Trending markets with healthy pullbacks
- Clear support/resistance zones
- Moderate volatility
**Avoid Trading**:
- Extremely choppy/sideways markets
- Major news events (unless experienced)
- Low confidence scores (<40%)
---
## ⚙️ Advanced Customization
### Aggressive Setup (More Signals)
```
Fast EMA: 12
Slow EMA: 26
RSI Min: 35
RSI Max: 65
Use HTF Confirmation: OFF
Require Volume Spike: OFF
```
### Conservative Setup (Fewer, Higher Quality)
```
Fast EMA: 20
Slow EMA: 50
RSI Min: 45
RSI Max: 55
Use HTF Confirmation: ON
Require Volume Spike: ON
Final TP R: 3.0
```
### Scalping Adaptation (Not Recommended)
```
Fast EMA: 9
Slow EMA: 21
Swing Lookback: 5
TP1 R: 0.5
Final TP R: 1.0
```
---
## ⚠️ Risk Disclaimer
**IMPORTANT**: This indicator is for educational and informational purposes only.
- Past performance does not guarantee future results
- No indicator is 100% accurate
- Always use proper risk management
- Never risk more than you can afford to lose
- Consider using a demo account first
- Seek professional financial advice if needed
Trading involves substantial risk of loss and is not suitable for all investors.
---
## 🔧 Troubleshooting
### "No signals appearing"
- Check if HTF confirmation is enabled but market isn't aligned
- Verify RSI zone isn't too restrictive
- Ensure volume spike isn't filtering out all setups
- Try adjusting EMA lengths for your asset
### "Too many false signals"
- Enable HTF confirmation
- Tighten RSI zone (e.g., 45-55)
- Enable volume spike requirement
- Only trade 70%+ confidence setups
### "Stops too tight/wide"
- Adjust Swing Lookback length
- Modify ATR multiplier for trailing stop
- Consider the asset's volatility
### "Alerts not working"
- Ensure alert is set to "Once Per Bar Close"
- Check indicator is added to the chart
- Verify TradingView notification settings
---
## 📚 Version History
**v1.0 (Current)**
- Initial release
- Multi-timeframe confluence system
- Dynamic risk management
- Real-time HUD dashboard
- Comprehensive alert system
- ATR trailing stops
- Break-even automation
---
## 🤝 Support & Feedback
If you find this indicator helpful:
- ⭐ Star the script on TradingView
- 💬 Share your results and feedback
- 🐛 Report bugs or suggest improvements
- 📖 Share with other traders
---
## 📖 Additional Resources
### Recommended Reading
- "The New Trading for a Living" by Dr. Alexander Elder
- "Swing Trading Using Multiple Timeframes" - Educational articles
- Risk management and position sizing guides
### Learn More About
- Multiple timeframe analysis
- EMA crossover strategies
- RSI divergence and zones
- ATR-based stops
- R-multiple profit management
---
## 📝 License
This indicator is provided as-is for personal trading use.
**Usage Rights**:
- ✅ Use for personal trading
- ✅ Modify for personal use
- ❌ Resell or redistribute
- ❌ Claim as original work
---
## 🎓 Quick Start Checklist
- Add indicator to TradingView chart
- Set your preferred timeframe (1H/4H/Daily)
- Configure HTF setting (one level higher)
- Review default parameters
- Set up entry alerts (HC LONG/SHORT)
- Set up TP and SL alerts
- Test on historical data
- Paper trade first
- Start with small position sizes
- Track your results
---
**Happy Trading! 📊💰**
*Remember: Discipline, patience, and risk management are the keys to long-term success.*
Wisenode QuantThis indicator uses a combination of DMI, ADX and ATR% to give quick easy visual representation of trend strength, trend direction and price action volatility.
This helps to quickly visually identify market environment for trade execution using quantifiable data.
Direction
Red LED = Bearish Market conditions
Green LED = Bullish Market conditions
Trend (Strength)
Red = 0-20 on the ADX (Ranging)
Green = 20-30 on the ADX (Emerging)
Green = 30-50 on the ADX (Momentum)
Volatility
Uses ATR% on a dynamic scale from top to bottom is low to high intensity. Colour will transition from green to red as the bar moves higher.
Trade Execution
Integration of a custom Murray math values to build entry, stop loss protection and take profit zones.
This is still a working progress to fine tune default settings but can be used for market environment identification for any sort of discretionary trading
Hitjo Swing IndicatorTL;DR – READ THIS FIRST
This is a TWO-INDICATOR SYSTEM. Both indicators must be used together.
Hitjo Zones TF = WHERE you are allowed to trade
Hitjo Swing Trend = WHEN you are allowed to trade
Rules:
Only take BUY signals from Hitjo Swing Trend inside DEMAND zones from Hitjo Zones TF
Only take SELL signals from Hitjo Swing Trend inside SUPPLY zones from Hitjo Zones TF
Ignore signals when structure and timing do not align
Recommended setup: 1H chart with 4H or Daily zones.
Hitjo Swing Trading System
(Hitjo Zones TF + Hitjo Swing Trend)
This TradingView system combines higher-timeframe Supply & Demand zones with momentum-based swing entries to create a clean, rule-based swing trading framework.
It is designed for traders who want fewer but higher-quality trades, clear market structure, objective entry timing, and reduced overtrading.
Required Indicators
Hitjo Zones TF (Structure)
Automatically draws Supply & Demand zones using a selectable higher timeframe.
Displays SUPPLY and DEMAND labels when price enters key zones.
Defines where trades are allowed.
Do not trade based on zones alone.
Hitjo Swing Trend (Timing)
Displays BUY and SELL labels using EMA structure, momentum, and higher-timeframe trend.
Plots ATR-based stop loss and target levels.
Defines when to enter trades.
Do not take BUY or SELL signals outside zones.
Core Concept
Hitjo Zones TF tells you WHERE to trade.
Hitjo Swing Trend tells you WHEN to trade.
If both are not aligned, there is no trade.
Trading Rules
Long Trades
Take a BUY only when all conditions are true:
Price is inside or just above a DEMAND zone from Hitjo Zones TF
Higher-timeframe trend is bullish
A BUY label appears from Hitjo Swing Trend
There is room to target without immediately hitting resistance
Short Trades
Take a SELL only when all conditions are true:
Price is inside or just below a SUPPLY zone from Hitjo Zones TF
Higher-timeframe trend is bearish
A SELL label appears from Hitjo Swing Trend
There is room to target without immediately hitting support
Common Mistakes to Avoid
Buying just because DEMAND appears
Selling just because SUPPLY appears
Taking BUY or SELL signals in the middle of the chart
Counter-trend trading
Forcing trades on every signal
Stops and Targets
Hitjo Swing Trend plots:
Stop Loss using ATR (red)
Target using ATR (green)
These are visual guides only, not broker orders.
Recommended Setup
Chart timeframe: 1H
Zone timeframe (Hitjo Zones TF): 4H or Daily
Fast / Slow EMA: 8 / 21
ATR Stop / Target: 1.5 / 3.0
Remember This
DEMAND does not mean BUY
SUPPLY does not mean SELL
DEMAND + BUY = Long
SUPPLY + SELL = Short
Disclaimer
This system does not predict tops or bottoms and does not guarantee profits.
It is designed to help traders wait for alignment, reduce low-quality trades, and trade with structure.
Always manage risk appropriately.
TradingView Search Keywords
Supply Demand
Swing Trading
EMA Strategy
Multi Timeframe
Trend Following
Support Resistance
Momentum Trading
ATR Stop Loss
Crypto Trading
Stock Trading
Hitjo Zones TFTL;DR – READ THIS FIRST
This is a TWO-INDICATOR SYSTEM. Both indicators must be used together.
Hitjo Zones TF = WHERE you are allowed to trade
Hitjo Swing Trend = WHEN you are allowed to trade
Rules:
Only take BUY signals from Hitjo Swing Trend inside DEMAND zones from Hitjo Zones TF
Only take SELL signals from Hitjo Swing Trend inside SUPPLY zones from Hitjo Zones TF
Ignore signals when structure and timing do not align
Recommended setup: 1H chart with 4H or Daily zones.
Hitjo Swing Trading System
(Hitjo Zones TF + Hitjo Swing Trend)
This TradingView system combines higher-timeframe Supply & Demand zones with momentum-based swing entries to create a clean, rule-based swing trading framework.
It is designed for traders who want fewer but higher-quality trades, clear market structure, objective entry timing, and reduced overtrading.
Required Indicators
Hitjo Zones TF (Structure)
Automatically draws Supply & Demand zones using a selectable higher timeframe.
Displays SUPPLY and DEMAND labels when price enters key zones.
Defines where trades are allowed.
Do not trade based on zones alone.
Hitjo Swing Trend (Timing)
Displays BUY and SELL labels using EMA structure, momentum, and higher-timeframe trend.
Plots ATR-based stop loss and target levels.
Defines when to enter trades.
Do not take BUY or SELL signals outside zones.
Core Concept
Hitjo Zones TF tells you WHERE to trade.
Hitjo Swing Trend tells you WHEN to trade.
If both are not aligned, there is no trade.
Trading Rules
Long Trades
Take a BUY only when all conditions are true:
Price is inside or just above a DEMAND zone from Hitjo Zones TF
Higher-timeframe trend is bullish
A BUY label appears from Hitjo Swing Trend
There is room to target without immediately hitting resistance
Short Trades
Take a SELL only when all conditions are true:
Price is inside or just below a SUPPLY zone from Hitjo Zones TF
Higher-timeframe trend is bearish
A SELL label appears from Hitjo Swing Trend
There is room to target without immediately hitting support
Common Mistakes to Avoid
Buying just because DEMAND appears
Selling just because SUPPLY appears
Taking BUY or SELL signals in the middle of the chart
Counter-trend trading
Forcing trades on every signal
Stops and Targets
Hitjo Swing Trend plots:
Stop Loss using ATR (red)
Target using ATR (green)
These are visual guides only, not broker orders.
Recommended Setup
Chart timeframe: 1H
Zone timeframe (Hitjo Zones TF): 4H or Daily
Fast / Slow EMA: 8 / 21
ATR Stop / Target: 1.5 / 3.0
Remember This
DEMAND does not mean BUY
SUPPLY does not mean SELL
DEMAND + BUY = Long
SUPPLY + SELL = Short
Disclaimer
This system does not predict tops or bottoms and does not guarantee profits.
It is designed to help traders wait for alignment, reduce low-quality trades, and trade with structure.
Always manage risk appropriately.
TradingView Search Keywords
Supply Demand
Swing Trading
EMA Strategy
Multi Timeframe
Trend Following
Support Resistance
Momentum Trading
ATR Stop Loss
Crypto Trading
Stock Trading
Tailwind.(BTC)Imagine the price of Bitcoin is like a person climbing a staircase.
The Steps (Grid): Instead of watching every single price movement, the strategy divides the market into fixed steps. In your configuration, each step measures **3,000 points**. (Examples: 60,000, 63,000, 66,000...).
The Signal: We buy only when the price climbs a full step decisively.
The "Expensive Price" Filter: If the price jumps the step but lands too far away (the candle closes too high), we do not buy. It is like trying to board a train that has already started moving too fast; the risk is too high.
Rigid Exits: The Take Profit (TP) and Stop Loss (SL) are calculated from the edge of the step, not from the specific price where you managed to buy. This preserves the geometric structure of the market.
The Code Logic (Step-by-Step)
A. The Math of the Grid (`math.floor`)
pinescript
level_base = math.floor(close / step_size) * step_size
This is the most important line.
What does it do? It rounds the price down to the nearest multiple of 3,000.
Example: If BTC is at 64,500 and the step size is 3,000:
1. Divide: $64,500 / 3,000 = 21.5$
2. `math.floor` (Floor): Removes the decimals $\rightarrow$ remains $21$.
3. Multiply: $21 * 3,000 = 63,000$.
Result: The code knows that the current "floor" is **63,000**, regardless of whether the price is at 63,001 or 65,999.
B. The Strict Breakout (`strict_cross`)
pinescript
strict_cross = (open < level_base) and (close > level_base)
Most strategies only check if `close > level`. We do things slightly differently:
`open < level_base`: Requires the candle to have "born" *below* the line (e.g., opened at 62,900).
`close > level_base`: Requires the candle to have *finished* above the line (e.g., closed at 63,200).
Why? This avoids entering on gaps (price jumps where the market opens already very high) and confirms that there was real buying power crossing the line.
C. The "Expensive Price" Filter (`max_dist_pct`)
pinescript
limit_price_entry = level_base + (step_size * (max_dist_pct / 100.0))
price_is_valid = close <= limit_price_entry
Here you apply the percentage rule:
-If the level is 63,000 and the next is 66,000 (a difference of 3,000).
-If `max_dist_pct` is **60%**, the limit is $63,000 + (60\% \text{ of } 3,000) = 64,800$.
-If the breakout candle closes at **65,000**, the variable `price_is_valid` will be **false** and it will not enter the trade. This avoids buying at the ceiling.
D. TP and SL Calculation (Anchored to the Level)
pinescript
take_profit = level_base + (step_size * tp_mult)
stop_loss = level_base - (step_size * sl_mult)
Note that we use `level_base` and not `close`.
-If you entered because the price broke 63,000, your SL is calculated starting from 63,000.
-If your SL is 1.0x, your stop will be exactly at 60,000.
This is crucial: If you bought "expensive" (e.g., at 63,500), your real stop is wider (3,500 points) than if you bought cheap (63,100). Because you filter out expensive entries, you protect your Risk/Reward ratio.
E. Visual Management (`var line`)
The code uses `var` variables to remember the TP and SL lines and the `line.set_x2` function to stretch them to the right while the operation remains open, providing that visual reference on the chart until the trade ends.
Workflow Summary
Strategy Parameters:
Total Capital: $20,000
We will use 10% of total capital per trade.
Commissions: 0.1% per trade.
TP: 1.4
SL: 1
Step Size (Grid): 3,000
We use the 200 EMA as a trend filter.
Feel free to experiment with the parameters to your liking. Cheers.
Trend FilterTrend Filter
Summary
Trend Filter is a multi-factor trend-confidence indicator that produces a simple, actionable output: Direction (Up / Down / Ranging) and a normalized Confidence %. It is intended as a decision-support overlay to help traders quickly identify whether a market is trending or rangebound, and how strong that directional bias is.
What it shows
A single line in the on-chart table: Direction (Up / Down / Ranging).
A Confidence % (0–100) that combines multiple normalized market signals into a single score.
Optional notification row when a manually-selected reference timeframe does not match the chart timeframe.
Alert conditions when direction changes to Up, Down, or Ranging.
How the indicator works (concise, non-proprietary explanation)
Trend Filter computes a weighted confidence score from several complementary components, each normalized to a 0–100 scale and combined into a single confidence value. The components and their roles are:
EMA structure & spread (trend breadth)
-Uses three EMAs (fast / mid / slow) computed at lengths that scale with the selected/reference timeframe. The EMA spread (fast vs slow) quantifies directional separation.
HH/HL structure and streaks (price structure)
-Counts higher highs/higher lows (and the reverse) across a scaled lookback to measure whether price structure is predominantly bullish, bearish or mixed.
EMA slope (momentum of trend)
-A robust slope approximation (smoothed) measures whether the short EMA is rising/falling relative to its own smoothed history.
ADX / DMI (trend strength)
-Uses a standard ADX-style component to capture directional persistence and dampen the confidence score when the ADX is weak.
ATR (volatility context)
-ATR expressed as a percentage of price helps detect abnormal volatility regimes which affect the validity of trend signals.
Volume context
-Simple volume vs a short SMA gives a participation signal that increases confidence when moves occur with higher volume.
Each component is capped to avoid outsized influence. Components are scaled by a set of weights (configurable in code) and then combined. The final confidence is lightly smoothed before being used to determine direction and to feed alert conditions.
Important implementation & safety design choices (why it’s not a simple mashup)
Adaptive timeframe scaling: EMA lengths and lookbacks are proportionally scaled based on the chosen reference timeframe (Auto or manual). This preserves relative indicator behavior across 1-minute → Daily timeframes without manual retuning of each parameter.
HH/HL structure plus streaks: Instead of relying solely on moving averages or ADX, the script explicitly measures price structure (HH/HL counts and streaks) and blends that with slope/ADX. This reduces false trending signals on noisy price action.
Normalized, weighted combination with caps: Each component is normalized (0–100) and combined by predefined weights; cap thresholds prevent extreme component values from dominating the result. This is a design intended to produce interpretable confidence % rather than opaque binary outputs.
History and loop safety: The code enforces a cap and protects loop lengths against available historical bars to avoid runtime errors and to ensure the script remains stable on short data series.
Practical guardrails: The script includes notification behavior to highlight manual timeframe mismatches and avoids dynamic indexing patterns that can cause unreliable results on small bar histories.
These design decisions — adaptive scaling, structural HH/HL scoring, capped normalization and explicit safety limits — are the elements that distinguish Trend Filter from simple, single-indicator overlays (EMA-only, ADX-only, etc.) and form the basis for why closed-source protection is reasonable for commercial/invite-only publication.
User controls & recommended usage
Reference Timeframe: Auto (uses chart TF) or choose a manual reference TF (1min → D). When manual TF is selected, the table shows a mismatch warning if the chart TF differs.
Table placement & colors: Positioning and appearance of the on-chart table are configurable.
Confidence thresholds: The indicator uses internal thresholds to mark high/medium/low confidence. Users can interpret the Confidence % relative to those ranges.
Alerts: Built-in alerts fire only on direction changes (to Up, Down, or Ranging). Use alerts as a signal to review the chart rather than an instruction to trade automatically.
How traders typically use it
Add Trend Filter as an overlay to your chart.
Confirm that the recommended reference timeframe is appropriate (Auto will adjust automatically).
Use Direction and Confidence % together: high Confidence + Up (or Down) suggests staying with trend; Ranging suggests avoiding trend-following entries.
Combine this filter with your entry/exit rules (price structure, support/resistance, or your preferred signal generator).
Disclaimers & limitations
This is a decision-support indicator, not an automated execution strategy. It does not place orders and does not provide P/L or backtesting statistics.
Confidence % is an aggregated measure — treat it as context, not a guarantee.
Results vary across symbols and timeframes; use appropriate position sizing and risk controls.
The code intentionally includes history and loop safeguards; on very short histories the indicator may display conservative results.
Heikin Ashi + Real Price OverlayHeikin-Ashi + Real Price Overlay
This indicator combines the smooth trend visualization of Heikin-Ashi candles with the true market price for precise execution.
Features:
Heikin-Ashi Candles: Provides a clear, smoothed view of market trends and momentum.
Real Close Price Overlay: Plots the actual closing price as a line on top of HA candles, ensuring accurate entry, exit, and stop placement.
Trend-Based Coloring: The real price line is colored according to HA trend (green for bullish, red for bearish), making trend bias instantly visible.
Lightweight and ideal for scalping, day trading, or any strategy where trend bias + exact price matters.
Use Case:
Use HA candles to identify market bias and momentum.
Use the real price line for precise entries, exits, and stop levels.
Perfect for traders who want the clarity of HA without sacrificing real price accuracy.
GLOBAL TRADERS SYSTEMO indicador mede o apetite a risco do mercado ou proteção. Deve ser usado em índices americanos.
RISK ON RISK OFF GTSO indicador mede o apetite a risco do mercado ou proteção. Deve ser usado em índices americanos.
Live Ichimoku BOXThis indicator offers a unique "Visual" approach to the Ichimoku Kinko Hyo system. Instead of just plotting lines, it visualizes the mathematical logic behind the Tenkan-sen (9), Kijun-sen (26), and Span B (52) in real-time.
Core Concept: Ichimoku lines represent the equilibrium (50% level) of the High-Low range over a specific period. This tool draws Equilibrium Boxes to show exactly where these Highs and Lows are located relative to the current price.
Key Features:
Live Equilibrium Boxes: Visualizes the 9, 26, and 52-period ranges on the current live candle.
Mid-Lines: Clearly marks the equilibrium points (Tenkan, Kijun, Span B) within each box.
Vector Lines: Diagonal lines connecting the High and Low of each box to visualize momentum direction.
Fractals & Signals: Marks major pivots with Stars (*) and secondary pivots with Arrows.
Time Counters: Displays the candle count from the pivot to the current bar.
Future & Past: Visualizes the Chikou Span (lagging) and Future Cloud levels (leading) using dash lines.
Split-Color Background: distinct transparency for the upper and lower halves of the boxes for better trend identification.
How to Use: Use this tool to understand the market structure behind the Ichimoku lines. If the price is above the box's mid-line, the trend is bullish for that period. Aligned mid-lines indicate strong support/resistance levels.
این اندیکاتور یک دیدگاه کاملاً جدید و "بصری" (Visual) به سیستم ایچیموکو کینکو هیو (Ichimoku Kinko Hyo) ارائه میدهد. برخلاف اندیکاتورهای کلاسیک که فقط خطوط را رسم میکنند، این ابزار منطق محاسباتی پشت خطوط تنکانسن (۹)، کیجونسن (۲۶) و اسپن بی (۵۲) را در لحظه حال (Live) به تصویر میکشد.
فلسفه عملکرد: در ایچیموکو، خطوط بر اساس میانگینِ بالاترین قیمت (High) و پایینترین قیمت (Low) در یک دوره خاص محاسبه میشوند. این اندیکاتور با رسم باکسهای تعادلی (Equilibrium Boxes)، دقیقاً نشان میدهد که این سقف و کفها کجا هستند و قیمت در حال حاضر نسبت به "ناحیه تعادل" (۵۰٪ باکس) چه وضعیتی دارد.
ویژگیهای کلیدی:
🟥 باکسهای ۹، ۲۶ و ۵۲ دوره: نمایش محدوده نوسان قیمت در دورههای زمانی استاندارد ایچیموکو بر روی کندل زنده.
➖ خطوط میانی (Mid-Lines): نمایش دقیق محل تنکانسن، کیجونسن و اسپن بی به صورت خطوط دش یا ضخیم در وسط باکسها.
📐 بردارهای حرکتی (Vectors): رسم خطوط مورب داخل باکس که جهت و شتاب حرکت از High به Low (یا برعکس) را نشان میدهند.
✨ نقاط چرخش (Pivots): نمایش سقفها و کفهای ماژور با علامت ستاره (*) و نقاط برگشت فرعی با فلش (Arrows).
🔢 شمارشگر زمانی: نمایش تعداد کندلهای گذشته از سقف یا کف باکس تا لحظه حال.
🔮 آینده و گذشته: نمایش وضعیت چیکو اسپن (۲۵ کندل عقبتر) و ابرهای آینده (۲۵ کندل جلوتر) به صورت خطوط راهنما.
🎨 طراحی دو رنگ (Split Color): ناحیه بالای تعادل و پایین تعادل با شفافیتهای متفاوت نمایش داده میشوند تا تشخیص روند صعودی/نزولی در یک نگاه ساده باشد.
نحوه استفاده: این ابزار برای کسانی طراحی شده که میخواهند "چرایی" حرکت قیمت را درک کنند. وقتی قیمت بالای خط میانی باکس قرار دارد، خریداران در آن بازه زمانی کنترل را در دست دارند و برعکس. همپوشانی باکسها و خطوط میانی، نواحی قدرتمند حمایت و مقاومت را نشان میدهد.
ICT NY Midnight Range LevelsThis indicator plots key New York midnight reference levels used in ICT-style trading.
Features:
• New York Midnight Open (00:00 NY time) plotted as a red dotted horizontal line
• Highest High and Lowest Low formed between 00:00–00:30 NY time
• Automatic 50% midpoint of the midnight range
• All levels extend to the right and remain visible throughout the trading day
• Large right-side labels displaying level names and exact prices
• Optimized for lower timeframes (30 minutes and below)
Designed for traders who use New York session structure, midnight opens, and range-based entries for precision execution.
Buy Sell Signal (Improved Simple)Buy Sell Signal (Improved Simple) es un indicador mejorado del original
Hicham XAUUSD Key Levels PRO (1H / 4H + Psychological)🔑 XAUUSD Key Levels PRO | 1H / 4H Structure + Psychological Levels
This indicator is designed specifically for Gold (XAUUSD) traders who want clean, institutional-grade key levels without chart clutter.
It combines market structure levels with true psychological price levels used by institutions, making it ideal for scalping, intraday, and swing trading.
📌 Features
🔹 Market Structure Key Levels
Automatic 1H & 4H High / Low detection
Based on swing pivots (configurable strength)
Solid lines for clear structure visibility
🔹 Gold Psychological Levels (XAUUSD)
Major levels: every 500$ (strong institutional zones)
Medium levels: every 250$
Minor levels: every 10$
Dynamic levels around current price
No line spam, optimized performance
🔹 Visual Clarity
Solid / dashed / dotted line styles
Custom colors & line thickness
Optional price labels
Works perfectly on M1 → H4
🎯 Best Use Cases
Liquidity sweeps & reactions
Premium / discount zones
Stop-loss & take-profit placement
Confluence with BOS / CHoCH
London & New York sessions
⚙️ Fully Customizable
Toggle 1H / 4H levels
Adjust psychological level spacing
Enable / disable labels
Clean & lightweight (no lag)
⚠️ Notes
Optimized for XAUUSD (Gold)
Best results when combined with price action & structure
Not a trading signal indicator
If you want:
Session-based levels
Alerts on key levels
Smart Money Concepts integration
Feel free to comment or DM 👊
Happy trading 💛📈
ETIQUETAS 5M.This is the best way to determinate interval from five minutes to 1 minute in that time range of 9:25 am to 4:15 pm. you can know how to enter or exit trading action.
Momentum Table View (Bar-Based)// NOTE:
// This script uses bar-based lookbacks instead of calendar months.
// Approximate conversions for daily charts:
// - 21 bars ≈ 1 month
// - 63 bars ≈ 3 months
// - 252 bars ≈ 1 year
// For other timeframes, adjust accordingly for different time periods and needs.
// For hourly I have it set at 24*5, 24*5*4 and then finally 24*5*4 to give the same,
// daily, weekly and monthly aggregate returns but on the hourly scale.
// Of course you can split it anyway you like as well depends on the expected needs you have.
Running idea so there will likely be revisions to the z scoring to possibly a different method and the atan angle represented in the code will also likely be changed at some point as to maybe a regression method. These changes will take time as this is only a secondary platform for me not the main source of data. In saying that the table has the data representing the log returns of an asset of n bars which I decided on over the original more accurate daily, weekly and monthly close points which the user can always specify using this method if wanting to be more accurate with the standard method of momentum returns factor.
Bravo Backtest - Multi Timeframe Fair Value GapsBravo Backtest – Multi Timeframe Fair Value Gaps
This indicator displays Fair Value Gaps (FVGs) across multiple timeframes, with a strong focus on clarity, structure, and non-repainting behavior.
To reduce noise and keep charts clean, only Fair Value Gaps from your current chart timeframe and higher are shown. Lower-timeframe imbalances are intentionally filtered out.
Key features:
- Multi-timeframe Fair Value Gap detection
- Wick-to-wick, three-candle FVG logic
- Non-repainting: all FVGs are confirmed on candle close
- Automatic removal of invalidated FVGs (close through the zone)
- Adjustable lookback period to limit historical zones
- Optional bullish / bearish filtering
- Optional borders that inherit the FVG color
- Clean, professional UI designed for real trading use
This tool is built to support higher-timeframe context, execution clarity, and disciplined charting, making it suitable for both discretionary traders and structured trading models.
Developed and verified by Bravo Backtest.
Auto Harmonic Patterns [Trader-Alex])This indicator is a sophisticated technical analysis tool designed to automate the identification of Harmonic Patterns across financial markets. By utilizing a multi-layered scanning engine, it detects valid geometric structures in price action, helping traders identify high-probability reversal zones (PRZ) with precision.
Whether you are a scalper or a swing trader, this tool streamlines the complex process of measuring Fibonacci ratios, allowing you to focus on execution rather than manual drawing.
Key Features
Multi-Scale Scanning Engine: The indicator runs 5 independent scanning groups simultaneously. This allows it to detect patterns across different market distinct market cycles (micro-structures to macro-trends) within a single timeframe.
Comprehensive Pattern Support: Automatically recognizes a wide range of classic and modern harmonic patterns, including:
Gartley
Bat & Alt Bat
Butterfly
Crab & Deep Crab
Shark
Cypher
Predictive PRZ Technology (Potential Patterns): Unlike standard indicators that only show completed patterns, this tool projects "Potential Patterns" in real-time. It calculates the Potential Reversal Zone (PRZ) based on converging Fibonacci projections, giving you a clear visual of where the D-point (Entry) is likely to form before price arrives.
Smart Filtering & Optimization: To maintain a clean chart, the indicator includes an intelligent filtering system. If multiple patterns are detected in the same area, it automatically evaluates the geometry and risk-to-reward ratio to display only the most optimal setup.
Integrated Trade Management: For every valid pattern, the indicator automatically plots:
Entry Level: The optimal completion point.
Stop Loss (SL): Calculated based on invalidation structures.
Take Profit (TP1 & TP2): Based on standard harmonic retracement targets.
Visual Clarity: Distinguishes between Bullish (Green/Blue tones) and Bearish (Red/Orange tones) setups. Successful historical patterns and currently developing patterns are visually distinct for easy back-testing and live trading.
Disclaimer This tool is for educational and informational purposes only. Trading financial markets involves risk. Past performance of harmonic patterns does not guarantee future results. Always use proper risk management.
-------------------------------------------------------------------------------------
此指標是一套高階的技術分析工具,專為自動化識別金融市場中的「諧波型態 (Harmonic Patterns)」而設計。透過多層次的掃描引擎,它能精準偵測價格行為中的幾何結構,協助交易者快速鎖定高勝率的潛在反轉區 (PRZ)。
無論您是短線交易者還是波段交易者,此工具都能簡化繁瑣的費波那契比例測量過程,讓您能專注於交易決策而非手動繪圖。
核心功能
多維度掃描引擎: 指標內建 5 組獨立的掃描運算邏輯,能夠同時運行。這意味著它能在單一圖表時間週期內,同時捕捉從小級別結構到大級別趨勢的各種型態。
支援多種經典型態: 自動識別市場上主流的諧波結構,包含:
加特利 (Gartley)
蝙蝠與變種蝙蝠 (Bat & Alt Bat)
蝴蝶 (Butterfly)
螃蟹與深海螃蟹 (Crab & Deep Crab)
鯊魚 (Shark)
賽福 (Cypher)
預測性 PRZ 技術 (潛在型態): 不同於一般指標僅顯示「已完成」的歷史型態,本工具具備即時預測功能。它能根據費波那契數列的匯聚點,計算出潛在反轉區 (PRZ),在價格到達前提前標示出預期的 D 點 (入場點)。
智能篩選與優化: 為了保持圖表整潔,指標內建智能過濾系統。當同一區域偵測到多個重疊型態時,系統會自動評估幾何結構與盈虧比,僅顯示條件最優異的一個交易機會。
整合式交易管理: 針對每一個有效型態,指標會自動計算並繪製:
入場價 (Entry): 型態完成的最佳價位。
止損位 (SL): 基於結構失效點的防守位置。
止盈位 (TP1 & TP2): 基於諧波回撤比例的標準獲利目標。
視覺化清晰呈現: 清楚區分看漲 (綠/藍色系) 與看跌 (紅/橙色系) 架構。歷史勝率回測線圖與正在發展中的潛在型態均有不同的視覺樣式,方便用戶進行複盤與實盤操作。
免責聲明 本工具僅供教學與輔助分析使用。金融市場交易具有風險,諧波型態的歷史表現不代表未來獲利保證。請務必做好個人風險管理。
HydraBot v1.2 publicenglish description english description english description english description english description english description english description english description english description






















