Kinetic EMA & Volume with State EngineKinetic EMA & Volume with State Engine (EMVOL)
1. Introduction & Concept
The EMVOL indicator converts a dense family of EMA signals and volume flows into a compact “state engine”. Instead of looking at individual EMA lines or simple crossovers, the script treats each EMA as part of a kinetic vector field and classifies the market into interpretable states:
- Trend direction and strength (from a grid of prime‑period EMAs).
- Volume regime (expansion, contraction, climax, dry‑up).
- Order‑flow bias via delta (buy versus sell volume).
- A combined scenario label that summarises how these three layers interact.
The goal is educational: to help traders see that moving averages and volume become more meaningful when observed as a structure, not as isolated lines. EMVOL is therefore designed as a real‑time teaching tool, not as an automatic signal generator.
2. Volume Settings
Group: “Volume Settings”
A. Calculation Method
- Geometry (Source File) – Default mode.
Buy and sell volume are estimated from each candle’s geometry: the close is compared to the high/low range and the bar’s total volume is split proportionally between buyers and sellers. This approximation works on any TradingView plan and does not require lower‑timeframe data.
- Intrabar (Precise) – Reconstructs buy/sell volume using a lower timeframe via requestUpAndDownVolume(). The script asks TradingView for historical intrabar data (e.g., 15‑second bars) and builds buy/sell volume and delta from that stream. This mode can produce a more accurate view of order flow, but coverage is limited by your account’s history limits and the symbol’s available lower‑timeframe data.
B. Intrabar Resolution (If Precise)
- Intrabar Resolution (If Precise) – Selected only when the calculation method is “Intrabar (Precise)”. It defines which lower timeframe (for example 15S, 30S, 1m) is used to compute up/down volume. Smaller intrabar timeframes may give smoother and more granular deltas, but require more historical depth from the platform.
When “Intrabar (Precise)” is active, the dashboard’s extended section shows the resolution and the number of bars for which precise volume has been successfully retrieved, in the format:
- Mode: Intrabar (15S) – where N is the count of bars with valid high‑resolution volume data.
In Geometry mode this counter simply reflects the processed bars in the current session.
3. Kinetic Vector Settings
Group: “Kinetic Vector”
A. Vector Window
- Vector Window – Controls the temporal smoothing applied to the aggregated vectors (trend, volume, delta, etc.). Internally, each bar’s vector value is averaged with a simple moving window of this length.
- Shorter windows make the state engine more reactive and sensitive to local swings.
- Longer windows make the states more stable and better suited to higher‑timeframe structure.
B. Max Prime Period
- Max Prime Period – Sets the largest prime number used in the EMA grid. The engine builds a family of EMAs on prime lengths (2, 3, 5, 7, …) up to this limit and converts their slopes into angles.
- A higher limit increases the number of long‑horizon EMAs in the grid and makes the vectors sensitive to broader structure.
- A lower limit focuses the analysis on short- and medium‑term behaviour.
C. Price Source
- Price Source – The price series from which the kinetic EMA grid is built (e.g., Close, HLC3, OHLC4). Changing the source modifies the context that the state engine is reading but does not change the core logic.
4. State Engine Settings
Group: “State Engine Settings”
These inputs define how the continuous vectors are translated into discrete states.
A. Trend Thresholds
- Strong Trend Threshold – Value above which the trend vector is treated as “extreme bullish” and below which it is “extreme bearish”.
- Weak Trend Threshold – Inner boundary between neutral and directional conditions.
Roughly:
- |trend| < weak → Neutral trend state.
- weak < |trend| ≤ strong → Bullish/Bearish.
- |trend| > strong → Extreme Bullish/Extreme Bearish.
B. Volume Thresholds
- Volume Climax Threshold – Upper bound at which volume is considered “climax” (unusually expanded participation).
- Volume Expansion Threshold – Boundary for normal expansion versus contraction.
Conceptually:
- Volume above “expansion” indicates increasing activity.
- Volume near or above “climax” marks extreme participation.
- Negative values below the symmetric thresholds map to contraction and extreme dry‑up (liquidity vacuum) states.
C. Delta Thresholds
- Strong Delta Threshold – Cut‑off for extreme buying or selling dominance in delta.
- Weak Delta Threshold – Threshold for mild buy/sell bias versus neutral order flow.
Combined with the sign of the delta vector, these thresholds classify order flow as:
- Extreme Buy, Buy‑Dominant, Neutral, Sell‑Dominant, Extreme Sell.
D. State Hysteresis Bars
- State Hysteresis Bars – Minimum number of bars for which a new state must persist before the engine commits to the change. This prevents the dashboard from flickering during fast spikes and emphasises persistent market behaviour.
- Smaller values switch states quickly; larger values demand more confirmation.
5. Visual Interface
Group: “Visual Interface”
A. Ribbon Base Color
- Ribbon Base Color – Base hue for the multi‑layer EMA ribbon drawn around price. The script plots a dense grid of hidden EMAs and fills the gaps between them to form a semi‑transparent band. Narrow, overlapping bands hint at compression; wider separation hints at dispersion across EMA horizons.
B. Show Dashboard
- Show Dashboard – Toggles the on‑chart table which summarises the current state engine output. Disable this if you only want to keep the EMA ribbon and volume‑based structure on the price chart.
C. Color Theme
- Color Theme – Switch between a dark and light style for the dashboard background and text colours so that the table matches your chart theme.
D. Table Position
- Table Position – Places the dashboard at any corner or edge of the chart (Top / Middle / Bottom × Left / Centre / Right).
E. Table Size
- Table Size – Changes the dashboard’s text size (Tiny, Small, Normal, Large). Use a larger size on high‑resolution screens or when streaming.
F. Show Extended Info
- Show Extended Info – Adds diagnostic rows under the main state summary:
- Mode / Primes / Vector – Shows the current calculation mode (Geometry / Intrabar), the selected intrabar resolution and coverage in bars ( ), how many prime periods are active, and the vector window.
- Values – Displays the current aggregated vectors:
- P: price vector
- V: volume vector
- B: buy‑volume vector
- S: sell‑volume vector
- D: delta vector
Values are bounded between ‑1 and +1.
- Volume Stats – Prints the last bar’s raw buy volume, sell volume and delta as formatted numbers.
- Footer – A final row with the symbol and current time: #SYMBOL | HH:MM.
These extended rows are meant for inspecting how the engine is behaving under the hood while you scroll the chart and compare different assets or timeframes.
6. Language Settings
Group: “Language Settings”
- Select Language – Switches the entire dashboard between English and Turkish.
The underlying calculations and scenario logic are identical; only the labels, titles and comments in the table are translated.
7. Dashboard Structure & Reading Guide
The table summarises the current situation in a few rows:
1. System Header – Shows the script name and the active calculation method (“Geometry” or “Intrabar”).
2. Scenario Title – High‑level description of the current combined scenario (e.g., “Trending Buy Confirmed”, “Sideways Balanced”, “Bull Trap”, “Blow‑Off Top”). The background colour is derived from the scenario family (trending, compression, exhaustion, anomaly, etc.).
3. Bias / Trend Line – States the dominant trend bias derived from the trend vector (Extreme Bullish, Bullish, Neutral, Bearish, Extreme Bearish).
4. Signal / Consideration Line – A short sentence giving qualitative guidance about the current state (for example: continuation risk, exhaustion risk, trap‑like behaviour, or compression). This is deliberately phrased as a consideration, not as a direct trading signal.
5. Trend / Volume / Delta Rows – Three separate rows explain, in plain language, how the trend, volume regime and delta are classified at this bar.
6. Extended Info (optional) – Mode / primes / vector settings, current vector values, and last‑bar volume statistics, as described above.
Together, these rows are meant to be read as a narrative of what price, volume and order‑flow are doing, not as mechanical instructions.
8. State Taxonomy
The state engine organizes market behaviour in three stages.
8.1 Trend States (from the Price Vector)
- Extreme Bullish Trend – The prime‑grid price vector is strongly upward; most EMAs are aligned to the upside.
- Bullish Trend – Upward bias is present, but less extreme.
- Neutral Trend – EMAs are mixed or flat; price is effectively sideways relative to the grid.
- Bearish Trend – Downward bias, with the EMA grid sloping down.
- Extreme Bearish Trend – Strong downside alignment across the grid.
8.2 Volume Regime States (from the Volume Vector)
- Volume Climax (Buy‑Side) – Strong positive volume vector; participation is unusually high in the current direction.
- Volume Expansion – Activity above normal but below the climax threshold.
- Neutral Volume – No major expansion or contraction versus recent history.
- Volume Contraction – Activity is drying up compared with the past.
- Extreme Dry‑Up / Liquidity Vacuum – Very low participation; the market is thin and prone to slippage.
8.3 Delta Behaviour States (from the Delta Vector)
- Extreme Buy Delta – Buying pressure dominates strongly.
- Buy‑Dominant Delta – Buy volume exceeds sell volume, but not at an extreme.
- Neutral Delta – Buy and sell flows are roughly balanced.
- Sell‑Dominant Delta – Selling pressure dominates.
- Extreme Sell Delta – Aggressive, one‑sided selling.
8.4 Combined Scenario State s
EMVOL uses the three base states above to generate a single scenario label. These scenarios are designed to be read as context, not as entry or exit signals.
Trending Scenarios
1. Trending Buy Confirmed
- Bullish or extreme bullish trend, supported by expanding or climax volume and buy‑side delta.
- Educational idea: a healthy uptrend where both participation and order flow agree with the direction.
2. Trending Buy – Weak Volume
- Bullish trend, but volume is neutral, contracting or in dry‑up while delta is still buy‑side.
- Educational idea: price is advancing, yet participation is thinning; trend continuation becomes more fragile.
3. Trending Sell Confirmed
- Bearish or extreme bearish trend, with expanding or climax volume and sell‑side delta.
- Educational idea: strong downtrend with both volume and order‑flow confirmation.
4. Trending Sell – Weak Volume
- Bearish trend, but volume is neutral, contracting or very low while delta remains sell‑side.
- Educational idea: downside continues but with limited participation; vulnerable to short‑covering.
Sideways / Range Scenarios
5. Sideways Balanced
- Neutral trend, neutral delta, neutral volume.
- Classic range environment; low directional edge, suitable for observation and context rather than trend trading.
6. Sideways with Buy Pressure
- Neutral trend, but buy‑side delta is dominant or extreme.
- Range with latent accumulation: price may still appear sideways, but buyers are quietly more active.
7. Sideways with Sell Pressure
- Neutral trend with dominant or extreme sell‑side delta.
- Distribution‑like environment where price chops while sellers are gradually more aggressive.
Exhaustion & Volume Extremes
8. Exhaustion – Buy Risk
- Extreme bullish trend, volume climax and strong buy‑side delta.
- Educational idea: very strong up‑move where both participation and delta are already stretched; risk of exhaustion or blow‑off.
9. Exhaustion – Sell Risk
- Extreme bearish trend, volume dry‑up and strong sell‑side delta.
- Suggests one‑sided selling into increasingly thin liquidity.
10. Volume Climax (Buy)
- Neutral trend, neutral delta, but volume at climax levels.
- Often associated with a “big event” bar where participation spikes without a clear directional commitment.
11. Volume Climax (Sell / Dry‑Up)
- Neutral trend and neutral delta, while the volume vector indicates an extreme dry‑up.
- Highlights a stand‑still episode: very limited interest from both sides, increasing the sensitivity to future impulses.
Divergences
12. Divergence – Bullish Context
- Bullish or extreme bullish trend, but delta has faded back to neutral.
- Price trend continues while order‑flow conviction softens; can precede pauses or complex corrections.
13. Divergence – Bearish Context
- Bearish or extreme bearish trend with a neutral delta.
- Downtrend persists, but selling pressure no longer dominates as clearly.
Consolidation & Compression
14. Consolidation
- Default state when no specific pattern dominates and the market is broadly balanced.
- Educational use: treat this as a “no strong edge” label; focus on structure rather than direction.
15. Breakout Imminent
- Neutral trend with contracting volume.
- Compression phase where energy is building up; often precedes transitions into trending or shock scenarios.
Traps & Hidden Divergences
16. Bull Trap
- Bullish trend, with neutral or contracting volume and sell‑side delta.
- Price appears strong, but order‑flow shifts against it; often seen near fake breakouts or failing rallies.
17. Bear Trap
- Bearish trend, neutral or contracting volume, but buy‑side delta.
- Downtrend “looks” intact, while buyers become more aggressive underneath the surface.
18. Hidden Bullish Divergence
- Bullish trend, contracting volume, but strong buy‑side delta.
- Educational idea: price dips or slows while aggressive buyers step in, often inside an ongoing uptrend.
19. Hidden Bearish Divergence
- Bearish trend, volume expansion and strong sell‑side delta.
- Reinforced downside pressure even if price is temporarily retracing.
Reversal & Transition Patterns
20. Reversal to Bearish
- Neutral trend, volume climax and strong sell‑side delta.
- Suggests that heavy selling appears at the top of a move, turning a previously neutral or rising context into potential downside.
21. Reversal to Bullish
- Neutral trend, extreme volume dry‑up and strong buy‑side delta.
- Often associated with selling exhaustion where buyers start to take control.
22. Indecision Spike
- Neutral trend with extreme volume (climax or dry‑up) but neutral delta.
- Crowd participation changes sharply while order‑flow remains undecided; treat as an informational spike rather than a direction.
Extended Compression & Acceleration
23. Coiling Phase
- Neutral trend, contracting volume, and delta that is neutral or only mildly one‑sided.
- Extended compression where price, volume and delta all contract into a tightly coiled range, often preceding a strong move.
24. Bullish Acceleration
- Bullish trend with volume expansion and strong buy‑side delta.
- Uptrend not only continues but gains kinetic strength; educationally, this illustrates how trend, volume and delta align in the strongest phases of a move.
25. Bearish Acceleration
- Bearish trend with volume expansion and strong sell‑side delta.
- Mirror image of Bullish Acceleration on the downside.
Trend Exhaustion & Climax Reversal
26. Bull Exhaustion
- Bullish or extreme bullish trend, with contraction or dry‑up in volume and buy‑side or neutral delta.
- The move has already travelled far; participation fades while price is still elevated.
27. Bear Exhaustion
- Bearish or extreme bearish trend, with volume climax or contraction and sell‑side or neutral delta.
- Down‑move may be approaching a point where additional selling pressure has diminishing impact.
28. Blow‑Off Top
- Extreme bullish trend, volume climax and extreme buy delta all at once.
- Classic blow‑off behaviour: price, volume and order‑flow are simultaneously stretched in the same direction.
29. Selling Climax Reversal
- Extreme bearish trend with extreme volume dry‑up and extreme sell‑side delta.
- Marks a very aggressive capitulation phase that can precede major rebounds.
Advanced VSA / Anomaly Scenarios
30. Absorption
- Typically neutral trend with expanding or climax volume and extreme delta (either buy or sell).
- Educational focus: large participants are aggressively absorbing liquidity from the opposite side, while price remains relatively contained.
31. Distribution
- Scenario where volume remains elevated while directional conviction weakens and the trend slows.
- Represents potential “selling into strength” or “buying into weakness”, depending on the active side.
32. Liquidity Vacuum
- Combination of thin liquidity (extreme dry‑up) with a directional trend or strong delta.
- Highlights environments where even small orders can move price disproportionately.
33. Anomaly / Shock Event
- Triggered when the vector z‑scores detect rare combinations of price, volume and delta behaviour that deviate from their own historical distribution.
- Intended as a warning label for unusual events rather than a specific tradeable pattern.
9. Educational Usage Notes
- EMVOL does not produce mechanical “buy” or “sell” commands. Instead, it classes each bar into an interpretable state so that traders can study how trends, volume and order‑flow interact over time.
- A common exercise is to overlay your usual EMA crossovers, support/resistance or price patterns and observe which EMVOL scenarios appear around entries, exits, traps and climaxes.
- Because the vectors are normalized (bounded between ‑1 and +1) and then discretized, the same conceptual states can be compared across different symbols and timeframes.
10. Disclaimer & Educational Purpose
This indicator is provided strictly as an educational and analytical tool. Its purpose is to help visualise how price, volume and order‑flow interact; it is not designed to function as a stand‑alone trading system.
Please note:
1. No Automated Strategy – The script does not implement a complete trading strategy. Scenario labels and dashboard messages are descriptive and should not be followed as unconditional entry or exit signals.
2. No Financial Advice – All information produced by this indicator is general market analysis. It must not be interpreted as investment, financial or trading advice, or as a recommendation to buy or sell any instrument.
3. Risk Warning – Trading and investing involve substantial risk, including the risk of loss. Always perform your own analysis, use appropriate position sizing and risk management, and consult a qualified professional if needed. You are solely responsible for any decisions made using this tool.
4. Data Precision & Platform Limits – The “Intrabar (Precise)” mode depends on the availability of high‑resolution historical data at the chosen intrabar timeframe. If your TradingView plan or the symbol’s history does not provide sufficient depth, this mode may only partially cover the visible chart. In such cases, consider switching to “Geometry (Source File)” for a fully populated view.
ממוצעים נעים
Tamil | Trend Signal Dashboard for trading“Tamil | Trend Signal in Dashboard” is a multi-confirmation trend and signal tool that combines Supertrend, RSI/ADX trend strength, and dual QQE into one clean dashboard on the chart. It only prints STRONG BUY / STRONG SELL when all components align, and it also gives clear, rule-based exit signals.
⸻
What it uses
• RSI + ADX + ATR trend block
• ADX (with custom length & threshold) to measure trend strength
• +DI / –DI to define bullish or bearish direction
• Optional session filter so signals only appear in your trading window
• Custom Supertrend
• ATR-based bands with adjustable period & multiplier
• Plots trend line on chart and shows Buy/Sell flip labels when Supertrend reverses
• Dual QQE MOD engine
• Two QQE/RSI streams (primary & secondary)
• Bollinger bands around QQE line to confirm true momentum breakouts
• Defines QQE Bullish / Bearish states
• Secondary RSI Histogram logic
• Tracks RSI distance from the 50 line
• Detects “peak & decline” on the histogram for momentum-based exits
⸻
Signals & Exits
• Entry
• Strong Buy: Supertrend bullish + strong ADX + DI bullish + QQE bullish
• Strong Sell: Supertrend bearish + strong ADX + DI bearish + QQE bearish
• Background is softly colored green/red while alignment is active
• Exit (configurable)
• Alignment lost (trend components no longer agree), and/or
• First peak-and-decline in the secondary RSI histogram
• Shows Exit Buy / Exit Sell markers and fires dedicated alerts
⸻
Dashboard & Alerts
A compact table in the top-right shows live status of:
• Supertrend
• ADX value & strength check
• Direction from DI
• QQE state
• Secondary RSI histogram slope
• Overall Alignment and current Signal (Hold / Strong Buy / Strong Sell / Exit)
Setup Keltner Banda 3 e 5 - MMS + RSI + Distância Tabela
📊 Indicator Overview: Keltner Bands + RSI + Distance Table
This custom TradingView indicator combines three powerful tools into a single, visually intuitive setup:
Keltner Channels (Bands 3x and 5x ATR)
Relative Strength Index (RSI)
Dynamic Table Displaying RSI and Price Distance from Moving Average (MMS)
🔧 Components and Functions
1. Keltner Channels (3x and 5x ATR)
Based on a Simple Moving Average (MMS) and Average True Range (ATR).
Two sets of bands are plotted:
3x ATR Bands: Used for moderate volatility signals.
5x ATR Bands: Used for high volatility extremes.
Visual fills between bands help identify overextended price zones.
2. RSI (Relative Strength Index)
Measures momentum and potential reversal zones.
Customizable overbought (default 70) and oversold (default 30) levels.
RSI values are color-coded in the table:
Green for RSI ≤ 30 (oversold)
Blue for 30 < RSI ≤ 70 (neutral)
Red for RSI > 70 (overbought)
3. Distance Table (Price vs. MMS)
Displays the real-time distance between the current price and the MMS:
In points (absolute difference)
In percentage (relative to MMS)
Helps traders assess how far price has deviated from its mean.
📈 How to Use
Trend Reversal Signals
Look for price crossing back inside the 3x or 5x Keltner Bands.
Confirm with RSI:
RSI > 70 + price re-entering from above = potential short
RSI < 30 + price re-entering from below = potential long
Volatility Zones
Price outside the 5x band indicates extreme movement.
Use this to anticipate mean reversion or breakout continuation.
Table Insights
Monitor RSI and price distance in real time.
Use color cues to quickly assess momentum and stretch.
⚙️ Customization
Adjustable parameters for:
MMS period
ATR multipliers
RSI period and thresholds
Table position on chart
Fill colors between bands
This indicator is ideal for traders who want a clean, data-rich visual tool to track volatility, momentum, and price deviation in one place.
Hash Ratings EngineHash Ratings Engine - Technical Consensus Strategy
A systematic trading strategy that harnesses TradingView's Technical Ratings to generate high-conviction entries with institutional-grade risk management.
What It Does
This strategy aggregates the consensus of 26+ technical indicators (RSI, MACD, Stochastics, multiple Moving Averages, etc.) into a single actionable signal. When enough indicators align bullish or bearish, the engine triggers an entry. Built-in trend filtering and ATR-based exits keep you on the right side of the market.
Key Features
Trend Filter - Only takes longs in uptrends, shorts in downtrends. This single filter typically improves results by 20-40% by avoiding counter-trend trades.
ATR-Based Risk Management - Stop loss and trailing stops adapt to current market volatility. Tight stops in calm markets, wider stops in volatile conditions.
Cooldown System - After a losing trade, the strategy waits before re-entering. This prevents the consecutive loss streaks that destroy accounts.
Clean Visuals - Fluorescent entry/exit signals with price level references. See exactly where you got in and out.
Settings Guide
Indicator Timeframe: Leave blank for current chart. Use higher timeframe for fewer, higher-quality signals.
Rating Source: "All" for balanced approach. "MAs" for trend-following. "Oscillators" for mean-reversion.
Entry Thresholds
Strong Signal Threshold: Higher = fewer trades but better conviction. Start at 0.5, test 0.4-0.6.
Risk Management
ATR Period: 12 is responsive, 14 is standard, 20+ is smoother.
Stop Loss: 2-3x ATR for tight stops, 3.5-4x for moderate, 5x+ for wide.
Trail Activation: How far price must move in profit before trailing begins.
Trail Offset: How closely the trail follows price.
Trend Filter
EMA Length: 150 works well on 4H charts. Use 100 for lower timeframes, 200 for daily.
Trade Timing
Cooldown: Keep enabled. 5 bars is a good starting point.
Best Practices
Start with default settings and backtest on your preferred instrument. Adjust the Strong Signal Threshold first - this has the biggest impact on trade frequency. Then tune the EMA length to match your timeframe. Finally, optimize the ATR multipliers for your risk tolerance.
Works on any liquid market - crypto, forex, stocks, futures. Higher timeframes (4H, Daily) tend to produce cleaner signals than lower timeframes.
Disclaimer
Past performance does not guarantee future results. Always backtest thoroughly and use proper position sizing. This strategy is for educational purposes - trade at your own risk.
UT Bot Pro Max (Maks Edition)Script v2.0
UT Bot Pro Max is an advanced, high-precision evolution of the well-known UT Bot indicator.
This version is fully rebuilt into a complete decision-making system that evaluates trend structure, volatility conditions, momentum signals, and entry quality.
It is designed for traders who want clear, structured signals supported by objective filters and transparent reasoning.
1. Core Engine: ATR-Based Trailing Logic
At the heart of the system is an ATR dynamic trailing stop.
It is responsible for:
detecting trend reversals
identifying breakout conditions
switching between long and short bias
determining signal strength
Unlike simple ATR lines, this engine adapts to momentum expansion and contraction, forming the backbone for every signal.
2. Three-Tier Signal Structure
Each signal is classified into one of three levels based on the number of confirmations:
Strong Signals
ATR breakout
trend filter (price relative to EMA200)
RSI filter (oversold/overbought context)
This is the highest-quality confirmation and is suitable for full-size entries.
Medium Signals
ATR breakout
trend filter
(no RSI filter)
This represents a valid trend continuation but with slightly reduced confirmation.
Weak Signals
ATR breakout only
(no trend filter, no RSI filter)
This is an early-stage impulse which can evolve into a stronger move.
The multi-level classification allows the trader to size positions rationally and avoid over-committing during uncertain market conditions.
3. Move-Since-Entry Tracking
When a new long or short position is detected, the indicator records the entry price and automatically tracks the percentage movement from that point.
This offers:
real-time monitoring of open trade performance
objective context for managing exits
clear visualization of progress since entry
4. Smart State-Change Alerts
Instead of simple “BUY” or “SELL” messages, the script sends highly structured alerts whenever the internal state changes.
Each alert includes:
the symbol and timeframe
signal direction and strength
recommended position size based on signal tier
ATR values
RSI value and its state
trend context (bullish, bearish, neutral)
distance from ATR trailing stop
movement since entry
previous state reference (optional)
This makes it ideal for automated systems, algorithmic routing, or Telegram-based signal delivery.
5. Professional On-Chart Status Table
The indicator displays a refined information panel containing:
current signal state (Strong / Medium / Weak / Hold)
ATR signal direction
trend filter result
RSI value and condition
distance to trailing stop (percentage)
current position (long / short / flat)
entry recommendation based on signal strength
ATR value and additional context in expanded mode
There is also a compact mode optimized specifically for mobile trading.
6. Optional Heikin Ashi Mode
The indicator can operate using Heikin Ashi close values for traders who prefer smooth, noise-reduced visualizations.
The internal logic is recalculated automatically.
7. Trend-Colored Candles
An optional feature allows candle coloring based on price position relative to the ATR stop line, highlighting bullish and bearish phases directly on the chart.
What This Indicator Provides
Accurate, context-aware entry signals
Scalable position sizing through multi-tier structure
Objective trend confirmation
Breakout detection with volatility adaptation
Continuous tracking of open position performance
Detailed real-time explanations through alerts
A complete visual dashboard consolidating all key metrics
UT Bot Pro Max (Maks Edition) is built as a practical tool for daily trading.
It is suitable for scalping, day trading, swing trading, automated alerts, and mobile workflows.
Quicksilver Master Terminal [Institutional]Overview
The Quicksilver Master Terminal is a comprehensive data visualization interface designed to bring institutional-grade market awareness to the retail chart. It replaces the need for multiple cluttered indicators by consolidating Trend, Momentum, Volatility, and Structure into a single Heads-Up Display (HUD).
Designed by Quicksilver Algo Systems, this tool is engineered for precision scalpers and prop firm traders who require instant situational awareness without switching timeframes.
Features
1. The Institutional HUD (Heads-Up Display)
Located in the top-right corner, this live dashboard provides real-time metrics on:
Market Structure: Instantly identifies if the asset is in a Bullish or Bearish regime relative to the 200 EMA.
Momentum Status: Tracks overbought/oversold conditions using smoothed Stochastic logic.
Volatility (ATR): Displays live Average True Range data for precise Stop Loss placement.
Volume Flow: Detects institutional volume spikes (1.5x average).
2. The Trend Cloud
A dynamic visual ribbon that fills the space between the Fast EMA (50) and Slow EMA (200).
Green Cloud: Strong Bullish Trend (Look for Longs).
Red Cloud: Strong Bearish Trend (Look for Shorts).
Cross: Visual warning of trend reversals.
3. Sniper Signal Logic
The script paints "INSTITUTIONAL BUY" and "INSTITUTIONAL SELL" labels only when high-probability confluence occurs:
Exhaustion: Stochastic RSI breaches extreme levels (<20 or >80).
Confirmation: Price action aligns with Heikin Ashi smoothing to filter noise.
Momentum: Fast %K crosses Slow %D.
How to Use
For Scalping (1m - 5m): Wait for the Trend Cloud to align with the Signal. Take "BUY" signals only when the Cloud is Green.
For Risk Management: Use the live "Volatility" number in the HUD to set your Stop Loss (e.g., 1.5x the current Volatility value).
About the Developer
This script is part of the Quicksilver Ecosystem. We build algorithmic solutions focused on capital preservation and risk management for funded traders.
Disclaimer: This tool is for educational market analysis only. Past performance is not indicative of future results.
Session Sweep System – WarRoomXYZ V1WarRoom Session Sweep System v1 is a open-source institutional trading framework built to identify liquidity behavior across Asia, London, and New York sessions.
It combines session-based liquidity mapping, sweep detection, daily expansion modeling, and trend confirmation into a unified, timing-driven system optimized for XAUUSD, FX pairs, indices, and any instrument with session-dependent volatility.
This tool does not attempt to predict direction with arbitrary oscillators.
Instead, it focuses on the underlying market mechanisms that drive price:
liquidity, timing, expansion, and trend alignment.
Below is a detailed explanation of what the script does, how its components work, and how traders can use it effectively.
🔹 1. Session Liquidity Mapping
The script automatically identifies the Asia (00:00–06:00 GMT), London (07:00–12:00 GMT), and New York (13:00–17:00 GMT) sessions and builds real-time session ranges.
Each session creates a liquidity pool.
Trading institutions frequently sweep the high or low of one session before delivering the real move in the next session.
This script captures that behavior by:
►Drawing session range boxes
►Tracking previous session highs/lows
►Highlighting high-probability sweep locations
These ranges are essential reference points for timing entries and exits.
🔹 2. Liquidity Sweep Detection (Buy & Sell Sweeps)
The indicator identifies when price runs a previous session high/low and rejects back inside the range, which is commonly interpreted as a liquidity sweep.
The following sweep types are monitored:
►London sweeping Asia
►New York sweeping London
►Asia sweeping New York
►Daily sweep of PDH/PDL
Sweeps signal that liquidity has been collected and that a potential reversal or continuation is likely.
These are marked clearly on the chart for real-time decision-making.
🔹 3. Killzone Timing Model (GMT Time)
Market manipulation and expansion often occur during specific time windows.
The script highlights these institutional killzones:
►London Killzone: 07:00–10:00 GMT
►New York Killzone: 13:30–15:30 GMT
►NY PM Session: 19:00–21:00 GMT
Sweeps occurring inside these windows carry a significantly higher probability.
The timing layer helps filter out low-quality setups.
🔹 4. Daily Range & ADR Expansion Engine
A dedicated panel displays:
►Current day range
►ADR (Average Daily Range)
►Expansion stage (Early / Developed / Extended)
►PDH/PDL swept or intact
►Overall session bias
This allows traders to understand whether the daily move is likely to continue or reverse.
For example:
►Early expansion → trend continuation likely
►Extended expansion → reversal setups become more probable
This is useful for intraday targets and risk management.
🔹 5. MA Cloud Trend Model (Fast/Slow Structure)
To align liquidity behavior with directional conviction, the script includes a configurable MA engine:
►Fast & slow MA
►MA cloud
►Slope-based trend coloring
►Trend background
►MA cross alerts
The cloud provides trend confirmation without relying on oscillators.
Trades are higher quality when the sweep direction aligns with the MA trend.
🔹 6. How the Components Work Together
The script integrates several institutional concepts into one coherent model:
►Sessions define liquidity pools
►Sweeps identify stop-hunts and reversals
►Killzones define optimal timing
►MA Cloud confirms directional bias
►ADR engine indicates expansion potential
This creates a structured framework:
Sweep → Timing → Trend → Expansion → Execution
Each component strengthens the others, forming a robust decision-making model.
🔹 7. How to Use the Indicator (Practical Guide)
✔ Look for a sweep of a previous session level
When price runs a session high/low and closes back inside, liquidity has likely been collected.
✔ Confirm timing
Sweeps inside London or NY killzones tend to produce the strongest moves.
✔ Confirm trend
Use MA cloud direction and slope:
►Cloud green → long setups preferred
►Cloud red → short setups preferred
✔ Check ADR panel
If the day has already expanded significantly, reversal setups are more likely.
If expansion is still early, continuation setups are favored.
✔ Plan your trade
Common targets include:
►Opposite side of session range
►ADR High/Low
►PDH/PDL
Stops are typically placed beyond the sweep wick.
This creates a repeatable, rule-based approach to intraday liquidity trading.
🔹 8. Why This Script Is Original
This is not a mashup of existing open-source indicators.
It introduces:
►A custom session-linked liquidity sweep engine
►A structured daily expansion model
►Integrated killzone timing aligned with GMT
►A unified bias panel merging sweeps, ADR, and session manipulation
►A trend confirmation layer designed around session behavior
While it uses known institutional concepts, their integration, execution, and timing framework are unique, purpose-built, and not directly found in open-source scripts.
🔹 9. Suitable Markets
This indicator works best on:
►XAUUSD
►Major FX pairs
►US indices
►Synthetic markets with session cycles
Ideal timeframes: 1m, 5m, 15m, 30m
🔹 10. Limitations / Notes
This is an analytical tool, not a buy/sell signal generator
All sweeps are confirmed at candle close (non-repaint)
The tool assumes GMT session windows unless chart time differs
Users must practice risk management and entry triggers manually
Disclaimer
This script is provided for informational and educational purposes only. It does not provide financial, investment, or trading advice, and it does not guarantee profits or future performance. All decisions made based on this script are solely the responsibility of the user.
This script does not execute trades, manage risk, or replace the need for trader discretion. Market behavior can change quickly, and past behavior detected by the script does not ensure similar future outcomes.
Users should test the script on demo or simulation environments before applying it to live markets and must maintain full responsibility for their own risk management, position sizing, and trade execution.
Trading involves risk, and losses can exceed deposits. By using this script, you acknowledge that you understand and accept all associated risks.
ChronoPulse MS-MACD Resonance StrategyChronoPulse MS-MACD Resonance Strategy
A systematic trading strategy that combines higher-timeframe market structure analysis with dual MACD momentum confirmation, ATR-based risk management, and real-time quality assurance monitoring.
Core Principles
The strategy operates on the principle of multi-timeframe confluence, requiring agreement between:
Market structure breaks (CHOCH/BOS) on a higher timeframe
Dual MACD momentum confirmation (classic and crypto-tuned profiles)
Trend alignment via directional EMAs
Volatility and volume filters
Quality score composite threshold
Strategy Components
Market Structure Engine : Detects Break of Structure (BOS) and Change of Character (CHOCH) events using confirmed pivots on a configurable higher timeframe. Default structure timeframe is 240 minutes (4H).
Dual MACD Fusion : Requires agreement between two MACD configurations:
Classic MACD: 12/26/9 (default)
Fusion MACD: 8/21/5 (default, optimized for crypto volatility)
Both must agree on direction before trade execution. This can be disabled to use single MACD confirmation.
Trend Alignment : Uses two EMAs for directional bias:
Directional EMA: 55 periods (default)
Execution Trend Guide: 34 periods (default)
Both must align with trade direction.
ATR Risk Management : All risk parameters are expressed in ATR multiples:
Stop Loss: 1.5 × ATR (default)
Take Profit: 3.0 × ATR (default)
Trail Activation: 1.0 × ATR profit required (default)
Trail Distance: 1.5 × ATR behind price (default)
Volume Surge Filter : Optional gate requiring current volume to exceed a multiple of the volume SMA. Default threshold is 1.4× the 20-period volume SMA.
Quality Score Gate : Composite score (0-1) combining:
Structure alignment (0.0-1.0)
Momentum strength (0.0-1.0)
Trend alignment (0.0-1.0)
ATR volatility score (0.0-1.0)
Volume intensity (0.0-1.0)
Default threshold: 0.62. Trades only execute when quality score exceeds this threshold.
Execution Discipline : Trade budgeting system:
Maximum trades per session: 6 (default)
Cooldown bars between entries: 5 (default)
Quality Assurance Console : Real-time monitoring panel displaying:
Structure status (pass/fail)
Momentum confirmation (pass/fail)
Volatility readiness (pass/fail)
Quality score (pass/fail)
Discipline compliance (pass/fail)
Performance metrics (win rate, profit factor)
Net PnL
Certification requires: Win Rate ≥ 40%, Profit Factor ≥ 1.4, Minimum 25 closed trades, and positive net profit.
Integrity Suite : Optional validation panel that audits:
Configuration sanity checks
ATR data readiness
EMA hierarchy validity
Performance realism checks
Strategy Settings
strategy(
title="ChronoPulse MS-MACD Resonance Strategy",
shorttitle="ChronPulse",
overlay=true,
max_labels_count=500,
max_lines_count=500,
initial_capital=100000,
currency=currency.USD,
pyramiding=0,
commission_type=strategy.commission.percent,
commission_value=0.015,
slippage=2,
default_qty_type=strategy.percent_of_equity,
default_qty_value=2.0,
calc_on_order_fills=true,
calc_on_every_tick=true,
process_orders_on_close=true
)
Key Input Parameters
Structure Timeframe : 240 (4H) - Higher timeframe for structure analysis
Structure Pivot Left/Right : 3/3 - Pivot confirmation periods
Structure Break Buffer : 0.15% - Buffer for structure break confirmation
MACD Fast/Slow/Signal : 12/26/9 - Classic MACD parameters
Fusion MACD Fast/Slow/Signal : 8/21/5 - Crypto-tuned MACD parameters
Directional EMA Length : 55 - Primary trend filter
Execution Trend Guide : 34 - Secondary trend filter
ATR Length : 14 - ATR calculation period
ATR Stop Multiplier : 1.5 - Stop loss in ATR units
ATR Target Multiplier : 3.0 - Take profit in ATR units
Trail Activation : 1.0 ATR - Profit required before trailing
Trail Distance : 1.5 ATR - Distance behind price
Volume Threshold : 1.4× - Volume surge multiplier
Quality Threshold : 0.62 - Minimum quality score (0-1)
Max Trades Per Session : 6 - Daily trade limit
Cooldown Bars : 5 - Bars between entries
Win-Rate Target : 40% - Minimum for QA certification
Profit Factor Target : 1.4 - Minimum for QA certification
Minimum Trades for QA : 25 - Required closed trades
Signal Generation Logic
A trade signal is generated when ALL of the following conditions are met:
Higher timeframe structure shows bullish (CHOCH/BOS) or bearish structure break
Both MACD profiles agree on direction (if fusion enabled)
Price is above both EMAs for longs (below for shorts)
ATR data is ready and above minimum threshold
Volume exceeds threshold × SMA (if volume gate enabled)
Quality score ≥ quality threshold
Trade budget available (under max trades per day)
Cooldown period satisfied
Risk Management
Stop loss and take profit are set immediately on entry
Trailing stop activates after 1.0 ATR of profit
Trailing stop maintains 1.5 ATR distance behind highest profit point
Position sizing uses 2% of equity per trade (default)
No pyramiding (single position per direction)
Limitations and Considerations
The strategy requires sufficient historical data for higher timeframe structure analysis
Quality gate may filter out many potential trades, reducing trade frequency
Performance metrics are based on historical backtesting and do not guarantee future results
Commission and slippage assumptions (0.015% + 2 ticks) may vary by broker
The strategy is optimized for trending markets with clear structure breaks
Choppy or ranging markets may produce false signals
Crypto markets may require different parameter tuning than traditional assets
Optimization Notes
The strategy includes several parameters that can be tuned for different market conditions:
Quality Threshold : Lower values (0.50-0.60) allow more trades but may reduce average quality. Higher values (0.70+) are more selective but may miss opportunities.
Structure Timeframe : Use 240 (4H) for intraday trading, Daily for swing trading, Weekly for position trading
Volume Gate : Disable for low-liquidity pairs or when volume data is unreliable
Dual MACD Fusion : Disable for mean-reverting markets where single MACD may be more responsive
Trade Discipline : Adjust max trades and cooldown based on your risk tolerance and market volatility
Non-Repainting Guarantee
All higher timeframe data requests use lookahead=barmerge.lookahead_off to prevent repainting. Pivot detection waits for full confirmation before registering structure breaks. All visual elements (tables, labels) update only on closed bars.
Alerts
Three alert conditions are available:
ChronoPulse Long Setup : Fires when all long entry conditions are met
ChronoPulse Short Setup : Fires when all short entry conditions are met
ChronoPulse QA Certification : Fires when Quality Assurance console reaches CERTIFIED status
Configure alerts with "Once Per Bar Close" delivery to match the non-repainting design.
Visual Elements
Structure Labels : CHOCH↑, CHOCH↓, BOS↑, BOS↓ markers on structure breaks
Directional EMA : Orange line showing trend bias
Trailing Stop Lines : Green (long) and red (short) trailing stop levels
Dashboard Panel : Real-time status display (structure, MACD, ATR, quality, PnL)
QA Console : Quality assurance monitoring panel
Integrity Suite Panel : Optional validation status display
Recommended Usage
Forward test with paper trading before live deployment
Monitor the QA console until it reaches CERTIFIED status
Adjust parameters based on your specific market and timeframe
Respect the trade discipline limits to avoid over-trading
Review quality scores and adjust threshold if needed
Use appropriate commission and slippage settings for your broker
Technical Implementation
The strategy uses Pine Script v6 with the following key features:
Multi-timeframe data requests with lookahead protection
Confirmed pivot detection for structure analysis
Dynamic trailing stop management
Real-time quality score calculation
Trade budgeting and cooldown enforcement
Comprehensive dashboard and monitoring panels
All source code is open and available for review and modification.
Disclaimer
This script is for educational and informational purposes only. It is not intended as financial, investment, or trading advice. Past performance does not guarantee future results. Trading involves substantial risk of loss and is not suitable for all investors. Always conduct your own research and consult with a qualified financial advisor before making any trading decisions. The author and TradingView are not responsible for any losses incurred from using this strategy.
Triple ATR Adaptive MAs + VWAP Option + Clouds + Candle Trend V2Another one of my experiences ... combining things...
📘 Indicator Description – Triple ATR Adaptive Moving Averages with VWAP Influence
This indicator plots three adaptive moving averages whose behavior changes dynamically based on market volatility (ATR) and optionally VWAP deviation.
Because they adapt in real time to both volatility and VWAP pressure, their movement, slope, and reaction speed differ significantly from traditional moving averages.
🔶 1. ATR-Adaptive Moving Averages
Each of the three MAs uses a custom adaptive formula:
ATR (Average True Range) is measured over a chosen period.
Higher ATR → more volatility → the MA becomes more reactive and moves closer to price.
Lower ATR → stable market → the MA becomes smoother and slower.
This creates a volatility-aware smoothing factor, making the MA expand, contract, and respond to market conditions in ways a classic SMA, EMA, or HMA cannot.
🔷 2. Optional VWAP Influence
Each MA has an independent toggle allowing it to be influenced by VWAP.
When enabled:
The MA is gently “pulled” toward VWAP.
The strength of this attraction is determined by the VWAP Influence parameter (0–1).
This causes the moving averages to behave differently from normal MAs:
In trending markets, the ATR and price push the MA away from VWAP.
In mean-reverting or balanced conditions, VWAP pulls the MA back toward fair value.
The result is an MA that reflects both trend pressure and fair-value pressure.
🔶 3. Visual Behavior: Non-Traditional Movement
Because each MA is simultaneously influenced by volatility, trend magnitude, and VWAP deviation, their shape is often very distinct from normal moving averages.
They may:
Respond faster during high volatility
Flatten out earlier during consolidation
Curve toward VWAP when price becomes extended
Separate or compress depending on ATR strength
This is intentional and essential, since the goal is to show:
✔ Volatility expansion
✔ Trend exhaustion
✔ Overextended price relative to VWAP
✔ Dynamic trend confirmation
Rather than simply smoothing past price.
🔷 4. Three Independent Adaptive Lines
Each of the three moving averages has:
Its own ATR length
Its own sensitivity multiplier
Its own optional VWAP influence
Its own color and trail
This allows the user to combine:
a fast volatility-adaptive trend line
a mid-range adaptive baseline
a slow adaptive long-trend MA
All adapting independently to volatility and VWAP conditions.
🔶 5. Optional Candle Coloring
The indicator can color candles according to trend strength derived from the fast/slow MAs.
Stronger trends produce more vivid colors. Neutral or conflicting trends produce softer colors.
This adds a visual layer to identify:
Trend direction
Trend strength
Volatility state
Market compression
at a glance.
📌 Summary
This indicator does not behave like standard SMAs or EMAs because each line dynamically adapts to:
🔸 ATR (volatility)
🔸 VWAP (fair value)
This makes the indicator extremely responsive to market conditions while still reducing noise during stable phases.
It provides a more realistic, context-aware, and intelligent representation of price behavior compared to traditional moving averages.
5MA+スーパートレンド + Disparity Scalping (SIMPLE FILTER)5MA + ATR Trend Filter + Disparity Scalping
This indicator combines a five-EMA trend framework, an ATR-based trailing trend line, a volatility breakout detector, and an ultra-fast scalping module using RSI and custom momentum prediction.
It is designed for both trend continuation and rapid reversal trading.
🔹 Main Components
1️⃣ Five-EMA Trend Framework
Uses 9 / 20 / 50 / 100 / 200 EMAs
Identifies short-term and long-term market direction
Provides dynamic support and resistance
Helpful for determining breakout vs. pullback conditions
2️⃣ ATR-Based Trailing Trend Line
Uses ATR multiplier to build a trailing stop line
Color change indicates directional shift
Works as a trend filter or trailing stop reference
Helps avoid counter-trend trades during strong trends
3️⃣ High-Volatility Breakout Detector (Optimized for Fast Markets)
Uses ATR expansion, Bollinger band breakout, and volatility comparison (HV vs RV)
Detects sudden market acceleration
Generates breakout BUY/SELL signals when volatility pressure aligns with direction
Useful for explosive markets such as gold or crypto, but compatible with all assets
4️⃣ Ultra-Fast Disparity Scalper
Measures price distance from EMA5 and EMA10
Uses RSI for exhaustion filtering
Predicts momentum turns with a custom RVI-based algorithm
Generates early reversal BUY/SELL signals before full market reaction
Designed for scalping in high-speed environments
5️⃣ Simple Overheat Filter
Blocks trades in extremely overbought/oversold zones
Gray signals indicate low-quality trade setups to avoid
Helps remove “chasing” entries during excessive deviation
🎯 Best Use Cases
Scalping fast reversals
Entering trends after confirmed volatility breakouts
Filtering entries during extreme overbought/oversold phases
Combining EMA structure with breakout momentum
⚠️ Important Notice
This tool is designed to support decision making, not guarantee trade results.
For best performance, combine with:
Price action (market structure)
Volume/volatility context
Support and resistance analysis
🏷️ Short Description (for compact summary)
Five-EMA trend structure with ATR trailing filter, volatility breakout detection, and ultra-fast scalping using RSI + momentum prediction. Suitable for both rapid reversals and trend continuation setups.
5MA+TrendMagic + Disparity Scalping (SIMPLE FILTER)5MA + Trend Filter + Disparity Scalping
This multi-purpose indicator combines a five-EMA trend structure, a volatility-based trend filter, and an ultra-fast scalping module to detect both trend continuation and sharp reversal opportunities.
It is suitable for scalping, day trading, and trend-following strategies.
🔹 Main Components
1️⃣ Five-EMA Trend Structure
Displays 9 / 20 / 50 / 100 / 200 EMA levels
Helps identify short-term and long-term market direction
Useful for support and resistance during trending markets
2️⃣ Volatility-Driven Trend Filter
Uses CCI and ATR to form a dynamic trailing line
The line switches color based on momentum direction
Can act as a trailing stop or trend confirmation filter
Helps avoid counter-trend entries
3️⃣ High-Volatility GOLD Signal
Detects sudden volatility expansions using ATR, Bollinger metrics, and volatility comparison (HV vs RV)
Marks rapid breakout situations with potential continuation setups
Available for all assets, optimized for highly volatile markets
4️⃣ Ultra-Fast Disparity Scalper
Measures price deviation from EMA5 and EMA10
Confirms exhaustion using RSI + momentum prediction from a custom RVI model
Generates early BUY/SELL reversal markers
Detects momentum shifts before price fully reacts
5️⃣ Simple Overheat Filter
Prevents trades in extremely overbought/oversold zones
Gray-colored signals indicate unsafe trades to avoid
🎯 Best Use Cases
Catching early reversals during fast movement
Identifying strong trend continuation after volatility expansion
Avoiding low-probability scalps in overheated conditions
Applying EMA structure for confluence with price action
⚠️ Note
This indicator is a decision-support tool, not a standalone signal generator.
For best precision, combine with:
Market structure
Volume analysis
Support / resistance levels
🏷️ Short Description (for compact field)
Multi-function tool combining 5EMA structure, volatility-based trend filtering, and ultra-fast reversal scalping using RSI + custom RVI momentum. Ideal for both trend continuation and rapid reversals.
Renkli EMA ve Ok Sinyali by incebacak//@version=5
indicator(, overlay=true)
//
emaLength = input.int(20, "EMA Periyodu")
emaColorUp = input.color(color.green, "EMA Yukarı Renk")
emaColorDown = input.color(color.red, "EMA Aşağı Renk")
barColorUp = input.color(color.new(color.green, 0), "Yukarı Mum Renk")
barColorDown = input.color(color.new(color.red, 0), "Aşağı Mum Renk")
emaThickness = input.int(3, "EMA Kalınlığı")
//
emaValue = ta.ema(close, emaLength)
//
emaRising = emaValue > emaValue
emaFalling = emaValue < emaValue
emaCol = emaRising ? emaColorUp : emaColorDown
plot(emaValue, color=emaCol, linewidth=emaThickness, title="EMA")
//
barcolor(close > emaValue ? barColorUp : barColorDown)
//
plotshape(ta.crossover(close, emaValue), title="Al Sinyali", location=location.belowbar, color=color.green, style=shape.triangleup, size=size.small)
plotshape(ta.crossunder(close, emaValue), title="Sat Sinyali", location=location.abovebar, color=color.red, style=shape.triangledown, size=size.small)
MA Strategy: Dual Entry FilterConfigurable MA Dual-Filter Strategy
This strategy is an enhanced and highly configurable Moving Average (MA) Crossover system designed to mitigate false signals and align trades with the prevailing market trend. It is built to offer traders granular control over entry criteria, elevating it beyond basic, built-in MA crossover indicators.
Originality & Key Features
The script's originality and utility lie in the combination of its two primary, optional filtering mechanics:
Dual Entry Mode (Key Filter): Users can choose between two distinct methods for trade entry:
Crossover (Classic): Immediate entry when the price crosses the main MA.
Full Candle Confirmation (Unique Feature): This mode requires the entire candle body (open, high, low, and close) to be completely above or below the main MA after a crossover event to confirm the signal before entry. This strict confirmation helps to filter out weak crossovers, reducing whipsaws in choppy markets.
Optional Trend Filter: A second, slower MA (Trend Filter MA) can be activated. Trades are only permitted when the faster main MA is aligned with the slower Trend MA (i.e., long only if main MA > Trend MA), ensuring trades are executed with the established higher-timeframe direction.
How to Use the Strategy
The strategy logic is built on simple MA principles but utilizes Pine Script's switch function to allow users to select from six different MA types for both the main signal and the trend filter: SMA, EMA, WMA, HMA, VWMA, and RMA.
Core Logic:
Signal: A cross of the price over the Main MA (filtered by the chosen Entry Mode).
Directional Filter: The Trend Filter must confirm the direction (if enabled).
Exit: Trades are exited on the opposite price crossover of the Main MA.
Customizable Settings Include:
Main MA Type & Length (Default: 40 EMA): The primary signal generator.
Trend Filter MA Type & Length (Default: 70 EMA): The optional, slower trend bias.
Entry Mode: Switch between Crossover or Full Candle Confirmation.
Strategy Results and High-Risk Disclaimer
The default setting for trade size is set to 40% of equity for backtesting demonstration purposes only. This high value is used to generate a large and diverse sample size of trades for historical review on the chart.
This 40% value is NOT a recommended setting for live trading. Per TradingView guidelines, traders are strongly advised to change this input to a sustainable risk level, typically 5% to 10% of equity per trade. Past performance is not a guarantee of future results.
Tamil | MTF DashboardThe Tamil | MTF Dashboard is a powerful multi-timeframe (MTF) market strength and trend-bias analyzer designed to give traders a fast, at-a-glance understanding of market conditions across 7 timeframes.
This dashboard consolidates essential indicators into a clean table plus a dynamic bias label that updates live with the chart timeframe.
⸻
✅ What This Dashboard Shows
1. RSI (Multi-Timeframe)
• Uses custom color logic:
• Green: RSI > 55
• Red: RSI < 45
• Gray: Neutral zone (45–55)
• Quickly identifies momentum shifts across multiple timeframes.
2. Stochastic (Multi-Timeframe)
• Values clamped to 0–100
• Color-coded:
• Oversold (<20): Green
• Overbought (>80): Red
• Neutral: Gray
3. Supertrend Direction
• Returns Buy / Sell / Neutral per timeframe
• Color-coded trend bias for quick directional confirmation.
4. Moving Average Trend (SMA or EMA)
• Choose between SMA or EMA
• Shows whether price is above/below MA
• Above MA → Bullish (Buy)
• Below MA → Bearish (Sell)
5. Combined Score (-4 to +4)
A powerful numeric sentiment summarizing 4 trend components:
• RSI score
• Stochastic score
• Supertrend score
• MA trend score
Each indicator contributes -1, 0, or +1, giving a total score:
• +2 to +4 = Bullish
• -2 to -4 = Bearish
• Between -1 and +1 = Neutral
Includes Trend Strength:
• Very Weak
• Weak
• Moderate
• Strong
All shown inside the Score cell per timeframe.
⸻
📌 Bias Label (Chart Timeframe Only)
Displays real-time information for the active chart timeframe:
• Bias (Bullish / Bearish / Neutral)
• Combined Score
• ATR value
• ADX value (0–100, DI-based calculation)
Perfect for gauging trend strength without cluttering the chart.
⸻
🧩 Supported Timeframes
The dashboard updates the following timeframes simultaneously:
• 1m, 3m, 5m, 15m, 1H, 4H, 1D
⸻
🎯 Designed For
• Intraday traders
• Swing traders
• Scalpers
• Multi-timeframe analysts
• Traders who want instant visual confirmation of market strength
⸻
⭐ Why This Dashboard Is Unique
• True multi-timeframe aggregation
• Custom, realistic scoring engine
• Accurate ADX (0–100) matching textbook DI calculation
• Clean color logic for fast interpretation
• Zero repainting (uses standard indicators + request.security)
• Works on any market: Stocks, Crypto, Forex, Futures
Swing Trading IndicatorThis script is a swing‑trading dashboard designed for BTC, ETH, S&P 500 (for now). It combines weekly RSI, USDT.D, VIX, moving averages and Fisher Transform into a single visual tool, with background highlights, an on‑chart info table and ready‑made alerts to help you time high‑probability swing entries and manage risk.
1. Overview
The indicator is intended to work on daily timeframe.
Signals are context‑aware: BTC and ETH get USDT.D conditions, SPX gets VIX and EMA‑100 logic, and all non‑ETH symbols can also use Fisher Transform as a mean‑reversion filter.
2. Conditions and background highlights
Each component sets a boolean condition and, when active, paints a background layer:
Weekly RSI condition
True when weekly RSI is below its symbol‑specific threshold.
USDT.D conditions
BTC: triggered when USDT.D is above the user threshold and the chart symbol is BTC.
ETH: same logic for ETH, but tracked separately..
VIX condition (SPX only)
True when VIX high is at or above the VIX threshold while the chart is SPX.
EMA condition (BTC & SPX)
BTC: daily close below EMA‑200.
SPX: daily close below EMA‑100.
Fisher Transform condition (non‑ETH)
Fisher Transform on the chart timeframe, using the configured period.
True when Fisher value is below the Fisher threshold.
3. Intended use and notes
This indicator is designed as a confluence tool for swing traders, not a standalone buy/sell system. It works best on assets that are in a clear uptrend, where the main idea is to accumulate during corrections within that broader bullish structure.
During larger market shocks, deep corrections, or black‑swan events, trend‑based and mean‑reversion filters can produce false signals, because volatility and correlations often behave abnormally in those periods. For that reason, this script should always be combined with independent risk management, higher‑timeframe trend analysis, and your own discretion.
Custom 2nd Candle HMAIts a simple hull moving avg script which connects the 2nd candle of 47 min time frame and ignoring everything else. This is specifically for NIFTY only. Why 47 min?? it perfectly divides the day into 8 candles. Why 2nd candle?? this is my personal observation that it is the actual noise free candle in a day .
How to use it- plot it on 5 min chart or in 1 min chart ,use ur own moving avg on 5min chart and the crossover technique works fine.
Multi-MA + Trend StatusMulti-MA + Trend Status is a streamlined trend analysis tool designed to simplify market state identification using a robust Moving Average (MA) crossover logic. By analyzing the relationship between price and three key Moving Averages (Fast, Medium, and Slow), this indicator instantly classifies the market into one of 9 distinct trend phases, displayed as a clean, non-intrusive text overlay on your chart.
Created by ivanpsh (MIT License).
Key Features
9 Distinct Trend States: Automatically detects and displays specific market conditions:
🟢 Bullish Phases: Uptrend, Bullish Crossover, Fast Bullish Crossover, Bottom Bounce.
🔴 Bearish Phases: Downtrend, Bearish Crossover, Fast Bearish Crossover, Top Pullback, Dead Cat Bounce.
Visual Simplicity: Displays the current market status in a large, transparent text overlay (Bottom Right by default) that provides instant clarity without cluttering your analysis.
Multi-Timeframe (MTF) Support: Monitor the trend of a higher timeframe (e.g., Daily) while trading on a lower timeframe (e.g., 5-minute) without switching charts.
Fully Configurable MAs:
Types: Supports SMA, EMA, RMA (Wilder's), WMA, and VWMA.
Lengths: Fully adjustable lengths (Defaults: 20, 50, 250).
Source: Calculation source is customizable (Close, Open, High, Low, HL2, etc.).
Integrated MA Overlay: Optionally view the actual Moving Average lines on the chart.
Color Coded: Fast (Purple), Medium (Orange), and Slow (Red) for easy differentiation.
Toggle: Lines are visible by default but can be hidden instantly via settings.
How It Works
The indicator logic compares the current Price against three Moving Averages (Default: 20, 50, 250) to determine the market "Health":
Uptrend: Price > 20 > 50 > 250 (Strongest Bullish Signal)
Downtrend: Price < 20 < 50 < 250 (Strongest Bearish Signal)
Crossovers: Identifies early reversals when Fast/Medium MAs cross the Slow MA.
Bounces & Pullbacks: Identifies specific retracement patterns (e.g., "Bottom Bounce" or "Top Pullback") where price interacts with MAs in a counter-trend move.
Settings Guide
Indicator Timeframe: Select the timeframe used for calculations (Default: Chart).
MA Type: Choose the averaging method (Default: SMA).
Visuals: Customize text size, screen position, and opacity.
Show 'No Match' Text: By default, the text overlay hides if the market is choppy and fits none of the 9 specific states. You can enable this to see a "No Logic Match" status instead.
This script is open-source under the MIT license. Feel free to use, study, and modify it for your own trading systems.
Trade Setup A+ [v.8 Fixed Lines]🚀 Trade Setup A+ : Liquidity Hunter System (XAUUSD)
This indicator is an "All-in-One" trading system designed specifically for XAUUSD (Gold) Scalping and Swing trading. It combines Smart Money Concepts (SMC) with Price Action to identify high-probability setups by tracking liquidity pools and institutional order blocks.
💎 Key Features (v.8 Updated):
Auto Order Blocks (Clean View):
Automatically detects and draws Bullish (Green) and Bearish (Red) Order Blocks based on swing points.
Clean Look: Limits display to the last 5 active zones to keep the chart clutter-free.
Liquidity Levels (Fixed Lines):
D-High / D-Low: Thin lines representing Previous Day’s High & Low.
W-High / W-Low: Thick lines representing Previous Week’s High & Low (Strong Support/Resistance).
Dual Entry Signals:
Method 1 (Sniper): Shows a Diamond Icon (💎) when price touches an Order Block zone (Reversal setup).
Method 2 (Follow): Shows a Triangle Arrow (🔼/🔽) when price crosses EMA 14 with trend confirmation from EMA 49.
Macro Time Zones:
Highlights high-volume trading sessions (Asia, London, NY) on the background to identify "Killzones".
📈 How to Trade:
BUY Signal: Look for a Green Diamond (Touch OB) or Green Triangle (Price > EMA 14 & 49).
SELL Signal: Look for a Red Diamond (Touch OB) or Orange Triangle (Price < EMA 14).
Best Time: Trade when signals align with highlighted Macro Time zones.
⚠️ Disclaimer: This tool is for educational purposes only. Always use proper risk management.
🚀 Trade Setup A+ : ระบบเทรดล่าสภาพคล่อง (สำหรับทองคำ)
อินดิเคเตอร์ชุดนี้ออกแบบมาเพื่อเทรด XAUUSD (ทองคำ) โดยเฉพาะ ผสมผสานเทคนิค SMC (Smart Money Concepts) และ Price Action เพื่อหาจุดเข้าที่มีความแม่นยำสูง (High Probability) โดยเน้นการดักจับสภาพคล่องของรายใหญ่ค่ะ
💎 ฟีเจอร์หลัก (อัปเดตล่าสุด v.8):
Auto Order Blocks (แบบคลีน):
สร้างกล่องโซนซื้อขาย (Supply/Demand) ให้อัตโนมัติ (สีเขียว = โซน Buy, สีแดง = โซน Sell)
Clean Look: ระบบจะโชว์เฉพาะ 5 กล่องล่าสุดเท่านั้น เพื่อไม่ให้กราฟรกสายตา
Liquidity Levels (เส้นแนวรับต้าน):
D-High / D-Low: เส้นบาง แสดงราคาสูงสุด/ต่ำสุดของ "เมื่อวาน" (Day)
W-High / W-Low: เส้นหนา แสดงราคาสูงสุด/ต่ำสุดของ "สัปดาห์ที่แล้ว" (Week) ซึ่งเป็นแนวรับต้านที่แข็งแกร่ง
สัญญาณเข้าเทรด 2 แบบ (Dual Signals):
วิธีที่ 1 (Sniper): แสดงรูป เพชร (💎) เมื่อราคาวิ่งชนขอบกล่อง Order Block (ดักจุดกลับตัวปลายไส้)
วิธีที่ 2 (Follow Trend): แสดงรูป ลูกศรสามเหลี่ยม (🔼/🔽) เมื่อราคาตัดเส้น EMA ตามเงื่อนไข (Buy ต้องยืนเหนือ EMA 14 และ 49)
Macro Time (ช่วงเวลาทำเงิน):
ระบายสีพื้นหลังบอกช่วงเวลาที่ตลาดวิ่งแรง (Asia, London, NY) เพื่อให้โฟกัสถูกจุด
📈 วิธีใช้งาน:
ขา BUY: รอสัญญาณ เพชรสีเขียว (ชนกล่องรับ) หรือ ลูกศรเขียว (ตามเทรนด์)
ขา SELL: รอสัญญาณ เพชรสีแดง (ชนกล่องต้าน) หรือ ลูกศรส้ม (ตามเทรนด์)
คำแนะนำ: ประสิทธิภาพสูงสุดเมื่อสัญญาณเกิดในช่วงเวลา Macro Time (แถบสีพื้นหลัง)
ShooterViz Lazy Trader EMA SystemShooterViz Lazy Trader EMA System - Complete User Guide
What This Script Does
This is a position scaling indicator that tells you exactly when to enter, add to, and exit trades using a simplified 5-EMA system. It removes the guesswork and decision fatigue from trading by giving you clear visual signals.
The Core Concept
3 entry signals that build your position from 20% → 50% → 100%
2 exit signals that scale you out at 50% → 50% (complete exit)
1 higher timeframe filter that keeps you on the right side of the trend
No Fibonacci calculations, no RSI divergence, no multi-indicator confusion. Just EMAs and price action.
What You'll See On Your Chart
1. Colored EMA Lines
Blue Lines (Entry Zone):
3 EMA (lightest blue) - Early reversal detector
5 EMA (darker blue) - Confirmation line
Green Lines (Add Zone):
21 EMA (bright green) - First add location
34 EMA (lighter green) - Final add location
Red Lines (Exit Zone):
89 EMA (lighter red) - First exit trigger
144 EMA (darker red) - Final exit trigger
Orange Lines (Hyper Frame - optional):
Hyper 21 EMA (from higher timeframe) - Trend direction
Hyper 34 EMA (from higher timeframe) - Bias confirmation
2. Triangle Signals
Green Triangles (Below Price) = BUY/ADD:
Lime triangle with "20%" = Entry 1: Price reclaimed 3→5 EMA (starter position)
Green triangle with "30%" = Entry 2: Price bounced off 21 EMA (first add)
Teal triangle with "50%" = Entry 3: Price broke out from 34 EMA compression (final add)
Red Triangles (Above Price) = SELL:
Orange triangle with "50% OFF" = Exit 1: Price broke below 89 EMA (take half off)
Red triangle with "EXIT ALL" = Exit 2: Price broke below 144 EMA (close remaining position)
3. Background Color (Trend Bias)
Light green background = Hyper frame EMAs trending up (bias LONG)
Light red background = Hyper frame EMAs trending down (bias SHORT)
Gray background = Neutral/choppy (be cautious)
4. Info Table (Top Right Corner)
A live status dashboard showing:
Which entry signals are currently active (✓ or —)
Which exit signals are currently active (⚠ or ⛔)
Current hyper frame bias (🟢 LONG / 🔴 SHORT / ⚪ NEUTRAL)
Which timeframe you're using for hyper frame filtering
How to Install and Set Up
Step 1: Add the Script to TradingView
Open TradingView
Click "Pine Editor" at the bottom of the screen
Copy the entire script code
Paste it into the Pine Editor
Click "Add to Chart"
Step 2: Configure Your Settings
Click the gear icon ⚙️ next to "LazyEMA" in your indicators list.
Critical Settings to Configure:
Hyper Frame Selection (Most Important!)
Location: "Hyper Frame (Pick ONE)" section
Setting: "Timeframe"
What to choose:
Trading 15min or 1H charts? → Use "240" (4-hour)
Trading 4H or Daily charts? → Use "D" (Daily)
Trading Daily or Weekly charts? → Use "W" (Weekly)
Why this matters: This filter keeps you aligned with the bigger trend. Only take longs when this timeframe is green, shorts when it's red.
MA Type (Optional, default is fine)
Location: "MA Config" section
Default: EMA (recommended)
Options: EMA, SMA, WMA, HMA, RMA, VWMA
Most traders should stick with EMA
Visual Toggles (Customize your view)
Entry Zone: Turn individual EMAs on/off (3, 5, 21, 34)
Exit Zone: Turn individual EMAs on/off (89, 144)
Hyper Frame: Toggle the higher timeframe EMAs on/off
Step 3: Clean Up Your Chart
Turn OFF these if visible:
Volume bars (they clutter the view)
Any other indicators you have loaded
Grid lines (optional, but cleaner)
Keep ONLY:
Price candles
Your ShooterViz Lazy Trader EMA System
Maybe support/resistance levels if you manually draw them
How to Trade With This Script
The Basic Workflow
Before the Market Opens:
Check the background color and info table bias
Green background? Look for LONG setups only
Red background? Look for SHORT setups only
Gray background? Stay flat or trade small
During the Trading Session:
LONGS (When hyper frame is bullish):
Wait for Entry 1 signal:
Lime triangle appears with "20%"
Price has reclaimed the 5 EMA after dipping to 3 EMA
Action: Enter 20% of your intended position
Stop loss: Place below the 5 EMA or recent swing low
Wait for Entry 2 signal:
Green triangle appears with "30%"
Price pulled back to 21 EMA and bounced
Action: Add 30% more (you're now at 50% total)
Move stop: Trail it up to below 21 EMA
Wait for Entry 3 signal:
Teal triangle appears with "50%"
Price compressed at 34 EMA and broke out
Action: Add final 50% (you're now 100% loaded)
Move stop: Trail it up to below 34 EMA
Wait for Exit 1 signal:
Orange triangle appears with "50% OFF"
Price broke below 89 EMA
Action: Exit 50% of your position immediately
Move stop on rest: Trail to 89 EMA or lock in profits
Wait for Exit 2 signal:
Red triangle appears with "EXIT ALL"
Price broke below 144 EMA
Action: Exit remaining 50% (you're now flat)
Or: Stop gets hit at 89 EMA (same result)
SHORTS (When hyper frame is bearish):
Same process, but inverted
Triangles appear above price instead of below
Look for breakdowns below EMAs instead of bounces off them
Exit when price reclaims 89 and 144 EMAs
Real-World Example Walkthrough
Setup: Trading ES (S&P 500 Futures) on 1H Chart
Chart Configuration:
Timeframe: 1 Hour
Hyper Frame: 240 (4-hour)
Ticker: ES
Pre-Market Check:
Background is light green
Info table shows "🟢 LONG" for Hyper Bias
Decision: Only look for long entries today
9:30 AM - Market Opens
Price dips and touches 3 EMA
Watch for: Reclaim of 5 EMA
9:45 AM - Entry 1 Triggers
Lime triangle appears below bar
Price closed above 5 EMA at $4,550
Action taken:
Enter long 20% position (2 contracts if targeting 10 total)
Stop loss at $4,545 (below 5 EMA)
Risk: $10 per contract × 2 = $20 risk
10:30 AM - Entry 2 Triggers
Price rallied to $4,565, pulls back
Green triangle appears at 21 EMA ($4,555)
Action taken:
Add 30% (3 more contracts, now have 5 total)
Move stop to $4,550 (below 21 EMA)
Current P/L: +$25 ($5 gain on original 2 contracts, break-even on new 3)
11:15 AM - Entry 3 Triggers
Price consolidates at 34 EMA around $4,560
Teal triangle appears as price breaks to $4,568
Action taken:
Add final 50% (5 more contracts, now have 10 total)
Move stop to $4,555 (below 34 EMA)
Current P/L: +$70
1:00 PM - Price Extends
Price rallies to $4,595 (on track)
89 EMA is at $4,575
No action yet, let it run
2:15 PM - Exit 1 Triggers
Price pulls back from $4,600
Orange triangle appears as price breaks below 89 EMA at $4,580
Action taken:
Exit 50% (5 contracts closed at $4,580)
Keep 5 contracts with stop at 89 EMA ($4,575)
Banked: +$150 average gain on closed 5 contracts
2:45 PM - Exit 2 Triggers
Price continues down
Red triangle appears as price breaks 144 EMA at $4,570
Action taken:
Exit remaining 5 contracts at $4,570
Banked: +$100 on remaining 5 contracts
Final Results:
Total gain: $250 on the trade
Initial risk: $50 (if stopped out at Entry 1)
Risk/Reward: 5:1
Time in trade: ~5 hours
Common Questions
"What if I miss Entry 1? Can I still take Entry 2?"
Yes! Each entry is independent. If you miss the 3→5 reclaim, wait for the 21 EMA bounce. You'll start with a 30% position instead of 20%, but that's fine.
Rule: Never chase. Wait for the next EMA setup.
"What if multiple entry signals trigger at the same bar?"
Rare, but possible. If you see both Entry 1 and Entry 2 trigger together:
Take Entry 1 first (20%)
If the next bar confirms Entry 2 is still valid, add 30%
When in doubt, scale in gradually
"The hyper frame is green but I'm seeing short signals?"
Don't take them. The hyper frame is your bias filter. If it says "go long," ignore short setups. They're usually lower probability and will get stopped out.
"Can I use this for swing trading overnight?"
Absolutely. Just switch your hyper frame:
If you're on Daily charts, use Weekly hyper frame
If you're on 4H charts, use Daily hyper frame
Adjust position sizes for overnight risk
"What if the signal appears right at market close?"
Don't chase it. Wait for the next bar (next day) to confirm. Signals that appear in the last 5 minutes are often noise.
"How do I set up alerts?"
Right-click on the chart
Select "Add Alert"
Choose "LazyEMA" from the condition dropdown
Select which signal you want alerts for:
Entry 1: 3→5 Reclaim
Entry 2: 21 EMA Add
Entry 3: 34 EMA Breakout
Exit 1: 89 EMA Break
Exit 2: 144 EMA Break
Click "Create"
Pro tip: Set up all 5 alerts so you never miss a signal.
Position Sizing Guide see
swingtradenotes.substack.com
Critical Rule: Know your total risk BEFORE you take Entry 1. Don't wing it.
Customization Tips
For Day Traders (Scalpers)
Use 5min or 15min charts
Hyper frame: 1H or 4H
Expect 2-4 setups per day
Tighter stops (0.5% risk per entry)
For Swing Traders
Use 4H or Daily charts
Hyper frame: Daily or Weekly
Expect 1-2 setups per week
Wider stops (1-2% risk per entry)
For Position Traders
Use Daily or Weekly charts
Hyper frame: Weekly or Monthly
Expect 1-2 setups per month
Widest stops (2-3% risk per entry)
The "Don't Be Stupid" Checklist
Before taking ANY signal from this script, ask:
✅ Is the hyper frame bias pointing in my direction?
✅ Is the signal clean (not at a weird time or during news)?
✅ Do I know my stop loss level?
✅ Do I know my position size?
✅ Can I afford to lose if this trade fails?
If you answered "no" to ANY of these, skip the trade.
Troubleshooting
"I'm not seeing any signals"
Possible causes:
The "Show Lazy Trader System" toggle is off (turn it on)
Your chart timeframe is too high (try 1H or 4H)
Market is in a tight range (EMAs are compressed)
You need to refresh the chart
"Too many signals, getting whipsawed"
Fixes:
Increase your chart timeframe (go from 15m to 1H)
Switch to a less volatile ticker
Only trade when hyper frame bias is STRONG (not neutral)
Add a minimum bar count between signals
"The info table is covering my price action"
Fix:
Edit the script
Find the line: table.new(position.top_right, ...
Change position.top_right to position.bottom_right or position.top_left
"Signals appear then disappear"
This is normal (repainting). Some signals (especially compression breakouts) can disappear if the next bar reverses. This is why you:
Wait for bar close before acting
Use alerts that only fire on confirmed bars
Don't chase signals mid-bar
Final Thoughts
This script is a decision-making tool, not a crystal ball. It shows you high-probability setups based on EMA dynamics and trend structure. You still need to:
Manage your risk
Choose your position size
Stick to the rules
Accept losses when they happen
The system works when YOU work the system.
Print this guide, tape it next to your monitor, and follow it religiously for 20 trades before making ANY changes.
Good luck, and stay lazy (the smart way).
Heikin-Ashi Bar & Line with Colored Line & Signals//@version=6
indicator("Heikin-Ashi Bar & Line with Colored Line & Signals", overlay=true)
// Heikin-Ashi hesaplamaları
var float haOpen = na
haClose = (open + high + low + close) / 4
haOpen := na(haOpen) ? (open + close)/2 : (haOpen + haClose )/2
haHigh = math.max(high, haOpen, haClose)
haLow = math.min(low, haOpen, haClose)
// Trend hesaplamaları
haBull = haClose >= haOpen
haColor = haBull ? color.new(color.green, 0) : color.new(color.red, 0)
// HA Barları
plotcandle(haOpen, haHigh, haLow, haClose, color=haColor, wickcolor=haColor)
// HA Line (renk değişiyor)
lineColor = haBull ? color.green : color.red
plot(haClose, title="HA Close Line", color=lineColor, linewidth=2)
// Trend arka planı
bgcolor(haBull ? color.new(color.green, 85) : color.new(color.red, 85))
// Al/Sat sinyalleri (trend değişimlerinde)
longSignal = haBull and haClose > haOpen and haClose < haOpen
shortSignal = not haBull and haClose < haOpen and haClose > haOpen
plotshape(longSignal, title="Al Sinyali", style=shape.triangleup, location=location.belowbar, color=color.green, size=size.small)
plotshape(shortSignal, title="Sat Sinyali", style=shape.triangledown, location=location.abovebar, color=color.red, size=size.small)
RSI 14 Cross Up SMA(14) Within Last 4 BarsMomentum based crossover, seems to be best for swing trades
Custom 2nd Candle HMAIts a simple hull moving avg script which connects the 2nd candle of 47 min time frame and ignoring everything else. This is specifically for NIFTY only. Why 47 min?? it perfectly divides the day into 8 candles. Why 2nd candle?? this is my personal observation that it is the actual noise free candle in a day .
How to use it- plot it on 5 min chart or in 1 min chart ,use ur own moving avg on 5min chart and the crossover technique works fine.






















