Alpha All-in-One Gold Scalper (Locked + 10-Trade UI)Alpha All-in-One Gold Scalper (Locked + 10-Trade UI)
Indicadores e estratégias
ATR Support LineATR Support Line — Dynamic Volatility Trail
This indicator provides a dynamic trailing support line by combining an anchored moving average with an ATR-based volatility buffer. It is designed to adapt across different timeframes, making it useful for identifying trend support and managing risk.
Features
Flexible anchor length with multiple smoothing types (EMA, SMA, WMA, RMA, ZLEMA).
ATR length and multiplier to fine-tune volatility sensitivity.
Higher-timeframe interpolation for smoother transitions between candles.
Option to use confirmed higher-timeframe values (non-repainting mode).
How to Use
The plotted line acts as a dynamic support trail.
Price trading above the line indicates bullish market structure.
A break below the line may highlight weakening momentum or a potential shift in trend.
Can be applied on different timeframes to align higher-timeframe context with lower-timeframe entries.
Disclaimer
This script is intended for educational and research purposes only.
It is not financial advice. Trading involves significant risk, and past performance does not guarantee future results. Always perform your own analysis before making investment decisions.
BB_MES Playbook Levels + Auto Alerts (Start/TP1/TP2)Indicator Name: MES Playbook Levels + Auto Alerts (Start/TP1/TP2)
1. Indicator Overview
This is a comprehensive technical analysis tool designed for day traders, specifically for Micro E-mini S&P 500 futures (MES) but applicable to other instruments. Its primary purpose is to automate the drawing of key price levels and to provide timely alerts for a specific trading strategy, often called a "playbook" setup.
The core of the strategy involves identifying a "start" level during the regular trading session. Once the price crosses this level, the indicator automatically projects two take-profit (TP1 and TP2) targets and monitors the price action in relation to these levels.
2. Key Features
Automatic Level Plotting: The indicator plots several critical price levels on the chart, saving the trader from having to draw them manually every day.
Dynamic Start Levels: It offers two methods for establishing the bullish and bearish entry or "start" levels:
Previous Day's High/Low (PDH/PDL): The default setting uses the high and low of the prior trading day as the trigger points for long and short trades.
RTH VWAP Bands: Alternatively, it can calculate the Volume-Weighted Average Price (VWAP) that resets at the start of the Regular Trading Hours (RTH) session and create a "band" around it. The edges of this band then serve as the start levels.
Automated Take-Profit Targets: Upon a cross of a "start" level, the indicator immediately plots two take-profit lines (TP1 and TP2) based on a user-defined point value.
Trade State Management: The script intelligently manages the state of a trade. It knows when a long or short trade is active and will stop looking for new signals until the current trade is concluded (either by hitting TP2 or the end of the session).
Comprehensive Alerts: A major feature is its robust alert system. Traders can set up alerts for a wide variety of events, allowing for less screen time.
Session Highlighting: It specifically monitors the Regular Trading Hours (RTH) session and can also plot the high and low of the overnight (ON) session.
3. On-Chart Visuals
When you apply this indicator to your chart, you will see the following lines and plots:
Previous Day Levels:
PDH (Previous Day High): Plotted as a green line.
PDL (Previous Day Low): Plotted as a red line.
PDC (Previous Day Close): Plotted as a gray line.
Start Levels:
StartBull: A lime green line representing the trigger for a long trade.
StartBear: A maroon line representing the trigger for a short trade.
Take-Profit Levels:
TP1 / TP2: Teal-colored lines that appear only after a StartBull or StartBear level is crossed. TP1 is a dotted line, and TP2 is solid.
Other Levels:
RTH VWAP: A blue line showing the volume-weighted average price for the main session only.
ON High / ON Low: Orange lines showing the high and low points established outside of the RTH session.
4. How It Works: The Trading Logic
Define Session: The script first identifies the Regular Trading Hours (e.g., 9:30 AM to 4:00 PM EST).
Calculate Levels: It calculates the PDH/PDL and the RTH VWAP. Based on user input, it determines the startBullLevel (either PDH or the upper VWAP band) and the startBearLevel (either PDL or the lower VWAP band).
Wait for Signal: During the RTH session, the indicator waits for the live price (close) to cross over the startBullLevel or cross under the startBearLevel.
Initiate Trade State:
If a bullish cross occurs (longStart), it logs the entryPrice, sets the trade state to longActive, and plots the TP1 and TP2 lines above the entry price.
If a bearish cross occurs (shortStart), it does the opposite, plotting TP1 and TP2 below the entry price.
Monitor Trade: While a trade is active, it checks if the price hits TP1 or TP2.
End Trade:
When the price hits the TP2 level, the trade is considered complete. The script clears the TP lines from the chart and resets itself to look for the next start signal.
At the end of the RTH session, any active trade is automatically terminated, and all TP lines are cleared to ensure a clean slate for the next day.
5. Input Settings (Customization)
The user can customize the following parameters in the indicator's settings:
RTH Session: Define the start and end times for the main trading session.
Start from RTH VWAP band: A checkbox to switch between using PDH/PDL or the VWAP band for start levels.
VWAP band offset (pts): If using the VWAP band, this sets how many points away from the VWAP the start levels are drawn.
TP1 (pts): The number of points from the entry price to set the first take-profit target.
TP2 (pts): The number of points for the second take-profit target.
Show Overnight High/Low: A toggle to show or hide the overnight session levels.
6. Configurable Alerts
You can create alerts in TradingView for any of the following conditions generated by the script:
StartBull / StartBear: Triggers when a long or short trade is initiated.
TP1 Hit / TP2 Hit: Triggers when the price reaches the take-profit levels for both long and short trades.
Level Crosses: Separate alerts can be set for when the price crosses the PDH, PDL, PDC, RTH VWAP, ON High, or ON Low. This is useful for general market awareness.
Interka a Trendovky + ATR SLerregerg eur eur ewgqgarg arem erga eg aeeargea ragú gaerg ae grae re gae g
Triple RSI [JopAlgo]Triple RSI — a cleaner RSI with a built-in trigger
Core idea
This is RSI + a moving average of RSI (you choose SMA / EMA / VWAP) plus the classic 70 / 50 / 30 rails. That gives you:
Regime (above/below 50),
Trigger (RSI crosses its RSI-MA),
Stretch (near 70/30).
Pick EMA for speed, SMA for smooth bias, or VWAP to weight RSI by volume (helpful when participation spikes matter).
What you’ll see
RSI (blue) and Selected MA of RSI (orange).
Static levels: 70 / 50 / 30.
Built-in alerts for RSI↗ MA (Buy) and RSI↘ MA (Sell).
Pane shapes are available but hidden by default—turn them on if you want markers.
Read it fast: Which side of 50? Is RSI above or below its MA? Are we near 70/30?
How to use it (simple playbook)
Direction filter (regime):
Focus longs while RSI ≥ 50.
Focus shorts while RSI ≤ 50.
Trigger:
Enter on RSI crossing its MA in the direction of the regime (RSI↗MA above 50 for longs; RSI↘MA below 50 for shorts).
If RSI is already stretched (near 70/30), wait for the retest/hold at a level instead of chasing.
Location first (always):
Act at real references: Volume Profile v3.2 (VAH/VAL/POC/LVNs) and Anchored VWAP (session/weekly/event).
No level, no trade.
Quality check (optional, strong):
If you use CVDv1 , prefer signals with Alignment OK and no Absorption against your side.
Entries, exits, risk
Continuation long: Regime ≥ 50, price pulls to VAL / AVWAP / MA cluster, RSI crosses up its MA → enter.
Stop: below structure/last swing. Targets: POC/HVNs or next swing high.
Reclaim short: Regime ≤ 50, failed retest at VAH/AVWAP, RSI crosses down its MA → enter.
Invalidation: quick reclaim of the level and RSI re-cross up.
Trim/avoid: RSI marching into 70 with weak follow-through at an HVN → take profits / don’t chase. Mirror at 30 for shorts.
Settings that matter (and how to tune)
RSI Length (default 10):
Lower = faster/more signals; higher = smoother/fewer.
MA Length (default 7):
Controls how quickly your trigger reacts. Shorter = earlier crossovers (more noise).
MA Type (SMA / EMA / VWAP):
EMA: fastest trigger (popular for intraday).
SMA: calmer trigger (good for swing).
VWAP (on RSI): volume-weighted RSI baseline—use when participation matters (crypto, news hours).
Starter presets
Scalp (1–5m): RSI 7–9, MA 5–7, EMA
Intraday (15m–1H): RSI 10–14, MA 7–9, EMA
Swing (2H–4H): RSI 14–20, MA 9–12, SMA
Daily backdrop: RSI 14, MA 9–10, SMA (execute on lower TF)
Pattern cheat sheet
Regime + Trigger: RSI >50 and crosses up its MA at a level → continuation.
Mean-revert stretch: RSI tags 70 (or 30) into VAH/VAL and crosses back through its MA → rotation to value.
Failure tell: Price pokes a level but RSI can’t hold above 50 (or below 50 for shorts) → likely fake; wait for the reclaim.
Best combos (kept simple)
Volume Profile v3.2: Entries at VAH/VAL/LVNs, targets at POC/HVNs.
Anchored VWAP: Reclaims/rejections with RSI regime + trigger in the same direction = cleaner timing.
CVDv1 (optional): Take RSI-aligned trades with flow (ALIGN OK, no Absorption).
Common mistakes this helps you avoid
Trading against the 50-line regime.
Chasing crosses far from value (wait for the retest).
Taking every cross in chop—use levels and the 50-line filter.
Disclaimer
This indicator and write-up are for education only, not financial advice. Trading is risky; results vary by market, venue, and settings. Test first, trade at defined levels, and manage risk. No guarantees or warranties are provided.
Ekoparaloji İndicator SignalThe indicator candlesticks are calculated using the arithmetic average of the variable prices, RSI & RMA, and Momentum. It creates a unique trend candle color.
Strong Next-Candle Bias v1.0 [JopAlgo]Strong Next-Candle Bias v1.0 — fast, objective green/red for the very next bar
What it does:
Scores the current bar on five simple facts (breakout, body size, close location, trend, compression) and, if confidence ≥ your threshold, prints a Strong LONG or Strong SHORT for the next candle—with a clear confidence % label.
What you’ll see on the chart
Triangles: big teal ▲ below bar = Strong LONG; big red ▼ above bar = Strong SHORT.
Confidence labels: “LONG 82%” / “SHORT 78%” printed on the signal bar.
Context EMAs: EMA-Fast (teal) and EMA-Slow (orange) so you can see trend slope/stack.
Top-right hint (last bar): quick text summary (e.g., “No strong signal (Long 64% | Short 58%)”).
Why you got a signal (the scoring, plain English)
Each bar earns points (0–100). If total ≥ Confidence threshold (default 75), you get a signal.
Long points (+):
Breakout up of the last breakoutLen bars’ high (excludes the forming bar to reduce noise).
Real body ≥ min % of the bar (minBodyPct, default 70%) → shows intent.
Close in top of the bar (topZonePct, default top 25%).
Trend up (EMA-Fast > EMA-Slow).
Compression before break (optional): recent range was tight (compLen, compMaxRangeP) → energy release.
Short uses the mirrored checks (breakdown, body %, close in bottom, trend down, compression).
You can see/tune the weights in code (w_breakout, w_body, w_zone, w_trend, w_comp).
How to use it (simple playbook)
Location first.
Only act at real levels: Volume Profile v3.2 (VAH/VAL/POC/LVNs) or Anchored VWAP (session/weekly/event).
Take the strong ones.
Trade only when a Strong LONG/SHORT prints at your level and the EMAs agree (fast above slow for longs, below for shorts).
Execute on the next bar.
The signal is for the next candle. Enter on the retest/hold or break continuation, not mid-bar.
Risk with structure.
Stop goes beyond the level (or beyond signal bar’s extreme), not on indicator flips.
First targets: POC/HVNs or the next obvious swing.
Quality check (optional, recommended).
If you use CVDv1 , prefer signals where Alignment = OK and Absorption ≠ red against your side.
Settings that matter (and how to tune)
Breakout lookback (breakoutLen, 20): higher = stricter break, fewer signals; lower = more signals, more noise.
Trend EMAs (emaFastLen 25 / emaSlowLen 100): define your trend backbone. Intraday can use 9/34 or 21/55; swings 20/100.
Min real-body % (minBodyPct, 70%): raise to demand stronger intent; lower to catch more setups.
Close in top/bottom % (topZonePct, 25%): tighter zone = stricter, cleaner signals.
Compression filter (useCompression, compLen 10, compMaxRangeP 3%): ON helps avoid random prints; raise % if your market is very volatile.
Confidence threshold (thresholdPct, 75%):
70–75%: balanced (default).
80–85%: strict (fewer, higher-quality).
90%+: rare A+ only.
Tip: Start with defaults for a week. Note which wins/loses. If you see false prints, raise threshold or increase body/zone requirements.
Timeframe guide
1–5m (scalps): Consider 9/34 EMAs, breakoutLen 10–15, keep compression ON. Signals are frequent—only take them at Session AVWAP or VP edges.
15m–1H (intraday): Defaults work out of the box.
2H–4H (swing): 21/55 or 20/100 EMAs, breakoutLen 20–30. You’ll get fewer, cleaner signals.
1D+ (position): Use for daily closes near weekly levels; execute on a lower TF.
Examples you’ll recognize
Textbook continuation (long): Pullback to VAL/AVWAP, strong up bar (big body, closes in top), EMAs up, optional prior compression → Strong LONG 78–90%.
Fresh breakout (short): Breakdown of a multi-day floor, EMAs down, body closes in bottom, RVOL↑ (if you track it) → Strong SHORT.
Skip: Signal mid-range without a level; or against the EMAs (fast/slow disagreement).
FAQs
Does it repaint?
No on closed bars. It deliberately excludes the live bar from breakout calc to reduce pre-close noise.
Can I see “why” a bar scored high?
Yes—each component is a visible behavior: break, big body, top/bottom close, EMA stack, pre-compression. Tune thresholds to your market.
Is it only for crypto?
Works on any instrument/timeframe; calibrate thresholds for volatility.
Starter presets
Intraday (15m/1H): 20 / EMAs 21 & 55 / body 70% / top 25% / compression ON / 75% threshold.
Swing (4H): 20–30 / EMAs 20 & 100 / body 70–80% / top 20–25% / compression ON / 80% threshold.
Short Disclaimer & License
This tool is for education, not financial advice. Trading involves risk; test it first, size sensibly, and make decisions using your own judgment. Results can vary with data feeds and markets; no warranties are given.
CoT Bias Tracker [DOSALGO]Unlock a powerful new dimension in your market analysis with the CoT Bias Tracker . This advanced tool goes beyond price charts to reveal the positioning of the market's largest players, allowing you to track the "smart money" and make more informed trading decisions.
By harnessing the weekly Commitment of Traders (CoT) report, this indicator automatically fetches, processes, and displays the net positioning of Commercials (Hedgers), Non-Commercials (Large Speculators), and Retail traders. Its standout feature is the unique dual-asset analysis for Forex pairs, which automatically breaks down a pair like EURUSD into its Base (EUR) and Quote (USD) components, giving you a crystal-clear view of the capital flows driving the market.
Stop guessing the trend and start tracking the institutional bias that truly matters.
Key Features
📈 Complete CoT Data Analysis: Automatically fetches and displays the latest weekly net positions for three key market participants: Commercials, Non-Commercials, and Retail Traders.
🌍 Unique Forex Pair Analysis: The only tool you'll need for Forex. It intelligently separates pairs (e.g., AUDJPY) into their Base (AUD) and Quote (JPY) currencies and displays a full CoT analysis for each, revealing which currency is truly in demand.
📊 Advanced Bias Dashboard: A comprehensive and fully customizable dashboard provides an at-a-glance summary of the market's sentiment, including current positions, weekly changes, and both short-term and long-term bias readings.
🧠 Conviction Analysis: This indicator goes deeper than just net positions. By analyzing the relationship between positioning changes and Open Interest, it gauges the conviction behind a move, distinguishing between a "Strong Long" (new money entering) and a "Weak Long" (short covering).
🚀 POIV Metric: Includes the Position x Open Interest Volume (POIV) metric, an advanced tool for measuring the cumulative force behind positioning changes over time.
📉 Historical Data Plotting: Visualize the net positioning data and its moving average directly on your chart's indicator pane. This is perfect for identifying historical extremes, divergences, and long-term trends in positioning.
⚙️ Automatic Symbol Recognition: The indicator intelligently detects the asset on your chart—from Forex pairs to indices like the S&P 500 and commodities like Gold—and automatically fetches the correct CoT data.
🎨 Full Customization: Tailor the entire tool to your workspace. Control the dashboard's position, size, and colors. Toggle the visibility of any data row or plot to focus only on what matters to you.
The Dashboard Explained
The dashboard gives you a complete, multi-faceted view of the market's positioning.
Participant Groups:
Commercials: Often considered the "smart money." They use futures to hedge their business operations and typically fade trends, buying into lows and selling into highs.
Non-Commercials: Large speculators like hedge funds and institutions. They are typically trend-followers, and their positioning is a powerful indicator of the current dominant trend.
Retail Traders: Small, non-reportable speculators. They are often seen as a contrarian indicator.
Net Positions & Change: See the raw net long or short positions from the current and previous week's report, along with the net change to understand the weekly capital flow.
S-Term Bias (Short-Term): Based on the weekly net change, this tells you who was buying and who was selling since the last report.
L-Term Bias (Long-Term): Compares the current net position to its moving average to define the dominant positioning trend. (Note: This reading is most effective on the Weekly chart timeframe.)
Conviction (via Open Interest): Found in the "Open Interest" row under the L-Term Bias column, this powerful metric tells you how positions are changing:
Strong Long: New buyers are entering the market with conviction.
Weak Long: Existing shorts are covering their positions.
Strong Short: New sellers are entering the market with conviction.
Weak Short: Existing longs are closing their positions.
Use Cases & Strategy
Trend Confirmation: Use the positioning of Non-Commercials to confirm the strength and direction of a trend you've identified with technical analysis.
Reversal Signals: Look for extreme net positioning levels or divergences between Commercial and Non-Commercial sentiment, which can often precede major market reversals.
Forex Strength Analysis: When trading a pair like GBPJPY, use the dashboard to see if Non-Commercials are strongly bullish on GBP while being bearish on JPY. This "double confirmation" can highlight high-probability trade setups.
Important Notes
Understanding CoT Data: The Commitment of Traders report is released by the CFTC every Friday afternoon (~3:30 PM ET). Crucially, it reflects the positions that were held on the preceding Tuesday. It is a tool for gauging medium- to long-term sentiment, not for intraday signals.
Disclaimer: This tool is for analytical and educational purposes only and should not be considered financial advice. All forms of trading involve risk. Always conduct your own research and apply robust risk management.
Mini Coil Inside Break & Inside BarThis indicator is designed for traders focusing on price action patterns like inside bars, mini coil contractions, and inside bar breakouts. It helps identify potential reversal or continuation setups in ranging or consolidating markets by highlighting bars that fit within prior ranges and signaling breaks for entry opportunities.
1. Inside Bar Detection
Scans for bars where the high/low is fully nested within the range of any prior 1–10 bars—capturing multi-level consolidations beyond simple 1:1 inside bars.
2. Inside Breakout
Highlights green bars on bullish breaks: Close > previous high, confirmed by the prior bar being "inside" relative to 2–11 bars back.
3. Mini Coil Bar Visualization
Colors bars (shifted -2 for clarity) in yellow (bullish prior coil) or magenta (bearish) when the current and previous bars are fully inside the range of the bar 2 periods ago.
AekFreedom PriceActionKillerAekFreedom PriceActionKiller is an indicator designed to highlight and recolor candlesticks that form key Price Action patterns such as Engulfing and Outside Bars. It also includes a built-in alert system so you never miss important signals.
🔍 Detected Candlestick Patterns
Bullish Engulfing
Current candle closes bullish (green) and engulfs the previous bearish candle.
Highlighted in Blue.
Bearish Engulfing
Current candle closes bearish (red) and engulfs the previous bullish candle.
Highlighted in Purple.
Bullish Outside Bar
Previous candle is bullish, current candle is also bullish.
Current candle’s High > previous High and Low < previous Low.
Highlighted in Blue.
Bearish Outside Bar
Previous candle is bearish, current candle is also bearish.
Current candle’s High > previous High and Low < previous Low.
Highlighted in Orange.
🎨 Candle Coloring Logic
If a candle matches one of the above patterns, it will be recolored accordingly.
If no special pattern is detected, candles are displayed with default colors:
Bullish candle = Teal
Bearish candle = Red
⏰ Alerts System
The script supports Alert Conditions for the following:
🔵 Bullish Engulfing
🟣 Bearish Engulfing
🔷 Bullish Outside Bar
🟠 Bearish Outside Bar
⚡ Alerts are triggered once per bar close when conditions are met.
✅ How to Use
Add this indicator to your chart (Overlay = True).
Create alerts based on the patterns you want to track.
Use in combination with other tools (support/resistance, trendlines, or other indicators) for better confirmation.
📌 Note: This indicator highlights Price Action signals only. It is not a standalone Buy/Sell system. Always combine with proper market analysis and risk management.
AI AGENT - Follow FVGAI AGENT – Full Follow FVG (No DXY)
A smart, multi-filter confluence indicator that combines several technical tools to produce BUY/SELL signals with high accuracy.
All logic is computed automatically by **AI AGENT** with a **confidence score (%)**, so traders can quickly judge the strength of each signal.
## 🔍 Filters Used
* **EMA (20/50)** → trend filter (dominant direction)
* **RSI (14 by default)** → detects overbought/oversold conditions
* **MACD (12,26,9)** → momentum & directional confirmation
* **VWAP** → volume-weighted filter; validates price vs. market equilibrium
* **FVG (Fair Value Gap)** → detects liquidity gaps (3-bar pattern)
All filters can be toggled on/off as needed.
## 🧮 Confidence Scoring
* Each filter that supports the BUY/SELL direction adds **1 point**.
* **Confidence = (Number of Active & Agreeing Filters) ÷ (Total Active Filters) × 100%**.
* **minScore** = minimum number of filters that must agree before a signal is valid (default **3**).
## 📊 Key Features
* ✅ **Single active signal**: only the latest BUY/SELL is shown
* ✅ **Confidence score** on labels & alerts
* ✅ **Monitoring panel**: live BUY/SELL confidence in the chart corner
* ✅ **Dynamic alerts**: ready for TradingView notifications
* ✅ **FVG markers**: small circles on candles when a liquidity gap appears
* ✅ **VWAP line**: price equilibrium guide
## 🎯 Use Cases
* Fast entries with multi-filter validation
* Great for scalping & intraday—signals only print when multiple indicators align
* Transparent decision-making via confidence score (execute or skip)
**Note:** This indicator does **not** use a DXY filter—lighter and focused on the analyzed chart.
*Disclaimer: For educational purposes only. Not financial advice. Trading involves risk; always use risk management.*
PRITESH@23Pritesh@23 (Protected)
Overview:
A flexible SMC-style indicator combining EMA trend, ADX/DMI confirmation, RSI filtering, SMC swing pivots (order-block detection), pre-entry markers, a 0–7 signalScore, and optional horizontal lines anchored to weak candles from a selected timeframe.
Key inputs:
• EMA Fast / EMA Slow
• ADX length & smoothing
• RSI length
• Swing lookback (order block detection)
• Show/hide SMC zones (order-block boxes & lines)
• Show signalScore (0–7)
• Horizontal lines TF & style controls (color, width, pattern)
• Max lines per type (to limit drawing objects)
Usage:
1. Add to chart and select preferred timeframe.
2. Adjust EMA/ADX/RSI to match instrument volatility (e.g., lower EMA for lower timeframes).
3. Use signalScore (0–7) to prioritize setups; pre-entry markers flag potential entries inside order-blocks.
4. Horizontal weak-candle lines help mark structural weakness/resilience across TFs.
Support & License:
• Protected source — code not visible to users.
• For questions/support: contact the author (provide non-sensitive contact).
• License: For personal use only. Redistribution or resale is prohibited without the author's express permission.
Version: 1.0
9/20/50/200 MAs + VWAP (with 9-20 Fill)Indicator Description: 9/20/50/200 MAs + VWAP (with 9-20 Fill)
The 9/20/50/200 MAs + VWAP indicator is a comprehensive technical analysis tool that combines multiple moving averages and the VWAP (Volume Weighted Average Price) to help traders identify trends, potential support/resistance levels, and momentum shifts. Additionally, it includes a dynamic fill between the 9-period and 20-period MAs to highlight bullish or bearish short-term crossovers.
Key Features:
Multiple Moving Averages:
9 MA – short-term trend indicator.
20 MA – intermediate-term trend.
50 MA – medium-term trend.
200 MA – long-term trend; dynamically colored green/red based on slope.
All MAs can be configured as SMA, EMA, or WMA with customizable colors and thickness.
VWAP (Volume Weighted Average Price):
Shows the average price weighted by volume for intraday trading.
Useful for identifying the true average price and potential support/resistance levels.
9-20 MA Fill Zone:
The area between the 9 MA and 20 MA is filled dynamically:
Green fill indicates 9 MA > 20 MA (bullish short-term momentum).
Red fill indicates 9 MA < 20 MA (bearish short-term momentum).
Fill transparency and color are fully customizable.
MA Labels on Last Candle:
Displays the names of MAs directly on the chart near their current values for easy reference.
ATR Table (Optional):
Shows 5-minute ATR, Daily ATR, ATR % (Daily), and Total Daily Volume.
Provides volatility insights to support risk management.
Use Cases:
Identify short-term and long-term trends using MA slopes.
Spot bullish/bearish momentum shifts with 9-20 MA crossover fills.
Use VWAP and ATR metrics for intraday trading and risk management.
Track total traded volume and session price levels for volume analysis.
MACD with RSI color 7 Fibonacci levelsMACD that contain RSI info
The color of RSI is change accordingly with Fibonacci levels, from red till green
Regression Lines + MA-JarassDouble Linear Regression Ultimate + MA Ribbon (DLRC + MA)
The DLRC + MA indicator is an advanced technical analysis tool that combines double linear regression channels with a moving average ribbon (MA Ribbon). Designed for traders who want to simultaneously track trend, volatility, and potential support/resistance levels.
Key Features:
1. Double Linear Regression Channels:
• Inner Channel – shorter period, more sensitive to recent price movements.
• Outer Channel – longer period, reflects the long-term trend.
• Both channels display upper and lower boundaries and a midline.
• Optional logarithmic scale for price adjustment.
• Real-time R² values to assess regression accuracy.
2. MA Ribbon:
• Up to 4 different moving averages simultaneously.
• Supports SMA, EMA, SMMA (RMA), WMA, VWMA.
• Each MA can be individually enabled/disabled, with customizable period, source, and color.
• Helps identify trend direction and dynamic support/resistance levels.
3. Visualization:
• Channels are filled with semi-transparent colors for clarity.
• Midline for quick trend direction assessment.
• Label displays R² values of the channels in real time.
4. Suitable For:
• Short-term and long-term traders seeking a combination of linear regression analysis and classic trend-following tools.
• Useful for identifying overbought/oversold zones and potential trend reversal points.
Elite Entries VWAP Fibonacci Bands PremiumElite Entries VWAP Fibonacci Bands
Precision pullbacks. Cleaner trends. External filter ready.
What it is
A professional-grade VWAP/MIDAS-based band system with optional TRAMA or EMA central lines, Fibonacci expansion zones (0.236/0.382/0.5/0.618/0.786), reversal/pullback signals, and an ATR trailing stop. The latest update adds an Open-Source Filter that lets you gate entries using any other indicator’s plot on your chart. That means fewer false signals and cleaner alignment with your personal edge.
Why traders love it
Dialed pullbacks & trend breaks at 0.236 / 0.382 / 0.618
Clean reversal reads at 0.382 / 0.618 / 0.786
External filter integration (choose Source A/B from any indicator)
Stackable filters: Volume > SMA(20) + RSI threshold
ATR trailing stop included for exits
Flexible midline: MIDAS (anchored VWAP), TRAMA, or EMA
Fib bands you can color & label individually
What’s new (vX.X)
Open-Source Filter (External Indicator Gating)
Pick Source A (and optional B) from other indicators on your chart.
Comparators for entries: Close > A, A > B, A crosses up B, A > Threshold, A rising (and mirrored sell rules).
Apply to Pullback/Trend only (236/382/618) or All Signals (adds reversals, retests, rejections).
Built-in SMA smoothing for A/B to tame noisy externals.
Stability fix: valid input.source defaults to avoid compile errors.
Signals included
Reversals: 0.786, 0.618, 0.382
Pullback/Trend breaks: 0.236 / 0.382 / 0.618 (above/below central line)
Centerline retests (bounce confirmation)
0.618 rejections (directional candle logic)
ATR Trailing Stop (long/short)
All signals honor active filters (Volume/RSI + Open-Source Filter if enabled).
Quick start
Choose your Central Line: MIDAS (anchored VWAP), TRAMA, or EMA.
Set anchor (Timeframe or Date) and Std Dev Multiplier to size the bands.
Enable the pullback/trend signals you want (236/382/618) + any reversals.
Optional filters: Volume > SMA(20) and RSI threshold.
To gate with another indicator: turn on Open-Source Filter, pick Source A (and B), choose comparators, and select scope (Pullback/Trend Only or All Signals).
(Optional) Enable ATR trailing stop for dynamic exits.
Turn on alerts—you’re live.
Best-use ideas
Trend alignment: Gate buys with A rising where A = your HTF MA/VWAP; gate sells with A falling.
Momentum cross: A crosses up B (A=fast, B=slow) to allow only momentum-supported pullbacks.
Level validation: Close > A to ensure price is reclaiming your external baseline before entries.
Alerts
Alerts are available for every signal (reversal, pullback/trend break, retest, rejection). They only fire when all enabled filters pass.
Works on
Any symbol/any timeframe. Day trading, scalping, swing trading—especially useful during NY session volatility and post-anchor resets.
Notes & disclaimer
External filter dropdowns list plots exposed by other indicators.
Trading involves risk. This tool is for education/information—not financial advice.
JASHAN C.E Oscillatorjanduinteriors@outlook.com
janduinteriorslimited@gmail.com
JASMEET SINGH JANDU(JASHAN), RAJPREET SINGH JANDU(PRINCE)
JASHAN S.T STOPjanduinteriors@outlook.com
janduinteriorslimited@gmail.com
JASMEET SINGH JANDU(JASHAN), RAJPREET SINGH JANDU(PRINCE)
JASHAN T.W BREAKSjanduinteriors@outlook.com
janduinteriorslimited@gmail.com
JASMEET SINGH JANDU(JASHAN), RAJPREET SINGH JANDU(PRINCE)
悟隐高阶战法//@version=5
indicator("悟隐高阶战法", shorttitle='HT', overlay=true, max_labels_count=500, max_bars_back=5000)
// 输入参数
count_bull = input.int(3, title='非连续阳线数量', group='设置')
count_bear = input.int(3, title='非连续阴线数量', group='设置')
show_points = input.bool(true, title='显示高低点')
show_lines = input.bool(true,title = '显示线条')
max_points = input.int(200, title='最大点数')
line_color = input.color(color.purple, "连线颜色")
line_width = input.int(2, "线宽", minval=1, maxval=4)
h_color=input.color(color.red,title = 'H点颜色')
h_trs=input.float(80,title = 'h点透明度')
l_color=input.color(color.green,title = 'L点颜色')
l_trs=input.float(80,title = 'L点透明度')
// 警报设置
enable_alerts = input.bool(true, title='启用警报', group='警报设置')
show_signals = input.bool(true, title='显示BUY/SELL标记', group='信号显示设置')
signal_size = input.string('normal', title='信号标记大小', options= , group='信号显示设置')
signal_distance = input.float(0.1, title='信号标记距K线距离(%)', minval=0.05, maxval=0.5, group='信号显示设置')
// 各信号显示开关
show_signal_yyx = input.bool(true, title='显示看跌【阴阳阴】', group='信号开关')
show_signal_ayy = input.bool(true, title='显示看涨【阳阴阳】', group='信号开关')
show_signal_bull_1v2 = input.bool(true, title='显示看涨【一大于二】', group='信号开关')
show_signal_bear_1v2 = input.bool(true, title='显示看跌【一大于二】', group='信号开关')
show_signal_bear_2v2 = input.bool(true, title='显示看跌【二大于二】', group='信号开关')
show_signal_bull_2v2 = input.bool(true, title='显示看涨【二大于二】', group='信号开关')
show_signal_bull_engulf = input.bool(true, title='显示看涨吞没【吞没随阴线】', group='信号开关')
show_signal_bear_engulf = input.bool(true, title='显示看跌【吞没随阳线】', group='信号开关')
// 子条件显示开关
show_signal_bear_2v2_c1 = input.bool(true, title='看跌【二大于二】-条件1', group='子条件开关')
show_signal_bear_2v2_c2 = input.bool(true, title='看跌【二大于二】-条件2', group='子条件开关')
show_signal_bull_2v2_c1 = input.bool(true, title='看涨【二大于二】-条件1', group='子条件开关')
show_signal_bull_2v2_c2 = input.bool(true, title='看涨【二大于二】-条件2', group='子条件开关')
// ------------------ 自定义数据类型 ------------------
type RecordPrice
int bar_index
float open_price
float high_price
float low_price
float close_price
type Extremum
chart.point pt
string kind // "high" 或 "low"
type ABCPoints
float price_a
int index_a
float price_b
int index_b
float price_c
int index_c
string trend_type // "bull" 或 "bear"
bool broken // 是否被突破
// ------------------ 数组初始化 ------------------
var bullRecords = array.new()
var bearRecords = array.new()
var allPoints = array.new() // 存储所有高低点
var label pointLabels = array.new() // 存储绘制的标签,方便清理
var abcBullPoints = ABCPoints.new() // 存储牛市ABC点
var abcBearPoints = ABCPoints.new() // 存储熊市ABC点
// 存储黄线和标签的引用
var line yellowLines = array.new()
var label yellowLabels = array.new()
// 存储绿线和标签的引用
var line greenLines = array.new()
var label greenLabels = array.new()
// 突破状态变量
var bool cBroken = false
var int breakBarIndex = na
var bool fBroken = false
var int breakBarIndexBear = na
// 信号检测变量
var string currentSignal = ""
var string alertMessage = ""
var bool buySignal = false
var bool sellSignal = false
// ------------------ 状态变量 ------------------
var string lastPosition = "none"
var float lastHigh = na
var int lastHighBarIndex = na
var float lastLow = na
var int lastLowBarIndex = na
var float currentHigh = 0.0
var float currentLow = 0.0
var int currentHighBar = 0
var int currentLowBar = 0
// 使用Map存储每根K线是否创新高/新低
var map newHighMap = map.new()
var map newLowMap = map.new()
// 初始化
if barstate.isfirst
currentHigh := high
currentLow := low
currentHighBar := bar_index
currentLowBar := bar_index
// 更新区间高低并标记
bool isNewHigh = false
bool isNewLow = false
if high > currentHigh
currentHigh := high
currentHighBar := bar_index
isNewHigh := true
if low < currentLow
currentLow := low
currentLowBar := bar_index
isNewLow := true
// 存储当前K线的标记
map.put(newHighMap, bar_index, isNewHigh)
map.put(newLowMap, bar_index, isNewLow)
// ------------------ 方法 ------------------
method putRecord(array arr, int bar_idx, float open_pr, float high_pr, float low_pr, float close_pr) =>
newRecord = RecordPrice.new()
newRecord.bar_index := bar_idx
newRecord.open_price := open_pr
newRecord.high_price := high_pr
newRecord.low_price := low_pr
newRecord.close_price := close_pr
array.push(arr, newRecord)
method getRecord(array arr, int index) =>
if array.size(arr) > index and index >= 0
array.get(arr, index)
else
na
method removeRecord(array arr, int index) =>
if array.size(arr) > index and index >= 0
array.remove(arr, index)
method getLastRecord(array arr) =>
int size = array.size(arr)
if size > 0
array.get(arr, size - 1)
else
na
method isIncreasingLastN(array arr, int N) =>
if array.size(arr) < N
false
else
inc = true
for i = array.size(arr) - N to array.size(arr) - 2
prev = arr.getRecord(i)
curr = arr.getRecord(i + 1)
if curr.high_price <= prev.high_price
inc := false
break
inc
method isDecreasingLastN(array arr, int N) =>
if array.size(arr) < N
false
else
dec = true
for i = array.size(arr) - N to array.size(arr) - 2
prev = arr.getRecord(i)
curr = arr.getRecord(i + 1)
if curr.low_price >= prev.low_price
dec := false
break
dec
// 删除所有黄线和标签的方法
deleteYellowLinesAndLabels() =>
// 删除黄线
if array.size(yellowLines) > 0
for i = 0 to array.size(yellowLines) - 1
line l = array.get(yellowLines, i)
if not na(l)
line.delete(l)
array.clear(yellowLines)
// 删除标签
if array.size(yellowLabels) > 0
for i = 0 to array.size(yellowLabels) - 1
label lab = array.get(yellowLabels, i)
if not na(lab)
label.delete(lab)
array.clear(yellowLabels)
// 删除所有绿线和标签的方法
deleteGreenLinesAndLabels() =>
// 删除绿线
if array.size(greenLines) > 0
for i = 0 to array.size(greenLines) - 1
line l = array.get(greenLines, i)
if not na(l)
line.delete(l)
array.clear(greenLines)
// 删除标签
if array.size(greenLabels) > 0
for i = 0 to array.size(greenLabels) - 1
label lab = array.get(greenLabels, i)
if not na(lab)
label.delete(lab)
array.clear(greenLabels)
// 辅助函数:判断K线类型
isBullish(int offset = 0) =>
close > open
isBearish(int offset = 0) =>
close < open
// 辅助函数:获取当前趋势
getCurrentTrend() =>
if lastPosition == "low"
"uptrend" // 上涨趋势
else if lastPosition == "high"
"downtrend" // 下跌趋势
else
"none"
// 辅助函数:检查指定偏移的K线是否创过新高
wasNewHigh(int offset) =>
int targetBarIndex = bar_index - offset
bool result = false
if map.contains(newHighMap, targetBarIndex)
result := map.get(newHighMap, targetBarIndex)
result
// 辅助函数:检查指定偏移的K线是否创过新低
wasNewLow(int offset) =>
int targetBarIndex = bar_index - offset
bool result = false
if map.contains(newLowMap, targetBarIndex)
result := map.get(newLowMap, targetBarIndex)
result
// 辅助函数:检查过去N根K线中是否有创新高
hasNewHigh(int lookback = 3) =>
bool newHigh = false
for i = 0 to lookback - 1
if wasNewHigh(i)
newHigh := true
break
newHigh
// 辅助函数:检查过去N根K线中是否有创新低
hasNewLow(int lookback = 3) =>
bool newLow = false
for i = 0 to lookback - 1
if wasNewLow(i)
newLow := true
break
newLow
// 辅助函数:在过去5根K线中检查阴阳阴组合且有新高(相对于趋势起点)
checkBearishYYXPattern() =>
bool hasPattern = false
bool hasHighInRange = false
// 检查过去5根K线中是否有创新高
for i = 0 to 4
if wasNewHigh(i)
hasHighInRange := true
break
if hasHighInRange
// 检查过去3根K线的阴阳阴组合
if isBearish(0) and isBullish(1) and isBearish(2)
hasPattern := true
hasPattern
// 辅助函数:在过去5根K线中检查阳阴阳组合且有新低(相对于趋势起点)
checkBullishAYYPattern() =>
bool hasPattern = false
bool hasLowInRange = false
// 检查过去5根K线中是否有创新低
for i = 0 to 4
if wasNewLow(i)
hasLowInRange := true
break
if hasLowInRange
// 检查过去3根K线的阳阴阳组合
if isBullish(0) and isBearish(1) and isBullish(2)
hasPattern := true
hasPattern
// 辅助函数:检查是否是看涨吞没形态
isBullishEngulf(int offset = 0) =>
// 当前K线是阳线
isBullish(offset) and
// 吞没前一根K线
high > high and low < low and
// 确保只吞没前一根,不吞没前二根
not (high > high and low < low )
// 辅助函数:检查是否是看跌吞没形态
isBearishEngulf(int offset = 0) =>
// 当前K线是阴线
isBearish(offset) and
// 吞没前一根K线
high > high and low < low and
// 确保只吞没前一根,不吞没前二根
not (high > high and low < low )
// ------------------ 阳线/阴线处理 ------------------
if close > open
bullRecords.putRecord(bar_index, open, high, low, close)
if array.size(bullRecords) > count_bull
bullRecords.removeRecord(0)
if close < open
bearRecords.putRecord(bar_index, open, high, low, close)
if array.size(bearRecords) > count_bear
bearRecords.removeRecord(0)
// 做一个统计 ,记录当时的高价
var int count_long=na
var int count_short=na
var float high_price=na
var float low_price=na
// ------------------ 寻找低点 ------------------
if array.size(bullRecords) >= count_bull and bullRecords.isIncreasingLastN(count_bull) and close > open
if (lastPosition == "none" or lastPosition == "high") and low!=currentLow and bullRecords.first().bar_index >= currentLowBar
lastPosition := "low"
lastLow := currentLow
lastLowBarIndex := currentLowBar
if array.size(allPoints) >= max_points
array.shift(allPoints)
array.push(allPoints, Extremum.new(chart.point.from_index(lastLowBarIndex, lastLow), "low"))
currentHigh := high
currentHighBar := bar_index
count_long:=0
high_price:=high
// ------------------ 寻找高点 ------------------
if array.size(bearRecords) >= count_bear and bearRecords.isDecreasingLastN(count_bear) and close < open
if (lastPosition == "none" or lastPosition == "low") and high!=currentHigh and bearRecords.first().bar_index >= currentHighBar
lastPosition := "high"
lastHigh := currentHigh
lastHighBarIndex := currentHighBar
if array.size(allPoints) >= max_points
array.shift(allPoints)
array.push(allPoints, Extremum.new(chart.point.from_index(lastHighBarIndex, lastHigh), "high"))
currentLow := low
currentLowBar := bar_index
count_short:=0
low_price:=low
// ------------------ 绘制 ------------------
if barstate.islast and array.size(allPoints) > 1
// 删除旧的标签
for l in pointLabels
label.delete(l)
array.clear(pointLabels)
// 历史折线
if array.size(allPoints) > 2 and show_lines
tmpPts = array.new()
for i = 0 to array.size(allPoints)-2
ex = array.get(allPoints, i)
array.push(tmpPts, ex.pt)
polyline.new(tmpPts, xloc=xloc.bar_index, line_color=line_color, line_width=line_width)
// 最后一段线
if array.size(allPoints) >= 2 and show_lines
ex1 = array.get(allPoints, array.size(allPoints)-2)
ex2 = array.get(allPoints, array.size(allPoints)-1)
line.new(x1=ex1.pt.index, y1=ex1.pt.price, x2=ex2.pt.index, y2=ex2.pt.price,
xloc=xloc.bar_index, color=line_color, width=line_width)
// 高低点标签
if show_points
for i = 0 to array.size(allPoints)-1
ex = array.get(allPoints, i)
label lbl = na
if ex.kind == "low"
lbl := label.new(ex.pt.index, ex.pt.price, text=str.tostring(ex.pt.price),
style=label.style_label_up, color=color.new(color.green,80), textcolor=color.white)
else
lbl := label.new(ex.pt.index, ex.pt.price, text=str.tostring(ex.pt.price),
style=label.style_label_down, color=color.new(color.red,80), textcolor=color.white)
array.push(pointLabels,lbl)
// ------------------ 虚线预测段 ------------------
var line lastDashedLine = na
var label lastDashedLabel = na
if barstate.islast and array.size(allPoints) > 0
lastEx = array.get(allPoints, array.size(allPoints)-1)
if lastEx.kind == "low" and show_lines
if not na(lastDashedLine)
line.delete(lastDashedLine)
lastDashedLine := line.new(lastEx.pt.index, lastEx.pt.price, currentHighBar, currentHigh,
xloc=xloc.bar_index, color=line_color, width=line_width, style=line.style_dashed)
if show_points
if not na(lastDashedLabel)
label.delete(lastDashedLabel)
lastDashedLabel := label.new(lastEx.pt.index, lastEx.pt.price, text='H',
style=label.style_label_down, color=color.new(h_color,h_trs), textcolor=color.white)
if lastEx.kind == "high" and show_lines
if not na(lastDashedLine)
line.delete(lastDashedLine)
lastDashedLine := line.new(lastEx.pt.index, lastEx.pt.price, currentLowBar, currentLow,
xloc=xloc.bar_index, color=line_color, width=line_width, style=line.style_dashed)
if show_points
if not na(lastDashedLabel)
label.delete(lastDashedLabel)
lastDashedLabel := label.new(currentLowBar, currentLow, text='L',
style=label.style_label_up, color=color.new(l_color,l_trs), textcolor=color.white)
// ------------------ 信号检测逻辑 ------------------
// 重置信号
buySignal := false
sellSignal := false
currentSignal := ""
alertMessage := ""
if enable_alerts and bar_index >= 2
// 获取当前趋势
trend = getCurrentTrend()
// 信号1:看跌【阴阳阴】- 上涨趋势中,过去5根K线中有新高且出现阴线-阳线-阴线组合
if show_signal_yyx and trend == "uptrend" and checkBearishYYXPattern()
sellSignal := true
currentSignal := "SELL"
alertMessage := "看跌【阴阳阴】"
// 信号2:看涨【阳阴阳】- 下跌趋势中,过去5根K线中有新低且出现阳线-阴线-阳线组合
if show_signal_ayy and trend == "downtrend" and checkBullishAYYPattern()
buySignal := true
currentSignal := "BUY"
alertMessage := "看涨【阳阴阳】"
// 信号3:看涨【一大于二】- 下跌趋势中创新低,出现阳线,左边2根K至少有一根阴线
if show_signal_bull_1v2 and trend == "downtrend" and isBullish(0) and (isBearish(1) or isBearish(2)) and hasNewLow(3)
// 条件1:阳线实体最高价(收盘价)大于左边2根K实体最高价且实体最低价(开盘价)小于左边2根K实体最低价
condition1 = close > math.max(close , open ) and close > math.max(close , open ) and
open < math.min(close , open ) and open < math.min(close , open )
// 条件2:阳线最高价分别大于左边2根K最高价且最低价分别小于左边2根K最低价
condition2 = high > high and high > high and low < low and low < low
if condition1 or condition2
buySignal := true
currentSignal := "BUY"
alertMessage := "看涨【一大于二】"
// 信号4:看跌【一大于二】- 上涨趋势中,出现阴线,左边2根K至少有一根阳线
if show_signal_bear_1v2 and trend == "uptrend" and isBearish(0) and (isBullish(1) or isBullish(2)) and hasNewHigh(3)
// 条件1:阴线实体最高价(开盘价)大于左边2根K实体最高价且实体最低价(收盘价)小于左边2根K实体最低价
condition1 = open > math.max(close , open ) and open > math.max(close , open ) and
close < math.min(close , open ) and close < math.min(close , open )
// 条件2:阴线最高价分别大于左边2根K最高价且最低价分别小于左边2根K最低价
condition2 = high > high and high > high and low < low and low < low
if condition1 or condition2
sellSignal := true
currentSignal := "SELL"
alertMessage := "看跌【一大于二】"
// 信号5:看跌【二大于二】- 上涨趋势中
if show_signal_bear_2v2 and trend == "uptrend" and bar_index >= 3
// 条件1:连续2根阴线收盘价低于左边2根K线,且4根K线前3根必须有一根创新高(相对于趋势起点)
condition1 = show_signal_bear_2v2_c1 and isBearish(0) and isBearish(1) and
close < close and close < close and close < close and close < close and
(wasNewHigh(1) or wasNewHigh(2) or wasNewHigh(3))
// 条件2:连续2根阳线后再连续2根阴线,2根阴线最低价低于前面2根阳线最低价,最高价大于前面2根阳线最高价,中间2根K必须有一根创新高(相对于趋势起点)
condition2 = show_signal_bear_2v2_c2 and isBearish(0) and isBearish(1) and isBullish(2) and isBullish(3) and
math.min(low, low ) < math.min(low , low ) and
math.max(high, high ) > math.max(high , high ) and
(wasNewHigh(1) or wasNewHigh(2))
if condition1 or condition2
sellSignal := true
currentSignal := "SELL"
alertMessage := "看跌【二大于二】" + (condition1 ? "-条件1" : "") + (condition2 ? "-条件2" : "")
// 信号6:看涨【二大于二】- 下跌趋势中
if show_signal_bull_2v2 and trend == "downtrend" and bar_index >= 3
// 条件1:连续2根阳线收盘价高于左边2根K线,且4根K线前3根必须有一根创新低(相对于趋势起点)
condition1 = show_signal_bull_2v2_c1 and isBullish(0) and isBullish(1) and
close > close and close > close and close > close and close > close and
(wasNewLow(1) or wasNewLow(2) or wasNewLow(3))
// 条件2:连续2根阴线后再连续2根阳线,2根阳线最低价低于前面2根阴线最低价,最高价大于前面2根阴线最高价,中间2根K必须有一根创新低(相对于趋势起点)
condition2 = show_signal_bull_2v2_c2 and isBullish(0) and isBullish(1) and isBearish(2) and isBearish(3) and
math.min(low, low ) < math.min(low , low ) and
math.max(high, high ) > math.max(high , high ) and
(wasNewLow(1) or wasNewLow(2))
if condition1 or condition2
buySignal := true
currentSignal := "BUY"
alertMessage := "看涨【二大于二】" + (condition1 ? "-条件1" : "") + (condition2 ? "-条件2" : "")
// 信号7:看跌【吞没随阴线】- 上涨趋势中阳线吞没前一根K线,阳线后出现阴线,且有一根K创新高
if show_signal_bull_engulf and trend == "uptrend" and bar_index >= 2 and
isBullishEngulf(1) and isBearish(0) and hasNewHigh(3)
sellSignal := true
currentSignal := "SELL"
alertMessage := "看跌【吞没随阴线】"
// 信号8:看涨【吞没随阳线】- 下跌趋势中阴线吞没前一根K线,阴线后出现阳线,且有一根K创新低
if show_signal_bear_engulf and trend == "downtrend" and bar_index >= 2 and
isBearishEngulf(1) and isBullish(0) and hasNewLow(3)
buySignal := true
currentSignal := "BUY"
alertMessage := "看涨【吞没随阳线】"
// ------------------ BUY/SELL标记显示 ------------------
if show_signals
// 根据signal_size设置标记大小
labelSize = switch signal_size
"tiny" => size.tiny
"small" => size.small
"normal" => size.normal
"large" => size.large
"huge" => size.huge
=> size.normal
// 显示BUY信号
if buySignal
label.new(bar_index, low - (high - low) * signal_distance, text="BUY",
style=label.style_label_up, color=color.new(color.green, 0),
textcolor=color.white, size=labelSize, tooltip=alertMessage)
// 显示SELL信号
if sellSignal
label.new(bar_index, high + (high - low) * signal_distance, text="SELL",
style=label.style_label_down, color=color.new(color.red, 0),
textcolor=color.white, size=labelSize, tooltip=alertMessage)
// ------------------ TradingView警报条件 ------------------
// 检查是否有启用的买入/卖出信号(包括子条件)
enabledBuySignals = show_signal_ayy or
(show_signal_bull_1v2 ) or
(show_signal_bull_2v2 and (show_signal_bull_2v2_c1 or show_signal_bull_2v2_c2)) or
show_signal_bear_engulf
enabledSellSignals = show_signal_yyx or
(show_signal_bear_1v2) or
(show_signal_bear_2v2 and (show_signal_bear_2v2_c1 or show_signal_bear_2v2_c2)) or
show_signal_bull_engulf
// 买入信号警报
alertcondition(enable_alerts and enabledBuySignals and buySignal, title="买入信号", message="{{alertMessage}}")
// 卖出信号警报
alertcondition(enable_alerts and enabledSellSignals and sellSignal, title="卖出信号", message="{{alertMessage}}")
// 所有信号的通用警报
alertcondition(enable_alerts and (enabledBuySignals and buySignal or enabledSellSignals and sellSignal), title="所有交易信号",
message="信号类型: {{currentSignal}}, 详情: {{alertMessage}}")
// 具体的信号类型警报
alertcondition(enable_alerts and show_signal_ayy and buySignal and str.contains(alertMessage, "阳阴阳"), title="看涨【阳阴阳】", message="看涨【阳阴阳】")
alertcondition(enable_alerts and show_signal_yyx and sellSignal and str.contains(alertMessage, "阴阳阴"), title="看跌【阴阳阴】", message="看跌【阴阳阴】")
alertcondition(enable_alerts and show_signal_bull_1v2 and buySignal and str.contains(alertMessage, "一大于二"), title="看涨【一大于二】", message="看涨【一大于二】")
alertcondition(enable_alerts and show_signal_bear_1v2 and sellSignal and str.contains(alertMessage, "一大于二"), title="看跌【一大于二】", message="看跌【一大于二】")
alertcondition(enable_alerts and show_signal_bull_2v2 and buySignal and str.contains(alertMessage, "二大于二"), title="看涨【二大于二】", message="看涨【二大于二】")
alertcondition(enable_alerts and show_signal_bear_2v2 and sellSignal and str.contains(alertMessage, "二大于二"), title="看跌【二大于二】", message="看跌【二大于二】")
alertcondition(enable_alerts and show_signal_bull_engulf and sellSignal and str.contains(alertMessage, "吞没随阴线"), title="看涨吞没【吞没随阴线】", message="看涨吞没【吞没随阴线】")
alertcondition(enable_alerts and show_signal_bear_engulf and buySignal and str.contains(alertMessage, "吞没随阳线"), title="看跌【吞没随阳线】", message="看跌【吞没随阳线】")
ZTCRYPTOLAB - Liquidity (v1.8.4)ZTCRYPTOLAB — Liquidation
See the market’s likely liquidation pockets as clean, readable “heat bars.”
The script groups nearby levels into a single bar, sizes the bar by strength, shows a compact value label (K/M/B/T) inside the bar, and automatically fades levels once price takes them out.
What it does (plain-English)
Finds likely liquidation zones above and below current price at three “tiers” (roughly like 25× / 50× / 100×).
Groups nearby levels into one clear bar so your chart doesn’t turn into spaghetti.
Makes stronger zones look wider (more eye-catching) and prints a value pill in K/M/B/T so you can compare strength at a glance.
Fades levels once they’re hit so you instantly see what’s still in play vs. what was already taken.
Quick start (how to use)
Add to chart on the symbol/timeframe you trade.
In the settings, the only control most traders touch is “Max live levels (Top-N)”.
Lower = cleaner, only the best zones.
Higher = more detail.
Zoom out to view big cluster magnets. Zoom in to see them split into more precise lines.
Use wide, nearby bars as targets, magnets, or caution zones. Combine with your entries, stop placement, and risk rules.
Tip: For very busy charts, start with Top-N around 80–100 on intraday, 40–80 on swing. Raise only if you need more context.
Inputs you’ll actually use
Max live levels (Top-N): Caps how many live bars can appear after pruning. Everything else is tuned for clarity out-of-the-box.
(Pre-tuned so you don’t have to fiddle)
Reference price: HLCC4 (balanced)
Density: Fine (crisper separation)
Tier-1 (25×) sensitivity slightly boosted so you see more actionable near-term zones
How to read the chart
Bar color = Tier (25× / 50× / 100×).
Bar width = Relative strength (wider = stronger).
Value pill = Strength in K/M/B/T.
Faded bar = That pocket was taken by price—left for context, no longer active.
Suggested setups by timeframe
Scalping (1–5m): Top-N 80–120. Expect bars to merge more when zoomed out; zoom in for fine detail.
Intraday (15–60m): Top-N 80–100. Balanced view of magnets around current session.
Swing (4H–1D): Top-N 40–80. Use the longest-standing wide clusters as swing targets/areas of interest.
Best practices
Treat bars as areas, not razor-thin lines.
Look for confluence (e.g., HTF levels, fair value gaps, session highs/lows).
Use wide nearby bars to scale out or tighten risk, not as the only reason to trade.
FOR MORE PREMIUM INDICATORS VISIT OUR WHOP : whop.com
10MA Crosses Above 20MA//@version=5
indicator("10MA Crosses Above 20MA", overlay=true)
ma10 = ta.sma(close, 10)
ma20 = ta.sma(close, 20)
plot(ma10, color=color.orange, title="10MA")
plot(ma20, color=color.blue, title="20MA")
crossUp = ta.crossover(ma10, ma20)
alertcondition(crossUp, title="10MA Crosses Above 20MA", message="10MA升穿20MA,可能是買入訊號!")