08-2018 Stochastic 5m [ALERT SETUP] [INDICATOR]This is an accumulation of small buy orders and a complete sell order strategy, that can be used for manual trading or for a trading bot. The strategy is based on stockastic divergences ( an indicator that I made myself and is published on my profile earlier ), and I added my personnal touch of course. Note that the bullish and bearish stochastic divergences are calculated separately and can be configured in the inputs.
To be used with a 5m timeframe, and on a flat or bullish pair.
Everyone can favorite the script, apply it to the chart, but only I can see or modify the code. If you need anything, leave a comment, thanks :D
More info about the script, such as inputs description, how to configure the script, strategy explanation, alert configuration can be found here : blockchainfiesta.com
--------------------------------------------------------------------------------------------------------------
I do commission work: TradingView Pine Script development & Reverse Engineering.
contact@blockchainfiesta.com.
You can also send me a message in TradingView or Discord (discord.gg)
Bitcoin address: 19sVQvCDmVfEACq7BiMnWSMqFPZ8qfSQ2K
ETH address: 0xc8a5d3a63a05db0c2363ea1c08b37a01cce9ebfb
ค้นหาในสคริปต์สำหรับ "bear"
RSI_EMA & Bearish EngulfingThis is a RSI-RSI of EMA and bearish candlestick reversal pattern formed by two candlesticks. Following an uptrend, the first candlestick is a up candlestick which is followed by a down candlestick which has a long real body that engulfs or contains the real body of the prior bar. following an uptrend, if RSI and EMA line cross then Sell and for downtrend if RSI and EMA line cross then Buy.
Spicytrader [BUY and SELL signals + Breakouts + Trendline]
BUY and SELL signals (with alerts)
Support and resistant breakout (with alerts)
Auto trendlines : Bullish and bearish market (with alerts)
100% Compatible with Autoview bot (Buy, Sell, Takeprofit, Stop loss)
TRY IT FOR FREE : spicytrader.com
Stochastique Divergences IndicatorHello,
I made a custom indicator.
Divergences with stochastique and price are really strong signals.
About the indicator
A bullish divergence happens when the stoch K makes a higher low and is depicted by a green triangle up.
A bearish divergence happens when the stoch K makes a lower high and is depicted by a red triangle down.
This script is the base for my next strategy that I should upload soon.
I will grant access (to this script and my others) to people willing to make a small donation.
Here is my BTC address : 19sVQvCDmVfEACq7BiMnWSMqFPZ8qfSQ2K
If you prefer ETH : 0xc8a5d3a63a05db0c2363ea1c08b37a01cce9ebfb
Send me a Private Message with the ID of the transaction
If you want to do some forward testing first, send me a message.
Also check blockchainfiesta.com
wTF50This is a customized trend filter that has several uses:
It helps identify trend direction, either bullish or bearish
It distinguishes between a pullback and a trend reversal
It helps identify areas where traders should stand aside
It highlights areas of consolidation
dTF50This is a customized trend filter that has several uses:
It helps identify trend direction, either bullish or bearish
It distinguishes between a pullback and a trend reversal
It helps identify areas where traders should stand aside
It highlights areas of consolidation
OBV divergence hidden and regular on both bearish and bullish.OBV (on balance volume) divergence indicator with hidden and regular signal on both bearish and bullish.
CMYK VRMI◊ Introduction
This script indicates the relative movement of price x volume.
◊ Origin
Based on 'The Relative Momentum Index' by Roger Altman : February, 1993 issue of Technical Analysis of Stocks & Commodities magazine.
While RSI counts up and down days from close to close, the Relative Momentum Index counts up and down days from the close relative to a close x number of days ago.
This results in an RSI that is smoother. The input has been changed to the change of a smoothed close multiplied by a smoothed volume.
The polarity of VRMI indicates bearish/bullish movement.
◊ Adjustments
CMYK color theme applied.
◊ Usage
VRMI indicates the force the market moves with.
◊ Future Prospects
-
◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊
CMYK VRMI RAYS ◊ Introduction
Introducing VRMI in this script, an RMI based on price movement and volume, to indicate bullish and bearish trends.
This script marks the background depending on RMI <> VRMI , VRMI polarity and large buy/sell sprees.
◊ Origin
Based on 'The Relative Momentum Index' by Roger Altman : February, 1993 issue of Technical Analysis of Stocks & Commodities magazine.
While RSI counts up and down days from close to close, the Relative Momentum Index counts up and down days from the close relative to a close x number of days ago.
This results in an RSI that is smoother.
In addition VRMI reacts quick, it is used to cut off latency from RMI, and it's polarity indicates the beginning and end of a trend.
Large buy sell sprees and detected in their proportion with an sma on the volume
◊ Adjustments
CMYK color theme applied.
◊ Usage
This indicator can be used to detect trends and mark reversals.
◊ Prospects
◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊
Bullish and Bearish Engulfing Patterns auto detectionThis simple indicator detects automatically most important bullish and bearish candlestick patterns formations. Used to locate potential supply and demand imbalances.
Copyright 2017 Alfonso Moreno www.set-and-forget.com
Super Envolvente (Bullish y Bearish)Identificador de Super-envolventes (SE), se encarga de darle un color verde a la SE alzista (Bullish) verde y rojo a la bajista (Bearish).
Bears VS BullsThis indicator will work on ANY instrument.
The red line is a moving average of ONLY sellers in the market.
The blue line is a moving average of ONLY buyers in the market.
The period or "length" of the individual moving averages can be adjusted in the indicator settings.
The default, it is set to 50.
Buying and selling trends often provide indications of market moves such as the most recent bottom in Cryptocurrencies.
Feel free to comment and share any indicator concepts or ideas for content you would like to see added to the Technical Indicator Bundle on www.kenzing.com
bearish Price Below PDL - Complete Multi-Confirmation Alert🎯 KEY IMPROVEMENTS:
1. Enhanced Alert Visibility:$jmoskyhigh
✅ HUGE triangle down marker with "SELL" text
✅ Alert title: "SELL SIGNAL - PDL BREAKDOWN CONFIRMED"
✅ Prominent info panel with red theme
✅ Clear "SELL ALERT: TRIGGERED" status
2. Better Visual Feedback:
Red frame around info panel
Larger shapes and markers
Color-coded confirmations (green = OK, red = FAIL)
Progress percentage displayed
Breakdown price label
3. Complete Alert System:
Main Alert: "SELL SIGNAL - PDL BREAKDOWN CONFIRMED"
Early Warning: "PDL Breakdown Started - Monitoring"
Reset Alert: "Confirmation Lost - Breakdown Reset"
Bearish signal using Point of Control (POC) with PAC by guruThis indicator code helps traders identify potential sell opportunities using several important technical indicators:
Point of Control (POC) – This is the price level where the most volume was traded over the past several days.
Previous Day's Low – This shows the lowest price reached during the previous day.
PAC (Price Action Channel) EMA – These are two moving averages (one based on the low price and one based on the close price) that help determine if the price is trending within a certain range.
Volume SMA – This is a 3-day simple moving average (SMA) of volume, which helps filter out signals based on market activity.
What the Script Does:
Point of Control (POC):
The script looks at the last 50 days (configurable) and calculates which price level had the highest trading volume.
It then plots a red line on the chart at the POC level. This is important because it helps identify areas where there was strong market interest in the past.
Volume Moving Average:
The script calculates a 3-day SMA of volume, but it excludes the current day to avoid premature signals based on today’s trading.
The volume SMA is used to ensure there’s enough market activity (with a threshold set to 25 units) before triggering a sell signal.
Price Action Channel (PAC) EMA:
The PAC consists of two exponential moving averages (EMAs):
The PAC Low EMA: This is based on the low prices over the last 34 periods (configurable).
The PAC Close EMA: This is based on the closing prices over the last 34 periods.
These EMAs help determine if the price is trending above or below certain price levels.
Sell Signal Logic: The script checks three conditions before displaying a "Sell" signal:
Price Below POC and Previous Day’s Low:
The close price must be below both the Point of Control (POC) and the previous day's low.
Volume SMA Above 25:
The 3-day volume SMA must be greater than 25. This ensures the signal only triggers when there’s enough trading volume in the market.
Today’s Low is Above PAC EMAs:
Today's low price must be above both the PAC low EMA and the PAC close EMA. This prevents sell signals when prices are already significantly below the PAC, indicating possible exhaustion in the downtrend.
If all three conditions are met, the script will display a red "Sell" label on the chart, signaling a potential selling opportunity.
No Sell Signal if Price Reverses:
If the price crosses back above the POC or the previous day's low, the script will remove the sell signal and reset for a new opportunity.
Summary of Conditions:
For the script to display a "Sell" label:
The close price must be below the Point of Control (POC) and the previous day’s low.
The 3-day volume SMA (excluding today) must be greater than 25 units.
The low price of the current day must be above both the PAC low EMA and the PAC close EMA.
If these conditions are met, a red sell label appears on the chart as a potential signal for a short (sell) trade.
Guneet-ScalperBearish trend candle color change to red with sell print
Bullish trend candle color change to green with buy print
thanks
jas toor
SMT (ICT Concepts)Overview
Smart Money Technique (SMT) Divergence is a price action analysis method derived from Inner Circle Trader (ICT) methodology. This indicator automatically detects SMT divergences by comparing price movements across correlated financial instruments, identifying moments when assets that typically move together begin to diverge - a phenomenon often associated with potential price reversals.
An SMT divergence occurs when one instrument makes a new swing high or low while a correlated instrument fails to confirm that move. This failure to confirm suggests that the instrument may be positioning for a reversal, as the divergence indicates a lack of conviction in the current price direction across related markets.
Theoretical Foundation
What is SMT Divergence?
In correlated markets, instruments tend to move in tandem. For example, the E-mini S&P 500 (ES) and E-mini Nasdaq 100 (NQ) futures typically make swing highs and lows together due to their shared exposure to U.S. equity markets. When this correlation breaks down at key swing points, it creates an SMT divergence.
Bullish SMT Divergence:
The chart instrument creates a lower low compared to a previous swing low, while the correlated comparison instrument creates a higher low (or fails to make a lower low). This divergence at the lows suggests potential buying pressure and a possible bullish reversal.
Bearish SMT Divergence:
The chart instrument creates a higher high compared to a previous swing high, while the correlated comparison instrument creates a lower high (or fails to make a higher high). This divergence at the highs suggests potential selling pressure and a possible bearish reversal.
Why SMT Divergences Matter
SMT divergences are considered significant because they may indicate:
Accumulation or distribution occurring in one instrument but not the other
Relative strength or weakness between correlated assets
Potential exhaustion of the current trend
Early warning signs before major reversals
Indicator Features
Multi-Timeframe SMT Detection
This indicator provides simultaneous SMT detection on two timeframes:
Current Timeframe (CTF) Detection:
The indicator scans for SMT divergences on the chart's active timeframe using multiple pivot lookback periods (3, 5, 8, 13, 21, and 34 bars). This multi-period approach ensures detection of both short-term and intermediate swing points, reducing the likelihood of missing valid divergences while filtering out noise.
Higher Timeframe (HTF) Detection:
Simultaneously, the indicator monitors a higher timeframe for SMT divergences using pivot periods of 3, 5, 8, 13, and 21 HTF candles. Higher timeframe signals generally carry more significance as they represent larger market structure.
Automatic Timeframe Pairing:
When enabled, the indicator automatically selects an appropriate higher timeframe based on your chart's current timeframe:
Sub-1 minute charts pair with 5-minute
1-2 minute charts pair with 15-minute
3-4 minute charts pair with 30-minute
5 minute charts pair with 1-hour
6-9 minute charts pair with 1-hour
15 minute charts pair with 4-hour
16-59 minute charts pair with Daily
1-4 hour charts pair with Weekly
Daily charts pair with Monthly
Combined Signal Detection:
When an SMT divergence is detected on both the current timeframe and higher timeframe at the same price pivots, the indicator combines these into a single enhanced signal. Combined signals display both timeframes in the label and use the higher timeframe styling to emphasize their increased significance.
Automatic Symbol Correlation
The indicator includes comprehensive automatic symbol selection based on the instrument you are viewing. When Auto SMT is enabled, the indicator intelligently selects correlated comparison symbols.
Index Futures Correlations:
E-mini Contracts:
NQ (Nasdaq 100) compares with ES (S&P 500) and YM (Dow Jones)
ES (S&P 500) compares with NQ (Nasdaq 100) and YM (Dow Jones)
YM (Dow Jones) compares with NQ (Nasdaq 100) and ES (S&P 500)
RTY (Russell 2000) compares with ES (S&P 500) and NQ (Nasdaq 100)
Micro Contracts:
MNQ (Micro Nasdaq) compares with MES (Micro S&P) and MYM (Micro Dow)
MES (Micro S&P) compares with MNQ (Micro Nasdaq) and MYM (Micro Dow)
MYM (Micro Dow) compares with MNQ (Micro Nasdaq) and MES (Micro S&P)
M2K (Micro Russell) compares with MES (Micro S&P) and MNQ (Micro Nasdaq)
Metals Futures Correlations:
Standard Contracts:
GC (Gold) compares with SI (Silver) and PL (Platinum)
SI (Silver) compares with GC (Gold) and PL (Platinum)
PL (Platinum) compares with GC (Gold) and SI (Silver)
Micro Contracts:
MGC (Micro Gold) compares with SIL (Micro Silver) and PL (Platinum)
SIL (Micro Silver) compares with MGC (Micro Gold) and PL (Platinum)
Energy Futures Correlations:
CL (Crude Oil) compares with RB (RBOB Gasoline) and NG (Natural Gas)
RB (RBOB Gasoline) compares with CL (Crude Oil) and NG (Natural Gas)
NG (Natural Gas) compares with CL (Crude Oil) and RB (RBOB Gasoline)
MCL (Micro Crude) compares with RB (RBOB Gasoline) and NG (Natural Gas)
Major ETF Correlations:
SPY (S&P 500 ETF) compares with QQQ, DIA, and IWM
QQQ (Nasdaq 100 ETF) compares with SPY, DIA, and IWM
DIA (Dow Jones ETF) compares with SPY, QQQ, and IWM
IWM (Russell 2000 ETF) compares with SPY, QQQ, and DIA
Stock Sector Mapping:
When viewing individual stocks, the indicator automatically identifies the stock's sector and selects appropriate sector ETFs for comparison:
Technology Sector (AAPL, MSFT, GOOGL, NVDA, AMD, INTC, etc.):
Primary: QQQ (Nasdaq 100 ETF)
Secondary: XLK (Technology Select Sector SPDR)
Tertiary: SPY (S&P 500 ETF)
Financial Sector (JPM, BAC, GS, MS, WFC, etc.):
Primary: XLF (Financial Select Sector SPDR)
Secondary: KBE (SPDR S&P Bank ETF)
Tertiary: SPY (S&P 500 ETF)
Energy Sector (XOM, CVX, COP, SLB, etc.):
Primary: XLE (Energy Select Sector SPDR)
Secondary: USO (United States Oil Fund)
Tertiary: SPY (S&P 500 ETF)
Healthcare Sector (JNJ, UNH, PFE, MRK, LLY, etc.):
Primary: XLV (Health Care Select Sector SPDR)
Secondary: IBB (iShares Biotechnology ETF)
Tertiary: SPY (S&P 500 ETF)
Consumer Discretionary Sector (TSLA, HD, NKE, MCD, etc.):
Primary: XLY (Consumer Discretionary Select Sector SPDR)
Secondary: SPY (S&P 500 ETF)
Tertiary: QQQ (Nasdaq 100 ETF)
Consumer Staples Sector (PG, KO, PEP, WMT, COST, etc.):
Primary: XLP (Consumer Staples Select Sector SPDR)
Secondary: SPY (S&P 500 ETF)
Tertiary: QQQ (Nasdaq 100 ETF)
Industrial Sector (CAT, BA, HON, UPS, etc.):
Primary: XLI (Industrial Select Sector SPDR)
Secondary: SPY (S&P 500 ETF)
Tertiary: QQQ (Nasdaq 100 ETF)
Materials Sector (LIN, APD, SHW, FCX, NEM, etc.):
Primary: XLB (Materials Select Sector SPDR)
Secondary: GLD (SPDR Gold Shares)
Tertiary: SPY (S&P 500 ETF)
Utilities Sector (NEE, DUK, SO, etc.):
Primary: XLU (Utilities Select Sector SPDR)
Secondary: SPY (S&P 500 ETF)
Tertiary: QQQ (Nasdaq 100 ETF)
Real Estate Sector (AMT, PLD, CCI, etc.):
Primary: XLRE (Real Estate Select Sector SPDR)
Secondary: VNQ (Vanguard Real Estate ETF)
Tertiary: SPY (S&P 500 ETF)
Communication Services Sector (NFLX, DIS, CMCSA, VZ, T, etc.):
Primary: XLC (Communication Services Select Sector SPDR)
Secondary: SPY (S&P 500 ETF)
Tertiary: QQQ (Nasdaq 100 ETF)
Forex Correlations:
EURUSD compares with GBPUSD
GBPUSD compares with EURUSD
Cryptocurrency Correlations:
BTCUSD compares with ETHUSD
ETHUSD compares with BTCUSD
Three-Symbol Comparison
The indicator supports comparison against up to three symbols simultaneously. When multiple comparison symbols show divergence at the same pivot point, all diverging symbols are displayed in the label, providing stronger confluence. For example, if NQ shows divergence with both ES and YM at the same swing high, the label will display "ES1! + YM1!" indicating divergence confirmation from multiple correlated instruments.
Invalidation Logic
SMT divergences are not indefinitely valid. The indicator includes automatic invalidation logic based on price action following the divergence signal.
Invalidation Rules:
Bearish SMT: Invalidates when price trades above the high of the confirmation pivot (right side of the divergence)
Bullish SMT: Invalidates when price trades below the low of the confirmation pivot (right side of the divergence)
The invalidation level is set at the confirmation bar (the second pivot that completes the SMT pattern), not the extreme of both pivots. This approach aligns with the concept that once price exceeds the confirmation point, the divergence setup is no longer valid.
Invalidation Display Options:
Users can choose to show or hide invalidated SMT signals separately for current timeframe and higher timeframe divergences. When shown, invalidated signals can be displayed with different line styles and widths to visually distinguish them from active signals. Separate limits prevent excessive invalidated signals from cluttering the chart (maximum 15 invalidated signals per timeframe type).
Input Settings
General Settings
Enable SMT Detection:
Master toggle to enable or disable all SMT divergence detection. When disabled, no SMT signals will be calculated or displayed.
Direction:
Filter which divergence types to display:
Both: Display both bullish and bearish SMT divergences
Bullish: Display only bullish SMT divergences (divergence at lows)
Bearish: Display only bearish SMT divergences (divergence at highs)
Symbol Settings
Enable Auto SMT:
When enabled, the indicator automatically selects correlated comparison symbols based on the chart instrument using the correlation mappings described above. When disabled, manual symbol inputs are used.
Symbol 1 (with enable toggle):
First comparison symbol. Enabled by default. When Auto SMT is disabled, enter the desired symbol manually.
Symbol 2 (with enable toggle):
Second comparison symbol. Enabled by default. When Auto SMT is disabled, enter the desired symbol manually.
Symbol 3 (with enable toggle):
Third comparison symbol. Disabled by default. Enable for additional confirmation from a third correlated instrument.
Current Timeframe SMT Settings
Show Current TF SMTs:
Toggle visibility of SMT divergences detected on the chart's current timeframe.
Bullish Color:
Color for bullish SMT divergence lines and labels on the current timeframe.
Bearish Color:
Color for bearish SMT divergence lines and labels on the current timeframe.
Line Style:
Style for current timeframe SMT lines (solid, dashed, or dotted).
Line Width:
Width of current timeframe SMT lines (1-4 pixels).
Show Labels:
Toggle visibility of labels on current timeframe SMT divergences.
Label Style:
Normal: Displays full information including timeframe and diverging symbol names
+/-: Displays minimal "+" or "-" characters with full information available in hover tooltip
Label Size:
Size of current timeframe SMT labels (Tiny, Small, Normal, or Large).
Show Invalidated:
Toggle visibility of invalidated current timeframe SMT signals.
Invalidated Line Style:
Line style for invalidated current timeframe SMT signals.
Invalidated Line Width:
Line width for invalidated current timeframe SMT signals.
Higher Timeframe SMT Settings
Show Higher TF SMTs:
Toggle visibility of SMT divergences detected on the higher timeframe.
Auto Timeframe:
When enabled, automatically selects an appropriate higher timeframe based on the chart's current timeframe. When disabled, uses the manually specified timeframe.
Manual Timeframe:
When Auto Timeframe is disabled, specify the higher timeframe to scan for SMT divergences.
Bullish Color:
Color for bullish SMT divergence lines and labels on the higher timeframe.
Bearish Color:
Color for bearish SMT divergence lines and labels on the higher timeframe.
Line Style:
Style for higher timeframe SMT lines (solid, dashed, or dotted).
Line Width:
Width of higher timeframe SMT lines (1-4 pixels).
Show Labels:
Toggle visibility of labels on higher timeframe SMT divergences.
Label Style:
Normal: Displays full information including timeframe and diverging symbol names
+/-: Displays minimal "+" or "-" characters with full information available in hover tooltip
Label Size:
Size of higher timeframe SMT labels (Tiny, Small, Normal, or Large).
Show Invalidated:
Toggle visibility of invalidated higher timeframe SMT signals.
Invalidated Line Style:
Line style for invalidated higher timeframe SMT signals.
Invalidated Line Width:
Line width for invalidated higher timeframe SMT signals.
Visual Representation
Line Display
SMT divergences are displayed as lines connecting the two pivot points that form the divergence:
For bearish SMT: A line connects the previous swing high to the current (higher) swing high
For bullish SMT: A line connects the previous swing low to the current (lower) swing low
The line color indicates the divergence type (bullish or bearish) and whether it was detected on the current timeframe or higher timeframe.
Label Display
Labels are positioned at the midpoint of the SMT line and display:
The timeframe on which the divergence was detected
The symbol(s) that showed divergence with the chart instrument
When using the "+/-" label style, labels show only "+" for bullish or "-" for bearish divergences, with full information accessible via hover tooltip.
All labels use monospace font formatting for consistent visual appearance.
Combined Signals
When the same divergence is detected on both current and higher timeframes, the signals are combined into a single display using higher timeframe styling. The label shows both timeframes (e.g., "M2 + M15") and all diverging symbols, indicating strong multi-timeframe confluence.
Practical Application Guidelines
Signal Interpretation
SMT divergences should be interpreted within the broader market context. Consider the following when evaluating signals:
Market Structure: SMT divergences occurring at key structural levels (previous highs/lows, order blocks, fair value gaps) tend to be more significant.
Timeframe Confluence: Signals appearing on multiple timeframes simultaneously suggest stronger institutional involvement.
Symbol Confluence: Divergences confirmed by multiple comparison symbols indicate broader market disagreement with the current price direction.
Time of Day: SMT divergences during high-volume trading sessions may carry more weight than those during low-liquidity periods.
Limitations and Considerations
Correlation Variability: Correlations between instruments can strengthen or weaken over time. The automatic symbol selection is based on typical correlations but may not always reflect current market conditions.
Pivot Detection Lag: Pivots are only confirmed after subsequent price action, meaning SMT signals appear with some delay after the actual swing point forms.
False Signals: Not all SMT divergences result in reversals. Use additional confirmation methods and proper risk management.
Data Requirements: The indicator requires sufficient historical data and may not function properly on instruments with limited price history.
Technical Notes
The indicator uses multiple pivot detection periods to identify swing points across different scales
Higher timeframe candle tracking is performed on the lower timeframe chart for precise pivot bar indexing
A deduplication system prevents the same divergence from being detected multiple times across different pivot periods
Array-based storage manages active and invalidated SMT signals with automatic cleanup to prevent memory issues
Maximum label and line counts are set to 500 each to accommodate extended analysis periods
Disclaimer
This indicator is provided for educational and informational purposes only. It is designed to assist traders in identifying potential SMT divergences based on historical price data and should not be considered as financial advice or a recommendation to buy or sell any financial instrument.
Trading financial markets involves substantial risk of loss and is not suitable for all investors. Past performance of any trading methodology, including concepts discussed in this indicator, does not guarantee future results. Users should conduct their own research and analysis before making any trading decisions.
The automatic symbol correlations and sector mappings are based on general market relationships and may not accurately reflect current or future correlations. Users are encouraged to verify correlations independently and adjust comparison symbols as needed.
Always use appropriate risk management techniques, including but not limited to position sizing and stop-loss orders. Never risk more capital than you can afford to lose.
$$\text{Entry and Exit Signals (RSI, MACD, Stochastic)}$$بالتأكيد. إليك شرح كامل للكود البرمجي (Pine Script) الذي يمثل استراتيجية مؤشر الزخم الثلاثي (RSI, MACD, Stochastic) باللغة الإنجليزية، مع توضيح منطق كل شرط:
-----
## 🇺🇸 Multi-Indicator Momentum Confirmation Strategy (Pine Script Explanation)
This custom indicator is designed to generate highly confirmed **Entry (Buy)** and **Exit (Sell/Short)** signals by ensuring that three key momentum and oscillator indicators—**RSI, MACD, and Stochastic**—are all aligned in the same direction.
### 📜 Indicator Code Structure
```pinescript
//@version=5
indicator("إشارات الدخول والخروج (RSI, MACD, Stochastic)", overlay=true)
// --- 1. Indicator Settings (Inputs) ---
rsiLength = input.int(14, title="RSI Length")
rsiLevel = input.float(50, title="Positive RSI Level")
// ... MACD and Stochastic inputs
// --- 2. Calculation of Indicators ---
rsiValue = ta.rsi(close, rsiLength)
= ta.macd(close, fastLength, slowLength, signalLength)
stochK = ta.stoch(close, high, low, stochKLength)
// --- 3. Entry (Bullish) and Exit (Bearish) Conditions ---
//
// --- 4. Final Signal Determination ---
finalEntrySignal = rsiCondition_Bullish and macdCondition_Bullish and stochCondition_Bullish
finalExitSignal = rsiCondition_Bearish and macdCondition_Bearish and stochCondition_Bearish
// --- 5. Plotting the Signals ---
plotshape(
finalEntrySignal ? low : na,
style=shape.labelup,
location=location.belowbar,
text="دخول", // 'Entry'
// ... color and size settings
)
plotshape(
finalExitSignal ? high : na,
style=shape.labeldown,
location=location.abovebar,
text="خروج", // 'Exit'
// ... color and size settings
)
```
### 🧠 Logic Behind the Entry Signal ("دخول" - Buy)
A **"Entry" (Buy)** signal is generated when **ALL THREE** of the following bullish conditions are met on the same candlestick:
| Indicator | Bullish Condition (The Logic) | Why this ensures strong momentum? |
| :--- | :--- | :--- |
| **Relative Strength Index (RSI)** | **Positive AND Increasing:** (`rsiValue > 50`) AND (`rsiValue > rsiValue `) | The asset is not only gaining strength (above the 50 centerline) but its strength is actively **accelerating** (current value is higher than the previous one). |
| **Moving Average Convergence Divergence (MACD)** | **Bullish Crossover:** `macdLine > signalLine` | This indicates that the shorter-term momentum (MACD Line) has crossed above the longer-term momentum average (Signal Line), confirming a potential shift to bullish momentum. |
| **Stochastic Oscillator** | **Positive:** `stochK > 50` | The closing price is in the upper half of the recent price range, suggesting that buying pressure is dominating the current trend cycle. |
**The `finalEntrySignal` is triggered only when `RSI_Bullish AND MACD_Bullish AND Stochastic_Bullish` are true.**
-----
### 📉 Logic Behind the Exit Signal ("خروج" - Sell/Short)
A **"Exit" (Sell/Short)** signal is generated when **ALL THREE** of the following bearish conditions are met on the same candlestick:
| Indicator | Bearish Condition (The Logic) | Why this ensures strong momentum loss? |
| :--- | :--- | :--- |
| **Relative Strength Index (RSI)** | **Negative AND Decreasing:** (`rsiValue < 50`) AND (`rsiValue < rsiValue `) | The asset is losing strength (below the 50 centerline) and its weakness is actively **accelerating** (current value is lower than the previous one). |
| **Moving Average Convergence Divergence (MACD)** | **Bearish Crossover:** `macdLine < signalLine` | The shorter-term momentum has crossed below the Signal Line, confirming a potential shift to bearish momentum. |
| **Stochastic Oscillator** | **Negative:** `stochK < 50` | The closing price is in the lower half of the recent price range, suggesting that selling pressure is dominating the current trend cycle. |
**The `finalExitSignal` is triggered only when `RSI_Bearish AND MACD_Bearish AND Stochastic_Bearish` are true.**
### 💡 Visual Output
* **Entry Signal:** Plotted as a green label with the text "دخول" (**Entry**) **below the bar** (`location.belowbar`).
* **Exit Signal:** Plotted as a red label with the text "خروج" (**Exit**) **above the bar** (`location.abovebar`).
This strategy aims to filter out weak signals by requiring a high level of consensus across multiple technical dimensions.
EMA-10 Candle BreaksThe EMA-10 Trend Pullback Breakout indicator helps traders identify high-probability continuation entries by combining EMA direction, pullback candle behavior, and breakout confirmation.
It highlights key pullback candles during a strong EMA-10 trend and marks precise breakout points when price resumes in the trend direction.
📈 How It Works
🔹EMA Direction
Green EMA → EMA-10 is rising (bullish trend)
Red EMA → EMA-10 is falling (bearish trend)
🔹 Pullback Candle Detection
Bearish candle above EMA during an uptrend
Bullish candle below EMA during a downtrend
These candles often act as liquidity traps or pullbacks before trend continuation.
🔹 Breakout Labels
RB (Red Breakout)
Appears when price breaks above the high of the last bearish pullback candle in an uptrend.
GB (Green Breakout)
Appears when price breaks below the low of the last bullish pullback candle in a downtrend.
These labels highlight potential trend continuation entries
⚙️ Inputs
✅ Highlight Bearish Candles Above EMA (optional)
✅ Highlight Bullish Candles Below EMA (optional)
You can enable or disable candle highlighting to keep your chart clean.
⚠️ Notes
This indicator is not a standalone trading system.
Always use proper risk management and confirmation (market structure, volume, higher timeframe trend).
Avoid ranging or low-volatility conditions.
Trinity Bollinger Bands Pro with BreakoutsTrinity Bollinger Bands Pro Indicator
The **Trinity Bollinger Bands Pro + Triple Bands & Expansion** is a highly customized, advanced volatility and breakout indicator built on the classic Bollinger Bands framework. It expands the standard single-pair bands into **three independent deviation levels** (typically 1σ, 2σ, and 3σ) around a user-selectable moving average basis (default EMA 20). This creates clear "zones" of volatility, with dynamic trend-based coloring, layered fills, fixed-style labels, and a statistical volatility expansion detector shown as a directional background highlight in a separate pane. The result is a visually intuitive tool that helps traders identify consolidation, building momentum, confirmed trends, and rare explosive moves with high-probability filtering.
### Why It's Good and Different from Standard Indicators
This indicator stands out by addressing common limitations of traditional Bollinger Bands and multi-deviation scripts:
- **Layered statistical significance**: Unlike single (2σ) or basic double-band setups, it provides three distinct levels—early momentum (1σ), standard confirmation (2σ), and extreme/rare breakouts (3σ)—making it easier to stage trades progressively rather than relying on one ambiguous cross.
- **Trend-aware visuals**: Bands, basis, and fills change color based on price position relative to a separate trend MA, giving immediate bullish/bearish bias without needing additional indicators.
- **Clean, fixed labels**: Tiny, arrow-pointing labels ("1/2/3 SD Above/Below", "BB Basis") with consistent colors (purple upper, blue lower, yellow basis) provide instant identification
- **Statistical expansion detection**: Uses percentile ranking of band width "bell curve" concept" to identify abnormally high volatility, triggering directional background highlights (green bullish, red bearish) earlier than raw width spikes.
- **Reduced noise and fakeouts**: Tiered breakouts + expansion filter focus alerts on high-probability moves, unlike most BB scripts that flood signals on every touch.
Compared to popular public scripts (e.g., standard Bollinger Bands, Triple BB variants, or separate BBW Percentile tools), this combines everything into one cohesive indicator with superior visual clarity and statistical rigor.
### Key Features
- **Triple customizable bands**: Enable/disable and adjust multipliers for 1σ (early), 2σ (confirmed), 3σ (extreme) deviations.
- **Trend-based dynamic coloring**: Separate editable colors for each band set (bullish/bearish).
- **Layered zone fills**: Colored between bands with transparency, reflecting current trend.
- **Fixed tiny labels**: All left-pointing arrows with purple (upper), blue (lower), yellow (basis) backgrounds for quick reference.
- **Statistical expansion overlay**: with directional background (green/red) during extreme volatility expansions (earlier trigger using 2σ width).
- **Tiered alerts**: Early (Band 1), Confirmed (Band 2), Extreme (Band 3), High-Probability (Extreme + expansion), and general expansion alerts.
- **Fully configurable basis**: Length, type (SMA/EMA/WMA/RMA), and thin fixed lines for minimal clutter.
### How Traders Can Use It
- **Spot squeezes and breakouts**: Watch for tight bands (low width) → expansion background → price closing outside Band 1 (early entry), Band 2 (add/confirm), Band 3 (strong trend conviction).
- **Filter fakeouts**: Only act on crosses accompanied by expansion background color matching trend direction—dramatically reduces whipsaws.
- **Trend riding**: Price "walking" colored bands (e.g., hugging upper purple-label bands in green background = strong bullish momentum).
- **Scalping/intraday**: On lower timeframes (e.g., 10min), use early Band 1 signals with expansion for quick moves.
- **Swing/position trading**: Wait for Band 3 extreme breakout + colored background for higher-probability, larger moves.
- **Risk management**: Place stops near basis or inner band; trail using outer bands during expansions.
Overall, this indicator excels at turning volatility into actionable, staged signals with visual simplicity—ideal for traders seeking an edge in identifying real explosive trends over noise. It's particularly powerful on volatile stocks like AMD/INTC or indices during news/events.
HTF Fair Value Gaps🔍 What This Indicator Does
1. Multi-Timeframe Fair Value Gap Mapping
Displays Fair Value Gaps from:
1H
4H
Daily (optional)
These HTF FVGs are projected onto lower timeframes (5M / 15M) so you can:
trade in alignment with HTF imbalance,
avoid entering directly into opposing zones,
understand where reactions are likely.
2. Bullish & Bearish FVG Clarity
Bullish FVGs highlight areas of inefficiency below price
Bearish FVGs highlight areas of inefficiency above price
Zones are color-coded and extend forward for clarity
This helps traders immediately identify:
pullback targets in trends,
continuation zones,
areas of potential reaction or acceleration.
3. Clean, Non-Cluttered Visualization
No lower-timeframe noise
No redundant boxes
HTF gaps only — intentional and selective
This keeps execution charts readable and focused.






















