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.
Поиск скриптов по запросу "黄金近20年走势"
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.
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)”**的那一环。
Pivot Reversal Signals - Multi ConfirmationPivot Reversal Signals - Multi-Confirmation System
Overview
A comprehensive reversal detection indicator designed for daytraders that combines six independent technical signals to identify high-probability pivot points. The indicator uses a scoring system to classify signal strength as Weak, Medium, or Strong based on the number of confirmations present.
How It Works
The indicator monitors six key reversal signals simultaneously:
1. RSI Divergence - Detects when price makes new highs/lows but RSI shows weakening momentum
2. MACD Divergence - Identifies divergence between price action and MACD histogram
3. Key Level Touch - Confirms price is at significant support/resistance (previous day high/low, premarket high/low, VWAP, 50 SMA)
4. Reversal Candlestick Patterns - Recognizes bullish/bearish engulfing, hammers, and shooting stars
5. Moving Average Confluence - Validates bounces/rejections at stacked moving averages (9/20/50)
6. Volume Spike - Confirms increased participation (default: 1.5x average volume)
Signal Strength Classification
• Weak (3/6 confirmations) - Small circles for situational awareness only
• Medium (4/6 confirmations) - Regular triangles, viable entry signals
• Strong (5-6/6 confirmations) - Large triangles with background highlight, highest probability setups
Visual Features
• Entry Signals: Green triangles (up) for long entries, red triangles (down) for short entries
• Exit Warnings: Orange X markers when opposing signals appear
• Signal Labels: Show confirmation score (e.g., "5/6") and strength level
• Key Levels Displayed:
o Previous Day High/Low - Solid green/red lines (uses actual daily data)
o Premarket High/Low - Blue/orange circles (4:00 AM - 9:30 AM EST)
o VWAP - Purple line
o Moving Averages - 9 EMA (blue), 20 EMA (orange), 50 SMA (red)
• Background Tinting: Subtle color on strongest reversal zones
Key Level Detection
The indicator uses request.security() to accurately fetch previous day's high/low from daily timeframe data, ensuring precise level placement. Premarket high/low levels are dynamically tracked during premarket sessions (4:00 AM - 9:30 AM EST) and plotted throughout the trading day, providing critical support/resistance zones that often influence price action during regular hours.
Customizable Parameters
• Signal strength thresholds (adjust required confirmations)
• RSI settings (length, overbought/oversold levels)
• MACD parameters (fast/slow/signal lengths)
• Moving average periods
• Volume spike multiplier
• Toggle individual display elements (levels, MAs, labels)
Best Practices
• Use on 5-minute charts for entries, confirm on 15-minute for direction
• Focus on Medium and Strong signals; Weak signals provide context only
• Strong signals (5-6 confirmations) have the highest win rate
• Pay special attention to reversals at premarket high/low - these levels frequently hold
• Previous day high/low often acts as major support/resistance
• Always use proper risk management and stop losses
• Works best in moderately trending markets
Alert Capabilities
Set custom alerts for:
• Strong long/short signals
• All entry signals (medium + strong)
• Exit warnings for open positions
Ideal For
• Daytraders and scalpers (especially SPY, QQQ, and liquid equities)
• Swing traders seeking precise entries
• Traders who prefer confirmation-based systems
• Anyone looking to reduce false signals with multi-factor validation
• Traders who utilize premarket levels in their strategy
Technical Notes
• Uses Pine Script v6
• Premarket hours: 4:00 AM - 9:30 AM EST
• Previous day levels pulled from daily timeframe for accuracy
• Maximum 500 labels to maintain chart performance
• All key levels update dynamically in real-time
________________________________________
Note: This indicator provides signal analysis only and should be used as part of a complete trading strategy. Past performance does not guarantee future results. Always practice proper risk management.
Micro Pullback Entry SystemMicro Pullback Entry System - Quick Reference
The Pattern
▲ ENTRY (first green to break high)
│
┌──┴───┐
│ 1-3 │ ← PULLBACK (red candles)
│ red │ Stop = Low of this zone
└──────┘
│
┌──┴───┐
│ 3+ │ ← THE MOVE (green candles)
│green │ Strong momentum
└──────┘
Pattern Checklist
Requirement: Why It Matters
3+ green candlesConfirms momentum
1-3 red pullback Brief = momentum intact< 50% retracementShallow = buyers in controlVolume on entryConfirms breakout Above EMA Trend support
Status Flow
Scanning... → 📈 TRENDING → 👀 WATCHING → ⏳ FORMING → 🎯 ENTRY!
StatusMeaningActionScanningLooking for setupWait📈 TRENDINGGreen streak buildingMonitor👀 WATCHINGPullback startedPrepare⏳ FORMINGValid pullback readyGet ready!🎯 ENTRY!Signal triggeredExecute
Entry/Stop/Target
LevelLine ColorHow to SetEntryLime solidClose of signal candleStopRed dashedLow of pullbackTarget 1Aqua dottedEntry + (2 × Risk)Target 2Yellow dottedEntry + (3 × Risk)
Example
Entry: $5.00
Stop: $4.80
Risk: $0.20
Target 1 (2R): $5.00 + $0.40 = $5.40
Target 2 (3R): $5.00 + $0.60 = $5.60
Quality Grades
GradeScoreActionA+5/5 ✓Best setup - full sizeA4/5 ✓Good setup - standard sizeB3/5 ✓Average - reduced sizeC2/5 ✓Weak - skip or tiny size
Scoring Factors
✓ Green streak met minimum
✓ Pullback length valid (1-3)
✓ Retracement shallow (<50%)
✓ Volume confirmed
✓ Above EMA
Trade Execution
Entry
Wait for "⏳ FORMING" status
Watch for green candle forming
Entry triggers when green candle closes above pullback high
Enter at market or small limit above current price
Stop Loss
Set at pullback low (red dashed line)
Non-negotiable - this is your max risk
Trade Management
If no immediate follow-through → exit early
Take 50% off at Target 1 (aqua line)
Move stop to breakeven
Let remainder run to Target 2
Settings Guide
Default (Recommended)
Min Green Candles: 3
Min Pullback: 1
Max Pullback: 3
Max Retracement: 50%
Volume Multiplier: 1.2x
EMA Filter: ON (20)
Conservative (Fewer, Better)
Min Green Candles: 4
Min Pullback: 2
Max Pullback: 3
Max Retracement: 40%
Volume Multiplier: 1.5x
EMA Filter: ON (20)
Aggressive (More Signals)
Min Green Candles: 2
Min Pullback: 1
Max Pullback: 4
Max Retracement: 60%
Volume Multiplier: 1.0x
EMA Filter: OFF
Common Mistakes
❌ Entering before signal
Wait for green triangle
"FORMING" ≠ "ENTRY"
❌ Wide stop
Stop must be at pullback low
If too wide, skip the trade
❌ Ignoring volume
Low volume entries fail more often
Look for ✓ in volume row
❌ Fighting trend
Check EMA status
Should show "Above ✓"
❌ Chasing after entry
If you miss entry by 3+ candles, wait for next setup
Don't chase extended moves
Best Setups
A+ Quality Setup ✓
4-5 green candles (strong move)
2 candle pullback (brief)
25-35% retracement (shallow)
2x+ volume on entry
Well above EMA
Stock already up 5%+ on day
Avoid These ✗
Only 2 green candles
4+ candle pullback (losing momentum)
50%+ retracement (too deep)
Below average volume
Below or at EMA
Against market direction
Timeframe Guide
TFSignalsQualityBest For1mMostLowerScalping5mBalancedGoodDay trading15mFewestHigherSwing entries
Quick Decision Tree
1. Status showing "FORMING"?
NO → Wait
YES → Continue
2. Quality grade A or better?
NO → Skip or small size
YES → Continue
3. Volume confirmed (✓)?
NO → Caution, reduce size
YES → Continue
4. Above EMA (✓)?
NO → Skip
YES → Continue
5. Risk acceptable? (Stop not too wide)
NO → Skip
YES → TAKE THE TRADE
Alert Setup
Essential Alert
"Micro Pullback Entry" - Main signal
How to Set
Right-click chart → Add Alert
Condition: Micro Pullback Entry System
Select "Micro Pullback Entry"
Set notification preferences
Combining with Other Indicators
IndicatorHow to Use5 PillarsFind stocks meeting criteria firstGap & GoLook for micro pullbacks after gap breakoutsR2G TrackerConfirm stock is green before enteringFloat RotationHigh rotation + micro pullback = best setupsBull FlagMicro pullback is a "mini" bull flag
Example Trade
Stock: XYZ
Pre-market: Gapped up 15%
9:35 - 9:38: 4 green candles (move from $4.50 to $5.00)
9:39 - 9:40: 2 red candles (pullback to $4.85)
9:41: Green candle breaks $4.90 (pullback high)
ENTRY: $4.92
STOP: $4.82 (pullback low)
RISK: $0.10
TARGET 1: $5.12 (+$0.20 = 2R)
TARGET 2: $5.22 (+$0.30 = 3R)
Result: Hit Target 2 by 9:55 → +$0.30 per share
Key Takeaways
Micro = 1-3 candles - Brief pullback
Entry = First green to break high - Specific trigger
Stop = Pullback low - Tight risk
Quality matters - Focus on A/A+ setups
Breakout or bailout - Exit if no follow-through
Stacked MAs and Solid Price VolumeStacked MAs and Solid Price Volume is a lower-pane trend alignment indicator that provides instant visual confirmation of moving average structure and price positioning. The indicator monitors all six key SMAs (5, 10, 20, 50, 100, and 200-day) and displays background shading based on trend health: light red when price trades below the 200 SMA (caution zone), light green when price is above the 200 SMA (bullish territory), and darker green when price is above the 200 SMA AND all SMAs are perfectly stacked in bullish order (5 > 10 > 20 > 50 > 100 > 200)—the ideal trending condition. A thick green horizontal line appears during periods of full stack alignment, making it easy to scan charts and identify sustained uptrends. Green dots at the bottom mark price crossovers above the 50 SMA (potential trend resumption signals), while white dots at the top flag 5/10 SMA bullish crossovers (short-term momentum shifts). The colored strip along the bottom displays the 200 SMA's trend direction: blue for rising, red for falling, and gray for flat—giving you immediate context on the long-term trend's trajectory. Smart IPO handling ensures the indicator works properly on newer stocks with limited price history by defaulting unavailable longer-term comparisons to neutral. Perfect for trend followers who want a quick, clean read on moving average alignment without cluttering their price chart.
Sniper BB + VWAP System (with SMT Divergence Arrows)STEP 1: Load two correlated futures charts.
Example: CL + RB/SI+GC/ NQ+ES
STEP 2: Add Bollinger Bands (20, 2.0) on both.
Optional add (20, 3.0).
STEP 3: Watch for a BB tag on one chart but not the other.
STEP 4: Wait for a reclaim candle back inside the band.
STEP 5: Enter with stop below/above the wick + 3.0 BB.
STEP 6: Scale out midline, then opposite band.
STEP 7: Hold partials when both pairs confirm trend.
*You can take the vwap bands off the chart if it is too cluttered.
Market Position TableMarket Position Table Indicator
Overview
The Market Position Table is a comprehensive multi-timeframe indicator that provides traders with an instant visual snapshot of market position relative to key technical indicators. This tool displays a clean, color-coded table directly on your chart, showing whether price is above or below critical moving averages, the Ichimoku Cloud, and whether the market is in a TTM Squeeze compression.
Key Features
Visual Status Dashboard
Real-time color coding: Green for bullish positioning (above), Red for bearish positioning (below/compressed)
Clean table display: Organized, easy-to-read format that doesn't clutter your chart
Customizable positioning: Place the table anywhere on your chart for optimal viewing
Technical Indicators Monitored
Four Moving Averages (20, 50, 100, 200 period)
Shows whether price is above or below each MA
Helps identify trend direction and strength
Ichimoku Cloud
Displays whether price is above, below, or inside the cloud
Gray color indicates price is within the cloud (neutral zone)
TTM Squeeze Indicator
Shows when the market is in compression (Squeeze ON = Red)
Alerts when the market is expanding (Squeeze OFF = Green)
Helps identify potential breakout opportunities
Flexible Customization
Moving Average Options:
Choose from 5 MA types: SMA, EMA, WMA, VWMA, HMA
Adjust all four MA periods to your preference
Default settings: 20, 50, 100, 200 periods
Timeframe Control:
Lock to Daily: View daily timeframe signals on any chart timeframe
Custom Timeframe: Select any specific timeframe for calculations
Chart Timeframe: Default behavior matches your current chart
Ichimoku Settings:
Customize Tenkan, Kijun, and Senkou B periods
Default: 9, 26, 52 (traditional settings)
Squeeze Settings:
Adjust Bollinger Band length and multiplier
Customize Keltner Channel length and multiplier
Fine-tune sensitivity to match your trading style
Visual Customization:
Table position: 9 placement options on your chart
Table size: Tiny, Small, Normal, or Large
Optional: Toggle MA plot lines on/off
Table Settings: Position and size
Moving Average Settings: Type and periods
Ichimoku Settings: Period adjustments
Squeeze Settings: BB and KC parameters
Timeframe Settings: Lock to daily or use custom timeframe
Interpretation
Moving Averages:
Green (ABOVE): Price is above the MA - bullish signal
Red (BELOW): Price is below the MA - bearish signal
Multiple green MAs indicate strong uptrend
Multiple red MAs indicate strong downtrend
Ichimoku Cloud:
Green (ABOVE): Price above cloud - bullish trend
Red (BELOW): Price below cloud - bearish trend
Gray (INSIDE): Price in cloud - consolidation/neutral
Squeeze Indicator:
Red (ON): Market is in compression - potential breakout setup
Green (OFF): Market is expanding - trend continuation or reversal in progress
Trading Applications
Trend Confirmation:
Use multiple green MAs + price above Ichimoku cloud to confirm strong uptrends
Use multiple red MAs + price below Ichimoku cloud to confirm strong downtrends
Breakout Trading:
Watch for Squeeze ON (red) as compression builds
When Squeeze turns OFF (green), look for directional breakout
Confirm direction with MA alignment
Multi-Timeframe Analysis:
Lock to daily timeframe while trading intraday charts
Ensure intraday trades align with daily trend direction
Example: Only take long setups on 15-min chart when daily shows green MAs
Support/Resistance:
Major MAs (50, 100, 200) often act as dynamic support/resistance
Watch for price reactions when testing these levels
Best Practices
Combine with Price Action: Use the table as confirmation alongside your chart analysis
Multi-Timeframe Confluence: Check that multiple timeframes align for higher probability setups
Don't Trade on Table Alone: Use this as one tool in your complete trading system
Customize to Your Strategy: Adjust MA types and periods to match your trading style
Monitor All Indicators: Look for alignment across all indicators for strongest signals
Tips for Optimal Use
Day Traders: Enable "Lock to Daily" to stay aligned with the daily trend while trading shorter timeframes
Swing Traders: Use default chart timeframe on daily or weekly charts
Trend Followers: Focus on MA alignment - all green or all red indicates strong trends
Breakout Traders: Watch the Squeeze indicator closely for compression/expansion cycles
Position Traders: Use longer MA periods (e.g., 50, 100, 150, 200) for smoother signals
Stochastic Average (2 TFs)“Stoch (2 TFs)” plots two separate Stochastic oscillators from two different timeframes in a single pane and adds an average line of all four values (%K and %D from each timeframe). It is designed to quickly compare short-term vs higher-timeframe momentum and see whether they are aligned or diverging.
The script is an overlay-off oscillator, so it appears in its own window under the price chart.
How it works
The indicator calculates a classic Stochastic (%K and %D) on two user-selectable timeframes:
tf1 (default 30 minutes)
tf2 (default 60 minutes)
For each timeframe it:
Requests the high, low and close series from that timeframe using request.security.
Computes %K as the smoothed position of the close within the lookback high/low range.
Computes %D as a moving average of %K.
So you get four lines in total:
K1 and D1 from timeframe 1
K2 and D2 from timeframe 2
A small table in the top-right of the pane shows which timeframes are currently selected for TF1 and TF2, so you always know what you are looking at even if you change the chart timeframe.
Inputs
%K Length – lookback period used to find highest high and lowest low.
%K Smoothing – smoothing length for the %K line.
%D Smoothing – smoothing length for the %D line.
30 (tf1) – first Stochastic timeframe (default 30m).
%K Color (1) / %D Color (1) – colors for K1 and D1.
60 (tf2) – second Stochastic timeframe (default 60m).
%K Color (2) / %D Color (2) – colors for K2 and D2.
Average Color – color for the current bar average line.
Average Prev Color – color for the previous-bar average line.
You can put this indicator on any chart timeframe; the internals always use the two selected timeframes via request.security.
Visual elements
The pane shows:
Four Stochastic lines:
K1 and D1 (for tf1), K2 and D2 (for tf2), using the input colors.
Three horizontal reference levels:
80 (upper band), 50 (middle), 20 (lower band).
A light blue background band between 80 and 20 to make the overbought/oversold zone easier to see visually.
A 2-cell table in the top-right with the current values of tf1 and tf2.
These elements make it easy to see when each timeframe is overbought, oversold, or in the middle zone, and whether the two timeframes are synchronized or showing divergence.
Average and previous-average lines
At the bottom of the script there is a simple composite measure:
Sum KD adds K1 + D1 + K2 + D2 and divides by 4.
Prev Sum KD does the same for the previous bar ( ).
Both are plotted as separate lines:
Sum KD – current bar average of all four Stochastic values (main composite).
Prev Sum KD – previous bar average (for comparison).
This makes it easy to see whether overall multi-timeframe Stochastic momentum is increasing or decreasing from bar to bar without having to visually average four separate curves.
How to use
Typical uses:
See short- vs higher-timeframe Stochastic at a glance and trade only when they agree.
Look for divergence between TF1 and TF2 (e.g., lower timeframe overbought while higher timeframe still neutral).
Use the average lines (Sum KD and Prev Sum KD) as a simple “multi-TF momentum gauge” for confirmations or filters.
Abacus Community Williams %R + Bollinger %B📌 Indicator Description (Professional & Clear)
Williams %R + Bollinger %B Momentum Indicator (ThinkOrSwim Style)
This custom indicator combines Williams %R and Bollinger %B into a single, unified panel to provide a powerful momentum-and-positioning view of price action. Modeled after the ThinkOrSwim version used by professional traders, it displays:
✅ Williams %R (10-period) – Yellow Line
This oscillator measures the market's position relative to recent highs and lows.
It plots on a 0% to 100% scale, where:
80–100% → Overbought region
20–0% → Oversold region
50% → Momentum equilibrium
Williams %R helps identify exhaustion, trend strength, and potential reversal zones.
✅ Bollinger %B (20, 2.0) – Turquoise Histogram Bars
%B shows where price is trading relative to the Bollinger Bands:
Above 50% → Price is in the upper half of the band (bullish pressure)
Below 50% → Price is in the lower half (bearish pressure)
Near 100% → Price pushing upper band (possible breakout)
Near 0% → Price testing lower band (possible breakdown)
The histogram visually represents momentum shifts in real time, creating a clean profile of volatility and strength.
🎯 Why This Combination Works
Together, Williams %R and Bollinger %B reveal:
Momentum direction
Overbought/oversold conditions
Volatility compression & expansion
Trend continuation vs reversal zones
High-probability inflection points
Williams %R shows oscillation and exhaustion, while %B shows pressure inside volatility bands.
The combination helps identify whether momentum supports the current trend or is weakening.
🔍 Use Cases
Detect early trend reversals
Validate breakouts and breakdowns
Spot momentum failure in price extremes
Confirm pullbacks and continuation setups
Time entries and exits with higher precision
💡 Best For
Swing traders
Momentum traders
Trend-followers
Options traders (for timing premium decay or volatility expansion)
FTAP PRO TREND This indicator plots the 20 and 200 exponential moving averages, colors the 20-period average, and plots the entry signal from the start bar (power bar).






















