Adaptive ML VWAP v1.0Overview
Adaptive ML VWAP is a next-generation "Smart Indicator" that moves beyond static deviations (Standard Deviation). Instead of assuming market volatility is distributed normally (Bell Curve), this indicator uses a k-Nearest Neighbors (k-NN) machine learning engine to learn the specific volatility behavior of the asset you are trading.
It answers the question: "When price extends away from VWAP, how far does it actually go before reversing?"
The Adaptive ML Engine
This script features a 5-Dimensional ML Engine that tracks every major extension or pullback event. It records:
Deviation Depth (Normalized to ATR)
Trend Slope (Is the trend steep or flat?)
ADX (Trend Strength)
VWAP Deviation (Relative Position)
Time of Day (Session Context)
When a new setup occurs, the k-NN engine instantly searches its memory for the 5 most similar historical events and calculates the probability of success based on what happened last time.
Two Strategy Modes
You can toggle the logic to suit your trading style:
1. Mean Reversion Mode (Default)
"Fade The Move"
Goal: Catch price at an exhaustion point returning to VWAP.
Signal: Triggers when price touches a Smart Band and reverses back toward the center.
k-NN Learning: Learns which conditions favor a snap-back.
Best For: Ranging markets, Lunch hours, Choppy sessions.
2. Trend Following Mode
"Ride The Move"
Goal: Catch breakouts that are launching away from value.
Signal: Triggers when price breaks out of the Inner Band (1.0).
k-NN Learning: Learns which breakouts tend to extend to the Outer Bands.
Best For: Morning Drives, News Events, Strong Trends.
Visual Guide
The indicator uses a Dynamic Gradient system to visualize risk/reward:
Cyan Mist (0.5 - 1.0): The Value Zone. Noise area. Safe for trend entries.
Deep Cyan (1.0 - 2.0): The Trend Zone. Price is moving proactively.
Orange Glow (2.0 - 3.0): The Danger Zone. Price is statistically overextended. Reversals are highly probable here.
"Fractal" Math
Unlike standard indicators that break when you change timeframes, Adaptive ML VWAP uses Fractal Normalization.
A "2.0 Band" on a 15-second chart means the same statistical extreme as a "2.0 Band" on a 4-hour chart.
Auto-Adaptive Lookback: The indicator automatically boosts the ML memory (Lookback) on lower timeframes (seconds/minutes) where more noise requires larger sample sizes, ensuring robust predictions without manual tweaking.
Settings
Auto-Adapting Lookback: (Default: True) automatically increases Lookback to 100+ for seconds charts and 50+ for minute charts.
Lookback (Events): Manual override base value (Default: 100).
Strategy Mode: Toggle between Mean Reversion and Trend Following.
k-Neighbors: The number of similar past events to structurally compare (Default: 5).
Disclaimer: This tool is for educational purposes. Machine learning performance is dependent on market conditions and historical recursion.
Indikator dan strategi
Intraday Session BehaviorThis indicator was built to study how price behaves throughout the trading day, from pre-London session to the New York close.
The goal was simple: identify recurring intraday tendencies, reversals, and consolidation phases based on time, not indicators.
I created this script to visually segment key intraday windows and then ran 100 manual backtests to observe where price most frequently shifts direction or changes behavior.
Key observation:
Across multiple samples, 8:00 AM NY time showed the highest frequency of reversals, often aligning with positioning ahead of the New York open.
This tool is not a signal generator. It’s designed for context, study, and confluence — especially for traders focused on session-based trading, liquidity behavior, and intraday structure.
Use it as a framework to:
Study session transitions
Refine time-based playbooks
Combine with your own strategy, structure, and risk management
Built the old-school way: observe, test, repeat.
EMA10/201️⃣ Trend filter is already TRUE
Price above VWAP
EMA10 > EMA20
EMA20 rising
➡ This stays TRUE for many candles in a strong uptrend.
2️⃣ Pullback condition is TRUE
1–3 red candles already happened
Price is still near EMA20
➡ This condition does not reset immediately.
3️⃣ Engulfing logic is the key problem
Your current engulfing rule is roughly:
Candle is green
Closes above previous close
Above EMA20
Now look at your chart:
First green candle → BUY
Next candle is also green, still above EMA20 → BUY again
Next candle still satisfies all conditions → BUY again
📌 Result:
👉 BUY, BUY, BUY on consecutive candles
That’s why you see 3 BUY labels together.
Forex Sessions UTC + customise (DST Support)This Pine Script is designed to highlight forex trading sessions on a TradingView chart, showing which session (Asia, London, New York, Frankfurt, Sydney) is active based on your selected timezone offset and daylight saving time (DST) settings. It also includes an option to highlight session overlaps, like the London-New York and Asia-London overlaps.
Let's break down the script in detail:
### 1. **Inputs**:
* **`timezoneOffset`**:
* This input allows you to select your local timezone offset in hours relative to UTC (e.g., -2 for UTC-2 or +3 for UTC+3). It helps adjust the session times based on your local time.
* **`isDST`**:
* A boolean input that determines if Daylight Saving Time (DST) is active or not. If DST is enabled, the session times will be adjusted by one hour.
### 2. **Function: `timeInDailyRange`**:
This function checks if the current time (bar) is within a given session's start and end time.
* **`startH, startM`**: Start time of the session (hours and minutes).
* **`endH, endM`**: End time of the session (hours and minutes).
* **`tzOffset`**: The timezone offset in hours (which adjusts the start and end times for different regions).
The function handles sessions that cross over midnight. For example, the Asia session starts at 23:00 UTC and ends at 07:00 UTC, so it checks if the current time falls within that period.
### 3. **Session Times (in UTC)**:
Each trading session has specific times defined in UTC:
* **Asia Session**: 23:00 UTC to 07:00 UTC
* **London Session**: 08:00 UTC to 16:00 UTC
* **New York Session**: 13:00 UTC to 21:00 UTC
* **Frankfurt Session**: 07:00 UTC to 15:00 UTC
* **Sydney Session**: 21:00 UTC to 05:00 UTC
These times are defined in 24-hour format, and they represent the opening and closing hours for each market.
The script uses specific colors to represent different sessions:
* **Asia**: Yellow (`asiaColor`)
* **London**: Red (`londonColor`)
* **New York**: Navy Blue (`nyColor`)
* **Frankfurt**: Blue (`frankfurtColor`)
* **Sydney**: Green (`sydneyColor`)
* **Overlaps**:
* London-NY overlap: Purple (`overlapLN`)
* Asia-London overlap: Orange (`overlapAL`)
These colors are used to highlight the background during active sessions.
### 5. **Session Highlighting**:
The script uses the `bgcolor` function to change the background color of the chart when a session is active.
* For each session, it checks whether the current time (bar) falls within the session's time range (adjusted by the `timezoneOffset`).
* If a session is active, it will highlight the chart background in the corresponding session color.
### 6. **Overlaps**:
* **London-NY Overlap**: The script checks if both the London session and the New York session are active at the same time (i.e., if their time ranges overlap). If so, it highlights the overlap area in purple.
* **Asia-London Overlap**: Similarly, the script checks if both the Asia and London sessions are active at the same time, and if so, it highlights the overlap area in orange.
### 7. **Daylight Saving Time (DST) Adjustment**:
* If the **`isDST`** flag is enabled (i.e., DST is active), the script adjusts the session start and end times by adding one hour to each session. This is because during DST, trading hours shift by one hour (usually in regions that observe DST).
* This adjustment is applied to all session times, so the script accounts for the time change and ensures that the session times are correctly displayed.
### 8. **Final Background Color Logic**:
* The `bgcolor` function checks whether each session is active by calling `timeInDailyRange` for each session and then colors the chart accordingly.
* It also checks for overlapping sessions and colors the chart with the appropriate overlap color.
### Example Scenario:
1. **Timezone Offset**: If you select `timezoneOffset = 3` (UTC+3), the session times will be adjusted by adding 3 hours to the start and end times.
2. **Daylight Saving Time (DST)**: If `isDST = true` is selected, the session start times will shift by 1 hour forward (e.g., 23:00 UTC becomes 00:00 UTC for Asia).
3. **Visual Outcome**: The chart will display different colors in the background depending on which trading session is active (e.g., red for London, navy for New York), and purple or orange for overlap sessions.
### Key Features:
* **Customizable Timezone Offset**: Adjust session times to reflect your local timezone.
* **Daylight Saving Time Support**: Automatically adjusts session times during DST.
* **Highlighting Sessions**: Color the chart background to visualize when different trading sessions are active.
* **Overlap Highlighting**: Highlights the periods when certain sessions overlap (London-NY, Asia-London).
In summary, this script is useful for traders who want to visually see when different forex trading sessions are active on the chart, with flexibility for timezone and DST adjustments.
A+ Pullback & Continuation 3 ema pullback und continuation
signale buy sell nach pullback
ema müssen übereinander sein
buy sell signals after pullback
ema have to be clear
MTT Liquidity Transmission Z-ScoreUnderstanding the Liquidity Transmission Indicator
This indicator is a multi-asset dashboard designed to reveal the "invisible" plumbing of the financial markets. By normalizing four distinct macro drivers into Z-scores, it allows you to compare disparate data points—interest rates, volatility, and equity ratios—on a single unified scale (typically ranging from -3 to +3).
How to Interpret the Data
Expansion (Positive Z-Scores): When the lines move above the zero median, it signals easing conditions. For example, a rising US Policy Impulse suggests falling yields and a more accommodative Fed, providing a "tailwind" for risk assets.
Contraction (Negative Z-Scores): When lines drop below zero, liquidity is tightening. A plummeting Credit Transmission line indicates widening corporate spreads, suggesting that banks are less willing to lend, which often precedes market corrections.
The "Confluence" Signal: The strongest trading environments occur when all four lines align. If Speculative Excess and International Impulse are both surging alongside US policy, you are witnessing a global "Risk-On" regime.
Trading Application
Watch for divergences. If the S&P 500 is making new highs but the Liquidity Transmission lines are trending lower (becoming "overbought" or exhausted), the market is likely running on fumes. Conversely, look for "oversold" bounces from the -2.0 level as potential entry points for a mean-reversion swing trade.
Current Candle DateTimeThis is a simple script that users can easily see that datetime of the current candle. This is useful when backtesting and you want to be able to quickly glance and see where we are up to. Useful for when you are backtesting a strategy and trying to stay within a particular trading session.
The indicator will display in the top right hand corner, so it wont get in the way of any other analysis.
RSI Divergence by EVRSI Divergence is a clean, non-repainting RSI built to look and feel like the standard oscillator while adding automatic divergence detection. It identifies Regular Bullish and Regular Bearish divergences using confirmed pivot points, helping you spot momentum weakening against price action without the guesswork. Optional Hidden divergences are included for continuation reads, and you can filter signals by requiring RSI to be inside Overbought/Oversold zones. The script keeps a classic 70/30 layout with optional OB/OS shading, draws divergence lines directly on the RSI for instant visual confirmation, and includes ready-to-use alerts for each divergence type.
Combo Premium SMA Alert SystemShort Straddle for ATM Options Entry at SMA Cross over downside and SL or Exit SMA Cross over Upside
Three Green Candles Screener - % Move & Volume1️⃣ Core purpose (big picture)
The indicator identifies stocks that:
Have 2 or 3 consecutive green candles
Are above a 21-EMA (trend filter)
Have reasonable % price movement (not overextended)
Show current volume, average volume, and turnover
Show daily and weekly % price change
It’s meant for short-term momentum screening (swing / positional / breakout prep).
2️⃣ Trend filter (EMA)
ema21 = ta.ema(close, emaLength)
Uses a 21-period EMA
All buy signals require price > EMA
This avoids counter-trend setups
3️⃣ Three Green Candles logic (main signal)
threeGreen = (close > open) and (close > open ) and (close > open )
This checks for three consecutive bullish candles.
Then it calculates:
% change for each candle (open → close)
Average % change across the 3 candles
avgChg = (chg0 + chg1 + chg2) / 3
✅ 3-Green signal triggers when:
3 consecutive green candles
Average % change ≤ user-defined max (default 10%)
Price above EMA21
➡ Output:
signal = 1 // Buy flag
signal = 0 // No action
This avoids parabolic / news-spike candles.
4️⃣ Two Green Candles logic (early signal)
This is a lighter, earlier version of the same logic.
twoGreen = (close > open) and (close > open )
avgChg2 = (chg0 + chg1) / 2
✅ 2-Green signal triggers when:
2 consecutive green candles
Average % change ≤ maxAvgChange
Price above EMA21
➡ Output:
signal2 = 1 // Early momentum
This helps catch moves one day earlier than the 3-green setup.
5️⃣ Volume & liquidity context (important)
Average volume (7 days)
avgVol7 = ta.sma(volume, 7) / 1e6
Shows liquidity trend
Units: Millions of shares
Today’s volume
todayVol = volume / 1e6
Helps confirm participation
6️⃣ Turnover (Price × Volume)
priceVolCrore = (close * volume) / 1e7
Measures capital flow, not just volume
Output in ₹ Crores
Helps filter:
Low-value pump candles
Illiquid stocks
7️⃣ % price movement
Daily move
pctDay = (close - close ) / close * 100
Weekly move (5 bars)
pctWeek = (close - close ) / close * 100
These give context, not signals:
Is this early?
Is it already extended?
8️⃣ Visual outputs (what you see)
Plots (in the indicator pane)
CMP (current price)
3-Green signal (0 / 1)
2-Green signal (0 / 1)
Avg 7-day volume (M)
Today’s volume (M)
Turnover (₹ Cr)
Day % move
Week % move
This makes it usable as a visual screener.
9️⃣ Summary table (top-right)
On the latest bar only, it shows:
Field Meaning
CMP Current price
Today Vol (M) Today’s volume
Turnover (Cr) Value traded
Day / Week % Momentum context
Compact, readable, no clutter.
10️⃣ What this indicator is GOOD for
✅ Momentum stock screening
✅ Swing / positional setups
✅ Avoiding overextended candles
✅ Liquidity & capital flow validation
✅ Manual decision support
11️⃣ What it does NOT do
❌ No auto buy/sell
❌ No stop-loss or targets
❌ No relative strength vs index
❌ No intraday scalping logic
TL;DR (one-liner)
This indicator finds stocks in a healthy uptrend with 2–3 controlled bullish candles, confirms them with EMA and volume/turnover, and presents all key momentum metrics in one clean view.
Vietnam Asset Monitoring ToolVietNamese Asset Correlation Tracking Chart
This chart monitors the relationship between major asset classes which Vietnamese analyst should monitor:
Gold Price: Gold is currently in the spotlight as international trade tensions show no signs of easing.
U.S. Dollar Index (DXY): The strength of the U.S. dollar, a key indicator that has relative correlations with most asset classes.
VN30: Vietnam’s benchmark stock index, representing the top 30 leading listed companies.
VNREAL: The stock index tracking Vietnam’s real estate–related companies.
Hanoi Residential Property Prices: Apartment and landed house prices in Hanoi, compiled and aggregated by **VietRealty.Pro**
Development in progress..
EMA Distance Histogram - BY EFB THIS indicator is used to understand the exhaustion of a market, it can be used in divergence or trend following with contraction and restart, obviously to be backtested on your asset
Kaste HARSH [Pure]How it works:
Trend component: Measures the percentage distance between fast (12) and slow (26) EMAs
Momentum component: RSI centered at 50 (range -50 to +50)
Result: A smoothed line oscillating around zero—positive values indicate bullish momentum, negative values bearish
Reading the indicator:
Above zero: Uptrend dominance; line above orange signal = strong momentum
Below zero: Downtrend dominance; line below signal = weakening momentum
±20 dotted lines: Overbought/oversold thresholds (adjustable via background colors)
Best used for: Confirming trend direction and spotting momentum divergences without chart clutter. Pure price action alignment—no buy/sell arrows, just raw trend energy.
ICT + AVP + CHoCH (Smart Money)just tried to check concept of ict avp and choch for trading in various charts
PROFESSOR Pivot BUY SELL PROFESSOR Pivot BUY SELL + SL TP ek advanced price action & market structure based indicator hai jo Pivot High / Pivot Low ka use karke chart par clear BUY aur SELL signals generate karta hai.
Ye indicator specially un traders ke liye design kiya gaya hai jo simple, non-repainting aur rule-based trading prefer karte hain.
✔ Non-repainting Pivot logic
✔ Clear BUY / SELL arrows
✔ Exact price labels on signals
✔ Auto SL & TP with RR
✔ Clean visual boxes
✔ Works on Crypto, Forex, Gold, Stocks, Indices (NIFTY / SENSEX)
✔ Best for Scalping, Intraday & Swing Trading
⏱️ Recommended Timeframes
⏱️ 5m – 15m → Scalping
⏱️ 30m – 1H → Intraday
⏱️ 4H – Daily → Swing Trading
⚠️ Disclaimer
This indicator is for educational purposes only.
Always use proper risk management and additional confirmation before taking any trade. Trading in financial markets involves risk.
Rishii's EMA Trend EngineThis indicator is a dual-EMA trend framework designed to improve intraday decision-making by filtering out sideways market noise and highlighting only meaningful trend participation.
It uses a fast and slow EMA to define trend direction, while applying an HLC3-based color logic to show whether price is respecting each EMA. Candles turn green or red only when both the trend alignment and price participation conditions are satisfied. Neutral candles can be shown in white to visually remove noise and make valid candles stand out.
Additional filters such as EMA slope detection and optional higher-timeframe bias help avoid false signals during ranging conditions. A background trend zone and first-candle markers after EMA crossover further improve clarity without cluttering the chart.
How it helps
Clearly shows when the market is trending vs sideways
Highlights only those candles where price is truly participating in the trend
Filters out most whipsaws caused by flat EMAs BITSTAMP:BTCUSD
Combines trend bias, momentum, and participation in one clean view
Caution
This is a trend-following tool, not a reversal indicator.
When EMAs are flat and candles turn white, avoid trading
Do not treat every green/red candle as an entry; wait for proper structure.
Always use proper stop-loss and position sizing.
D29 SIMPLE SCALPThis script is a SuperTrend-based trend indicator built in Pine Script v5.
It detects bullish and bearish market trends, colors the chart background accordingly, and generates BUY / SELL alerts when the trend changes.
Non-repainting
Works on any timeframe
Suitable for manual trading or automation
Clean trend-following logic
Can be used as:
Standalone trend indicator
Entry confirmation tool
Alert-only signal system
Fair Value Interest Rate LadderDisplays the remaining interest rate relative to a specific expiration date. Compatible with both ascending and descending price trends (toggleable in Settings). The smooth decay visualization offers better clarity compared to standard daily horizontal levels.






















