OBV/AD Breakout AlertIt shows selective original OBV & AD
You can choose each one or both
It shows each one's break out period
Penunjuk dan strategi
StoRsi# StoRSI Indicator: Combining RSI and Stochastic with multiTF
## Overview
The StoRSI indicator combines Relative Strength Index (RSI) and Stochastic oscillators in a single view to provide powerful momentum and trend analysis. By displaying both indicators together with multi-timeframe analysis, it helps traders identify stronger signals when both indicators align.
## Key Components
### 1. RSI (Relative Strength Index)
### 2. Stochastic Oscillator
### 3. EMA (Exponential Moving Average)
### 4. Multi-Timeframe Analysis
## Visual Features
- **Color-coded zones**: Highlights overbought/oversold areas
- **Signal backgrounds**: Shows when both indicators align
- **Multi-timeframe table**: Displays RSI, Stochastic, and trend across timeframes
- **Customizable colors**: Allows full visual customization
## Signal Generation (some need to uncomment in code)
The indicator generates several types of signals:
1. **RSI crosses**: When RSI crosses above/below overbought/oversold levels
2. **Stochastic crosses**: When Stochastic %K crosses above/below overbought/oversold levels
3. **Combined signals**: When both indicators show the same condition
4. **Trend alignment**: When multiple timeframes show the same trend direction
## Conclusion
The StoRSI indicator provides a comprehensive view of market momentum by combining two powerful oscillators with multi-timeframe analysis. By looking for alignment between RSI and Stochastic across different timeframes, traders can identify stronger signals and filter out potential false moves. The visual design makes it easy to spot opportunities at a glance, while the customizable parameters allow adaptation to different markets and trading styles.
For best results, use this indicator as part of a complete trading system that includes proper risk management, trend analysis, and confirmation from price action patterns.
TRW Gold 15minFrom the real world student Hannibal De Carthage.
Use it only on Gold 15M Timeframe.
God bless you!
Super YZH Modelsma200 and sma20 especially works 30m 1h. candle filter, the wick must be more than %50 of total candle. sma200 and sma20 must ne in trend. the wick must be on sma20 than we need body closure from this canlde
Elle MTF Execution MapThe Elle MTF Execution Map is a precision-built, multi-timeframe TradingView indicator designed for traders who align the Daily, 1-Hour, and 5-Minute charts. This script simplifies your execution process by visually marking key market zones and confluences — so you can stop overthinking and start trading with clarity.
Whether you're a price action trader or still developing your strategy, this tool helps you stay disciplined, focused, and confident in your decisions.
Features:
Automatic High Timeframe Zones
Daily and 1-Hour highs and lows automatically plotted on the 5-minute chart
Clean color-coded zone levels to anchor your bias
Engulfing Candle Detection
Bullish and bearish engulfing candles are highlighted only when they form near HTF zones
Helps you time entries based on price reaction, not emotion
Fair Value Gap (FVG) Highlighting
FVGs are auto-detected and shown as translucent boxes
Only appear near zones to reduce noise and increase precision
Zone-Only Logic for Clean Charts
All signals (engulfing candles and FVGs) require proximity to HTF zones
No overfitting. No clutter. Just what matters.
Built for the Trader Who Executes with Intention
Perfect for intraday scalpers, prop firm traders, and anyone using price action structure
Designed for use with live sessions, journaling, and trade recaps
IEK Signal Buy OnlyIEK Signal Buy Only
Bullish Reversal Detection with Multi-Condition Filters
Overview
This indicator is designed to detect bullish reversal opportunities by combining candlestick behavior, momentum shifts, and trend confirmation. It focuses solely on BUY signals to help traders identify rebound opportunities during extended downtrends or near oversold conditions.
What It Does
This script generates a BUY signal only when all of the following conditions are met:
Reversal Candlestick Pattern
A bullish candle with a long lower wick and a green body, indicating potential rejection of lower prices.
EMA Trend Filter
The price must be below a long-period Exponential Moving Average (default: 89), suggesting that the market is in a downtrend or pullback state.
RSI Oversold Condition
The RSI value must be below a set threshold (default: 45), highlighting weakening selling pressure or oversold conditions.
MACD Histogram Confirmation
The MACD histogram must be increasing, signaling a possible momentum shift to the upside.
A signal is plotted only when all these criteria are true on the same candle.
Why These Conditions Work Together
Each component adds a layer of confirmation:
The candlestick structure highlights possible market rejection at lower levels.
EMA filtering ensures signals are only taken during downtrends or pullbacks, where rebound setups are more likely.
RSI adds momentum context to avoid chasing the market too early.
MACD histogram slope helps detect strengthening momentum before the price rises.
This combination avoids arbitrary mashups by integrating each tool into a cohesive reversal strategy.
Additional Features
Signal markers displayed directly on the chart when conditions are met
EMA line plotted and colored by trend direction
MACD crossover zones displayed via background shading
Real-time RSI label with context-aware coloring
Automatic detection of nearby support and resistance levels with visual labels and zones
Not a Test or Fork
This script is fully functional and built for practical trading use. It is not an experiment, a minor variation of another script, or a copy with no added logic.
Disclaimer
This script is for educational purposes only and does not constitute financial advice.
Users should apply their own judgment and risk management when using it in live trading.
///////////////////////////////////////////
IEK Signal Buy Only
อินดิเคเตอร์จับสัญญาณกลับตัวขาขึ้นด้วยเงื่อนไขหลายชั้น
ภาพรวม
อินดิเคเตอร์นี้ออกแบบมาเพื่อค้นหาสัญญาณกลับตัวขาขึ้น (Bullish Reversal) โดยอิงจากพฤติกรรมของแท่งเทียน โมเมนตัมของราคา และการยืนยันแนวโน้ม
เน้นเฉพาะฝั่ง Buy เพื่อช่วยให้เทรดเดอร์หาจังหวะรีบาวด์ในช่วงขาลง หรือเมื่อราคาเข้าใกล้โซน Oversold
กลไกการทำงาน
สัญญาณ Buy จะถูกแสดงเมื่อมีเงื่อนไขต่อไปนี้ครบพร้อมกัน:
แท่งเทียนกลับตัวขาขึ้น
ต้องเป็นแท่งเขียว (ราคาปิดสูงกว่าราคาเปิด) และมีไส้เทียนด้านล่างยาว (ยาวกว่า 1.5 เท่าของตัวแท่ง) แสดงถึงการปฏิเสธราคาต่ำที่ชัดเจน
เงื่อนไขแนวโน้มจาก EMA
ราคาต้องต่ำกว่าเส้นค่าเฉลี่ยเคลื่อนที่แบบเอ็กซ์โปเนนเชียล (EMA) ระยะยาว เช่น EMA 89 เพื่อแสดงว่าราคากำลังอยู่ในช่วงย่อตัวจากเทรนด์ใหญ่
เงื่อนไข RSI Oversold
ค่า RSI ต้องต่ำกว่าค่าที่กำหนด (เริ่มต้นที่ 45) เพื่อบ่งชี้ถึงแรงขายที่เริ่มอ่อนลง หรือเข้าสู่เขต Oversold
MACD Histogram ยืนยันโมเมนตัมขาขึ้น
Histogram ของ MACD ต้องเพิ่มขึ้นจากแท่งก่อนหน้า เพื่อยืนยันว่ากำลังเกิดแรงส่งกลับด้าน
อินดิเคเตอร์จะแสดงสัญญาณ Buy เฉพาะเมื่อเงื่อนไขทั้ง 4 ข้อข้างต้นเป็นจริงในแท่งเดียวกัน
เหตุผลที่ใช้หลายเงื่อนไขร่วมกัน
แต่ละองค์ประกอบช่วยเพิ่มความแม่นยำในลักษณะเฉพาะ:
โครงสร้างแท่งเทียนแสดงการปฏิเสธราคาต่ำ
EMA ช่วยกรองให้เข้าซื้อเฉพาะช่วงพักตัวจากเทรนด์ใหญ่
RSI ช่วยให้ไม่เข้าซื้อเร็วเกินไป
MACD Histogram ใช้ยืนยันการเปลี่ยนทิศของโมเมนตัม
การรวมกันของทั้ง 4 ส่วนนี้ไม่ใช่การนำอินดิเคเตอร์มารวมแบบสุ่ม แต่เป็นการออกแบบที่มีโครงสร้างเพื่อจับจังหวะกลับตัวที่แม่นยำ
ฟีเจอร์เพิ่มเติม
แสดงสัญญาณ Buy บนกราฟแบบชัดเจน
เส้น EMA เปลี่ยนสีตามแนวโน้ม
แสดงโซนตัดกันของ MACD ด้วยพื้นหลัง
แสดงค่า RSI แบบเรียลไทม์พร้อมสีบอกสถานะ
วาดแนวรับ-แนวต้านอัตโนมัติ พร้อมข้อความแสดงระยะห่างจากราคา
ไม่ใช่สคริปต์ทดลองหรือสำเนา
อินดิเคเตอร์นี้สร้างขึ้นเพื่อใช้งานจริง ไม่ใช่เวอร์ชันทดสอบ ไม่ใช่การดัดแปลงจากอินดิเคเตอร์อื่นโดยไม่มีการปรับปรุง
ข้อสงวนสิทธิ์
สคริปต์นี้จัดทำขึ้นเพื่อใช้เพื่อการศึกษาเท่านั้น ไม่ใช่คำแนะนำในการลงทุน
ผู้ใช้งานควรใช้ดุลยพินิจและระบบบริหารความเสี่ยงของตนเอง
Grid Tendence Long V1The “Grid Tendence Long V1” strategy is based on the classic Grid strategy, only in this case the entries and exits are made in favor of the trend and only in Long. This allows to take advantage of large trend movements to maximize profits in bull markets. Like our Grid strategies in favor of the trend, you can enter and exit with the entire balance with a controlled risk, because the distance between each grid works as a natural and adaptable stop loss and take profit. What makes it different from bidirectional strategies, is that a minimum amount of follow-through is used in Short, so that the percentage distance between the grids is maintained.
In this version of the script the entries and exits can be chosen at market or limit, and are based on the profit or loss of the current position, not on the percentage change of the price.
Like all strategies, it is recommended to optimize the parameters so that the strategy is effective for each asset and for each time frame.
Smart Fib StrategySmart Fibonacci Strategy
This advanced trading strategy combines the power of adaptive SMA entries with Fibonacci-based exit levels to create a comprehensive trend-following system that self-optimizes based on historical market conditions. Credit goes to Julien_Eche who created the "Best SMA Finder" which received an Editors Pick award.
Strategy Overview
The Smart Fibonacci Strategy employs a two-pronged approach to trading:
1. Intelligent Entries: Uses a self-optimizing SMA (Simple Moving Average) to identify optimal entry points. The system automatically tests multiple SMA lengths against historical data to determine which period provides the most robust trading signals.
2. Fibonacci-Based Exits: Implements ATR-adjusted Fibonacci bands to establish precise exit targets, with risk-management options ranging from conservative to aggressive.
This dual methodology creates a balanced system that adapts to changing market conditions while providing clear visual reference points for trade management.
Key Features
- **Self-Optimizing Entries**: Automatically calculates the most profitable SMA length based on historical performance
- **Adjustable Risk Parameters**: Choose between low-risk and high-risk exit targets
- **Directional Flexibility**: Trade long-only, short-only, or both directions
- **Visualization Tools**: Customizable display of entry lines and exit bands
- **Performance Statistics**: Comprehensive stats table showing key metrics
- **Smoothing Option**: Reduces noise in the Fibonacci bands for cleaner signals
Trading Rules
Entry Signals
- **Long Entry**: When price crosses above the blue center line (optimal SMA)
- **Short Entry**: When price crosses below the blue center line (optimal SMA)
### Exit Levels
- **Low Risk Option**: Exit at the first Fibonacci band (1.618 * ATR)
- **High Risk Option**: Exit at the second Fibonacci band (2.618 * ATR)
Strategy Parameters
Display Settings
- Toggle visibility of the stats table and indicator components
Strategy Settings
- Select trading direction (long, short, or both)
- Choose exit method (low risk or high risk)
- Set minimum trades threshold for SMA optimization
SMA Settings
- Option to use auto-optimized or fixed-length SMA
- Customize SMA length when using fixed option
Fibonacci Settings
- Adjust ATR period and SMA basis for Fibonacci bands
- Enable/disable smoothing function
- Customize Fibonacci ratio multipliers
Appearance Settings
- Modify colors, line widths, and transparency
Optimization Methodology
The strategy employs a sophisticated optimization algorithm that:
1. Tests multiple SMA lengths against historical data
2. Evaluates performance based on trade count, profit factor, and win rate
3. Calculates a "robustness score" that balances profitability with statistical significance
4. Selects the SMA length with the highest robustness score
This ensures that the strategy's entry signals are continuously adapting to the most effective parameters for current market conditions.
Risk Management
Position sizing is fixed at $2,000 per trade, allowing for consistent exposure across all trading setups. The Fibonacci-based exit system provides two distinct risk management approaches:
- **Conservative Approach**: Using the first Fibonacci band for exits produces more frequent but smaller wins
- **Aggressive Approach**: Using the second Fibonacci band allows for larger potential gains at the cost of increased volatility
Ideal Usage
This strategy is best suited for:
- Trending markets with clear directional moves
- Timeframes from 4H to Daily for most balanced results
- Instruments with moderate volatility (stocks, forex, commodities)
Traders can further enhance performance by combining this strategy with broader market analysis to confirm the prevailing trend direction.
extradestrategy LITE VERSIONCRYPTO:BTCUSD FOREXCOM:EURUSD FOREXCOM:USOIL CRYPTO:BTCUSD CAPITALCOM:US500 OANDA:XAUUSD
Strategy Components
Instruments: BTC/USD, USOIL, US500
Timeframes: M1 – M15
Main Indicators:
Moving Average (MA): Identifies short- to mid-term trend direction
Average True Range (ATR): Measures market volatility and adjusts SL/TP accordingly
Entry & Exit Rules
Entry:
Buy positions are opened when the price is above the MA and the ATR shows potential for significant movement.
Sell positions are opened when the price is below the MA and ATR indicates sufficient volatility.
Exit:
SL and TP are flexibly adjusted based on ATR or the latest market structure.
Trades may be closed early if a trend reversal is signaled by MA movement.
Risk Management
Risk per trade is limited to 1% of the total capital to control drawdown and ensure consistent account growth.
No hedging is used; the system operates on a single-directional approach with clear trend conviction.
Let me know if you’d like help creating a TradingView Pine Script or performance journal template based on this strategy.
XAUUSD
US500
USOIL
EURUSD
BTCUSD
(OFPI) Order Flow Polarity Index - Momentum Gauge (DAFE) (OFPI) Order Flow Polarity Index - Momentum Gauge: Decode Market Aggression
The (OFPI) Gauge Bar is your front-row seat to the battle between buyers and sellers. This isn’t just another indicator—it’s a momentum tracker that reveals market aggression through a sleek, centered gauge bar and a smart dashboard. Built for traders who want clarity without clutter, it’s your edge for spotting who’s driving price, bar by bar.
What Makes It Unique?
Order Flow Pressure Index (OFPI): Splits volume into buy vs. sell pressure based on candle body position. It’s not just volume—it’s intent, showing who’s got the upper hand.
T3 Smoothing Magic: Uses a Tilson T3 moving average to keep signals smooth yet responsive. No laggy SMA nonsense here.
Centered Gauge Bar: A 20-segment bar splits bullish (lime) and bearish (red) momentum around a neutral center. Empty segments scream indecision—it’s like a visual heartbeat of the market.
Momentum Shift Alerts: Catches reversals with “Momentum Shift” flags when the OFPI crests, so you’re not caught off guard.
Clean Dashboard: A compact, bottom-left table shows momentum status, the gauge bar, and the OFPI value. Color-coded, transparent, and no chart clutter.
Inputs & Customization
Lookback Length (default 10): Set the window for pressure calculations. Short for scalps, long for trends.
T3 Smoothing Length (default 5): Tune the smoothness. Tight for fast markets, relaxed for chill ones.
T3 Volume Factor (default 0.7): Crank it up for snappy signals or down for silky trends.
Toggle the dashboard for minimalist setups or mobile trading.
How to Use It
Bullish Momentum (Lime, Right-Filled): Buyers are flexing. Look for breakouts or trend continuations. Pair with support levels.
Bearish Momentum (Red, Left-Filled): Sellers are in charge. Scout for breakdowns or shorts. Check resistance zones.
Neutral (Orange, Near Center): Market’s chilling. Avoid big bets—wait for a breakout or play the range.
Momentum Shift: A reversal might be brewing. Confirm with price action before jumping in.
Not a Solo Act: Combine with your strategy—trendlines, RSI, whatever. It’s a momentum lens, not a buy/sell bot.
Why Use the OFPI Gauge?
See the Fight: Most tools just count volume. OFPI shows who’s winning with a visual that slaps.
Works Anywhere: Crypto, stocks, forex, any timeframe. Tune it to your style.
Clean & Pro: No chart spam, just a sharp gauge and a dashboard that delivers.
Unique Edge: No other indicator blends body-based pressure, T3 smoothing, and a centered gauge like this.
The OFPI Gauge catches the market’s pulse so you can trade with confidence. It’s not about predicting the future—it’s about knowing who’s in control right now.
For educational purposes only. Not financial advice. Always use proper risk management.
Use with discipline. Trade your edge.
— Dskyz , for DAFE Trading Systems
extradestrategy - Telegram Bot ReadyStrategy Components
Instruments: BTC/USD, USOIL, US500
Timeframes: M1 – M15
Main Indicators:
Moving Average (MA): Identifies short- to mid-term trend direction
Average True Range (ATR): Measures market volatility and adjusts SL/TP accordingly
Entry & Exit Rules
Entry:
Buy positions are opened when the price is above the MA and the ATR shows potential for significant movement.
Sell positions are opened when the price is below the MA and ATR indicates sufficient volatility.
Exit:
SL and TP are flexibly adjusted based on ATR or the latest market structure.
Trades may be closed early if a trend reversal is signaled by MA movement.
Risk Management
Risk per trade is limited to 1% of the total capital to control drawdown and ensure consistent account growth.
No hedging is used; the system operates on a single-directional approach with clear trend conviction.
Let me know if you’d like help creating a TradingView Pine Script or performance journal template based on this strategy. OANDA:XAUUSD CAPITALCOM:US500 FOREXCOM:USOIL FOREXCOM:EURUSD CRYPTO:BTCUSD
Flashing Dashboard: diy Market Levelsdiy levels you can input to have a flash of green for a visual of your price level.
IEK Signal Sell OnlyIEK Signal Sell Only
Bearish Reversal Detection with Multi-Condition Filters
Overview
This indicator is designed to detect bearish reversal opportunities by combining candlestick behavior, momentum shifts, and trend confirmation. It focuses solely on SELL signals to help traders identify market exhaustion during extended uptrends.
What It Does
This script generates a SELL signal only when all of the following conditions are met:
Reversal Candlestick Pattern
A bearish candle with a long upper wick and a red body, indicating potential rejection at higher prices.
EMA Trend Filter
The price must be above a long-period Exponential Moving Average (default: 89), suggesting that the market is in an uptrend and potentially overextended.
RSI Overbought Condition
The RSI value must be above a set threshold (default: 55), highlighting weakening buying pressure or overbought conditions.
MACD Histogram Confirmation
The MACD histogram must be decreasing, signaling a possible momentum shift to the downside.
A signal is plotted only when all these criteria are true on the same candle.
Why These Conditions Work Together
Each component adds a layer of confirmation:
The candlestick structure highlights possible market rejection.
EMA filtering ensures signals are only taken during uptrends, where mean-reverting setups are more likely.
RSI adds momentum context to avoid entering too early.
MACD histogram slope helps detect fading strength before the price turns.
This combination avoids arbitrary mashups by integrating each tool into a cohesive reversal strategy.
Additional Features
Signal markers displayed directly on the chart when conditions are met
EMA line plotted and colored by trend direction
MACD crossover zones displayed via background shading
Real-time RSI label with context-aware coloring
Automatic detection of nearby support and resistance levels with visual labels and zones
Not a Test or Fork
This script is fully functional and built for practical trading use. It is not an experiment, a minor variation of another script, or a copy with no added logic.
Disclaimer
This script is for educational purposes only and does not constitute financial advice.
Users should apply their own judgment and risk management when using it in live trading.
////////////////////////////////////////////////////////////////////////
IEK Signal Sell Only
อินดิเคเตอร์จับสัญญาณกลับตัวขาลงแบบมีเงื่อนไขหลายชั้น
ภาพรวม
อินดิเคเตอร์ตัวนี้ออกแบบมาเพื่อจับจังหวะการกลับตัวขาลง (Bearish Reversal) โดยพิจารณาจากพฤติกรรมแท่งเทียน โมเมนตัม และทิศทางของแนวโน้ม โดยเน้นเฉพาะสัญญาณฝั่งขาย (Sell) เหมาะสำหรับผู้ที่ต้องการหาจุดขายเมื่อราคาอยู่ในแนวโน้มขาขึ้นหรือช่วงที่ราคายืดตัวมากเกินไป
กลไกการทำงาน
สัญญาณ Sell จะเกิดขึ้นเมื่อเงื่อนไขทั้งหมดต่อไปนี้เป็นจริงพร้อมกัน:
แท่งเทียนกลับตัวขาลง
มีลักษณะแท่งแดง (ราคาปิดต่ำกว่าราคาเปิด) และมีไส้เทียนด้านบนยาวกว่าปกติ ซึ่งมักแสดงถึงแรงขายที่เกิดจากการถูกปฏิเสธราคาในระดับสูง
กรองแนวโน้มด้วย EMA
ราคาปิดต้องอยู่เหนือเส้นค่าเฉลี่ยเคลื่อนที่แบบเอ็กซ์โปเนนเชียล (EMA) ระยะยาว เช่น EMA 89 เพื่อระบุว่าตลาดอยู่ในขาขึ้นและเริ่มมีความเสี่ยงต่อการพักตัว
ค่า RSI อยู่ในโซน Overbought
RSI ต้องมากกว่าค่าที่กำหนดไว้ เช่น 55 เพื่อบ่งชี้ว่าแรงซื้อเริ่มอ่อนแรง หรืออยู่ในภาวะซื้อมากเกินไป
MACD Histogram ลดลง
Histogram ของ MACD ต้องลดลงจากแท่งก่อนหน้า เพื่อยืนยันว่าโมเมนตัมกำลังเริ่มเปลี่ยนทิศทาง
หากครบทั้ง 4 เงื่อนไข อินดิเคเตอร์จะแสดงสัญญาณขายบนกราฟทันที
เหตุผลในการรวมองค์ประกอบเหล่านี้
องค์ประกอบแต่ละตัวมีหน้าที่เสริมซึ่งกันและกัน:
โครงสร้างแท่งเทียนให้ภาพการกลับตัวแบบชัดเจน
EMA ใช้เพื่อจำกัดการเข้า Sell เฉพาะในแนวโน้มขาขึ้นที่มีโอกาสพักตัว
RSI เป็นตัวกรองเชิงโมเมนตัม เพื่อไม่ให้เข้าสวนเทรนด์เร็วเกินไป
MACD Histogram ใช้ตรวจสอบการเปลี่ยนทิศของแรงขับเคลื่อน
จุดเด่นคือ ไม่ใช่การรวมตัวของอินดิเคเตอร์แบบสุ่ม แต่เป็นการออกแบบที่มีโครงสร้างชัดเจนและสัมพันธ์กัน
ฟีเจอร์เพิ่มเติม
แสดงสัญญาณ Sell ด้วยสัญลักษณ์บนแท่งเทียน
เส้น EMA เปลี่ยนสีตามทิศทางแนวโน้ม
แสดงโซน MACD crossover ด้วยพื้นหลัง
แสดงค่าของ RSI พร้อมการเปลี่ยนสีตามระดับ
คำนวณแนวรับ–แนวต้านโดยอัตโนมัติ พร้อมวาดเส้นและกล่องแสดงระยะห่างจากราคา
ไม่ใช่สคริปต์ทดลอง
สคริปต์นี้พัฒนาเพื่อใช้งานจริง และไม่ใช่สคริปต์ทดลองหรือดัดแปลงจากโค้ดอื่นโดยไม่มีการปรับปรุงเชิงตรรกะ
ข้อสงวนสิทธิ์
อินดิเคเตอร์นี้จัดทำขึ้นเพื่อใช้ในการศึกษาเท่านั้น และไม่ใช่คำแนะนำในการลงทุน
ผู้ใช้งานควรใช้ดุลยพินิจและบริหารความเสี่ยงด้วยตนเอง
Cointegration Heatmap & Spread Table [EdgeTerminal]The Cointegration Heatmap is a powerful visual and quantitative tool designed to uncover deep, statistically meaningful relationships between assets.
Unlike traditional indicators that react to price movement, this tool analyzes the underlying statistical relationship between two time series and tracks when they diverge from their long-term equilibrium — offering actionable signals for mean-reversion trades .
What Is Cointegration?
Most traders are familiar with correlation, which measures how two assets move together in the short term. But correlation is shallow — it doesn’t imply a stable or predictable relationship over time.
Cointegration, however, is a deeper statistical concept: Two assets are cointegrated if a linear combination of their prices or returns is stationary , even if the individual series themselves are non-stationary.
Cointegration is a foundational concept in time series analysis, widely used by hedge funds, proprietary trading firms, and quantitative researchers. This indicator brings that institutional-grade concept into an easy-to-use and fully visual TradingView indicator.
This tool helps answer key questions like:
“Which stocks tend to move in sync over the long term?”
“When are two assets diverging beyond statistical norms?”
“Is now the right time to short one and long the other?”
Using a combination of regression analysis, residual modeling, and Z-score evaluation, this indicator surfaces opportunities where price relationships are stretched and likely to snap back — making it ideal for building low-risk, high-probability trade setups.
In simple terms:
Cointegrated assets drift apart temporarily, but always come back together over time. This behavior is the foundation of successful pairs trading.
How the Indicator Works
Cointegration Heatmap indicator works across any market supported on TradingView — from stocks and ETFs to cryptocurrencies and forex pairs.
You enter your list of symbols, choose a timeframe, and the indicator updates every bar with live cointegration scores, spread signals, and trade-ready insights.
Indicator Settings:
Symbol list: a customizable list of symbols separated by commas
Returns timeframe: time frame selection for return sampling (Weekly or Monthly)
Max periods: max periods to limit the data to a certain time and to control indicator performance
This indicator accomplishes three major goals in one streamlined package:
Identifies stable long-term relationships (cointegration) between assets, using a heatmap visualization.
Tracks the spread — the difference between actual prices and the predicted linear relationship — between each pair.
Generates trade signals based on Z-score deviations from the mean spread, helping traders know when a pair is statistically overextended and likely to mean revert.
The math:
Returns are calculated using spread tickers to ensure alignment in time and adjust for dividends, splits, and other inconsistencies.
For each unique pair of symbols, we perform a linear regression
Yt=α+βXt+ε
Then we compute the residuals (errors from the regression):
Spreadt=Yt−(α+βXt)
Calculate the standard deviation of the spread over a moving window (default: 100 samples) and finally, define the Cointegration Score:
S=1/Standard Deviation of Residuals
This means, the lower the deviation, the tighter the relationship, so higher scores indicate stronger cointegration.
Always remember that cointegration can break down so monitor the asset over time and over multiple different timeframes before making a decision.
How to use the indicator
The heatmap table:
The indicator displays 2 very important tables, one in the middle and one on the right side. After entering your symbols, the first table to pay attention to is the middle heatmap table.
Any assets with a cointegration value of 25% is something to pay attention to and have a strong and stable relationship. Anything below is weak and not tradable.
Additionally, the 40% level is another important line to cross. Assets that have a cointegration score of over 40% will most likely have an extremely strong relationship.
Think about it this way, the higher the percentage, the tighter and more statistically reliable the relationship is.
The spread table:
After finding a good asset pair using heatmap, locate the same pair in the spread table (right side).
Here’s what you’ll see on the table:
Spread: Current difference between the two symbols based on the regression fit
Mean: Historical average of that spread
Z-score: How far current spread is from the mean in standard deviations
Signal: Trade suggestion: Short, Long, or Neutral
Since you’re expecting mean reversion, the idea is that the spread will return to the average. You want to take a trade when the z-score is either over +2 or below -2 and exit when z-score returns to near 0.
You will usually see the trade suggestion on the spread chart but you can make your own decision based on your risk level.
Keep in mind that the Z-score for each pair refers to how off the first asset is from the mean compared to the second one, so for example if you see STOCKA vs STOCKB with a Z-score of -1.55, we are regressing STOCKB (Y) on STOCKA (X).
In this case, STOCKB is the quoted asset and STOCKA is the base asset.
In this case, this means that STOCKB is much lower than expected relative to STOCKA, so the trade would be a long position on stock B and short position on stock A.
4 EMA Modified [Ryu_xp] - Enhanced4 EMA Modified – Enhanced (Pine v6)
A highly configurable, four-line exponential moving average (EMA) overlay built in Pine Script v6. This indicator empowers traders to monitor short- and long-term trends simultaneously, with the ability to toggle each EMA on or off and adjust its period and data source—all from a single, inline control panel.
Key Features:
Pine Script v6: updated to leverage the latest performance improvements and language features.
Four EMAs:
EMA 3 for ultra-short momentum (white, medium line)
EMA 10 for short-term trend (light blue, thin line)
EMA 55 for intermediate trend (orange, thicker line)
EMA 200 for long-term trend (dynamic green/red, thickest line)
Inline Controls: Each EMA has its own checkbox, length input, and source selector arranged on a single line for fast configuration.
Dynamic Coloring: EMA 200 switches to green when price is above it (bullish) and red when price is below it (bearish).
Toggle Visibility: Enable or disable any EMA instantly without removing it from your chart.
Clean Overlay: All EMAs plotted in one pane; ideal for multi-timeframe trend confluence and crossover strategies.
Inputs:
Show/Hide each EMA
EMA Length and Source for periods 3, 10, 55, and 200
Usage:
Add the script to any price chart.
Use the inline checkboxes to show only the EMAs you need.
Adjust lengths and sources to fit your instrument and timeframe.
Watch for crossovers between EMAs or price interactions with EMA 200 to confirm trend shifts.
This open-source script offers maximum flexibility for traders seeking a customizable EMA toolkit in one simple overlay.
Clinic-GoldProsignalStrategy Explanation: Stochastic Divergence Signal
This strategy utilizes the Stochastic Oscillator in combination with divergence detection to identify potential reversal points in the market.
Stochastic Calculation
The Stochastic Oscillator is calculated using a smoothed version of the %K and %D lines. These values help identify momentum and potential overbought or oversold conditions in the market.
Divergence Logic
The script detects two types of divergences between price action and the Stochastic indicator:
Bullish Divergence
Occurs when price makes a lower low, but the Stochastic forms a higher low, while also being in an oversold condition. This may indicate weakening bearish momentum and a potential upward reversal.
Bearish Divergence
Occurs when price makes a higher high, but the Stochastic forms a lower high, while also being in an overbought condition. This suggests weakening bullish momentum and a possible downward reversal.
Signal Plotting
A Buy Signal is generated when a bullish divergence is detected.
A Sell Signal is generated when a bearish divergence is identified.
These signals are visually displayed on the chart using arrows or labels positioned above or below the bars.
Alerts
The script also includes alert conditions that notify the trader whenever a buy or sell signal is triggered, allowing for timely decisions based on momentum shifts.
Buy/Sell Volume Linecommon approximation is:
Buy volume: If the close is higher than open → assume the volume is mostly buying.
Sell volume: If the close is lower than open → assume the volume is mostly selling.
冰凍指標 (雙重回踩確認)測試 80% Win Rate – The Mysterious Indicator
Your Secret Weapon for Smart Entry Signals (with Auto Push Alerts!)
Introduction:
Are you searching for a trading indicator that combines mystery, simplicity, and an incredible win rate? The “Mysterious Indicator” is designed to deliver just that, offering up to an 80% historical win rate on major crypto assets and global markets. Engineered for active traders, this indicator automatically detects prime entry opportunities and sends instant push notifications the moment a high-probability setup appears—no more second-guessing or missed trades.
Core Features:
80% Historical Win Rate:
The indicator uses a unique blend of price structure, momentum, and market sentiment filters to identify setups with a high probability of success.
Plug-and-Play Simplicity:
Easy to add to any TradingView chart, with intuitive visual signals: green for long, red for short, and clear confirmation markers.
Automatic Push Notifications:
Instantly receive trading signals via Telegram, app notifications, or email—customizable for your style.
Adaptable for All Timeframes:
Works seamlessly from 5-minute scalps to daily swing trades.
How It Works:
Multi-Condition Algorithm:
Detects trend strength and reversal points using moving averages, market structure, and “mysterious” secret logic.
Confirms only when at least 2 out of 3 conditions align, reducing false signals and improving reliability.
Real-Time Monitoring:
The indicator scans price action 24/7. When conditions are met, you get an instant push notification (Telegram, mobile app, or desktop).
Clear Entry Suggestions:
Each alert includes trade direction, suggested entry price, and confidence level (e.g., “Bullish: 78%” or “Bearish: 81%”).
Why Traders Love It:
Removes emotions and hesitation from trading.
Catches the majority of big moves without chasing price.
Perfect for both manual traders and as an add-on for automated trading bots.
Try It Now:
Just add the “Mysterious Indicator” to your chart, link your Telegram or preferred alert system, and let it do the heavy lifting.
Unlock the secret edge—see why advanced traders call this their “80% win rate auto-pilot.”
Pro Tip:
For best results, always confirm with your own risk management rules and never risk more than you can afford to lose.
If you want this as an official website intro, product listing, or bot description, let me know if you want it even more “salesy” or more technical! Want to add a catchy slogan or Telegram join link? Just tell me!
Linda MACD Divergence w/ Lines + Cam FilterThis is an improvement on the first. Pay around with the Diff setting and do some backtesting. you could try traditional macd settings but the Linda's divergence is the secret to this set up.
ADX Pro [Ryu_xp] - EnhancedADX Pro – Enhanced (Pine v6)
A modernized ADX indicator built in Pine Script v6, combining customizable trend-strength thresholds with optional DI plotting, candle coloring, and a built-in label table for at-a-glance readings. Designed to give traders precise entry signals and market-condition awareness in one clean pane.
Key Features:
Fully Updated to Pine v6: Leverages the latest Pine Script features for speed and reliability.
Adjustable Trend Levels: Define your own “Disinterest” (default 20) and “Strong Trend” (default 35) levels to suit any instrument or timeframe.
Monocolor Mode: Override dynamic coloring and choose a single ADX line color for a minimalistic look.
Optional +DI/–DI Plotting: Toggle directional indicators on or off without modifying the code.
Candle Coloring: Barcolors reflect current ADX strength zone, making trend bias instantly visible on price.
45° Direction Arrow: Easily read whether ADX is rising (↗) or falling (↘) without needing to inspect values.
Live Status Table: A compact, right-aligned table displays the current ADX value, arrow, and label “ADX” in a colored cell—fully resizable to your chart layout.
Built-in Alerts:
Strong Trend Alert when ADX ≥ trend level.
Disinterest Alert when ADX < range level.
Usage:
Apply to any chart on a clean pane (no extra indicators).
Configure “Disinterest” and “Trend” levels as desired.
Enable monocolor or DI plots if needed.
Watch live table and bar colors for quick decision-making.
Set up alerts to automate your strategy triggers.
Multi-Timeframe RSI Divergenceweekly RSI divergence indicator. marking are made on chart for bullish and bearish indication on charts. suggestion for improvement are welcomed for refinement.