Early Money Flow DetectionThis indicator will help trader dectect the signal early than MFI traditional.
指標和策略
HOG Liquidity HunterHOG Liquidity Hunter – Pivot‑Based Liquidity Zones
📌 Overview
Plots dynamic support and resistance zones on swing pivots with an ATR‑based buffer. Anchored only when pivots are confirmed, the zones stay close to current price levels—ideal for spotting liquidity runs or traps.
🔧 How It Works
Detects swing highs and lows using ta.pivothigh() / ta.pivotlow() with a user‑defined lookback.
After a pivot is confirmed, calculates BSL/SSL zone = pivot ± (ATR * margin).
Zones update only on confirmed pivots—no repainting on open bars.
⚙️ Inputs
Lookback: bars to confirm pivots (e.g. 10–20).
ATR Margin Multiplier: buffer width (e.g. 1.25).
✅ Benefits
Structure‑focused: Zones align with real swing points.
Responsive yet stable: Tight ATR margin keeps zones precise, only updating on valid pivots.
Clean visuals: Two uncluttered zones—easy to interpret.
🛠 How to Use
Detect near‑zone bounce entries or exits on 4H/1D charts.
Combine with trend or volume indicators for stronger setups.
Use zones to identify potential stop‑run, liquidity re‑tests, or range turns.
⚠️ Notes & Disclaimers
Zones base off historical pivots; may lag until confirmed.
No future-looking data—relying entirely on closing bar confirmation.
Use alongside a complete trading framework; this is not a standalone signal.
Nirav - Opening Range with Breakouts & TargetsUsed for Credit Spreads: Opening Range with Breakouts & Targets
亚欧美盘开关及交接时段标记 - plotshape版📌 English Description:
This script highlights the opening and closing times of the Asian, European, and US trading sessions on your chart, helping traders understand global session dynamics and volatility shifts in a visual and intuitive way.
💡 Applicable Instruments: Gold (XAUUSD) and Major Forex Pairs (e.g., EURUSD, GBPUSD, USDJPY, etc.)
💡 Best for: Price Action, Session-based strategies, Breakout trades
Time zone used: Asia/Shanghai (GMT+8)
Asia Session: 08:00 - 15:00 (typically range-bound)
European Session: 15:00 - 19:00 (London volatility begins)
US Session: 20:00 - 00:00 (New York session, often the major trend period)
Gray background marks the 19:00 - 20:00 transition phase between EU and US sessions, often a quiet or pivotal moment
Perfect for short- to medium-term traders who rely on understanding session-based price behaviors—especially effective for gold and major forex pairs.
📌 中文描述:
本脚本用于在图表中标记亚盘、欧盘、美盘的开盘与收盘时间点,以直观的方式帮助交易者识别全球主要交易时段的节奏与波动特征。
💡 适用品种:黄金(XAUUSD)及主流外汇(如EURUSD、GBPUSD、USDJPY等)
💡 适用策略:价格行为(Price Action)、时段波动捕捉、趋势突破等
使用**北京时间(Asia/Shanghai)**识别时段
亚盘时间:08:00 - 15:00(通常为震荡行情)
欧盘时间:15:00 - 19:00(伦敦时段,波动增强)
美盘时间:20:00 - 00:00(纽约时段,主趋势时段)
灰色背景提示:19:00 - 20:00 为欧美盘交接期,是重要的波动衰减与等待爆发阶段
适合关注全球交易时段切换规律的中短线交易者,特别对黄金与外汇价格行为策略有重要参考意义。
10 Moving AveragesThis indicator arises from the need to visualize in the same chart several moving averages of different types and time periods. In this case, the indicator includes 10 slots for moving averages of different types, including all those available in PineScript Version 6: Simple Moving Average (SMA), Exponential Moving Average (EMA), Weighted Moving Average (WMA), Hull Moving Average (HMA), Relative Moving Average (RMA), Symmetrically-Weighted Moving Average (SWMA), Arnaud Legoux Moving Average (ALMA), Volume-Weighted Moving Average (VWMA) and Volume-Weighted Average Price (VWAP).
The indicator is particularly useful, especially and specifically, to be able to visualize moving averages of different types and timeframes on the same chart, so it should not be used indiscriminately, but rather as a useful tool to identify trends with different moving averages, so that the management of orders is as simple as possible, since it is also possible to choose how many averages the user wants to observe on his chart, from none to 10 spaces.
GoatsMACDThis is a multi-layered trend scalping tool that combines MACD cross signals with dynamic trend filters including Bollinger Bands, EMA clouds, and VWAP for clearer trend identification and trade timing.
🔍 Features:
MACD Cross Dots: Tiny dots mark MACD bullish and bearish crossovers directly on the oscillator pane.
Customizable MACD Settings: Toggle between EMA or SMA calculation for MACD, with adjustable fast/slow lengths and signal smoothing.
Bollinger Bands Overlay: Optional 420-period BB with 0.5 standard deviation for mean reversion and volatility compression.
Triple EMA Clouds:
Cloud 1: EMA 21 vs 55
Cloud 2: EMA 89 vs 120
Cloud 3: EMA 200 vs 240
Each cloud changes color based on bullish/bearish EMA relationships to confirm trend strength and direction.
VWAP Support: Plots a session-based VWAP as an additional dynamic support/resistance zone.
Alerts Included: Receive alerts on bullish or bearish MACD crossovers.
🧠 How to Use:
Use MACD dots to spot early trend shifts.
Confirm direction with the EMA clouds: trade only in alignment with cloud direction.
Use Bollinger Bands and VWAP for entries near key zones.
Ideal for scalping, trend following, or confirmation on multi-timeframe setups.
⚙️ Customizable Inputs:
Full control over MACD lengths and moving average type
Adjustable BB settings
Modify each EMA pair independently for all clouds
Daily Open Color CandleDaily Open Color Candle – Visual Price Bias Indicator
This script highlights candlesticks based on their position relative to the current day's opening price. It's a minimalistic tool designed to help intraday traders quickly understand whether price is trading above or below the daily open level.
What it does:
Draws a horizontal line at the daily open price.
Colors candles green if the close is above the daily open, and red if below.
Why it's useful:
Provides immediate visual feedback for bias: bullish (above open) or bearish (below open).
Ideal for intraday traders who base decisions on daily open reference levels.
Unique elements:
Lightweight and non-intrusive design.
Line automatically resets with each new trading day.
Candles are visually categorized without cluttering the chart.
Best used for:
Intraday momentum analysis.
Bias confirmation for scalping/day trading strategies.
Overlay with other indicators like VWAP, EMA, etc.
Parameters:
No configurable inputs — this is a plug-and-play script.
Turtle 2.0 – Backtest Strategy for Trend ConfirmationA simple backtesting tool for traders who want to test and understand their own ideas.
This is not a signal provider. Not a finished system. Not financial advice.
Purpose of this Script
This strategy is not intended for live trading, but rather as an analytical and educational tool.
It is based on a simplified, trend-following Turtle-style logic and helps you explore the question:
“When does a strategy work – and when does it fail?”
I (Tom) am not a professional trader myself, but someone who is between beginner and intermediate.
This tool helps me (and hopefully you too) think more systematically and back up (or challenge) my own ideas.
Core Idea
Most trading strategies only work under certain market conditions.
This script helps you analyze:
– Does your logic work better in clear trends?
– Do trend filters help – and when do they hurt?
– How do sideways phases affect performance?
– Is your setup robust across different timeframes and assets?
Adjustable Settings
The script is designed to be flexible. In the settings panel, you can configure:
• Enable EMA trend filter – Activate or deactivate trend filtering
• EMA 1–4 – Length of exponential moving averages (e.g. 21, 50, etc.)
• Show pivots – Display local highs and lows as reference
• Pivot length – Number of candles to each side to define a pivot
• Show signals – Enable or disable signal visualization
All parameters can be adjusted directly in the TradingView settings menu.
If You Decide to Trade with It (Not Recommended)
If you still want to test this strategy with real trading, please consider:
Always analyze market context (trend, volatility, news)
Use your own stop-loss and take-profit logic
Avoid choppy or sideways markets
Test across different timeframes and instruments
Combine it with volume, support/resistance, or candlestick patterns
Note: The script is non-repainting – signals are shown only after the bar is closed.
Possible Use Cases
– Only show signals in trend phases
– Analyze: When does your setup perform well or poorly?
– Review “what-if” scenarios
– Base for experimentation and further development
Feedback Welcome
If you have ideas, questions, or suggestions – feel free to reach out.
I'd love to hear your thoughts or see how you use or modify the script.
Background & Development
This script was initially inspired by publicly available code from parsimaj.
It was completely rewritten, modernized, documented, and customized to my own requirements.
The goal was to create a simple, robust, and flexible learning and testing tool.
License & Disclaimer
– No guarantee of profitability. Not financial advice.
– Use at your own risk. Educational and analytical use only.
Author: Tom & ChatGPT
Version: Turtle 2.0 – Backtest Edition
Platform: TradingView – Pine Script v5
Medico Action Zone self adjust TFput "buy" and "sell" signal by using EMA 12/26 and you can adjust TF for short term or long term.
AO + MACD CombinedAwesome Oscillator (AO):
Calculates AO as the difference between 5-period and 34-period SMAs of the hl2 price.
Plots the AO histogram with colors: green (#009688) when increasing, red (#F44336) when decreasing.
Includes alerts for color changes (green/red).
MACD:
Calculates MACD using user-defined fast (12) and slow (26) SMA lengths, with a signal line smoothed over 9 periods.
Plots the MACD line (blue, #2962FF) and Signal line (orange, #FF6D00).
The MACD histogram is replaced by the AO histogram, but alerts for histogram state changes (rising to falling, falling to rising) are based on AO.
Shorttitle:
Set to AO+MACD (7 characters), within the 10-character limit.
Plots:
AO histogram, MACD line, Signal line, and a zero line are plotted in a single pane.
Uses color.new for version 6 compatibility.
Alerts:
AO color change alerts (green/red).
AO histogram state change alerts (rising to falling, falling to rising).
Usage Instructions:
Copy the script into TradingView’s Pine Script editor.
Customize inputs (e.g., MACD fast/slow lengths, signal smoothing) as needed.
Set up alerts in TradingView for AO color changes or histogram state changes.
The indicator displays in one pane, with the AO histogram replacing the MACD histogram, alongside the MACD and Signal lines.
Wonder StochasticWonder Stochastic is a custom indicator based on traditional stochastics, which includes additional smoothing for the %K and %D lines, highlighted overbought and oversold levels, and visual crossover signals to make it easier to identify potential entry and exit points in the market. by lachi1911
MACD+RSI Divergence Pro v2//@version=5
indicator("MACD+RSI Divergence Pro v2", overlay=true)
// 1. إعداد MACD
= ta.macd(close, 12, 26, 9)
macdBullish = ta.crossover(macdLine, signalLine)
macdBearish = ta.crossunder(macdLine, signalLine)
// 2. إعداد RSI
rsiValue = ta.rsi(close, 14)
rsiOverbought = rsiValue >= 70
rsiOversold = rsiValue <= 30
// 3. كشف الاختلافات المصحح
// → استخدمنا الدالة `ta.valuewhen()` لتحديد القمم/القيعان بدقة
swingLow = ta.lowest(low, 5)
swingHigh = ta.highest(high, 5)
rsiAtSwingLow = ta.valuewhen(swingLow == low, rsiValue, 0)
rsiAtSwingHigh = ta.valuewhen(swingHigh == high, rsiValue, 0)
bullishDiv = low < low and rsiAtSwingLow > rsiAtSwingLow and rsiOversold
bearishDiv = high > high and rsiAtSwingHigh < rsiAtSwingHigh and rsiOverbought
// 4. مرشح الاتجاه (EMA 200)
marketTrend = ta.ema(close, 200)
isUptrend = close > marketTrend
// 5. الإشارات النهائية
buySignal = bullishDiv and macdBullish and isUptrend
sellSignal = bearishDiv and macdBearish and not isUptrend
// 6. العرض على الرسم
plotshape(buySignal, title="شراء", text="▲", style=shape.labelup, location=location.belowbar, color=color.new(#00FF00, 0), textcolor=color.white)
plotshape(sellSignal, title="بيع", text="▼", style=shape.labeldown, location=location.abovebar, color=color.new(#FF0000, 0), textcolor=color.white)
// 7. تنبيهات
alertcondition(buySignal, "إشارة شراء", "Bullish Divergence + MACD Crossover")
alertcondition(sellSignal, "إشارة بيع", "Bearish Divergence + MACD Crossunder")
BB Hit + Stoch RSI Conditions (15m TF)Create a visual alert everytime the lower bolinger bands is hit while stoch rsi below 15 and everytime upper bolinger bands is hit while stoch rsi above 85.
RSI Candlestick//@version=5
indicator("RSI Candlestick", overlay=false)
length = input(14, title="RSI Length")
rsi = ta.rsi(close, length)
// RSI를 캔들로 변환 (예: RSI의 시가, 고가, 저가, 종가 계산)
rsi_open = rsi // 이전 RSI 값
rsi_close = rsi // 현재 RSI 값
rsi_high = math.max(rsi, rsi_open) // 고가는 현재와 이전 중 큰 값
rsi_low = math.min(rsi, rsi_open) // 저가는 현재와 이전 중 작은 값
// 캔들 플롯
plotcandle(rsi_open, rsi_high, rsi_low, rsi_close, title="RSI Candles", color=rsi_close > rsi_open ? color.green : color.red)
Bollinger Bands with Buy/Sell SignalsWhen price crosses above the upper band → green “BUY” label appears below the bar
When price crosses below the lower band → red “SELL” label appears above the bar
10 EMA & 10 SMA Crossover with Dot/Cross ON ChartCombining 10MA an 10SMA is very powerful indicator, it give early indication of trend.
Tried to combine 10MA and 10SMA crossover on same chart with cross over indicator.
Back test it. It works well in trending market.
Tried to combine RSI, ADX and 10 MA combination on chart but could not make appropriate/effective Pine Script.
Your suggestion's are welcome to improve it further.
HOG QQE StackHOG QQE Stack – Advanced Momentum + Volatility “Stack”
🧠 Overview
HOG QQE Stack enhances classic QQE (a smoothed RSI variant) by layering multiple signal validation components: momentum, volatility, color gradient, and volume confirmation. This “stacked” structure produces clearer, more reliable signals than using RSI or QQE alone.
📊 Key Features
1. **Smoothed RSI Core**
Starts from a twice-smoothed RSI base (similar to QQE), reducing noise for cleaner trend detection. :contentReference {index=1}
2. **Fast & Slow Momentum Lines**
Generates dual lines for momentum crossovers—more precise than single-oscillator readings. :contentReference {index=2}
3. **ATR Volatility Filter**
Adds volatility-based bands around the fast line, helping filter out weak moves and false signals. :contentReference {index=3}
4. **Volume‑Validated Pulse Dots**
Pulse dots indicate when strong momentum aligns with volume spikes near overbought/oversold zones—highlighting high-confidence moves.
5. **Gradient Color Line**
The QQE line dynamically colors itself based on its position between OB/OS levels—intuitive and visually insightful.
6. **OB/OS & Midline Context**
Includes fixed 70/50/30 reference lines for quick momentum benchmarking.
7. **Layered Signal Strength**
By stacking momentum, volatility, gradient, and volume, the indicator provides multi-tiered confirmation—hence the “Stack” name.
8. **Repaint-Safe & Minimalist**
Plots only confirmed data—no repainting. The visuals are clean and easy to read.
🎯 Application
- Monitor fast/slow momentum crossovers *within* the volatility band for confirmed trend shifts.
- Use pulse dots to confirm strong movement backed by volume.
- Ideal for 4H/Daily charts, especially when used with HOG Super Trend or Liquidity Hunter.
- OB/OS levels (70/50/30) serve as guides for potential reversals or continuations.
⚙️ Inputs
- RSI Length
- QQE Smooth Factor
- WAE Length & Multiplier
- Overbought & Oversold Levels (default 70/30)
⚠️ Notes
- Designed as a **confirmation stack**, not a standalone strategy.
- No repainting—uses confirmed bar values only.
- Fully original code—no copying.
- No guarantees of performance—use proper risk management.
Color StochDestaca cuando supera niveles establecidos, para usar debajo del panel como estocástico aparte.
5, 3, 5.
Muy sensible, para 5 min TF preferiblemente.
Highlights area when it exceeds established levels, to be used below panel, as a normal stochastic.
5, 3, 5.
Very sensitive, for 5 min TF preferably.
R2 Breakout Simple StrategyStrategy working with R2 level from Pivot Points indicador in order to detect strenght on bullish direction and enter once the price crosses the level.
Working on EURUSD and other Forex pairs.
HOG Super Trend🔍 HOG Super Trend – Dual‑EMA Trend Confidence
🧠 Overview
Combines two EMAs—Base EMA and Confirmation EMA—to highlight strong trend alignment. Filters trades with price, EMA cross, and slope direction logic.
⚙️ How It Works
• Base EMA (default 34) and Confirmation EMA (default 13)
• Trend flagged only when:
– Price is above/below Base EMA
– Confirmation EMA aligns above/below Base EMA
– Both EMAs are sloping in the same direction
• Colors: Aqua = Bull trend, Red = Bear trend
🎯 Inputs
• Source (price)
• Base EMA Length
• Confirmation EMA Length
✅ Benefits
• Clean trend filter based on alignment and momentum
• No gray—sharp visuals with clear direction cues
• Repaint‑safe—uses confirmed bar data only
📈 Use Cases
• Perfect for trend confirmation on 1H, 4H, or Daily charts
• Use with price action, volume, or structure for precise entries
⚠️ Notes
• Not a standalone signal, but a trend confirmation tool
• No performance guarantees—test with your strategy