AP Session Liquidity with EQH/EQL and Previous DayThis indicator plots key intraday session highs and lows, along with essential market structure levels, to help traders identify areas of interest, potential liquidity zones, and high-probability trade setups. It includes the Asia Session High and Low (typically 00:00–08:00 UTC), London Session High and Low (08:00–12:00 UTC), New York AM Session High and Low (12:00–15:00 UTC), and New York Lunch High and Low (15:00–17:00 UTC). Additionally, it displays the Previous Day’s High and Low for context on recent price action, as well as automatically detected Equal Highs and Lows based on configurable proximity settings to highlight potential liquidity pools or engineered price levels. These session levels are widely used by institutional traders and are critical for analyzing market behavior during time-based volatility windows. Traders can use this indicator to anticipate breakouts, fakeouts, and reversals around session boundaries—such as liquidity grabs at Asia highs/lows before the London or New York sessions—or to identify key consolidation and expansion zones. Equal Highs and Lows serve as magnets for price, offering insight into potential stop hunts or inducement zones. This tool is ideal for day traders, scalpers, and smart money concept practitioners, and includes full customization for session timings, color schemes, line styles, and alert conditions. Whether you're trading price action, ICT concepts, or supply and demand, this indicator provides a powerful framework for intraday analysis.
אינדיקטורים ואסטרטגיות
Internal Bar Strength (IBS)This script calculates the Internal Bar Strength (IBS), a mean-reversion indicator defined as (Close - Low) / (High - Low). IBS values range from 0 to 1, with lower values indicating potential oversold conditions and higher values suggesting overbought conditions. Useful for intraday reversal strategies.
Candle Color and Wick Size CounterI had a need to know how many green vs red candles happen during a specific visual window. After usage I decided to add in an extra check for candle wick lengths. The reason for this is I want to know that if it’s a red candle, how many of them retrace back up by 1/3. Conversly I wanted to know if its a green candle did it get push back down by 1/3
WTS by M.GWTS is a trading approach designed to identify potential market reversals and entries by analyzing price action through wick patterns. It focuses on spotting key signals without relying heavily on complex indicators, aiming to provide traders with clear and actionable setups.
Donchian x WMA Crossover (2025 Only, Adjustable TP, Real OHLC)Short Description:
Long-only breakout system that goes long when the Donchian Low crosses up through a Weighted Moving Average, and closes when it crosses back down (with an optional take-profit), restricted to calendar year 2025. All signals use the instrument’s true OHLC data (even on Heikin-Ashi charts), start with 1 000 AUD of capital, and deploy 100 % equity per trade.
Ideal parameters configured for Temple & Webster on ASX 30 minute candles. Adjust parameter to suit however best to download candle interval data and have GPT test the pine script for optimum parameters for your trading symbol.
Detailed Description
1. Strategy Concept
This strategy captures trend-driven breakouts off the bottom of a Donchian channel. By combining the Donchian Low with a WMA filter, it aims to:
Enter when volatility compresses and price breaks above the recent Donchian Low while the longer‐term WMA confirms upward momentum.
Exit when price falls back below that same WMA (i.e. when the Donchian Low crosses back down through WMA), but only if the WMA itself has stopped rising.
Optional Take-Profit: you can specify a profit target in decimal form (e.g. 0.01 = 1 %).
2. Timeframe & Universe
In-sample period: only bars stamped between Jan 1 2025 00:00 UTC and Dec 31 2025 23:59 UTC are considered.
Any resolution (e.g. 30 m, 1 h, D, etc.) is supported—just set your preferred timeframe in the TradingView UI.
3. True-Price Execution
All indicator calculations (Donchian Low, WMA, crossover checks, take-profit) are sourced from the chart’s underlying OHLC via request.security(). This guarantees that:
You can view Heikin-Ashi or other styled candles, but your strategy will execute on the real OHLC bars.
Chart styling never suppresses or distorts your backtest results.
4. Position Sizing & Equity
Initial capital: 1 000 AUD
Size per trade: 100 % of available equity
No pyramiding: one open position at a time
5. Inputs (all exposed in the “Inputs” tab):
Input Default Description
Donchian Length 7 Number of bars to calculate the Donchian channel low
WMA Length 62 Period of the Weighted Moving Average filter
Take Profit (decimal) 0.01 Exit when price ≥ entry × (1 + take_profit_perc)
6. How It Works
Donchian Low: ta.lowest(low, DonchianLength) over the specified look-back.
WMA: ta.wma(close, WMALength) applied to true closes.
Entry: ta.crossover(DonchianLow, WMA) AND barTime ∈ 2025.
Exit:
Cross-down exit: ta.crossunder(DonchianLow, WMA) and WMA is not rising (i.e. momentum has stalled).
Take-profit exit: price ≥ entry × (1 + take_profit_perc).
Calendar exit: barTime falls outside 2025.
7. Usage Notes
After adding to your chart, open the Strategy Tester tab to review performance metrics, list of trades, equity curve, etc.
You can toggle your chart to Heikin-Ashi for visual clarity without affecting execution, thanks to the real-OHLC calls.
FxInside你这段代码整体逻辑是正确的,但如果**实际运行后看不到空头信号(`short_signal`)**,那大概率是因为条件太苛刻,在你当前查看的图表、时间周期和币种上**并没有符合这些严格空头条件的K线**。
---
### ✅ 逐项检查你的 `short_signal` 条件:
```pinescript
short_signal = do_tick/st >= 2 and st / (high - low ) >= 0.05 and up_tick/st <= 0.75 and close < low
```
#### 解释:
1. `do_tick / st >= 2`:前一根K线下影线明显大于实体(**下影线 >= 实体的2倍**)✅
2. `st / (high - low ) >= 0.05`:实体不能太小(至少占K线5%)✅
3. `up_tick / st <= 0.75`:上影线不能太大 ✅
4. `close < low `:当前K线收盘价要**跌破前一根K线最低价**(这可能比较苛刻❗)
---
### 🔍 为什么很少或没有出现空头信号?
通常是因为 **`close < low `** 是比较少见的情况(意味着当前K线**收盘直接创新低**),在大部分正常震荡或下跌过程中,K线更多是影线破位而不是**实体收盘破位**。
---
### ✅ 如何验证问题?
你可以临时在图表中添加一个调试输出,例如:
```pinescript
label.new(bar_index, high, text="✓", color=color.red) if short_signal
```
或者添加调试 `plot`:
```pinescript
plot(close < low ? 1 : na, title="收盘破前低", color=color.red)
```
你会发现这个条件非常少成立。
---
### ✅ 两个可选改进方式:
#### ✅ 方式1:放宽空头条件的“收盘破低”为“最低价破低”
```pinescript
short_signal = do_tick/st >= 2 and st / (high - low ) >= 0.05 and up_tick/st <= 0.75 and low < low
```
这样只要**当前K线最低价跌破前低**就算空头信号,触发率大幅提升。
---
#### ✅ 方式2:同时显示条件组件,方便你调试
```pinescript
plotshape(do_tick/st >= 2, title="下影线够长", location=location.top, color=color.blue, style=shape.circle)
plotshape(st / (high - low ) >= 0.05, title="实体不小", location=location.top, color=color.yellow, style=shape.circle)
plotshape(up_tick/st <= 0.75, title="上影线不大", location=location.top, color=color.orange, style=shape.circle)
plotshape(close < low , title="收盘破低", location=location.top, color=color.red, style=shape.triangledown)
```
这样可以清晰地看到哪一个条件没有被满足。
---
如果你愿意,我也可以根据你的交易风格(比如追空激进 or 保守),重新优化空头条件。是否要我为你设计一个更高触发率的版本?
GBPUSD V2"GBPUSD V2" is a multi-confirmation trading strategy built specifically for GBP/USD, but adaptable to other major forex pairs. It combines Heikin-Ashi candles with EMA, MACD, RSI, and ADX filters to generate high-probability long and short signals.
Key Features:
📊 Heikin-Ashi EMA Trend Filter to smooth price action and filter direction
📈 MACD Crossovers confirm momentum entry points
🔍 RSI Thresholds for overbought/oversold validation
📉 ADX Filter ensures entries only occur in strong trending conditions
🕒 Customizable Time Session and Weekday Filters – trade only during preferred hours and days
🔁 Optional Multi-Timeframe Confirmation to align lower timeframe signals with higher timeframe EMA trends
📏 ATR-Based TP/SL Calculations with optional candle quality check
✅ Backtested and optimized on the 10-minute timeframe (M10), making it well-suited for short-term intraday strategies.
This strategy is suitable for both manual and automated trading approaches, especially for intraday and swing traders who prioritize precision and signal quality.
RCI Ribbon with Cross Signals (Filtered)nothing to say just use itnothing to say just use itnothing to say just use itnothing to say just use it
RSI-GringoRSI-Gringo — Stochastic RSI with Advanced Smoothing Averages
Overview:
RSI-Gringo is an advanced technical indicator that combines the concept of the Stochastic RSI with multiple smoothing options using various moving averages. It is designed for traders seeking greater precision in momentum analysis, while offering the flexibility to select the type of moving average that best suits their trading style.
Disclaimer: This script is not investment advice. Its use is entirely at your own risk. My responsibility is to provide a fully functional indicator, but it is not my role to guide how to trade, adjust, or use this tool in any specific strategy.
The JMA (Jurik Moving Average) version used in this script is a custom implementation based on publicly shared code by TradingView users, and it is not the original licensed version from Jurik Research.
What This Indicator Does
RSI-Gringo applies the Stochastic Oscillator logic to the RSI itself (rather than price), helping to identify overbought and oversold conditions within the RSI. This often leads to more responsive and accurate momentum signals.
This indicator displays:
%K: the main Stochastic RSI line
%D: smoothed signal line of %K
Upper/Lower horizontal reference lines at 80 and 20
Features and Settings
Available smoothing methods (selectable from dropdown):
SMA — Simple Moving Average
SMMA — Smoothed Moving Average (equivalent to RMA)
EMA — Exponential Moving Average
WMA — Weighted Moving Average
HMA — Hull Moving Average (manually implemented)
JMA — Jurik Moving Average (custom approximation)
KAMA — Kaufman Adaptive Moving Average
T3 — Triple Smoothed Moving Average with adjustable hot factor
How to Adjust Advanced Averages
T3 – Triple Smoothed MA
Parameter: T3 Hot Factor
Valid range: 0.1 to 2.0
Tuning:
Lower values (e.g., 0.1) make it faster but noisier
Higher values (e.g., 2.0) make it smoother but slower
Balanced range: 0.7 to 1.0 (recommended)
JMA – Jurik Moving Average (Custom)
Parameters:
Phase: adjusts responsiveness and smoothness (-100 to 100)
Power: controls smoothing intensity (default: 1)
Tuning:
Phase = 0: neutral behavior
Phase > 0: more reactive
Phase < 0: smoother, more delayed
Power = 1: recommended default for most uses
Note: The JMA used here is not the proprietary version by Jurik Research, but an educational approximation available in the public domain on TradingView.
How to Use
Crossover Signals
Buy signal: %K crosses above %D from below the 20 line
Sell signal: %K crosses below %D from above the 80 line
Momentum Strength
%K and %D above 80: strong bullish momentum
%K and %D below 20: strong bearish momentum
With Trend Filters
Combine this indicator with trend-following tools (like moving averages on price)
Fast smoothing types (like EMA or HMA) are better for scalping and day trading
Slower types (like T3 or KAMA) are better for swing and long-term trading
Final Tips
Tweak RSI and smoothing periods depending on the time frame you're trading.
Try different combinations of moving averages to find what works best for your strategy.
This indicator is intended as a supporting tool for technical analysis — not a standalone decision-making system.
Euclidean Range [InvestorUnknown]The Euclidean Range indicator visualizes price deviation from a moving average using a geometric concept Euclidean distance. It helps traders identify trend strength, volatility shifts, and potential overextensions in price behavior.
Euclidean Distance
Euclidean distance is a fundamental concept in geometry and machine learning. It measures the "straight-line distance" between two points in space. In time series analysis, it can be used to measure how far one sequence deviates from another over a fixed window.
euclidean_distance(src, ref, len) =>
var float sum_sq_diff = na
sum_sq_diff := 0.0
for i = 0 to len - 1
diff = src - ref
sum_sq_diff += diff * diff
math.sqrt(sum_sq_diff)
In this script, we calculate the Euclidean distance between the price (source) and a smoothed average (reference) over a user-defined window. This gives us a single scalar that reflects the overall divergence between price and trend.
How It Works
Moving Average Calculation: You can choose between SMA, EMA, or HMA as your reference line. This becomes the "baseline" against which the actual price is compared.
Distance Band Construction: The Euclidean distance between the price and the reference is calculated over the Window Length. This value is then added to and subtracted from the average to form dynamic upper and lower bands, visually framing the range of deviation.
Distance Ratios and Z-Scores: Two distance ratios are computed: dist_r = distance / price (sensitivity to volatility); dist_v = price / distance (sensitivity to compression or low-volatility states)
Both ratios are normalized using a Z-score to standardize their behavior and allow for easier interpretation across different assets and timeframes.
Z-Score Plots: Z_r (white line) highlights instances of high volatility or strong price deviation; Z_v (red line) highlights low volatility or compressed price ranges.
Background Highlighting (Optional): When Z_v is dominant and increasing, the background is colored using a gradient. This signals a possible build-up in low volatility, which may precede a breakout.
Use Cases
Detect volatile expansions and calm compression zones.
Identify mean reversion setups when price returns to the average.
Anticipate breakout conditions by observing rising Z_v values.
Use dynamic distance bands as adaptive support/resistance zones.
Notes
The indicator is best used with liquid assets and medium-to-long windows.
Background coloring helps visually filter for squeeze setups.
Disclaimer
This indicator is provided for speculative analysis and educational purposes only. It is not financial advice. Always backtest and evaluate in a simulated environment before live trading.
TradeJorno - Time + Price Levels
Tired of manually drawing and updating important ICT or SMC time and price levels on your charts every day?
Here’s an indicator to draw important TIME and PRICE levels automatically.
Here’s what you can highlight in realtime on your charts:
1. Previous major highs and lows
⁃ Previous daily and weekly highs and low
- Weekly dividing lines
2. Session highs/lows
⁃ Plot the high and low of Asia and London sessions.
⁃ Customise the timeframe and appearance on the chart.
- Previous session settlement price.
3. Various price levels
⁃ Pre-market opening prices : midnight, 7:30 and 8:30
⁃ Regular market opening prices: 9:30, 10:00, 14:00
- end of session settlement prices
4. Market opening range high and low
⁃ Lines extending throughout the current session
⁃ Customise the timeframe and appearance on the chart.
5. ICT Macro times
- Draw customisable vertical lines and labels to indicate the start of each ICT macro
period.
Let us know in the comments below if there’s anything else we need to add!
Green Candle Buy Signal with Target Confirmationthis is fantastic signal for buy and sell .
simple strategy works in this market,
Scalping Edge StrategyScalping Edge Strategy
Major exchanges: OKX, KuCoin, Bybit
Trading Checklist
- Is volatility and liquidity present?
- Are indicators aligned?
- Is entry clean?
- Is SL/TP defined before entry?
Pair TradingPAIR TRADING
Description:
This indicator is a simple and intuitive tool for rotating between two assets based on their relative price ratio. By comparing the prices of Asset A and Asset B, it plots a “ratio line” (gray) with dynamic upper and lower boundaries (red and blue).
When the ratio reaches the red line, Asset A is expensive → rotate out of A and into B.
When the ratio touches the blue line, Asset A is cheap → rotate back into A.
The chart also shows:
🔹 Background highlights for visual cues
🔹 “Rotate to A” or “Rotate to B” markers for easy decisions
🔹 A live summary table with mean ratio, upper/lower boundaries, and current ratio
How to Use:
Select Asset A and Asset B in the settings.
Adjust the Lookback Period and Threshold if needed.
Watch the gray ratio line as it moves:
Above red line? → Consider rotating into B
Below blue line? → Consider rotating into A
Use the background color changes and rotation labels to spot clear rotation opportunities!
Why Pair Trading?
Pair trading is a powerful way to manage a portfolio because it neutralizes market direction risk and focuses on relative value.
By rotating between correlated assets, you can:
Smooth out returns
Avoid holding a weak asset too long
Capture reversion when assets diverge too far
This approach can enhance risk-adjusted returns and help keep your portfolio balanced and nimble!
How to Pick Pairs:
Choose assets with strong correlation or similar drivers.
Look for common trends (sector, macro).
Start with assets you know best (high-conviction ideas).
Make sure both have good liquidity for reliable trading!
TO HELP FIND CORRELATED ASSETS:
Use the Correlation Coefficient indicator in TradingView:
Click Indicators
Search for “Correlation Coefficient”
Add it to your chart
Input the symbol of the second asset (e.g., if you’re on MSTR, input TSLA).
This plots the rolling correlation coefficient — super helpful!
Pair trading can turn big swings into steady rotations and help you stay active even when the market is choppy. It’s a simple, practical approach to keep your portfolio balanced.
EMA 5 & E 20 Cross [Dr.K.C.Prakash]📊 Indicator Name:
EMA 5 & E 20 Cross
🧠 Concept:
This is a trend-following indicator built on the concept of Exponential Moving Average (EMA) crossovers, specially optimized for 1-minute intraday trading. It is designed to eliminate noise and provide accurate BUY and SELL signals during strong, sustained market trends — not during minor or choppy price moves.
⚙️ How It Works:
🔹 EMAs Used:
EMA 5: A short-term exponential moving average to quickly track price momentum.
EMA 20: A medium-term exponential moving average to act as a smoother trend anchor.
🔹 Signal Logic:
Buy Signal:
Triggered when EMA 5 stays above EMA 20 for a specified number of consecutive candles (default: 3).
This confirms a sustained bullish crossover.
A green label with "BUY" appears below the bar.
Sell Signal:
Triggered when EMA 5 stays below EMA 20 for the same number of consecutive candles.
This confirms a sustained bearish crossover.
A red label with "SELL" appears above the bar.
🧹 Noise Reduction:
Filters out fakeouts or “whipsaws” by requiring that the crossover condition persists for a number of bars (minTrendBars).
Greatly improves signal reliability, especially on 1-minute timeframes, where price action is volatile.
📈 Visual Elements:
Orange Line: EMA 5
Blue Line: EMA 20
Green “BUY” label: Below candle when bullish trend confirms
Red “SELL” label: Above candle when bearish trend confirms
✅ Ideal Use Case:
Intraday trading
1-minute timeframe
Traders who want to catch longer trends and ignore short-term fluctuations
🔧 Customizable Inputs:
Short EMA Length: Default 5 (can be changed)
Long EMA Length: Default 20 (can be changed)
Min Bars to Confirm Trend: Default 3 (defines how long crossover must persist to count as a valid signal)
🛠️ Add-On Ideas (Optional Enhancements):
Would you like to add any of the following?
📢 TradingView alerts (Buy/Sell notifications)
🔁 Re-entry signals in same trend direction
📊 Combine with Volume filter or ATR breakout confirmation
Market Pulse ProMarket Pulse Pro (Pulse‑X) — User Guide
Market Pulse Pro, also known as Pulse‑X, is an advanced momentum indicator that combines SMI, Stochastic RSI, and a smoothed signal line to identify zones of buying and selling strength in the market. It is designed to assess the balance of power between bulls and bears with clear visualizations.
How It Works
The indicator calculates three main components:
SMI (Stochastic Momentum Index) – measures price position relative to its recent range.
Stochastic RSI – captures overbought/oversold extremes of the RSI.
Smoothed Signal Line – based on closing price, smoothed using various methods (such as HMA, EMA, etc.).
Each component is normalized to create two final values:
Bull Herd (Buying Strength) – green line.
Bear Winter (Selling Strength) – red line.
Interpretation
Bull Herd (high green values): Bulls dominate the market. May indicate the start or continuation of an uptrend.
Bear Winter (high red values): Bears dominate. May indicate reversal or continuation of a downtrend.
Convergence around 50%: Market is balanced. Signals are weaker or indecisive.
Tip: Combine with price action analysis or support/resistance levels to confirm entries.
Customizable Settings
You can adjust:
SMI Period, Smooth K, and D – control the sensitivity of the SMI.
RSI Period – sets the RSI calculation window.
Signal Period – period for the price-based signal line.
Smoothing Methods – choose between HMA, EMA, WMA, JMA, SMMA, etc.
Line Width – thickness of the plotted lines.
Note: The JMA (Jurik Moving Average) used in this script is not the original proprietary version.
It is a custom public version, based on open-source code shared by the TradingView community.
The original JMA is copyrighted and owned by Jurik Research.
How to Use It in Practice
Buy Entries
When the green Bull Herd line crosses above 60 and the red Bear Winter line falls below 40.
Entry is more reliable if the green line is rising steadily.
Sell Entries
When the red Bear Winter line crosses above 60 and the green Bull Herd line falls.
Signals are stronger when there is a clear crossover and divergence between the two lines.
Avoid trading near the neutral zone (~50%), where the market shows indecision.
Additional Tips
Combine with volume analysis or reversal candlestick patterns for higher accuracy.
Test different smoothing methods: HMA is more responsive, SMMA is smoother and slower.
Liquidity Engulfing (Nephew_Sam_)🔥 Liquidity Engulfing Multi-Timeframe Detector
This indicator finds engulfing bars which have swept liquidity from its previous candle. You can use it across 6 timeframes with fibonacci entries.
⚡ Key Features
6 Customizable Timeframes - Complete market structure analysis
Smart Liquidity Detection - Finds patterns that sweep liquidity then reverse
Real-Time Status Table - Confirmed vs unconfirmed patterns with color coding
Fibonacci Integration - 5 customizable fib levels for precise entries
HTF → LTF Strategy - Spot reversals on higher timeframes, enter on lower timeframe fibs
📈 Engulfing Rules
Bullish: Current candle bullish + previous bearish + current low < previous low + current close > previous open
Bearish: Current candle bearish + previous bullish + current high > previous high + current close < previous open
Gaps cerca de cerrarseThis script identifies price gaps that are still open and highlights only those that are close to being filled — within 10% of the original gap size. It draws horizontal lines at the previous day's close (gap reference level) and labels them when the current price is approaching gap closure. Useful for gap traders who want to focus on actionable setups with high likelihood of completion.
XAU Currency Strength Indexxau CORRELTATION
Composite strength index of gold against non-USD currencies
TeeLek-HedgingRibbonIf we are DCA some assets and it happens to be in a downtrend, sitting and waiting is the best way, but it is not easy to do. There are other ways that allow us to buy DCA and keep collecting more. While the market is falling, don't be depressed. The more you buy, the more it drops. Should you continue buying? Plus, if it goes back to an uptrend, you will also get extra profit. Let's go check it out.
ถ้าเรา DCA ทรัพย์สินอะไรซักอย่างนึงอยู่ แล้วมันดันเป็นขาลงพอดี จะนั่งรอเฉยๆ เป็นวิธีที่ดีที่สุด แต่ไม่ได้ทำกันได้ง่ายๆ นะ ยังมีวิธีอื่นอีก ที่ให้เราสามารถ ซื้อ DCA เก็บของเพิ่มได้เรื่อยๆ ระหว่างที่ตลาดร่วง ไม่จิตตก ยิ่งซื้อ ยิ่งลง จะซื้อต่อดีไหม? แถมถ้า กลับมาเป็นขาขึ้น ยังมีกำไรแถมให้ด้วยนะ ไปหาดูกัน
SMA 5 & 50 Up and Down VisualisationIntroducing the TomTurboInvest TTI_SMA_5/50 Indicator – a powerful tool designed to identify short- and mid-term trends with ease. The indicator highlights upward and downward movements, visually supported by background colors for clearer trend recognition.
If both SMA5 and SMA50 are upwards the background is colored in green
If both SMA5 and SMA50 are downwards the background is colored in red