Pious 3/8 EMA High-Low + 89 EMA Strategybuy signal when 3emah cross above 8emah, 3emal cross above 8emal,high cross above previous 3 high with volume and vice versa
Indicadores e estratégias
Yon Smart Money Step-In IndicatorDetects potential institutional buying when price is above VWAPmoney flow is positive, and volume spikes occur simultaneously.OBV is rising,
Pivot Points High Low (With confirm bar)This script simply adds a visual circle confirmation to visualise the bar when the pivot has been confirmed. It's based on Pivot Points High Low scripts
SMC Fib Range Signals [@gyanapravah]SMC Fib Range Signals
This indicator blends Smart Money Concepts (SMC) with a Range Filter Trend System and Fibonacci Retracement & Extensions to generate high-probability automated Buy/Sell signals.
Designed to avoid noise and focus on market structure + trend + price confluence, this tool is ideal for:
1. Intraday traders
2. Swing traders
3. Index & stock traders
4. Crypto & Forex traders
CORE FEATURES
Range Filter Trend Detection
Smooth adaptive filter identifies true trend direction
Visual confirmation:
🟢 Green filter = bullish pressure
🔴 Red filter = bearish pressure
🟡 Yellow filter = neutral
Upper & Lower Bands act as dynamic support/resistance zones
Smart Money Order Blocks (SMC)
Automatically detects important pivot highs & lows
Marks:
OB High → supply / resistance zone
OB Low → demand / support zone
Continuously tracks latest OB levels for live price interaction
Fibonacci Engine
Detects the current swing zone and plots:
Retracement levels
0.236 – 0.382 – 0.500 – 0.618 – 0.786 (editable)
Extension targets
1.272 – 1.618
All levels update dynamically on new market structure and pivots.
SIGNAL ENGINE
This indicator generates signals from three independent confirmation systems:
BUY SIGNALS trigger when:
1. Trend flips bullish (price crosses above the Filter)
2.Bullish trend + price reacts near:
Order Block support
Fibonacci 0.382 / 0.618 levels
Bounce from the Lower Band with trend support
All setups require volume confirmation to filter fake breakouts.
SELL SIGNALS trigger when:
1. Trend flips bearish (price crosses below the Filter)
2. Bearish trend + price reacts near:
Order Block resistance
Fibonacci 0.382 / 0.618 levels
Rejection from the Upper Band with trend support
ALERTS READY
Two built-in alerts:
BUY Alert — fires on bullish signal
SELL Alert — fires on bearish signal
INPUT SETTINGS
Trend Engine
1.Source
2.Sampling Period
3.Range Multiplier
Smart Money
Pivot detection sensitivity (Left / Right bars)
Fibonacci
1.Swing lookback length
2.Editable Fib retracement and extension values
3.Toggle show/hide Fib levels
BEST USE CASE
Works extremely well on:
⏱️ 3M – 15M Intraday scalping
⏱️ 30M – 1H positional entries
⏱️ 4H – D1 swing trading
Tested on:
NIFTY / BANKNIFTY / FINNIFTY
Stocks
Crypto
Forex
DISCLAIMER
This indicator is for educational purposes only.
It does NOT guarantee profits.
Always use:
Proper risk management
Stop-loss rules
Your own confirmation before entering trades.
AUTHOR
Built & shared by @gyanapravah (Odisha, India)
Open-source for learning and community improvement.
Session Dynamics & Pivot Overlay (Arjo)## **OVERVIEW**
The **Session Dynamics & Pivot Overlay (Arjo)** is a visual analysis tool that displays session-based price ranges, anchored volume-weighted averages, daily pivot levels, and smoothed trend conditions on the chart. It highlights how price interacts with custom sessions, midpoint levels, and dynamic ranges, providing a structured visual layout that helps users observe market behavior over time without implying any form of prediction or trading signal.
## **CONCEPTS**
This indicator incorporates several widely used analytical concepts:
- **Session Ranges:** Identifies user-defined time windows and visually displays their high, low, and midpoint behavior throughout the session.
- **VWAP (Morning Session):** Shows volume-weighted average price calculations for a defined morning period, assisting with visual comparison between price and weighted averages.
- **Daily Pivot Levels:** Displays R1–R2, S1–S2, central pivot, and associated levels derived from prior daily price data.
- **Trend Smoothing:** Uses SuperSmoother filtering and an additional EMA to highlight whether the smoothed trend is rising or falling.
- **EMA + ATR Bands:** Plots a 20-period EMA with upper and lower ATR-derived bands to help visualize short-term price displacement relative to average true range.
All of these elements are presented solely for structural and comparative chart analysis.
## **FEATURES**
- **Custom Session Visualization:** Automatically draws session boxes, capturing the evolving high, low, and midpoint throughout the defined intraday window.
- **Dynamic Midline Calculation:** A midpoint line is updated continuously during the session to visually anchor price within the session’s range.
- **Morning Session VWAP:** Displays a dedicated VWAP line for the morning window with adjustable source and configuration options.
- **Daily Pivot Lines:** Automatically plots pivot, BC/TC, R1–R2, and S1–S2 levels with customizable colors, widths, and line styles.
- **Trend-Responsive Pivot Display:** Optionally toggles visibility of R2 or S2 depending on the direction of the smoothed trend.
- **EMA + ATR Zones:** Renders a 20-EMA and ATR-based support/resistance zone using filled regions for enhanced visual clarity.
- **Full Customization:** Multiple color, transparency, line-style, and display options allow users to adapt the presentation to their charting preferences.
- **Overlay Compatible:** Designed to work directly on price charts without obstructing candles or other overlays.
## **HOW TO USE**
Users can interact with the indicator entirely through the settings panel:
- Adjust session timings to match preferred market hours or custom internal zones.
- Enable or disable the display of pivot levels, VWAP, or the ATR/EMA zone.
- Customize colors and line styles to improve visibility according to the chart background or personal preference.
- Observe how price behaves relative to the session box, midpoint, VWAP, and pivot levels for contextual understanding.
- Utilize the smoothed trend condition to see when the indicator chooses to display certain pivot extensions.
These elements help users interpret chart structure, volatility, and intraday behavior in a visually organized manner.
## **CONCLUSION**
The ** Session Dynamics & Pivot Overlay (Arjo) ** indicator offers a consolidated view of session structure, pivot levels, VWAP, and smoothed trend conditions. Its purpose is to improve visual clarity and assist users in understanding market context without issuing directives or trade suggestions. It functions as an educational tool that enhances chart interpretation and supports structured analysis.
---
## **DISCLAIMER**
This indicator is for educational and visual analysis purposes only. It does not provide trading signals, financial advice, or guaranteed outcomes. Users should conduct their own research and consult a licensed financial professional when necessary. All trading decisions are solely the responsibility of the user.
Happy Trading (Arjo)
Crypto Anchored VWAP (Swing High/Low)Crypto Anchored VWAP (Swing High/Low)
This indicator provides an automatic Anchored VWAP system designed specifically for highly volatile assets such as cryptocurrencies (ETH, BTC, SOL, etc.).
Unlike traditional AVWAP tools that require manual date input, this script automatically anchors VWAP to the most recent swing high and swing low, making it ideal for real-time trend tracking and intraday/4H structure analysis.
How It Works
The script detects local swing lows and swing highs based on user-defined swing length.
When a new swing point appears, an Anchored VWAP is initialized from that specific candle.
As price evolves, the AVWAP dynamically becomes:
A trend boundary
A fair-value line
A mean-reversion attractor
Traders can use these levels to identify:
Trend continuation
Breakout confirmation
Mean reversion pullbacks
Overextended expansions
Included Features
✔ Auto-Anchored VWAP from swing low
✔ Auto-Anchored VWAP from swing high
✔ Standard deviation bands (1σ) for volatility context
✔ Designed for Crypto 4H / 1H / 15m
✔ Works on any asset & any timeframe
How To Use
1. Trend Direction
Price above Swing-Low VWAP → Bullish bias
Price below Swing-High VWAP → Bearish bias
2. Trade Setups
Break → Retest → Hold above AVWAP = Trend continuation long
Reject from AVWAP / σ band = Mean-reversion short setup
AVWAP zone → High probability liquidity reaction
3. Volatility Bands
Price touching +1σ = extension
Price returning to 0σ = mean reversion
Price breaking −1σ = trend weakening
Inputs
Swing Length: determines sensitivity of swing high/low detection
(Default: 5)
Best Use Cases
ETH 4H trend following
BTC structure shifts
Altcoin volatility filtering
Identifying institutional "cost basis" zones
Confirming breakouts / fakeouts
Notes
This is not a trading system by itself but a structural tool meant to help traders understand trend and value location. Always combine AVWAP with market structure, volume, and risk management.
Disclaimer
This script is for educational and informational purposes only. It does not constitute financial advice or a recommendation to buy or sell any asset. Use at your own discretion.
Volume Percentile Breakoutv2Indicates when the volume passes the desired percentile over a 3 day period of selected timeframe.
Daily 9 SMA S/R with Std DevThis indicator plots the Daily 9 Simple Moving Average as dynamic support/resistance on any timeframe, with standard deviation bands to measure trend strength and identify overextended price action.
━━━━━━━━━━━━━━━━━━━━━━
HOW IT WORKS
━━━━━━━━━━━━━━━━━━━━━━
The Daily 9 SMA acts as a key level institutions watch. When price is above it, bullish bias. Below it, bearish bias. Simple.
Standard deviation bands show you:
- 1 StdDev = Strong trend territory
- 2 StdDev = Extreme/overextended - potential reversal zone
━━━━━━━━━━━━━━━━━━━━━━
FEATURES
━━━━━━━━━━━━━━━━━━━━━━
- Daily 9 SMA plotted on any timeframe
- 1 & 2 Standard Deviation bands
- Trend strength scoring (-3 to +3)
- Info table showing current values and trend status
- Visual signals for MA reclaims, losses, and trend entries
━━━━━━━━━━━━━━━━━━━━━━
ALERTS
━━━━━━━━━━━━━━━━━━━━━━
- Price Reclaims Daily 9 SMA
- Price Loses Daily 9 SMA
- Enter Strong Bullish Zone (>1 StdDev)
- Enter Strong Bearish Zone (<1 StdDev)
- Extreme Extension Alerts (2 StdDev)
- Bounce/Rejection at MA
━━━━━━━━━━━━━━━━━━━━━━
HOW TO USE
━━━━━━━━━━━━━━━━━━━━━━
1. Use on lower timeframes (5m, 15m, 1H) to see Daily levels
2. Look for bounces off the Daily 9 SMA for entries
3. Avoid longs when price loses the MA, avoid shorts when price reclaims
4. Use StdDev bands to gauge when price is overextended
━━━━━━━━━━━━━━━━━━━━━━
SETTINGS
━━━━━━━━━━━━━━━━━━━━━━
- MA Length - Default 9
- StdDev Multipliers - Default 1.0 and 2.0
- StdDev Lookback - Default 20
- Customizable colors
Works on any market - Forex, Crypto, Stocks, Futures.
MAMA - FAMA (Ehlers) [KN]MAMA - FAMA (Ehlers)
Surprisingly, I couldn't find a proper Pine Script implementation of this classic indicator on TradingView, so here's my version.
This indicator implements John Ehlers' MESA Adaptive Moving Average (MAMA) and Following Adaptive Moving Average (FAMA) from his book "Rocket Science for Traders."
How It Works
Unlike traditional moving averages with fixed periods, MAMA adapts its smoothing based on the market's dominant cycle. It uses the Hilbert Transform to measure the instantaneous phase of price, then adjusts its responsiveness according to how fast that phase is changing.
When price is trending strongly (rapid phase change), MAMA speeds up to follow closely. During consolidation (slow phase change), it slows down to filter noise. FAMA is a further smoothed version of MAMA that serves as a signal line.
Signals
🔵 Bullish : MAMA crosses above FAMA
🟠 Bearish : MAMA crosses below FAMA
The adaptive nature makes this particularly effective at avoiding whipsaws during ranging markets while still catching trends early.
Inputs
- Fast Limit (default 0.5): Maximum alpha, controls fastest response
- Slow Limit (default 0.05): Minimum alpha, controls slowest response
- Source (default hl2): Price input
Credits
Original concept by John F. Ehlers.
Multi-Timeframe QuartilesThis indicator helps you identify the position of price in comparison with distance to key reference levels on multiple timeframes. Statistically, when the price is opening in the lower quartile of a timeframe, there is a higher chance for that previous low to be taken, depending on the market structure already formed
PDH/PDL Breakout Pip MeasurerThis indicator measures the maximum distance (in pips or points) that price travels after breaking through the Previous Day's High (PDH) or Previous Day's Low (PDL), before returning to a user-defined stop loss level. It provides statistical insights into breakout behavior for systematic trading analysis.
Input Parameters
Pip Multiplier: Adjust for different instruments (0.0001 for Forex, 1 for indices)
Bull Stop Loss Pips: Distance below PDH to define stop loss for bull breakouts
Bear Stop Loss Pips: Distance above PDL to define stop loss for bear breakouts
Show Table: Toggle statistics table display
Show Labels: Display pip measurements on chart
Show Levels: Toggle PDH/PDL level visibility
Statistics Table Includes
Total breakout counts (Bull/Bear/Combined)
Average pip distance per breakout type
Minimum and maximum recorded moves
Currently active breakout measurement
Bubbles + Clusters + SweepsIndicator For Bubbles + Clusters + Sweeps
✔ Volume bubbles
✔ Delta coloring (green/red intensity)
✔ Auto supply/demand zones
✔ Volume-profile style blocks inside zones
✔ Liquidity sweep markers
✔ Box drawings extending until filled
✔ Optional bubble filters (min-volume threshold)
Evergito HH/LL 3 Señales + ATR SL 2How to trade with the Evergito HH/LL 3 Signals + ATR SL indicator? Brief and direct explanation: General system logic: The indicator looks for actual breakouts of the high/low of the last 20 bars (HH/LL) and combines them with the position relative to the 200 SMA to filter the underlying trend. You have 3 types of signals that you can activate/deactivate separately: Signal
When it appears
What it means in practice
Entry type
V1
HH breakout + the close crosses above the 200 SMA (or the opposite in a short position)
Very safe entry confirmed. The price has just validated the long/flat trend → safer and with a better ratio
The most reliable (the original)
V2
HH breakout but the price was already above the 200 SMA (or already below in a short position)
Entry in an already established trend. Fewer “surprises”, more continuity
Ideal for strong trends
V3
Only the breakout of the HH or LL, without looking at the 200 SMA
Aggressive entry/scalping on explosive breakouts. More signals, more noise.
For times of high volatility.
How to enter the market (simple rule): Wait for any of the 3 labels (V1, V2, or V3) to appear, depending on which ones you have activated.
Enter at the close of that candle (or at the open of the next one if you are conservative).
Automatic Stop Loss → the blue (long) or yellow (short) line that represents the ATR x2.
Take Profit → you decide, but the indicator already gives you the visual reference for the risk (ATR x2), so 1:2 or 1:3 is usually very convenient.
Practical example: You see a large green label “HH LONG V1” → you go long at the close of that candle. Stop right at the blue line (ATR x2 below the price).
Typical target: 2x or 3x the risk (very common to reach it in a trend).
Recommended use: Most traders leave only V1 activated → fewer signals but very high quality.
Those who trade intraday or crypto usually combine V1 + V2.
V3 only for news events or very volatile openings.
In summary:
Label = immediate entry
Blue/yellow line = automatic stop
And enjoy the move.
CHoCH and BOS - Market StructureIdentifies Break of Structure (BOS) and Change of Character (CHoCH) in real-time. Displays swing and internal market structure with configurable alerts.
Features:
Real-time BOS and CHoCH detection
Swing and internal structure
8 alert conditions
Full customization
Based on Smart Money Concepts (SMC) - Fork of LuxAlgo's original work
For price action and Smart Money Concepts traders.
5-RSI HighSrc Buy/SellBest used on the 5 min chart, this indicator detects early intraday momentum reversals that occur within an alread-bullish trend using (source = high) RSI lengths 5, 8, 13, 21, & 34. This is primarily designed to catch the moment an uptrend resumes after a dip.
⭐ Silver HUD v14.6 ⭐Silver HUD v14.6 is an enhanced Pine Script v5 indicator for micro silver futures (SIL) trading on TradingView, featuring a compact 2-column bottom-right HUD with weighted scoring across 5 engines (trend, flow, momentum, PB, turbo), 2H structure arbitration, divergence detection, volume surge analysis, BUY/SELL arrows, and risk warnings. Expanded from v14.5 with dedicated DIV/VOL rows for better signal context on 5m charts.
Multi-Engine Scoring
Trend Engine
EMA20/50 alignment + VWAP direction (1.001%/0.999% thresholds): UP/DOWN/MIXED scores 100/60/20.
Flow Engine
CCIOBV (CCI20 + OBV EMA13 sync) + QQE (RSI14 smoothed with trailing volatility): dual UP/DOWN = strong flow (100), mixed (60).
Momentum
RSI14/MFI14 >55 (UP=100), <45 (DOWN=100), else NEUTRAL (60).
PB (Pullback)
EMA20 deviation: -0.4% to +1.2% = OK (100), ≥1.2% CHASE (70/40), DEEP (30/80 for long/short).
Turbo
ATR14 percentile (>70 EXPANDING, <30 FADE) + BB20 width percentile (<20 SQ): SQ+EXPANDING=BREAKOUT (100).
Weighted Totals
BUY: flow(30%)+mom(25%)+PB(25%)+trend(10%)+turbo(10%); SELL adjusts turbo(20%)/PB(15%). Thresholds: BUY≥75, SELL≥72.
Advanced Features
2H Arbitration
Swing HH/HL/LL/LH detection resolves BUY/SELL conflicts; UP (HH/HL) favors longs, DOWN (LL/LH) shorts.
Divergence
RSI-based: price HH without RSI HH = BEAR DIV; price LL without RSI LL = BULL DIV.
Volume Surge
2x 20-SMA or 80th percentile: BULL/BEAR SURGE (directional), SURGE (neutral).
Signals & Risk
Raw triggers filtered (no DEEP PB BUY, no DOWN trend BUY, UP flow required); final uses 2H tiebreaker. RISK flags DIV, surges, DEEP PB, trend conflicts, score ties. Tiny BUY/SELL arrows on raw signals.
HUD Layout
14-row table: TREND/FLOW/MOM/PB/TURBO/FINAL/BUY*/SELL*/2H/DIV/VOL/RISK/Threshold. Stars rate scores (★★★★★=90+), color-coded statuses, gold FINAL. Perfect for SIL scalpers needing confluence + risk at a glance.
AI Kernel Regression StrategyHow to Use This Strategy
Paste the Code: Open the Pine Editor, paste the code, and click "Add to chart".
Look for Reversals:
BUY Signal: The price dipped below the green band (oversold) and snapped back up. The script identifies this as a high-probability bounce.
SELL Signal: The price spiked above the red band (overbought) and snapped back down.
Adjust the "Lookback Window":
In the settings (gear icon), if you change Lookback Window to a higher number (e.g., 15-20), the lines become smoother (better for trends).
If you lower it (e.g., 3-5), it becomes very reactive (better for scalping).
Important Note on "Repainting"
This script uses a technique called Regression. In live trading, it works perfectly (the signal appears when the candle closes). However, be aware that "AI" scripts like this are heavy on calculations. If you refresh your browser, the historical lines might shift slightly to fit the data better. Always wait for the candle to close before taking the trade to ensure the signal is locked in.
Hyper Insight MA Strategy [Universal]Hyper Insight MA Strategy ** is a comprehensive trend-following engine designed for traders who require precision and flexibility. Unlike standard indicators that lock you into a single calculation method, this strategy serves as a "Universal Adapter," allowing you to **Mix & Match 13 different Moving Average types** for both the Fast and Slow trend lines independently.
Whether you need the smoothness of T3, the responsiveness of HMA, or the classic reliability of SMA, this script enables you to backtest thousands of combinations to find the perfect edge for your specific asset class.
---
🔬 Deep Dive: Calculation Logic of Included MAs
This strategy includes 13 distinct calculation methods. Understanding the math behind them will help you choose the right tool for your specific market conditions.
#### 1. Standard Averages
* **SMA (Simple Moving Average):** The unweighted mean of the previous $n$ data points.
* *Logic:* Treats every price point in the period with equal importance. Good for identifying long-term macro trends but reacts slowly to recent volatility.
* **WMA (Weighted Moving Average):** A linear weighted average.
* *Logic:* Assigns heavier weight to current data linearly (e.g., $1, 2, 3... n$). It reacts faster than SMA but is still relatively smooth.
* **SWMA (Symmetrically Weighted Moving Average):**
* *Logic:* Uses a fixed-length window (usually 4 bars) with symmetrical weights $ $. It prioritizes the center of the recent data window.
#### 2. Exponential & Lag-Reducing Averages
* **EMA (Exponential Moving Average):**
* *Logic:* Applies an exponential decay weighting factor. Recent prices have significantly more impact on the average than older prices, reducing lag compared to SMA.
* **RMA (Running Moving Average):** Also known as Wilder's Smoothing (used in RSI).
* *Logic:* It is essentially an EMA but with a slower alpha weight of $1/length$. It provides a very smooth, stable line that filters out noise effectively.
* **DEMA (Double Exponential Moving Average):**
* *Logic:* Calculated as $2 \times EMA - EMA(EMA)$. By subtracting the "lag" (the smoothed EMA) from the original EMA, DEMA provides a much faster reaction to price changes with less noise than a standard EMA.
* **TEMA (Triple Exponential Moving Average):**
* *Logic:* Calculated as $3 \times EMA - 3 \times EMA(EMA) + EMA(EMA(EMA))$. This effectively eliminates the lag inherent in single and double EMAs, making it an extremely fast-tracking indicator for scalping.
#### 3. Advanced & Adaptive Averages
* **HMA (Hull Moving Average):**
* *Logic:* A composite formula involving Weighted Moving Averages: ASX:WMA (2 \times Integer(n/2)) - WMA(n)$. The result is then smoothed by a $\sqrt{n}$ WMA.
* *Effect:* It eliminates lag almost entirely while managing to improve curve smoothness, solving the traditional trade-off between speed and noise.
* **ZLEMA (Zero Lag Exponential Moving Average):**
* *Logic:* This calculation attempts to remove lag by modifying the data source before smoothing. It calculates a "lag" value $(length-1)/2$ and applies an EMA to the data: $Source + (Source - Source )$. This creates a projection effect that tracks price tightly.
* **T3 (Tillson T3 Moving Average):**
* *Logic:* A complex smoothing technique that runs an EMA through a filter multiple times using a "Volume Factor" (set to 0.7 in this script).
* *Effect:* It produces a curve that is incredibly smooth and free of "overshoot," making it excellent for filtering out market chop.
* **ALMA (Arnaud Legoux Moving Average):**
* *Logic:* Uses a Gaussian distribution (bell curve) to assign weights. It allows the user to offset the moving average (moving the peak of the weight) to align it perfectly with the price, balancing smoothness and responsiveness.
* **LSMA (Least Squares Moving Average):**
* *Logic:* Calculates the endpoint of a Linear Regression line for the lookback period. It essentially guesses where the price "should" be based on the best-fit line of the recent trend.
* **VWMA (Volume Weighted Moving Average):**
* *Logic:* Weights the closing price by the volume of that bar.
* *Effect:* Prices on high volume days pull the MA harder than prices on low volume days. This is excellent for validating true trend strength (i.e., a breakout on high volume will move the VWMA significantly).
---
### 🛠 Features & Settings
* **Universal Switching:** Change the `Fast MA` and `Slow MA` types instantly via the settings menu.
* **Trend Cloud:** A dynamic background fill (Green/Red) highlights the crossover zone for immediate visual trend identification.
* **Strategy Mode:** Built-in Backtesting logic triggers `LONG` entries when Fast MA crosses over Slow MA, and `EXIT` when Fast MA crosses under.
### ⚠️ Disclaimer
This script is intended for educational and research purposes. The wide variety of MA combinations can produce vastly different results. Past performance is not indicative of future results. Please use proper risk management.
12M Return Strategy This strategy is based on the original Dual Momentum concept presented by Gary Antonacci in his book “Dual Momentum Investing.”
It implements the absolute momentum portion of the framework using a 12-month rate of change, combined with a moving-average filter for trend confirmation.
The script automatically adapts the lookback period depending on chart timeframe, ensuring the return calculation always represents approximately one year, whether you are on daily, weekly, or monthly charts.
How the Strategy Works
1. 12-Month Return Calculation
The core signal is the 12-month price return, computed as:
(Current Price ÷ Price from ~1 year ago) − 1
This return:
Plots as a histogram
Turns green when positive
Turns red when negative
The lookback adjusts automatically:
1D chart → 252 bars
1W chart → 52 bars
1M chart → 12 bars
Other timeframes → estimated to approximate 1 calendar year
2. Trend Filter (Moving Average of Return)
To smooth volatility and avoid noise, the strategy applies a moving average to the 12M return:
Default length: 12 periods
Plotted as a white line on the indicator panel
This becomes the benchmark used for crossovers.
3. Trade Signals (Long / Short / Cash)
Trades are generated using a simple crossover mechanism:
Bullish Signal (Go Long)
When:
12M Return crosses ABOVE its MA
Action:
Close short (if any)
Enter long
Bearish Signal (Go Short or Go Flat)
When:
12M Return crosses BELOW its MA
Action:
If shorting is enabled → Enter short
If shorting is disabled → Exit position and go to cash
Shorting can be enabled or disabled with a single input switch.
4. Position Sizing
The strategy uses:
Percent of Equity position sizing
You can specify the percentage of your portfolio to allocate (default 100%).
No leverage is required, but the strategy supports it if your account settings allow.
5. Visual Signals
To improve clarity, the strategy marks signals directly on the indicator panel:
Green Up Arrows: return > MA
Red Down Arrows: return < MA
A status label shows the current mode:
LONG
SHORT
CASH
6. Backtest-Ready
This script is built as a full TradingView strategy, not just an indicator.
This means you can:
Run complete backtests
View performance metrics
Compare long-only vs long/short behavior
Adjust inputs to tune the system
It provides a clean, rule-driven interpretation of the classic absolute momentum approach.
Inspired By: Gary Antonacci – Dual Momentum Investing
This script reflects the absolute momentum side of Antonacci’s original research:
Uses 12-month momentum (the most statistically validated lookback)
Applies a trend-following overlay to control downside risk
Recreates the classic signal structure used in academic studies
It is a simplified, transparent version intended for practical use and educational clarity.
Disclaimer
This script is for educational and research purposes only.
Historical performance does not guarantee future results.
Always use proper risk management.
Daily Dual Pivots (Std + Fib) Extended by Jackel
簡介: 這個指標旨在為日內交易者提供最強大的支撐與阻力參考。它將市場上最常用的兩種 Pivot Points 計算方式——標準 (Standard) 與 斐波那契 (Fibonacci)——結合在同一個圖表中,讓你一眼就能看出關鍵的價格匯聚點 (Confluence Areas)。
主要特色:
雙重系統並存:
標準 Pivot (Standard):以 實線 (Solid Lines) 顯示。這是機構與大部分交易者使用的傳統支撐阻力位。
斐波那契 Pivot (Fibonacci):以 圓點/虛線 (Dotted Lines) 顯示。利用 Fib 黃金比例 (0.382, 0.618) 計算出的潛在反轉位。
清晰的視覺區分:標準版使用暖色系 (紅/綠/橙),Fib 版使用冷色系 (藍/紫),互不干擾,清晰易讀。
可選擴展關卡 (S4-S5 / R4-R5):預設顯示 P, R1-R3, S1-S3。如果市場波動劇烈,你可以在設定中開啟 "Show Extra Levels" 來顯示 R4/R5 及 S4/S5。
自動隱藏歷史:預設只顯示「當日」的線條,保持圖表整潔。如需回測,可開啟「顯示歷史數據」選項。
如何使用:
當 實線 (Standard) 與 虛線 (Fib) 重疊或非常接近時,該區域通常具有更強的支撐或阻力效力。
適用於 15分鐘、1小時或 4小時圖表操作日內交易。
Introduction: This indicator is designed for intraday traders who need precise Support & Resistance levels. It combines the two most popular Pivot Point calculation methods—Standard (Traditional) and Fibonacci—into a single chart, allowing you to easily identify key areas of confluence.
Key Features:
Dual System Strategy:
Standard Pivots: Displayed as Solid Lines. These represent the traditional structural levels used by most traders and institutions.
Fibonacci Pivots: Displayed as Dotted/Circle Lines. These use key Fibonacci ratios (0.382, 0.618) to identify potential reversal zones.
Visual Clarity: Different line styles and color groups allow you to distinguish between Standard and Fib levels instantly without chart clutter.
Extended Levels (Optional): By default, it shows P, R1-R3, and S1-S3. In highly volatile markets, you can enable "Show Extra Levels" in the settings to reveal S4/S5 and R4/R5.
Clean Chart: By default, it only shows levels for the current day. You can enable "Show History" in the settings if you need to backtest.
How to Use:
Look for Confluence: When a Solid Line (Standard) and a Dotted Line (Fib) overlap or are very close to each other, it indicates a very strong Support or Resistance zone.
Best used on 15m, 1H, or 4H charts for intraday analysis.
Evergito HH/LL 3 Señales + ATR SLHow to trade with the Evergito HH/LL 3 Signals + ATR SL indicator? Brief and direct explanation: General system logic: The indicator looks for actual breakouts of the high/low of the last 20 bars (HH/LL) and combines them with the position relative to the 200 SMA to filter the underlying trend. You have 3 types of signals that you can activate/deactivate separately: Signal
When it appears
What it means in practice
Entry type
V1
HH breakout + the close crosses above the 200 SMA (or the opposite in a short position)
Very safe entry confirmed. The price has just validated the long/flat trend → safer and with a better ratio
The most reliable (the original)
V2
HH breakout but the price was already above the 200 SMA (or already below in a short position)
Entry in an already established trend. Fewer “surprises”, more continuity
Ideal for strong trends
V3
Only the breakout of the HH or LL, without looking at the 200 SMA
Aggressive entry/scalping on explosive breakouts. More signals, more noise.
For times of high volatility.
How to enter the market (simple rule): Wait for any of the 3 labels (V1, V2, or V3) to appear, depending on which ones you have activated.
Enter at the close of that candle (or at the open of the next one if you are conservative).
Automatic Stop Loss → the blue (long) or yellow (short) line that represents the ATR x2.
Take Profit → you decide, but the indicator already gives you the visual reference for the risk (ATR x2), so 1:2 or 1:3 is usually very convenient.
Practical example: You see a large green label “HH LONG V1” → you go long at the close of that candle. Stop right at the blue line (ATR x2 below the price).
Typical target: 2x or 3x the risk (very common to reach it in a trend).
Recommended use: Most traders leave only V1 activated → fewer signals but very high quality.
Those who trade intraday or crypto usually combine V1 + V2.
V3 only for news events or very volatile openings.
In summary:
Label = immediate entry
Blue/yellow line = automatic stop
And enjoy the move.
VWAP + EMA9/21/50 + Ichimoku + RSI (M5) - Strict + TPSL//@version=5
indicator("VWAP + EMA9/21/50 + Ichimoku + RSI (M5) - Strict + TPSL", overlay=true, shorttitle="VWAP_EMA_ICH_RSI_TPSL")
// === Inputs ===
emaFastLen = input.int(9, "EMA Fast (9)")
emaMidLen = input.int(21, "EMA Mid (21)")
emaSlowLen = input.int(50, "EMA Slow (50)")
// Ichimoku inputs
tenkanLen = input.int(9, "Tenkan Sen Length")
kijunLen = input.int(26, "Kijun Sen Length")
senkouBLen = input.int(52, "Senkou B Length")
displacement = input.int(26, "Displacement")
// RSI
rsiLen = input.int(14, "RSI Length")
rsiThreshold = input.int(50, "RSI Threshold")
// VWAP option
useSessionVWAP = input.bool(true, "Use Session VWAP (true) / Daily VWAP (false)")
// Volume filter
useVolumeFilter = input.bool(true, "Enable Volume Filter")
volAvgLen = input.int(20, "Volume Avg Length")
volMultiplier = input.float(1.2, "Min Volume > avg *", step=0.1)
// Higher timeframe trend check
useHTF = input.bool(true, "Enable Higher-Timeframe Trend Check")
htfTF = input.string("60", "HTF timeframe (e.g. 60, 240, D)")
// Alerts / webhook
alertOn = input.bool(true, "Enable Alerts")
useWebhook = input.bool(true, "Send webhook on alerts")
webhookURL = input.string("", "Webhook URL (leave blank to set in alert)")
// TP/SL & Trailing inputs
useTP = input.bool(true, "Enable Take Profit (TP)")
tpTypeRR = input.bool(true, "TP as Risk-Reward ratio (true) / Fixed points (false)")
tpRR = input.float(1.5, "TP RR (e.g. 1.5)", step=0.1)
fixedTPpts = input.float(40.0, "Fixed TP (ticks/pips) if not RR")
useSL = input.bool(true, "Enable Stop Loss (SL)")
slTypeATR = input.bool(true, "SL as ATR-based (true) / Fixed points (false)")
atrLen = input.int(14, "ATR Length")
atrMult = input.float(1.5, "ATR Multiplier for SL", step=0.1)
fixedSLpts = input.float(20.0, "Fixed SL (ticks/pips) if not ATR")
useTrailing = input.bool(true, "Enable Trailing Stop")
trailType = input.string("ATR", "Trailing type: ATR or EMA", options= ) // "ATR" or "EMA"
trailATRmult = input.float(1.0, "Trailing ATR Multiplier", step=0.1)
trailEMAlen = input.int(9, "Trailing EMA Length (if EMA chosen)")
trailLockInPts = input.float(5.0, "Trail lock-in (min profit before trail active, pts)")
// Other
showArrows = input.bool(true, "Show Entry Arrows")
// === Calculations ===
ema9 = ta.ema(close, emaFastLen)
ema21 = ta.ema(close, emaMidLen)
ema50 = ta.ema(close, emaSlowLen)
// VWAP
vwapVal = ta.vwap
// Ichimoku
highestHighTenkan = ta.highest(high, tenkanLen)
lowestLowTenkan = ta.lowest(low, tenkanLen)
tenkan = (highestHighTenkan + lowestLowTenkan) / 2
highestHighKijun = ta.highest(high, kijunLen)
lowestLowKijun = ta.lowest(low, kijunLen)
kijun = (highestHighKijun + lowestLowKijun) / 2
highestHighSenkouB = ta.highest(high, senkouBLen)
lowestLowSenkouB = ta.lowest(low, senkouBLen)
senkouB = (highestHighSenkouB + lowestLowSenkouB) / 2
senkouA = (tenkan + kijun) / 2
// RSI
rsi = ta.rsi(close, rsiLen)
// Volume
volAvg = ta.sma(volume, volAvgLen)
volOk = not useVolumeFilter or (volume > volAvg * volMultiplier)
// Higher timeframe trend values
htf_close = request.security(syminfo.tickerid, htfTF, close)
htf_ema50 = request.security(syminfo.tickerid, htfTF, ta.ema(close, emaSlowLen))
htf_rsi = request.security(syminfo.tickerid, htfTF, ta.rsi(close, rsiLen))
htf_bull = htf_close > htf_ema50
htf_bear = htf_close < htf_ema50
htf_ok = not useHTF or (htf_bull and close > ema50) or (htf_bear and close < ema50)
// Trend filters (on current timeframe)
priceAboveVWAP = close > vwapVal
priceAboveEMA50 = close > ema50
priceAboveCloud = close > senkouA and close > senkouB
bullTrend = priceAboveVWAP and priceAboveEMA50 and priceAboveCloud
bearTrend = not priceAboveVWAP and not priceAboveEMA50 and not priceAboveCloud
// Pullback detection (price near EMA21 within tolerance)
tolPerc = input.float(0.35, "Pullback tolerance (%)", step=0.05) / 100.0
nearEMA21 = math.abs(close - ema21) <= ema21 * tolPerc
// Entry conditions
emaCrossUp = ta.crossover(ema9, ema21)
emaCrossDown = ta.crossunder(ema9, ema21)
longConditionBasic = bullTrend and (nearEMA21 or close >= vwapVal) and emaCrossUp and rsi > rsiThreshold
shortConditionBasic = bearTrend and (nearEMA21 or close <= vwapVal) and emaCrossDown and rsi < rsiThreshold
longCondition = longConditionBasic and volOk and htf_ok and (not useHTF or htf_bull) and (rsi > rsiThreshold)
shortCondition = shortConditionBasic and volOk and htf_ok and (not useHTF or htf_bear) and (rsi < rsiThreshold)
// More strict: require Tenkan > Kijun for bull and Tenkan < Kijun for bear
ichimokuAlign = (tenkan > kijun) ? 1 : (tenkan < kijun ? -1 : 0)
longCondition := longCondition and (ichimokuAlign == 1)
shortCondition := shortCondition and (ichimokuAlign == -1)
// ATR for SL / trailing
atr = ta.atr(atrLen)
// --- Trade management state variables ---
var float activeLongEntry = na
var float activeShortEntry = na
var float activeLongSL = na
var float activeShortSL = na
var float activeLongTP = na
var float activeShortTP = na
var float activeLongTrail = na
var float activeShortTrail = na
// Function to convert fixed points to price (assumes chart in points as price units)
fixedToPriceLong(p) => p
fixedToPriceShort(p) => p
// On signal, set entry, SL and TP
if longCondition
activeLongEntry := close
// SL
if useSL
if slTypeATR
activeLongSL := close - atr * atrMult
else
activeLongSL := close - fixedToPriceLong(fixedSLpts)
else
activeLongSL := na
// TP
if useTP
if tpTypeRR and useSL and not na(activeLongSL)
risk = activeLongEntry - activeLongSL
activeLongTP := activeLongEntry + risk * tpRR
else
activeLongTP := activeLongEntry + fixedToPriceLong(fixedTPpts)
else
activeLongTP := na
// reset short
activeShortEntry := na
activeShortSL := na
activeShortTP := na
// init trailing
activeLongTrail := activeLongSL
if shortCondition
activeShortEntry := close
if useSL
if slTypeATR
activeShortSL := close + atr * atrMult
else
activeShortSL := close + fixedToPriceShort(fixedSLpts)
else
activeShortSL := na
if useTP
if tpTypeRR and useSL and not na(activeShortSL)
riskS = activeShortSL - activeShortEntry
activeShortTP := activeShortEntry - riskS * tpRR
else
activeShortTP := activeShortEntry - fixedToPriceShort(fixedTPpts)
else
activeShortTP := na
// reset long
activeLongEntry := na
activeLongSL := na
activeLongTP := na
// init trailing
activeShortTrail := activeShortSL
// Trailing logic (update only when in profit beyond 'lock-in')
if not na(activeLongEntry) and useTrailing
// current unrealized profit in points
currProfitPts = close - activeLongEntry
if currProfitPts >= trailLockInPts
// declare candidate before use to avoid undeclared identifier errors
float candidate = na
if trailType == "ATR"
candidate := close - atr * trailATRmult
else
candidate := close - ta.ema(close, trailEMAlen)
// move trail stop up but never below initial SL
activeLongTrail := math.max(nz(activeLongTrail, activeLongSL), candidate)
// ensure trail never goes below initial SL if SL exists
if useSL and not na(activeLongSL)
activeLongTrail := math.max(activeLongTrail, activeLongSL)
// update SL to trailing
activeLongSL := activeLongTrail
if not na(activeShortEntry) and useTrailing
currProfitPtsS = activeShortEntry - close
if currProfitPtsS >= trailLockInPts
// declare candidateS before use
float candidateS = na
if trailType == "ATR"
candidateS := close + atr * trailATRmult
else
candidateS := close + ta.ema(close, trailEMAlen)
activeShortTrail := math.min(nz(activeShortTrail, activeShortSL), candidateS)
if useSL and not na(activeShortSL)
activeShortTrail := math.min(activeShortTrail, activeShortSL)
activeShortSL := activeShortTrail
// Detect TP/SL hits (for plotting & alerts)
longTPHit = not na(activeLongTP) and close >= activeLongTP
longSLHit = not na(activeLongSL) and close <= activeLongSL
shortTPHit = not na(activeShortTP) and close <= activeShortTP
shortSLHit = not na(activeShortSL) and close >= activeShortSL
if longTPHit or longSLHit
// reset long state after hit
activeLongEntry := na
activeLongSL := na
activeLongTP := na
activeLongTrail := na
if shortTPHit or shortSLHit
activeShortEntry := na
activeShortSL := na
activeShortTP := na
activeShortTrail := na
// Plot EMAs
p_ema9 = plot(ema9, title="EMA9", linewidth=1)
plot(ema21, title="EMA21", linewidth=1)
plot(ema50, title="EMA50", linewidth=2)
// Plot VWAP
plot(vwapVal, title="VWAP", linewidth=2, style=plot.style_line)
// Plot Ichimoku lines (Tenkan & Kijun)
plot(tenkan, title="Tenkan", linewidth=1)
plot(kijun, title="Kijun", linewidth=1)
// Plot cloud (senkouA & senkouB shifted forward)
plot(senkouA, title="Senkou A", offset=displacement, transp=60)
plot(senkouB, title="Senkou B", offset=displacement, transp=60)
fill(plot(senkouA, offset=displacement), plot(senkouB, offset=displacement), color = senkouA > senkouB ? color.new(color.green, 80) : color.new(color.red, 80))
// Plot active trade lines
plotshape(not na(activeLongEntry), title="Active Long", location=location.belowbar, color=color.new(color.green, 0), style=shape.circle, size=size.tiny)
plotshape(not na(activeShortEntry), title="Active Short", location=location.abovebar, color=color.new(color.red, 0), style=shape.circle, size=size.tiny)
plot(activeLongSL, title="Long SL", color=color.red, linewidth=2)
plot(activeLongTP, title="Long TP", color=color.green, linewidth=2)
plot(activeShortSL, title="Short SL", color=color.red, linewidth=2)
plot(activeShortTP, title="Short TP", color=color.green, linewidth=2)
// Arrows / labels
if showArrows
if longCondition
label.new(bar_index, low, "BUY", style=label.style_label_up, color=color.green, textcolor=color.white, size=size.small)
if shortCondition
label.new(bar_index, high, "SELL", style=label.style_label_down, color=color.red, textcolor=color.white, size=size.small)
// Alerts
// alertcondition must be declared in global scope so TradingView can create alerts from them
alertcondition(longCondition, "VWAP+EMA+Ichimoku+RSI — BUY (STRICT)", "BUY signal from VWAP+EMA+Ichimoku+RSI (STRICT)")
alertcondition(shortCondition, "VWAP+EMA+Ichimoku+RSI — SELL (STRICT)", "SELL signal from VWAP+EMA+Ichimoku+RSI (STRICT)")
// Runtime alerts (still use alert() to trigger immediate alerts; webhook is added in TradingView Alert dialog)
if alertOn
if longCondition
alert("VWAP+EMA+Ichimoku+RSI — BUY (STRICT)", alert.freq_once_per_bar_close)
if shortCondition
alert("VWAP+EMA+Ichimoku+RSI — SELL (STRICT)", alert.freq_once_per_bar_close)
// Alerts for TP/SL hits
if longTPHit
alert("LONG TP HIT", alert.freq_once_per_bar_close)
if longSLHit
alert("LONG SL HIT", alert.freq_once_per_bar_close)
if shortTPHit
alert("SHORT TP HIT", alert.freq_once_per_bar_close)
if shortSLHit
alert("SHORT SL HIT", alert.freq_once_per_bar_close)
// Info table
var table info = table.new(position.top_right, 1, 8)
if barstate.islast
table.cell(info, 0, 0, text = 'Trend: ' + (bullTrend ? 'Bull' : bearTrend ? 'Bear' : 'Neutral'))
table.cell(info, 0, 1, text = 'EMA9/21/50: ' + str.tostring(ema9, format.mintick) + ' / ' + str.tostring(ema21, format.mintick) + ' / ' + str.tostring(ema50, format.mintick))
table.cell(info, 0, 2, text = 'VWAP: ' + str.tostring(vwapVal, format.mintick))
table.cell(info, 0, 3, text = 'RSI: ' + str.tostring(rsi, format.mintick))
table.cell(info, 0, 4, text = 'Vol OK: ' + (volOk ? 'Yes' : 'No'))
table.cell(info, 0, 5, text = 'HTF: ' + htfTF + ' ' + (htf_bull ? 'Bull' : htf_bear ? 'Bear' : 'Neutral'))
table.cell(info, 0, 6, text = 'ActiveLong: ' + (not na(activeLongEntry) ? 'Yes' : 'No'))
table.cell(info, 0, 7, text = 'ActiveShort: ' + (not na(activeShortEntry) ? 'Yes' : 'No'))
// End of script
Adaptive Alligator - Asymmetric MH (Entry Only)
Adaptive Alligator – Asymmetric Mexican Hat (Entry Only)
This strategy combines adaptive cycle detection (wavelet + autocorrelation), directional entropy, and a Mexican Hat filter to generate highly selective LONG entry signals. Exits are based solely on the Alligator structure. The system is designed to detect asymmetric, strong, and accelerating bullish phases while filtering out market noise.
1. Adaptive Cycle Detection: The strategy analyzes the median price using wavelet decomposition (Haar, Daubechies D4/D6, Symlet 4), wavelet detail energy, and autocorrelation. It also incorporates the ratio of short-term to long-term ATR volatility. Based on these components, it computes a dominant_cycle value, which dynamically controls the lengths of the Alligator lines (Jaw, Teeth, Lips). This adaptive behavior allows the Alligator to speed up during trending phases and slow down during noise or consolidation.
2. Directional Entropy: Entropy is measured separately for upward and downward movements within the selected lookback window. The entropy difference: e_diff = entropy_down - entropy_up represents the directional bias of the market. When e_diff > 0, the market shows an organized bullish pressure; when < 0, bearish dominance.
3. Mexican Hat Filter: The Mexican Hat (Ricker Wavelet) acts as a second-derivative filter, detecting local maxima in the acceleration of directional entropy. The filtered output (mh_out) is compared against an adaptive noise level computed as SMA(|mh_out|). A signal is considered strong only when: – mh_out exceeds the adaptive noise level, – mh_out is rising relative to the previous bar. This step is critical for eliminating false signals produced by random fluctuations.
4. Entry Logic: A LONG entry requires all three layers: (1) Alligator structure: Lips > Teeth > Jaw. (2) Directional entropy bias: e_diff > 0. (3) A strong, accelerating Mexican Hat signal confirmed by a user-defined number of bars. Once all conditions are satisfied, a buy_final entry is triggered.
5. Exit Logic: Exits are intentionally simple and rely solely on the Alligator: crossunder(lips, teeth) This clean separation ensures precise, adaptive entries and stable, consistent exits.
6. Visual Components: – Alligator lines: Jaw (blue), Teeth (red), Lips (green), plotted with their characteristic offsets. – Background coloring reflects signal strength: dark green (STRONG BUY), lime (acceleration), yellow (weak bias), transparent otherwise. – A dedicated panel displays e_diff (entropy difference), mh_out (Mexican Hat output), and the adaptive noise band.
7. Diagnostic Table: A compact diagnostic dashboard shows: – MH Value, – Noise Level, – MH Acceleration (YES/NO), – Signal Status (STRONG BUY / ACCELERATING / WEAK / BEARISH). It updates on the last bar, making it suitable for live monitoring.
8. Use Case: This strategy is highly selective and ideal as an entry module within trend-following systems. By combining wavelets, entropy, and adaptive noise modeling, it effectively filters out consolidation periods and focuses only on statistically significant bullish transitions. It can be integrated with various exit frameworks such as ATR stops, channel-based exits, range boxes, or trailing logic.






















