EMA 5/10 + MACD Signals (Split Pane)EMA 5/10 + MACD Signals (Split Pane) combine into sigle indicator for free user
Indicatori e strategie
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..
Target Ladder Pro - MTF ATR + HIT ConfirmationTarget Ladder Pro is a volatility-based target framework that plots multi-timeframe ATR-derived upper and lower reference levels on the price chart and can optionally print HIT confirmations when a defined ATR target is reached.
This script is designed to provide structured volatility context (reach zones, range framing, and objective “target reached” tagging). It does not predict price direction, does not guarantee outcomes, and is not intended as a standalone signal generator.
What This Script Displays
1) Multi-Timeframe ATR Target Ladder (1H / 4H / 1D / 1W)
For each enabled timeframe, the script calculates ATR using higher-timeframe data via request.security() (no lookahead), then plots:
Upper level: Base + ATR × Multiplier
Lower level: Base − ATR × Multiplier
The “Base” can be set to:
the current chart price (for immediate relevance), or
the timeframe’s own close (for a strict MTF reference)
Each timeframe’s upper and lower levels are drawn as price-chart lines.
Last-Bar Target Balloons (per timeframe)
On the last bar, the script prints balloon labels for each timeframe’s upper and lower level. Horizontal x-offsets are configurable per timeframe to keep stacked labels readable.
2) ATR Target + Deviation Bands (Context Layer)
A separate ATR target module calculates a single ATR reference level for the current bar based on candle direction (up/down close relative to the prior close). It also optionally plots:
a mean line (moving average), and
up to four standard-deviation bands (mean ± N × deviation)
These bands provide statistical range context around price.
Target / HIT Labels (per bar)
When enabled:
a Target label marks the computed ATR target level
a HIT label appears when price reaches that target on the same bar (high/low touch rule)
An optional filter can require that the ATR target is inside the first deviation band before printing a HIT label, reducing HIT labels during extended conditions.
Label history can be limited to the most recent N labels or allowed to persist (with a safety cap).
How to Use
Enable the timeframes you want to display (e.g., 1H / 4H / 1D / 1W).
Adjust ATR length and multipliers per timeframe to match the asset’s volatility profile.
Choose whether MTF ladder levels are anchored to current price or the timeframe’s own close.
Use the ladder levels as volatility reach reference zones above and below price.
Use Target/HIT labels as objective “condition occurred” markers for review and journaling.
Notes and Limitations
ATR levels are volatility references, not forecasts or guarantees.
Targets may be reached frequently in high-volatility regimes and rarely in compressed markets.
HIT labels indicate that a defined volatility condition occurred; they do not imply reversal or continuation on their own.
This script is provided for informational and educational purposes only and does not constitute financial advice.
Cup & Handle Visual Pattern Cup & Handle – Visual Breakout Strategy (with Buy/Sell Signals)
Strategy Objective
This strategy helps traders visually identify and trade bullish Cup & Handle patterns by:
Drawing the Cup and Handle structure directly on the chart
Highlighting key support and resistance zones
Providing clear BUY and SELL signals
Assisting decision-making without repainting
🔧 Concept Behind the Strategy
The Cup & Handle is a bullish continuation pattern:
The Cup shows long consolidation and accumulation
The Handle shows short-term profit booking
A breakout above resistance signals trend continuation
This script approximates the pattern using price structure and volatility logic and draws it visually, instead of trying to mathematically force a perfect pattern.
🟠 Cup Formation Logic
The script finds the highest high and lowest low over a fixed lookback period
The depth of the cup must exceed a minimum percentage, ensuring a meaningful base
Two horizontal lines are drawn:
Top line → Cup resistance
Bottom line → Cup base (support)
📌 This creates a visible U-shaped price zone
⬜ Handle Formation Logic
After the cup forms, price must consolidate in a narrow range below resistance
A box is drawn on the chart showing the handle area
This represents short-term pullback before breakout
📌 The handle must:
Stay above the cup low
Stay below the cup resistance
🟢 BUY Signal Logic
A BUY signal is generated when:
Cup depth condition is valid
Handle consolidation is confirmed
Price breaks above cup resistance
📌 A green ▲ arrow appears below the breakout candle.
🔴 SELL Signal Logic
A SELL signal is generated when:
Price breaks below the handle support
📌 A red ▼ arrow appears above the breakdown candle.
🛑 Risk Management (Manual / Trader-Controlled)
This strategy is visual-assisted, not auto-exit based:
Stop Loss: Below handle low
Target:
Measure cup depth and project upward
Or trail using Supertrend / Moving Average
⏱️ Best Usage
Style Timeframe
Swing Trading 1H / Daily
Positional Daily / Weekly
Best suited for:
Strong trending stocks
Breakout candidates
Post-consolidation markets
⭐ Strengths of This Strategy
✔ Visual pattern drawing (easy to understand)
✔ Avoids over-complicated math
✔ Clear breakout levels
✔ Non-repainting logic
✔ Works as a decision-support tool
⚠️ Important Notes
Cup & Handle cannot be perfectly automated
This strategy assists, not replaces, trader judgment
Works best when combined with:
RSI above 50
Volume expansion
Market trend confirmation.
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.
Combo Premium SMA Alert SystemShort Straddle for ATM Options Entry at SMA Cross over downside and SL or Exit SMA Cross over Upside
RMA vs EMA Comparison ToolIf you're looking for a quick entry point to follow a trend, it's best to look at the EMA.
If you need confirmation of a long-term trend change or are working with oscillators (like the RSI), use the RMA.
What to look for on the chart:
Reaction speed: You'll notice that the EMA (red line) adheres much more closely to the price. It reacts more quickly to sharp reversals or impulses.
Smoothness: The RMA (blue line) appears smoother and "lazier." It changes direction more slowly, which helps filter out false signals (noise), but allows for a slightly later entry into a trade.
Distance: During periods of strong trending, the RMA is usually further from the price than the EMA of the same period.
BTC Accumulation Bands Long-only spot accumulation strategy on daily BTC bars. Buys at percentage deviation bands
below the 200-day SMA with geometric scaling. Trims as price returns toward/above fair value.
Weekly RSI gate filters slow grinds.
TSM RSI + Supertrend (Fixed SL + 1:2 RR) 302026RSI + Supertrend Combo Strategy (Fixed SL & 1:2 Risk–Reward)
To trade only in the direction of the trend using Supertrend and enter with momentum confirmation from RSI, while strictly controlling risk with a fixed stop loss and a 1:2 target.
Supertrend – identifies market trend
RSI (14) – confirms strength of the trend
BUY CONDITIONS (Long Trade)
Supertrend changes from Red to Green
→ Market trend turns bullish
Price trades above Supertrend line
RSI is above 50
→ Buying momentum is strong
✅ Enter BUY at the next candle open.
🔴 SELL CONDITIONS (Short Trade)
Supertrend changes from Green to Red
→ Market trend turns bearish
Price trades below Supertrend line
RSI is below 50
→ Selling momentum is strong
✅ Enter SELL at the next candle open.
🛑 Risk Management (Most Important)
Stop Loss (SL): Fixed percentage from entry price
Target (TP): 2 × Stop Loss
→ Risk : Reward = 1 : 2
Example (BUY Trade)
Entry: ₹100
Stop Loss (0.5%): ₹99.50
Target (1:2): ₹101.00
⏱️ Best Timeframes
Intraday: 5 min / 15 min
Swing Trading: 1 Hour / Daily.
Why This Strategy Works
✔ Trades with the trend, not against it
✔ RSI filters false Supertrend signals
✔ Fixed SL protects capital
✔ 1:2 RR ensures profitability even with ~40% win rate
✔ Simple rules – beginner friendly
⚠️ Important Notes
Avoid sideways markets
Best results in trending stocks / indices
Always backtest before live trading.
COT: CTA POSITIONINGCOT: CTA POSITIONING
A comprehensive Commitment of Traders (COT) indicator that tracks institutional money manager positioning across futures markets. This indicator displays CTA (Commodity Trading Advisor) net positioning as a percentile rank, helping traders identify potential market extremes and contrarian opportunities.
Key Features:
Multi-Market Coverage: Automatically detects and displays COT data for 60+ futures contracts across equity indices, bonds, currencies, cryptocurrencies, metals, energy, grains, livestock, and softs
Percentile Rank Display: Shows CTA net positioning (long minus short) as a percentile over a customizable lookback period (default 156 weeks ≈ 3 years)
Extreme Zones: Visual highlighting of potential reversal zones when CTAs reach positioning extremes (>80th percentile = bearish, <20th percentile = bullish)
Liquidity Analysis Table (optional): Displays detailed positioning breakdown including:
Gross long and short positions
Net positioning
20-day average volume
Net position as % of average daily volume
Estimated days to unwind net position
Methodology:
The indicator pulls CFTC Commitment of Traders data from both Financial Traders (COT3) and Disaggregated (COT2) reports, focusing specifically on leveraged money managers (CTAs/hedge funds). It calculates:
Net Positioning = CTA Longs - CTA Shorts
Net as % of Open Interest
Percentile rank of current net positioning vs. lookback period
Interpretation:
High readings (>80): CTAs are extremely net long - potential bearish reversal signal
Low readings (<20): CTAs are extremely net short - potential bullish reversal signal
Works best as a contrarian indicator on weekly timeframes
Consider liquidity metrics to assess position size relative to market capacity
Settings:
Lookback Period: Adjustable percentile calculation window (default 156 periods)
Show Table: Toggle detailed positioning and liquidity data display
Supported Markets:
Equity Indices (ES, NQ, RTY, YM), Treasuries (ZT, ZF, ZN, ZB, UB), Currencies (6E, 6J, 6B, 6C, 6A), Crypto (BTC, ETH), Metals (GC, SI, HG, PL, PA), Energy (CL, NG, RB, HO, BZ), Grains (ZC, ZW, ZS, ZM, ZL), Livestock (LE, HE, GF), and Softs (SB, CT, KC, CC, OJ)
Note: COT data is released weekly on Fridays and reflects positions as of Tuesday close. This indicator works best on daily or weekly timeframes.
Data sourced from CFTC Commitment of Traders reports via TradingView's COT library.
8-Year Cycle 8-Year Cycle Indicator — Description
Overview:
The 8-Year Cycle Indicator visually highlights repeating 8-year macro cycles on a chart, commonly used for gold, miners, or other long-term assets. It helps traders and investors understand early, mid, and late phases of each cycle to better plan positioning and risk management.
Features:
Each cycle is 8 years long by default.
Each year in the cycle can be assigned a custom color for granular visualization.
The last 4 years of a cycle can optionally be highlighted to indicate the late-cycle phase, historically associated with peaks and higher volatility.
Vertical lines mark the start of each cycle.
Labels display the full cycle period (e.g., 1981–1988).
Background shading per year makes it easy to distinguish early, mid, and late cycle stages.
Use Cases:
Identifying accumulation and topping periods in gold or related assets.
Understanding long-term macro trends.
Providing visual context for risk management in multi-year cycles.
Complementing other technical or macro indicators for strategic positioning.
RSI Level Candles [fmb]RSI Level Candles
What it is
RSI Level Candles is a minimal, high-signal overlay that keeps your attention on price. It paints candles by RSI regime and adds tiny edge dots to highlight extreme momentum. The design goal is speed and clarity with no clutter.
Why it was built
Most RSI tools sit in a separate pane and introduce noise with extra lines, labels, and overlapping thresholds. This indicator moves the information onto price itself. You see regime directly on the candles and only the most important alerts when RSI is in extreme territory.
What it does
Candles change color according to RSI. Above the neutral high (default 60) they turn green. At the high extreme (default 70, or 80 if you prefer) they turn lime. Between 40 and 60 you may show a soft yellow neutral band or leave candles unpainted. Below the neutral low (default 40) candles turn red, and at or below the low extreme (default 30, or 20 if you prefer) they turn maroon. The indicator also prints small dots at the top and bottom of the pane to spotlight extremes. A green dot appears at the top on any bar with RSI at or above the high extreme. A red dot appears at the bottom on any bar with RSI at or below the low extreme.
How this helps
You get an instant read on momentum regime without leaving the price chart. Extremes are easy to spot which helps manage chase or exhaustion risk. The neutral band behavior helps distinguish trend days from range days and supports cleaner add or trim decisions within an existing trend.
Best practices
Treat 60 and 40 as momentum gates. Above 60 favors a long bias and additive entries on pullbacks. Below 40 favors a defensive posture on longs or a short bias. Use extremes for management rather than automatic reversal calls. In strong trends RSI can remain extreme for extended periods. Look for a change in market structure or a clear reclaim of 60 or 40 before shifting bias. Combine this overlay with simple structure and trend filters such as support and resistance, a 20 or 50 period moving average, and volume or volatility context.
Inputs
You can set RSI source and length, choose neutral low and high, and choose extreme low and high. The neutral band can be shown in soft yellow between 40 and 60 or turned off entirely. You can also toggle candle painting on or off if you only want the extreme dots.
Reading the colors
Lime indicates the extreme bullish zone. Green indicates bullish momentum. Yellow indicates the optional neutral band. Red indicates bearish momentum. Maroon indicates the extreme bearish zone. A small green dot at the top means the bar is in the high extreme. A small red dot at the bottom means the bar is in the low extreme.
Use cases
For trend following, stay aligned with the prevailing regime while avoiding overreactions to small fluctuations. For swing entries, buy pullbacks while RSI holds above 40 in uptrends, and fade bounces that stall under 60 in downtrends. For risk control, trim strength that pushes into extremes and stalls, then re-add on momentum reclaims.
Limitations
RSI measures momentum, not direction by itself. Do not use it in isolation. Extremes can persist during strong trends, so wait for structure or momentum re-tests before changing bias. Very illiquid symbols can create noisy signals.
Notes
Dots are designed to appear on every bar that sits inside the extreme zones. If you prefer single entry dots, change the logic to look for crosses rather than conditions. There is no separate RSI pane, no text labels, and no cross markers. The objective is simplicity and speed.
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.
Gei-IndicatorFor trading and for fundaTradingView, combining three critical layers of market data into a single, high-level summary.
Key Features:
Fundamental Analysis: It pulls real-time financial data (P/E Ratio, Free Cash Flow, Revenue, EBIT, and Dividend Yield) to evaluate the company's health. It even includes a "Tech Mode" toggle to adjust valuation expectations for growth stocks.
Technical Indicators: It monitors price momentum and trend direction using the RSI (14) and a Moving Average crossover (MA20/MA50).
Market Benchmarking: It calculates and displays the Year-To-Date (YTD) performance of the SPY (S&P 500 ETF), allowing you to see at a glance if the current stock is outperforming the broader market.
Dynamic UI: All data is neatly organized in a color-coded table (Green/Orange/Red) at the top-right of your chart, making it easy to perform a "quick health check" without leaving the main price action.mental analysis
Stochastic Dynamic BandsStochastic is a purpose-built oscillator designed for clean, actionable signals instead of noisy crosses. It lets you switch between Classic Stochastic and StochRSI, then adapts to current market conditions with optional dynamic percentile bands rather than fixed 80/20 levels. You can trigger signals by standard K/D crosses, by higher-quality re-entry logic when momentum exits an extreme zone, or both. A built-in EMA trend filter helps align signals with the dominant direction, and the indicator keeps a classic stochastic panel layout with clear active bands and alert support for every signal type.
Market Waves [Smart Trend & Signals]Market Waves
Overview
Market Waves is a comprehensive technical analysis tool designed to identify market trends with minimal lag while filtering out noise. By combining a modified Hull Moving Average (HMA) with Volatility Bands (ATR), this indicator provides a clear visual representation of market direction, entry signals, and automated Take Profit targets.
Key Features
1. Low-Lag Trend Detection
The core of this indicator uses a custom HMA variation to smooth out price action without the delay common in standard moving averages.
• Bullish Trend: The trend ribbon turns Teal when price breaks above the lower volatility band.
• Bearish Trend: The trend ribbon turns Red when price breaks below the upper volatility band.
2. Smart Signals & Power Filter
The indicator generates two types of signals to help you gauge entry quality:
• Standard Signals (BUY / SELL): Generated purely on trend reversals. Good for early entries.
• Power Signals (BUY+ / SELL+): These are high-probability setups that pass a multi-factor filter:
• Trend Confirmation: The primary trend must flip.
• RSI Momentum: RSI must be above 50 (for Buy) or below 50 (for Sell).
• Volume Spike: Volume must exceed the 20-period average (optional in settings).
3. Automated Take Profit Targets
Upon every new signal, the indicator automatically projects three Take Profit levels based on market volatility (ATR) at the moment of entry:
• TP1: Conservative target (1x Risk).
• TP2: Moderate target (2x Risk).
• MAX PROFIT: Aggressive target (4x Risk).
4. Accumulation Bar Coloring
Candles are colored to reflect the true strength of the move:
• Teal/Red: Strong trend active.
• Gray: Accumulation or consolidation phase. This helps traders avoid chopping markets or weak signals.
5. Confidence Score
A dynamic percentage (50% - 99%) is displayed above signals, calculated based on the steepness and momentum of the wave change, giving you an instant metric of the trend's initial strength.
How to Use
1. Identify Trend: Look at the colored ribbon. Do not trade against the ribbon color.
2. Wait for Signals: Look for "BUY" or "SELL" labels. For higher accuracy, wait for the "+" signals (e.g., "BUY+").
3. Confirm with Color: Ensure the bar color is not Gray (Weak/Accumulation). A Teal bar confirms a Buy; a Red bar confirms a Sell.
4. Manage Trade: Use the trend ribbon as a trailing stop-loss and the projected TP lines for exiting positions.
Settings
• Wave Length: Adjusts the smoothness of the trend (Default: 24).
• Sensitivity Factor: Multiplier for the ATR bands. Higher values reduce false signals but may delay entry (Default: 2.0).
• Show Signals/TP: Toggles for visual elements to keep the chart clean.
Volume + ATR Robust Z-Score Suite (MAD)Plots relevant volume with relevant volatility using z-core to calculta de deviations






















