ADX +- DiThis Adx +-Di is just a complete version of what the ADX is supposed to signal.
So you have:
15 (contraction), 20 (threshold), 30 (expansion), 40 (resistance) levels.
Below 20 the price is not trending
Above 30 the price is trending
Below 15 price has been in contraction for too long
Between 20 and 30 price is in a "transition zone".
I finally added a "Resistance" level (40), which has to be adapted to best represent the historical levels where price usually encounters resistance, and where the price can be declared "overtrending", which means a return to lower levels is likely to happen.
I've chosen mild colors, and set the Adx Color to White, because I use black background, you can easily change that.
Enjoy
-Maurice
Pesquisar nos scripts por "黄金近20年走势"
Average Directional Index with DI SpreadThis indicator converts conventional triple lined ADX, DI+ and DI- into two lines. First line is the
original ADX line and second line is obtained by subtracting DI- from DI+ which named DI Spread(DIS)
If ADX is greater than 20 there is a trend and if greater than 40 there is a strong trend but ADX does not tell
the trend direction
To determine trend direction, DIS can be used with ADX; Sımply; If DIS is greater than 0, it is an uptrend and If DIS
is less than 0, it is a downtrend.
To sum up;
If ADX is greater than 20 and especially greater than 40 with positive DIS value, this implies an uptrend.
If ADX is greater than 20 and especially greater than 40 with negative DIS value, this implies a downtrend.
*Because of coloration and reference levels used, this indicator is really simple and efficient to analyze trend direction.
MFI Multi-TimeframeThe Money Flow Index (MFI) is an oscillating momentum and market strength indicator that was developed by Gene Quong and Avrum Soudack. It is also a leading indicator, which means it tends to lead price action, and is similar in calculation as J. Welles Wilder's Relative Strength Index (RSI) with the significant difference being that the MFI uses both price and volume. Like the RSI, the MFI is a range-bound oscillator that oscillates between zero and 100 and is interpreted in a similar way as the RSI. The ultimate aim of the MFI is to determine whether money is flowing in or out of a security over a specified look-back period.
HOW IS IT USED ?
The MFI oscillates between 0 and 100 and a security is considered overbought when its MFI rises above 80 and oversold when its MFI falls below 20. These levels are the suggested overbought and oversold levels as suggested by Quong and Soudack, though they do not suggest these levels as entry signals. Instead, these caution levels warn that the price action and the current trend have reached extremes that may be unsustainable. Quong and Soudack also recommend using the 90 and 10 lines as truly overbought and truly oversold levels respectively. MFI movements above 90 and below 10 are rare and indicate a higher level of unsustainability.
Finally, failure swings from the 20 or 80 levels can also be used to identify potential price reversals and trade entries. A failure swing occurs when the MFI moves over the overbought or oversold level but reverses back before reaching the opposite level. Thus, when the MFI crosses up over the 20 (oversold) level but reverses before it reaches the 80 (overbought) level, it indicates that the uptrend is weak and that it may reverse soon. This signals that you should cover any long positions or go short. Similarly, when the MFI crosses down over the 80 (overbought) level but reverses before it reaches the 20 (oversold) level, it indicates a weakness in the down trend and the probability that the trend will reverse. This would be a signal to close of any short positions; or a signal to long buy.
I added the possibility to add on the chart a 2nd timeframe for confirmation.
If you found this script useful, a tip is always welcome... :)
Exponential Moving Average (Set of 3) [Krypt] + 13/34 EMAsI took Krypt's script and essentially added on to it.
the 20/50/100/200 EMAs should be used together as support and resistance as normal.
Wait for price to break 200 EMA
Wait for 50 EMA to cross 200 EMA
Wait for pullback to 50 EMA to open position
20 and 100 EMAs are for extra information about moving support and resistance
and 13/34 EMAs should be used in conjunction
When 13 EMA crosses 34 EMA, open position
When price gets far from 13/34, close position (because price will attempt to revert back to mean)
This is better for scalping and swing trades than the 20/50/100/200 setup.
Twitter: @AzorAhai06
Gap Gain Test V1.0 by @overratedtraderOddball indicators for entertainment purposes only. This is best used on daily chart.
Look at the 20 ALMA to gauge likelihood of stock following its up or down gap.
- if above the 20 ALMA , follow the gap direction
- if below the 20 ALMA , take counter trend trade
If stock gaps up AND closes higher than it opens, that gain % (close/open) is colored green and if stock gaps down and closes lower than it opens, that gain % (close/open) is colored green
Conversely if the stock gaps up BUT closes lower than it opens, red and if a stop gaps down but closes higher than it opens, red.
Enjoy and follow me on twitter @overratedtrader for more nonsensical and out-of-the-box ideas.
Adaptive Donchian ChannelThis indicator adds a level of adaptivity to the simple Donchian Channel by adjusting the sensitivity (lookback periods) of the channel's upper and lower bounds based on the amount of time that has elapsed since the price has hit/expanded the channel boundaries. Comparing the results of this indicator to the standard Donchian Channel, the readier level of responsiveness may prove self-evident.
METHODOLOGY:
Specifically, the more recently the channel was expanded in one direction, the longer the lookback period grows in that direction. Conversely, if the channel has not been expanded in a given direction, the lookback period will contract so as to allow for a tighter channel.
For example, let the initial lookback period be 20 bars and let the factor argument be 0.1 (or 2 bars to start, as 20*0.1 = 2). Now say the current bar sets a new 20-period high. Then the lookback period for the upper bound is expanded by 2 bars to 22, and the lookback period for the lower bound is contracted by 2 bars to 18, thereby making it simultaneously harder to set new highs and easier to set new lows (and vice versa for hitting new lows). If neither a new high nor a new low is formed, both periods contract by the given factor.
TonyUX EMA Scalper - Buy / SellThis is a simple scalping strategy that works for all time frames... I have only tested it on FOREX
It works by checking if the price is currently in an uptrend and if it crosses the 20 EMA.
If it crosses the 20 EMA and its in and uptrend it will post a BUY SIGNAL.
If it crosses the 20 EMA and its in and down it will post a SELL SIGNAL.
The red line is the highest close of the previous 8 bars --- This is resistance
The green line is the lowest close of the previous 8 bars -- This is support
EMA_ConvergenceFirst I have to give kudos to my son who I asked to take a shot at creating this little indicator. Nice work son!
While trading, one of the things I look for is when price or certain EMA's approach another EMA. The example that I use on this 1 minute SPY chart is an 8 EMA and 20 EMA. I am looking for when the 8 and 20 are within' 3 cents of each other. Many times when they are getting close, price is approaching a top or bottom. I am looking for a candlestick reversal around that area. You may want to know when PRICE is near the 50 EMA: Use EMA 1 and 50 for that. Having it light up on top of the page, or elsewhere, makes it easier to look for the convergence when it occurs. If it lights up for a long period, price may be going sideways. I don't enter into a trade until the EMA starts separating, usually with another candlestick formation.
You are able to change the distance for convergence and two EMA's. Unfortunately you will have to adjust the convergence number up as you increase in time frames. This is designed to see when they are close, not when they cross.
The bars on top of this example are lit up purple due to the 8 and 20 EMA are within' 3 cents of each other.
If you want to overlay the price bars, instead of having it separate, just change overlay to "true"
Enjoy.
Consolidation Breakout PRO — Clean Boxes + 200 EMA Trend Filter High-probability range breakout detector that draws perfect, always-visible consolidation boxes and only alerts when price breaks out with strong volume and (optionally) in the direction of the prevailing trend.
Features
Automatically draws and extends clean consolidation boxes in real time
Boxes stop extending the moment the breakout occurs — no more “ghost” lines
Optional but powerful 200 EMA trend filter (dramatically reduces false breakouts)
Stronger volume confirmation (default 1.8× the 20-period average, fully adjustable)
Auto-deletes old boxes so your chart stays perfectly clean even after hundreds of signals
Clear “BREAKOUT ↑” and “BREAKDOWN ↓” labels + ready-to-use alerts
Works on any market and any timeframe (best on 1H, 4H, Daily)
How to trade it (edge > 65 % when used correctly)
Wait for the labeled breakout candle to close
Enter on pullback/retest of the box edge (or on strong close + retest)
Stop-loss just outside the opposite side of the box
Take-profit: minimum 1:2, ideally measured move (box height added/subtracted) or trailing with the 20 EMA
This is the cleanest and most professional public consolidation breakout tool available in 2025 — no repainting, no lag, no chart clutter.
Created and continuously improved with love for the TradingView community.
MasterDash — Flow Engine + Exec ConfirmThis script is a three-layer trading dashboard that uses a “Flow engine + Exec engine + Final action” structure on a 5‑minute chart. It analyzes structure, momentum, volatility and pullback to tell you when to trade, in which direction, and how strong the setup is.
Here is a concise English description you can paste into the script’s “Description” field:
Top panel (Flow Engine):
Uses 1m/5m swing structure plus CCIOBV/QQE momentum and a Turbo-style volatility/squeeze regime.
Classifies pullbacks to the 5m 20 EMA and 1m 20 EMA, checks 1m timing, and aggregates everything into a FireScore and trigger: FIRE / LIGHT FIRE / NO FIRE.
Output shows trend direction, swing labels, environment state (HIGH/MEDIUM/LOW vol, SQUEEZE, EXPANDING/FADE), pullback quality and 1m timing so you can see if the current move is a high‑quality opportunity or just noise.
Middle panel (Exec Confirm Engine):
Converts trend, environment, pullback, timing and momentum (combo of CCIOBV + QQE) into long and short scores, then normalizes them to long/short percentages.
Computes a confidence value (how skewed the setup is toward long or short) and reduces this to a discrete action: BUY, SELL, WAIT or NO TRADE.
This layer answers: “Given the current Flow conditions, how aggressive should execution be and which side is stronger?”
Bottom panel (Final Action):
Combines both engines into a simple entry rule: only when Flow is in FIRE state and aligned with CALL/PUT, and Exec confirms with BUY/SELL and high confidence, it outputs LONG ENTRY or SHORT ENTRY; otherwise it shows NO ENTRY.
This is the only line you actually follow for clicking: the top and middle layers explain why, the bottom layer tells you whether to pull the trigger on this bar.
Grok/Claude MoneyLine Fusion * Grok/Claude X SeriesMoneyLine Fusion Indicator
This is a technical analysis indicator designed to help traders identify potential buy and sell opportunities in the market. It combines several well-known trading concepts into one unified tool, displaying visual bands on the chart and generating signals when multiple conditions align.
The Core Concept: The "Money Line"
At the heart of this indicator is something called the Money Line, which is essentially a smoothed trend line calculated using linear regression over the last 16 bars (by default). Think of it as a "best fit" line through recent prices that shows you the general direction the market is heading. The indicator colors this line green when the trend is rising, red when it's falling, and yellow when it's essentially flat or undecided.
The Dynamic Bands
Surrounding the Money Line are upper and lower bands that expand and contract based on market volatility. These bands use the ATR (Average True Range) to measure how much the price typically moves. Here's where it gets clever: the bands also factor in the ADX indicator (which measures trend strength). When the market is trending strongly, the bands widen more aggressively to account for bigger price swings. When the trend is weak, they stay tighter. This adaptive behavior helps the indicator adjust to different market conditions automatically.
The area between the bands is shaded in the trend color (green, red, or yellow) to give you a quick visual of the current market bias.
How Buy and Sell Signals Are Generated
The indicator doesn't just look at one thing — it requires multiple conditions to align before triggering a signal. This is designed to filter out false signals and only alert you when several factors agree.
Signal TypeRequired ConditionsBUYFisher Transform is below -2.0 (oversold), Aroon Up is low (below 20), Aroon Down is high (above 80), and optionally a positive TA ScoreSELLFisher Transform is above +2.0 (overbought), Aroon Up is high (above 80), Aroon Down is low (below 20), and optionally a negative TA Score
Fisher Transform is a mathematical technique that converts price data into a bell curve distribution, making extreme readings (overbought/oversold) easier to spot.
Aroon measures how long it's been since the highest high or lowest low. When Aroon Down is high and Aroon Up is low, it suggests recent price action has been dominated by lows — a potential reversal setup for a buy.
The indicator also prevents signal spam by requiring at least 5 bars between signals of the same type.
The TA Scoring System
Behind the scenes, the indicator calculates a composite score based on four different technical indicators:
MACD — Momentum and trend direction (scores -2 to +2)
DMI — Directional movement comparing buyers vs sellers (scores -2 to +2)
MFI — Money Flow Index, similar to RSI but incorporates volume (scores -2 to +2)
RSI — Classic overbought/oversold measure (scores -1 to +1)
These scores are added together, and the result is displayed in the info panel with labels like "very bullish," "slightly bearish," or "neutral." You can optionally require a minimum TA score before signals trigger, adding another layer of confirmation.
Visual Display Elements
The indicator offers several optional display features:
Shaded bands between upper and lower lines
Buy/Sell labels directly on the chart showing the entry price
Bright blue candle highlighting when a signal fires
Info panel in the corner showing the Money Line value, volatility percentile, RSI, and TA score
Score dots at the bottom of the chart (green for bullish, red for bearish, yellow for neutral)
Debug table for troubleshooting that shows real-time values of Fisher, Aroon, and signal conditions
In Summary
This indicator is essentially a multi-factor confirmation system. Rather than relying on a single indicator that might give many false signals, it waits until the trend direction (Money Line), momentum extremes (Fisher Transform), price cycle position (Aroon), and overall technical picture (TA Score) all point in the same direction. The adaptive bands help visualize where price "should" be trading given current volatility and trend strength. It's designed for traders who prefer fewer but higher-conviction signals.
Dumb Money Flow - Retail Panic & FOMO# Dumb Money Flow (DMF) - Retail Panic & FOMO
## 🌊 Overview
**Dumb Money Flow (DMF)** is a powerful **contrarian indicator** designed to track the emotional state of the retail "herd." It identifies moments of extreme **Panic** (irrational selling) and **FOMO** (irrational buying) by analyzing on-chain data, volume anomalies, and price velocity.
In crypto markets, retail traders often buy the top (FOMO) and sell the bottom (Panic). This indicator helps you do the opposite: **Buy when the herd is fearful, and Sell when the herd is greedy.**
---
## 🧠 How It Works
The indicator combines multiple data points into a single **Sentiment Index** (0-100), normalized over a 90-day period to ensure it always uses the full range of the chart.
### 1. Panic Index (Bearish Sentiment)
Tracks signs of capitulation and fear. High values contribute to the **Panic Zone**.
* **Exchange Inflows:** Spikes in funds moving to exchanges (preparing to sell).
* **Volume Spikes:** High volume during price drops (panic selling).
* **Price Crash (ROC):** Rapid, emotional price drops over 3 days.
* **Volatility (ATR):** High market nervousness and instability.
### 2. FOMO Index (Bullish Sentiment)
Tracks signs of euphoria and greed. High values contribute to the **FOMO Zone**.
* **Exchange Outflows:** Funds moving to cold storage (HODLing/Greed).
* **Profitable Addresses:** When >90% of holders are in profit, tops often form.
* **Parabolic Rise:** Rapid, unsustainable price increases.
---
## 🎨 Visual Guide
The indicator uses a distinct color scheme to highlight extremes:
* **🟢 Dark Green Zone (> 80): Extreme FOMO**
* **Meaning:** The crowd is euphoric. Risk of a correction is high.
* **Action:** Consider taking profits or looking for short entries.
* **🔴 Dark Burgundy Zone (< 20): Extreme Panic**
* **Meaning:** The crowd is capitulating. Prices may be oversold.
* **Action:** Look for buying opportunities (catching the knife with confirmation).
* **🔵 Light Blue Line:**
* The smoothed moving average of the sentiment, helpful for seeing the trend direction.
---
## 🛠️ How to Use (Trading Strategies)
### 1. Contrarian Reversals (The Primary Strategy)
* **Buy Signal:** Wait for the line to drop deep into the **Burgundy Panic Zone (< 20)** and then start curling up. This indicates that the worst of the selling pressure is over.
* **Sell Signal:** Wait for the line to spike into the **Green FOMO Zone (> 80)** and then start curling down. This suggests buying exhaustion.
### 2. Divergences
* **Bullish Divergence:** Price makes a **Lower Low**, but the DMF Indicator makes a **Higher Low** (less panic on the second drop). This is a strong reversal signal.
* **Bearish Divergence:** Price makes a **Higher High**, but the DMF Indicator makes a **Lower High** (less FOMO/buying power on the second peak).
### 3. Trend Confirmation (Midline Cross)
* **Crossing 50 Up:** Sentiment is shifting from Fear to Greed (Bullish).
* **Crossing 50 Down:** Sentiment is shifting from Greed to Fear (Bearish).
---
## ⚙️ Settings
* **Data Source:** Defaults to `INTOTHEBLOCK` for on-chain data.
* **Crypto Asset:** Auto-detects BTC/ETH, but can be forced.
* **Normalization Period:** Default 90 days. Determines the "window" for defining what is considered "Extreme" relative to recent history.
* **Weights:** You can customize how much each factor (Volume, Inflows, Price) contributes to the index.
---
**Disclaimer:** This indicator is for educational purposes only. "Dumb Money" analysis is a probability tool, not a crystal ball. Always manage your risk.
**Indicator by:** @iCD_creator
**Version:** 1.0
**Pine Script™ Version:** 6
---
## Updates & Support
For questions, suggestions, or bug reports, please comment below or message the author.
**Like this indicator? Leave a 👍 and share your feedback!**
💀 DarkPool's Moving Averages 💀DarkPool's Moving Averages is a consolidated trend analysis tool that allows traders to plot up to five distinct moving averages (MAs) within a single indicator pane. This script is designed to declutter trading charts by replacing multiple individual indicator instances with one comprehensive solution.
Beyond standard plotting, the indicator features Multi-Timeframe (MTF) capabilities, allowing users to overlay higher-timeframe trends (e.g., Daily or Weekly averages) onto lower-timeframe charts (e.g., 5-minute or 1-hour). It also utilizes dynamic color-coding to visually indicate instantaneous trend direction based on the slope of the moving average.
Key Features
5-in-1 Architecture: Configure and toggle up to five independent moving averages simultaneously.
Multi-Timeframe (MTF) Support: Calculate moving averages based on timeframes different from the current chart (e.g., view a 200-day EMA while trading on a 15-minute chart).
Dynamic Trend Coloring: Lines automatically change color based on their slope (rising vs. falling) to provide immediate visual trend confirmation.
Versatile Calculation Models: Supports major averaging methods including SMA, EMA, WMA, RMA, VWMA, and HMA.
How to Use
1. Trend Identification The primary use of this tool is to identify the market trend direction at a glance.
Bullish Trend: When the Moving Average line is colored in the "Bullish Color" (default: dark/green tones) and sloping upward.
Bearish Trend: When the Moving Average line is colored in the "Bearish Color" (default: light/red tones) and sloping downward.
2. Dynamic Support and Resistance Traders can use specific lengths (e.g., 50, 100, 200) to identify dynamic support and resistance levels.
Entry: In an uptrend, price retracing to a rising MA often presents a buying opportunity.
Exit: In a downtrend, price rallying to a falling MA often presents a selling opportunity.
3. The "Ribbon" Effect By enabling multiple MAs with sequential lengths (e.g., 10, 20, 50, 100, 200), traders can visualize the strength of the trend.
Expansion: When the lines spread apart, the trend is strengthening.
Contraction/Crossover: When the lines converge or cross, the trend is weakening or consolidating.
4. Multi-Timeframe Analysis Use the "Timeframe" input in the General Settings to lock the calculations to a specific period.
Example: Set the Timeframe to "D" (Daily) and the Length to 200. You can now drop down to a 5-minute chart, and the indicator will still display the significant 200-Day Moving Average, acting as a major anchor for intraday price action.
Configuration Guide
General Settings
Timeframe: Determines the data source for all MAs. Leave at default to use the current chart's timeframe, or select a specific higher timeframe for macro analysis.
Price Source: Selects the data point used for calculation (Close, Open, High, Low, etc.).
Moving Average Configurations (MA1 - MA5) Each of the five slots allows for individual customization:
Enable: Toggle the visibility of the specific MA.
Type: Select the calculation method.
SMA: Simple Moving Average (Standard).
EMA: Exponential Moving Average (Weight on recent data).
HMA: Hull Moving Average (Reduced lag).
VWMA: Volume Weighted Moving Average.
WMA/RMA: Weighted and Rolling Moving Averages.
Note: While many types are listed, the script explicitly calculates the types listed above; others may default to standard SMA behavior.
Length: The lookback period (e.g., 20, 50, 200).
Colors (Bull/Bear): Customize the colors used when the line is rising versus falling.
Line Style: Choose between Solid, Dashed, or Dotted lines to differentiate between the five MAs.
Disclaimer: This indicator is provided for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a guarantee of future results.
🔥 DarkPool's Fear & Greed v4 🔥DarkPool Fear & Greed v4 is a composite sentiment indicator designed to gauge market psychology in real-time. Unlike standard oscillators that rely on a single metric, this tool aggregates data from four distinct technical sources—RSI, MACD, Bollinger Bands, and Moving Averages—to create a unified "Index Score" ranging from 0 to 100.
Beyond general sentiment, the script employs custom algorithms to detect specific market anomalies, including sustainable buying pressure (FOMO), capitulation events (Panic), and trend reversals (Divergences).
Key Features
Composite Index: A weighted average of Momentum, Trend, Volatility, and Price Location.
Anomaly Detection: Specialized logic to flag high-momentum "FOMO" events and high-volatility "Panic" drops.
Divergences: Automatically spots bearish and bullish discrepancies between the sentiment index and price action.
Live Dashboard: A real-time data table displaying current sentiment zones, intensity scores, and volume ratios.
How to Use
1. The Fear & Greed Index The main oscillator line moves between 0 and 100 to visualize market sentiment:
0-20 (Extreme Fear): Deeply oversold; potential capitulation or buying opportunity.
20-40 (Fear): General bearish sentiment.
40-60 (Neutral): Indecisive market.
60-80 (Greed): General bullish sentiment.
80-100 (Extreme Greed): Overbought conditions; potential for a pullback.
2. Visual Signals
FOMO (Triangle Up): Marks candles with excessive buying volume and RSI momentum.
Panic (Triangle Down): Marks candles with sharp percentage drops and volatility spikes.
Divergences (Circles): distinct markers appear when price action contradicts the sentiment index, often signaling a reversal.
3. The Dashboard Located on the chart, the dashboard provides a snapshot of the current market state, including the specific "Intensity" of FOMO or Panic events and a Volume-to-MA ratio to gauge participation.
4. Alerts The script is fully integrated with the alert system. You can set alerts for "Any alert() function call" to receive dynamic notifications for FOMO detections, Panic drops, Extreme Zone entries, and confirmed Divergences.
Disclaimer This indicator is provided for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a guarantee of future results.
Pin Bar Highlighter//@version=5
indicator("Pin Bar Highlighter", overlay=true)
body = math.abs(close - open)
upperWick = high - math.max(open, close)
lowerWick = math.min(open, close) - low
bullPin = (lowerWick >= body * 2) and (close > open)
bearPin = (upperWick >= body * 2) and (close < open)
bullColor = color.rgb(10, 20, 80)
bearColor = color.rgb(255, 20, 150)
barcolor(bullPin ? bullColor : bearPin ? bearColor : na)
Futures Momentum Scanner – jyoti//@version=5
indicator("Futures Momentum Scanner – Avvu Edition", overlay=false, max_lines_count=500)
//------------------------------
// USER INPUTS
//------------------------------
rsiLen = input.int(14, "RSI Length")
macdFast = input.int(12, "MACD Fast")
macdSlow = input.int(26, "MACD Slow")
macdSignal = input.int(9, "MACD Signal")
stLength = input.int(10, "Supertrend Length")
stMult = input.float(3.0, "Supertrend Multiplier")
//------------------------------
// SUPER TREND
//------------------------------
= ta.supertrend(stMult, stLength)
trendUp = stDirection == 1
//------------------------------
// RSI
//------------------------------
rsi = ta.rsi(close, rsiLen)
rsiBull = rsi > 50 and rsi < 65
//------------------------------
// MACD
//------------------------------
= ta.macd(close, macdFast, macdSlow, macdSignal)
macdBull = macd > signal and macd > 0
//------------------------------
// MOVING AVERAGE TREND
//------------------------------
ema20 = ta.ema(close, 20)
ema50 = ta.ema(close, 50)
ema200 = ta.ema(close, 200)
trendStack = ema20 > ema50 and ema50 > ema200
//------------------------------
// BREAKOUT LOGIC
//------------------------------
prevHigh = ta.highest(high, 20)
breakout = close > prevHigh
//------------------------------
// FINAL SCANNER LOGIC
//------------------------------
bullishCandidate = trendUp and rsiBull and macdBull and trendStack and breakout
//------------------------------
// TABLE OUTPUT FOR SCANNER FEEL
//------------------------------
var table t = table.new(position.top_right, 1, 1)
if barstate.islast
msg = bullishCandidate ? "✔ BUY Candidate" : "– Not a Setup"
table.cell(t, 0, 0, msg, bgcolor=bullishCandidate ? color.new(color.green, 0) : color.new(color.red, 70))
//------------------------------
// ALERT
//------------------------------
alertcondition(bullishCandidate, title="Scanner Trigger", message="This stock meets Avvu's futures scanner criteria!")
EMA Stack Background HighlighterThis is a simple script that highlights my backround when my criteria for my context timeframe is met, specifically, price is above the 10 EMA, the 10 is above the 20, and the 20 is above the 50 for green and vice versa for red. I use this in a multi timeframe approach similar to mentfx's EVC criteria
EMA 7/21 + SuperTrend INDICADOR CREADO PARA MI ESTRATEGIA That sounds like a complex and multi-layered trading indicator you've developed! Combining an Exponential Moving Average (EMA) crossover with an Average Directional Index (ADX) filter, a Volume filter, and a Supertrend for overall trend confirmation can certainly help to filter out false signals and potentially increase the reliability of your entry and exit points.Here's a breakdown of the components you're using and why this combination can be powerful:📊 Indicator Components and Their Roles1. 7/21 EMA Crossover (Signal Generator)The $7$-period EMA and $21$-period EMA crossover is a common strategy used to generate initial buy or sell signals.Buy Signal: The short-term EMA (7) crosses above the long-term EMA (21).Sell Signal: The short-term EMA (7) crosses below the long-term EMA (21).2. ADX DI Filter (Momentum and Direction)The Average Directional Index (ADX) and its directional indicators ($+DI$ and $-DI$) are key to confirming the strength and direction of the move.Directional Confirmation: The EMA crossover must be confirmed by the appropriate directional index. For a buy, the $+DI$ should be above the $-DI$. For a sell, the $-DI$ should be above the $+DI$.Trend Strength ( NYSE:ADX $): A rising NYSE:ADX $ (typically above 20 or 25) suggests the current trend has sufficient momentum, making the signal more reliable.3. Volume Filter (Conviction)Adding a Volume filter ensures that the price movement accompanying the EMA crossover is supported by significant trading activity.Confirmation: A strong signal (buy or sell) is often accompanied by above-average volume. This suggests that market participants are actively supporting the move, adding conviction to the trade.4. Supertrend (Overall Trend Confirmation)The Supertrend indicator is based on the Average True Range (ATR) and is excellent for identifying the dominant market trend.Trend Alignment: The EMA crossover signal should align with the Supertrend's current signal. For a buy signal, the price should be above the Supertrend line (green). For a sell signal, the price should be below the Supertrend line (red). This helps ensure you are trading with the prevailing trend.📈 Why This is a Powerful CombinationYour indicator is essentially a multi-stage confirmation system:Speed (7/21 EMA): Generates a fast, responsive signal.Momentum (ADX DI): Confirms the direction and strength of the signal.Conviction (Volume): Validates the signal with market participation.Safety/Trend (Supertrend): Ensures the trade is in the direction of the long-term trend.The Informative Panel is a great feature, as it simplifies the decision-making process by summarizing the findings of all these components—e.g., "BUY: EMA Crossover $\checkmark$, +DI > -DI $\checkmark$, High Volume $\checkmark$, Supertrend Green $\checkmark$."💡 Next Steps for RefinementTo finalize and test this indicator, you may want to consider:Parameter Optimization: The best settings for the ADX level (e.g., 20 vs. 25) and the Supertrend ATR parameters may need to be optimized for the specific asset (e.g., stocks, forex) and timeframe you are using.Exit Strategy: Since this primarily focuses on entries, define clear Stop-Loss (perhaps based on the Supertrend line or a recent swing low/high) and Take-Profit (e.g., a fixed Risk/Reward ratio or previous resistance/support levels) rules.Would you like to explore specific parameters for any of these components or look into ways to backtest your strategy?
RSI + Psy + ADXRSI + Psychological Line + ADX (with RCI-replacement logic)
This custom TradingView indicator combines three major technical analysis tools—RSI, Psychological Line (Psy), and ADX—to help traders identify trend strength, market momentum, and overbought/oversold conditions with improved clarity.
1. Multi-Period RSI
The indicator calculates three RSI values:
Short-term RSI (9)
Mid-term RSI (26)
Long-term RSI (52)
These help users observe short-, mid-, and long-term momentum simultaneously.
Threshold lines are drawn at 70, 50, and 30 for standard RSI overbought/oversold analysis.
2. Psychological Line (Psy) with Dynamic Column Display
The Psy indicator counts how many closes within the selected period (default: 12) were higher than the previous close.
Values above 75 indicate overbought markets.
Values below 25 indicate oversold markets.
When Psy crosses these thresholds, it is displayed as a column chart centered at 50, visually expanding upward (overbought) or downward (oversold).
3. ADX Trend Strength with Color Coding
ADX is calculated from DI+ and DI− values (using true range and directional movement).
The ADX line changes color based on trend strength:
Blue: Weak trend (below 20)
Yellow: Moderate trend (20–30)
Red: Strong trend (above 30)
This helps traders easily recognize when the market transitions from low-volatility to strong-trend conditions.
The Map - RMAConcept This indicator is designed to be the ultimate "Map" for intraday traders. Instead of guessing where support and resistance are, it automatically projects Higher Timeframe (HTF) Market Structure onto your chart and combines it with Institutional Volume Analysis. It answers two critical questions instantly: "Where are we?" (Premium vs. Discount) and "Who is trading?" (Whales vs. Retail).
Key Features
Dynamic Market Structure (The Map):
Automatically fetches the Highest High and Lowest Low from a higher timeframe (Default: 4-Hour) over a user-defined lookback period.
Premium Zone (Red): The upper 50% of the range. Ideally used for looking for Short/Sell setups.
Discount Zone (Green): The lower 50% of the range. Ideally used for looking for Long/Buy setups.
Equilibrium (Gray): The 50% midpoint. A key target for mean reversion strategies.
Whale Volume Detection (The Fuel):
Identifies "Whale Candles" where the current volume significantly exceeds the average (e.g., 2x the 20-period average).
Plots visual Bubbles (Green for Up-close, Red for Down-close) to highlight where big money is entering the market.
Filters out noise by only showing bubbles on candles with significant price movement.
Live Dashboard:
A clean table in the top-right corner displays the current Zone status (Premium vs. Discount) and Volume status in real-time.
How to Use
Trend Following: If price breaks out of the H4 High with a Green Whale Bubble, it indicates strong bullish momentum.
Reversal Trading: If price enters the Red (Premium) Zone and prints a Red Whale Bubble (rejection), it suggests institutional selling pressure at resistance.
Confluence: This tool is best used as a "Context Filter" alongside your favorite entry trigger (like a London Breakout or MACD crossover).
Settings
Structure Timeframe: Choose the HTF for your map (Default: 240/4-Hour).
Lookback: How many bars to scan for Highs/Lows (Default: 20).
Whale Multiplier: How much larger than average volume must be to trigger a bubble (Default: 2.0x).
Visuals: Toggle the Zones map on/off to fix chart scaling if needed.
Disclaimer This indicator is for educational and analytical purposes only. Past performance (structure levels) does not guarantee future price action. Always manage your risk.
Custom Multi-Style Candlestick Chart (Arjo)Custom Multi-Style Candlestick Chart
View the same market through different candle-types to spot structure, trend, and volatility more clearly.
This indicator lets you view price action using several alternative candlestick styles, including Traditional , Smooth , Hull , EMA-based , Median-based , Heikin-Ashi , and more.
Instead of changing charts manually, you can instantly switch between different candle types in a single panel, even for other chart symbols.
Different smoothing techniques highlight different aspects of market behaviour — trend clarity , volatility compression, swing structure, and momentum. This tool helps traders see those variations quickly without altering their main chart settings .
What This Indicator Does
1. Displays multiple candle-types
From the settings panel, you can choose:
Traditional Candles – Standard OHLC data.
Heikin-Ashi – Smooths out noise and shows cleaner trend flow.
Smooth Candles – Uses a SuperSmooth filter to reduce short-term volatility.
Hull Candles – Uses Hull MA smoothing for fast trend visualization.
EMA Candles – Uses EMA-smoothed OHLC values.
Median Candles – Shows median-filtered OHLC values for noise reduction.
Custom Candles – A special formula using previous bars to create a balanced pivot-style open.
Each candle type offers a slightly different look at the same market.
2. Uses the Same Symbol & Timeframe
The indicator always uses:
the same timeframe as your chart , and
the symbol you select (Chart Symbol or Custom Symbol )
This makes it easy to compare the alternative candles directly with the price.
3. Includes Dynamic Support & Resistance
The indicator calculates:
20-period EMA (trend centerline)
ATR-based support and resistance levels
These levels help traders see where the price may find pressure or relief during normal volatility.
4. Shows Trend Strength (ADX Background Color)
The background becomes lighter or darker depending on ADX strength:
Low ADX (below 15) → Market may be quiet or range-bound
Higher ADX → Trend may be strengthening
This is only a visual guide and not a signal.
-------------------------------------------------------------------------------
How to Use It
----------------------------------------------------------------------
1. Choose a candle type from the settings.
Try switching between Smooth, Hull, Median, Heikin-Ashi, or other to see which gives you the clearest structure .
2. Compare the smoothed candles with the real price
Smoothed candles remove noise. They help to:
identify swing direction
spot trend strength
study clean momentum behaviour
3. Use the EMA-20 + ATR bands
These bands help you see natural dynamic support and resistance zones based on both trend and volatility.
4. Background color helps understand trend conditions
When the ADX is low , the background becomes slightly shaded to warn of choppy or low-momentum sessions.
5. Use with other tools
This indicator is intended solely as a visual aid.
You may combine it with your own signals, patterns, or risk-management methods.
Disclaimer
This indicator does not generate buy/sell signals.
It is meant for visual analysis only.
It does not predict future prices or guarantee any outcome.
Always use proper risk management and confirm decisions with your own analysis.
Happy Trading (ARJO)
ATR with ATR Moving AverageThis is an useful ATR with its moving average. Set the MA to 20, and you will filter false signals when the market is less volatile. Enter long or short only if ATR is > than its MA(20)
Liquidity Structure & Sweeps [Visualized]Liquidity Structure & Sweeps | 流动性结构与猎杀
1. Design Philosophy & Logic
This indicator is designed based on Smart Money Concepts (SMC) and Market Microstructure principles. Unlike traditional indicators that rely on lagging averages or repainting fractals, this script focuses on "Objective Structure" and "Liquidity Grabs".
The core design philosophy rests on three pillars:
Zero Repainting (Real-time Integrity): We utilize a strict "Left-Side Confirmation" algorithm. A structure level is only stored in memory when the candle is fully closed (barstate.isconfirmed). This ensures that the historical signals you see are exactly what happened in real-time.
Institutional Memory (Visualized): Markets "remember" key levels. This script draws dashed lines extending from valid pivot points. These lines represent "resting liquidity" (Stop Orders). They remain on the chart until the price interacts with them.
Sweep vs. Breakout: Not all breaches are equal. We specifically look for "Sweeps" (Liquidity Grabs) — where price pierces a level but closes back inside. This is a classic sign of absorption and potential reversal, distinct from a structural breakout.
2. Key Features
Visualized Order Blocks: Automatically draws potential support (Green Dotted) and resistance (Red Dotted) lines based on fractal points.
Wick Detection: Filters out strong momentum breakouts. Signals are only generated when a specific "Wick Ratio" is met, indicating a rejection.
Clean Charts: Features a "Garbage Collection" mechanism. Once a level is swept, the line is removed, and a signal dot is placed. Old, untouched levels are automatically cycled out to prevent chart clutter.
3. How to Use
The Lines (Context):
Red Dotted Line: Buy-side Liquidity (Resistance). Expect potential shorts or breakouts here.
Green Dotted Line: Sell-side Liquidity (Support). Expect potential longs or breakdowns here.
The Signals (Action):
Red Dot (Bearish Sweep): Price spiked above a Resistance Line but closed below it. This suggests long stops were hunted, and bears are stepping in.
Green Dot (Bullish Sweep): Price spiked below a Support Line but closed above it. This suggests short stops were hunted, and bulls are stepping in.
Configuration:
Structure Length: Adjusts sensitivity. Higher values (e.g., 20-50) find major swing points; lower values (e.g., 5-10) find scalping setups.
Wick Filter %: The minimum size of the wick relative to the breakout. Increase this to filter for only the most dramatic rejections.
4. Developer Notes & Considerations
Why do lines disappear? In this logic, liquidity is treated as "Fuel". Once a level is swept (the stop orders are triggered), the fuel is consumed. Keeping the line would clutter the chart with invalid data.
Why is the dot small? The indicator is designed to be part of a toolchain, not a standalone signal. The minimalist design prevents visual interference with price action or other indicators.
1. 设计思路与核心逻辑
本指标基于 聪明钱概念 (SMC) 与 市场微观结构 原理设计。不同于依赖滞后均线或存在重绘问题的传统分形指标,本脚本专注于捕捉 “客观结构” 与 “流动性猎杀 (Liquidity Grabs)”。
核心设计哲学包含三大支柱:
零重绘 (Zero Repainting): 我们采用了严格的“左侧确认”算法。所有的结构位仅在K线完全收盘 (barstate.isconfirmed) 后才会被记录。这保证了您回测看到的信号与实盘完全一致,杜绝“未来函数”陷阱。
可视化的机构记忆: 市场是有记忆的。本脚本会从有效的波段高低点引出虚线。这些虚线代表了“沉睡的流动性”(止损盘聚集区)。它们会一直延伸,直到价格触碰它们。
区分“猎杀”与“突破”: 并不是所有的破位都是一样的。我们专注于识别“扫损(Sweep)”——即价格刺破了关键位,但收盘价收回了关键位内部。这是典型的吸筹或派发信号,与趋势延续的真突破有本质区别。
2. 主要功能
结构可视化: 自动基于分形点绘制潜在的支撑线(绿色虚线)和阻力线(红色虚线)。
插针检测: 过滤掉强势的实体突破。只有当价格出现明显的“长影线”拒绝行为时,才会触发信号。
图表自清洁: 内置“垃圾回收”机制。一旦某个关键位的流动性被猎杀(触发信号),该线条会被自动删除。过旧且未被触碰的线条也会被自动替换,保持图表整洁。
3. 使用指南
线条 (市场语境):
红色虚线: 买方流动性池(阻力位)。
绿色虚线: 卖方流动性池(支撑位)。
信号点 (交易动作):
红色圆点 (看跌猎杀): 价格刺破了红色阻力线,但收盘价回落到线下方。这暗示多头止损被触发,主力可能正在建立空单。
绿色圆点 (看涨猎杀): 价格刺破了绿色支撑线,但收盘价反弹到线上方。这暗示空头止损被触发,主力可能正在建立多单。
参数设置建议:
Structure Length (结构周期): 调整灵敏度。数值越大(如 20-50)锁定大级别波段;数值越小(如 5-10)适合短线剥头皮。
Wick Filter % (影线过滤): 设置影线占价格波动的最小比例。调大该数值可以只看最剧烈的反转信号。
4. 开发者注记与潜在考量
为什么线条会消失? 在本逻辑中,流动性被视为“燃料”。一旦发生猎杀(止损单成交),该位置的燃料即被消耗。移除线条是为了防止无效数据干扰判断。
为什么圆点设计得很小? 该指标旨在成为您交易工具链的一部分,而非唯一的决策依据。极简设计是为了避免干扰裸K形态或其他指标的观察。
===============================================================
这个脚本(我们称之为 Liq Structure Script)本质上是一个基于价格行为(Price Action)的结构猎杀探测器。
以下是详细的深度对比分析:
1. 如何使用? (实战操作手册)
不要把它当作“红灯停绿灯行”的傻瓜指标。把它当作一个**“战场地图”**。
第一阶段:观察结构 (The Setup)
图表上会自动画出 红色虚线(上方压力)和 绿色虚线(下方支撑)。
解读:告诉自己,“这里埋着很多人的止损单”。不要在这里盲目追涨杀跌。
第二阶段:等待猎杀 (The Trigger)
耐心等待价格冲向这些虚线。
关键动作:价格刺破虚线,然后迅速收回。
信号确认:虚线消失,留下一个 红点(顶部猎杀)或 绿点(底部猎杀)。
第三阶段:进场逻辑 (The Execution)
做空逻辑:出现红点 + K线留长上影线 → 说明多头试图突破失败,被主力“倒了一盆冷水”。此时可尝试做空,止损设在刚刚那个最高点上方一点点。
做多逻辑:出现绿点 + K线留长下影线 → 说明空头试图砸盘失败,被主力接住了。
传统爆量是“燃料”,Liq 脚本是“引爆点”。没有引爆点的爆量可能是空转;没有爆量的引爆点可能是假摔。Liq 脚本是一个免费、轻量级、基于K线逻辑的替代品。它不需要你买昂贵的数据服务,它利用的是“图表形态学”中的流动性共识。
结论:如何定位这个工具?
这个脚本不是“预测未来的水晶球”,而是一个**“高胜率区域提示器”**。
用它来找位置(哪里有陷阱?)。
用成交量来做确认(是不是真的有主力介入?)。
用宏观逻辑来定方向(现在该做多还是做空?)。
它是你交易工具链中负责**“微观入场时机(Timing)”**的那一环。






















