Chikou (Lagging line) vs Price26, IchimokuFor Ichimoku strategy in chart or/also in screens.
Checks if Lagging line actual value is above or below price 26 periods ago.
In superchart label is shown describing if over or below. Colour green/red.
/Håkan from Sweden
指標和策略
TAKA Auto Retrace + SL v4.2Automatically detects market trend and displays dynamic retracement zones for buy-the-dip and sell-the-rally setups, with an adaptive Stop-Loss line.
⸻
⚙️ Logic Overview
• Trend Detection: Based on the relationship between SMA 20 and SMA 60
• Uptrend → Blue zone (Buy the Dip)
• Downtrend → Red zone (Sell the Rally)
• Retracement Levels: Auto-draws Fibonacci 0.382 – 0.618 range
• Stop-Loss Mode: Select from
• Fib 0.786 (default)
• Structure (last swing high/low)
• ATR-based (volatility adaptive)
⸻
🎯 How to Use
1️⃣ Add the indicator to your chart
2️⃣ Adjust len to fit the latest swing move
3️⃣ When price enters the zone, wait for a confirmation signal (arrow, BOS, MACD cross)
4️⃣ Enter after the 0.5 breakout
5️⃣ SL = auto-generated line
TP = 0.382 → 0.236 → 1.0 partial targets
⸻
🧩 Recommended Combo
N-Wave or Dow Theory × MACD × TAKA Retrace
= “Wait on the zone, strike on the signal.”
⸻
Short version (for compact description):
Auto trend detection via SMA 20/60.
Draws Fibonacci 0.382–0.618 zones with adaptive Stop-Loss (Fib / Structure / ATR).
Uptrend = Buy zone | Downtrend = Sell zone.
⸻
That fits TradingView’s description box and looks clean when published
市場トレンドを自動で判定し
「押し目買い」「戻り売り」ゾーンを自動表示
さらにボラティリティに対応した損切りラインも描画します
⸻
ロジック概要
• トレンド判定:SMA20とSMA60の関係で方向を判断
• 上昇トレンド → 青帯(押し目買い)
• 下落トレンド → 赤帯(戻り売り)
• リトレース描画:フィボナッチ0.382〜0.618を自動描画
• 損切り方式(選択可)
• Fib 0.786(基本形)
• Structure(直近高安)
• ATR(ボラティリティ対応)
⸻
使い方
1️⃣ チャートに追加
2️⃣ lenを調整し、直近のスイングに合わせる
3️⃣ 価格が帯に入ったらサイン(矢印・BOS・MACDクロス)を待つ
4️⃣ 0.5ライン突破でエントリー
5️⃣ SL=自動ライン / TP=0.382→0.236→1.0で分割利確
⸻
推奨組み合わせ
N波動 or ダウ理論 × MACD × TAKA Retrace
=「ゾーンで待ち、サインで撃つ」戦略
GRG/RGR Signal, MA, Ranges and PivotsThis indicator is a combination of several indicators.
It is a combination of two of my indicators which I solely use for trading
1. EMA 10-20-50-200, Pivots and Previous Day/Week/Month range
2. 3/4-Bar GRG / RGR Pattern (Conditional 4th Candle)
You can use them individually if you already have some of them or just use this one. Belive me when I say, this is all you need, along with market structure knowlege and even if you don’t have that, this indicator has been doing wonders for me. This is all I use. I do not use anything else.
**Note - Do checkout the indicators individually as I have added valuable information in the comment section.
It contains the following,
1. 10 EMA/SMA - configurable
2. 20 EMA/SMA - configurable
3. 50 EMA/SMA - configurable
4. 200 EMA/SMA - configurable
5. Previous Day's Range
6. Previous Week's Range
7. Previous Month's Range
8. Pivots
9. Buy Sell Signal
The Moving Averages
It is a very important combination and using it correctly with price action will strengthen your entries and exits.
The ema's or sma's added are the most powerful ones and they do definitely act as support and resistance.
The Daily/Weekly/Monthly Ranges
The Daily/Weekly/Monthly ranges are extremely important for any trader and should be used for targets and reversals.
Pivots
Pivots can provide support and resistance level. R5 and S5 can be used to check for over stretched conditions. You can customise them however you like. It is a full pivot indicator.
It is defaulted to show R5 and S5 only to reduce noise in the chart but it can be customised.
The 3/4 RGR or GRG Signal Generator
Combined with a 3/4 RGR or GRG setup can be all a trader needs.
You don't need complex strategies and SMC concepts to trade. Simple EMAs, ranges and RGR/GRG setup is the most winning combination.
This indicator can be used to identify the Green-Red-Green or Red-Green-Red pattern.
It is a price action indicator where a price action which identifies the defeat of buyers and sellers.
If the buyers comprehensively defeat the sellers then the price moves up and if the sellers defeat the buyers then the price moves down.
In my trading experience this is what defines the price movement.
It is a 3 or 4 candle pattern, beyond that i.e, 5 or more candles could mean a very sideways market and unnecessary signal generation.
How does it work?
Upside/Green signal
1. Say candle 1 is Green, which means buyers stepped in, then candle 2 is Red or a Doji, that means sellers brought the price down. Then if candle 3 is forming to be Green and breaks the closing of the 1st candle and opening of the 2nd candle, then a green arrow will appear and that is the place where you want to take your trade.
2. Here the buyers defeated the sellers.
3. Sometimes candle 3 falls short but candle 4 breaks candle 1's closing and candle 2's opening price. We can enter on candle 4.
4. Important - We need to enter the trade as soon as the price moves above the candle 1 and 2's body and should not wait for the 3rd or 4th candle to close. Ignore wicks.
5. But for a more optimised entry I have added an option to use candle’s highs and lows instead of open and close. This reduces lot of noise and provides us with more precise entry. This setting is turned on by default.
6. I have restricted it to 4 candles and that is all that is needed. More than that is a longer sideways market.
7. I call it the +-+ or GRG pattern or Green-Red-Green or Buyer-Seller-Buyer or Seller defeated or just Buyer pattern.
8. Stop loss can be candle 2's mid for safe traders (that includes me) or candle 2's body low for risky traders.
9. Back testing suggests that body low will be useless and result in more points in loss because for the bigger move this point will not be touched, so why not get out faster.
Downside/Red signal
1. Say candle 1 is Red, which means sellers stepped in, then candle 2 is Green or a Doji, that means buyers took the price up. Then if candle 3 is forming to be Red and breaks the closing of the 1st candle and opening of the 2nd candle then a Red arrow will appear and that is the place where you want to take your trade.
2. Sometimes candle 3 falls short but candle 4 breaks candle 1's closing and candle 2's opening price. We can enter on candle 4.
3. We need to enter the trade as soon as the price moves below the candle 1 and 2's body and should not wait for the 3rd or 4th candle to close.
4. But for a more optimised entry I have added an option to use candle’s highs and lows instead of open and close. This reduces lot of noise and provides us with more precise entry. This setting is turned on by default.
5. I have restricted it to 4 candles and that is all that is needed. More than that is a longer sideways market.
6. I call it the -+- or RGR pattern or Red-Green-Red or Seller-Buyer-Seller or Buyer defeated or just Seller pattern.
7. Stop loss can be candle 2's mid for safe traders ( that includes me) or candle 2's body high for risky traders.
8. Back testing suggests that body high will be useless and result in more points in loss because for the bigger move this point will not be touched, so why not get out faster.
Important Settings
1. Include 4th Candle Confirmation - You can enable or disable the 4th candle signal to avoid the noise, but at times I have noticed that the 4th candle gives a very strong signal or I can say that the strong signal falls on the 4th candle. This is mostly a coincidence.
2. Bars to check (default 10) - You can also configure how many previous bars should the signal be generated for. 10 to 30 is good enough. To backtest increase it to 2000 or 5000 for example.
3. Use Candle High/Low for confirmation instead of Candle Open/Close - More optimized entry and noise reduction. This option is now defaulted to false.
4. Show Green-Red-Green (bull) signals - Show only bull entries. Useful when I have a predefined view i.e, I know market is going to go up today.
5. Show Red-Green-Red (bear) signals - Show only bear entries. Useful when I have a predefined view i.e, I know market is going to go down today.
6. 3rd candle should be a Strong candle before considering 4th candle - This will enforce additional logic in 4 candle setup that the 3rd candle is the candle in our direction of breakout. This means something like GRGG is mandatory, which is still the default behaviour. If disabled, the 3rd candle can be any candle and 4th candle will act as our breakout candle. This behaviour has led to breakouts and breakdowns as times, hence I added this as a separate feature. Vice-versa for a RGGR.
For a 4 candle setup till now we were expecting GRGG or RGRR but we can let the system ignore the 3rd candle completely if needed.
This will result in additional signals.
7. Three intraday ranges added for index and stock traders - 1 min, 5 min and 15 min ranges will be displayed. These are disabled by default except 15 min. These are very important ranges and in sideways days the price will usually move within the 15 min. A breakout of this range and a positive signal can be a very powerful setup.
Safe traders can avoid taking a trade in this range as it can lead to fakeouts.
The line style, width, color and opacity are configurable.
Pointers/Golden Rules
1. If after taking the trade, the next candle moves in your direction and closes strong bullish or bearish, then move SL to break even and after that you can trail it.
2. If a upside trade hits SL and immediately a down side trade signal is generated on the next candle then take it. Vice versa is true.
3. Trades need to be taken on previous 2 candle's body high or low combined and not the wicks.
4. The most losses a trader takes is on a sideways day and because in our strategy the stop loss is so small that even on a sideways day we'll get out with a little profit or worst break even.
5. Hold trades for longer targets and don't panic.
6. If last 3-4 days have been sideways then there is a good probability that today will be trending so we can hold our trade for longer targets. Inverse is true when the market has been trending for 2-3 days then volatility followed by sideways is coming (DOW theory). Target to hold the trade for whole day and not exit till the day closes.
7. In general avoid trading in the middle of the day for index and stocks. Divide the day into 3 parts and avoid the middle.
8. Use Support/Resistance, 10, 20, 50, 200 EMA/SMA, Gaps, Whole/Round numbers(very imp) for identifying targets.
9. Trail your SL.
10. For indexes I would use 5 min and 15 min timeframe and at times 10 mins.
11. For commodities and crypto we can use higher timeframe as well. Look for signals during volatile time durations and avoid trading the whole day. Signal usually gives good targets on those times.
12. If a GRG or RGR pattern appears on a daily timeframe then this is our time to go big.
13. Minimum Risk to Reward should be 1:2 and for longer targets can be 1:4 to 1:10.
14. Trade with small lot size. Money management will happen automatically.
15. With small lot size and correct Risk-Reward we can be very profitable. Don't trade with big lot size.
16. Stay in the market for longer and collect points not money.
17. Very imp - Watch market and learn to generate a market view.
18. Very imp - Only 3 type of candles are needed in trading -
Strong Bullish (Big Green candle), Strong Bearish (Big Red candle),
Hammer (it is Strong Bullish), Inverse Hammer (it is Strong Bearish)
and Doji (indecision or confusion).
If on daily timeframe I see Strong Bullish candle previous day then I am biased to the upside the next day, if I see Strong Bearish candle the previous day then I am biased to the downside the next day, if I see Doji on the previous day then I am cautious the next day, if there are back to back Dojis forming in daily or weekly then I am preparing for big move so time to go big once I get the signal.
19. Most Important Candlestick pattern - Bullish and Bearish Engulfing
20. The only Chart patterns I need -
a) Falling Wedge Bullish Pattern Uptrend or Bull Flag - Buying - Forming over a couple days for intraday and forming over a couple of weeks for swing
b) Falling Wedge Bullish Pattern Downtrend or Falling Channel - Buying
c) Rising Wedge Bearish Pattern Uptrend or Rising Channel - Selling
d) Rising Wedge Bearish Pattern Downtrend or Bear flag - Selling
e) M and W pattern - Reversal Patterns - They form within the above 4 patterns, usually resulting in the break of trend line
21. How Gaps work -
a) Small Gap up in Uptrend - Market can fill the gap and reverse. The perception is that people are buying. If previous day candle was Strong Bullish then market view is up.
b) Big Gap up in Uptrend - Not news driven - Profit booking will come but may not fill the entire gap
c) Big Gap up in Uptrend - News driven, war related, tax, interest rate - Market can keep going up without stopping.
c) Flat opening in Uptrend - Big chance of market going up. If previous day candle was Strong Bullish then view is upwards, if it was Doji then still upwards.
d) Gap down in Uptrend - Market is surprised. After going down initially it can go up
e) Small Gap down in Downtrend - Market can fill the gap and keep moving down. If previous day candle was Strong Bearish then view is still down.
f) Flat opening in Downtrend - View is down, short today.
g) Big Gap down in Downtrend - Profit booking and foolish buying will come but market view is still down.
h) Gap down with News - Volatility, sideways then down.
22. Go big on bearish days for option traders. Puts are better bought and Calls are better sold.
23. Cluster of green signals can lead to bigger move on the upside and vice versa for red signals.
24. Most of this is what I learned from successful traders (from the top 2%) only the indicator is mine.
Global Risk Terminal – Multi-Asset Macro Sentiment IndicatorDescription:
The Global Risk Terminal is a sophisticated macro sentiment indicator that synthesizes signals from three key cross-asset relationships to produce a single, actionable risk appetite score. It is designed to help traders and investors identify whether global markets are in a risk-on (growth-seeking) or risk-off (defensive) regime. The indicator analyzes the behavior of commodities, equities, bonds, and currencies to generate a comprehensive view of market conditions.
Indicator Output:
The Global Risk Terminal produces a normalized risk score ranging from -1 to +1:
Positive values indicate risk-on conditions (growth assets favored)
Negative values indicate risk-off conditions (safe-haven assets favored)
Core Components:
Growth Pulse (Copper to Gold Ratio, HG/GC)
Purpose: Measures investor preference for industrial growth versus safe-haven assets.
Interpretation:
Rising ratio → Copper outperforming gold → Risk-on environment
Falling ratio → Gold outperforming copper → Risk-off environment
Flat ratio → Transitional market phase
Technical Implementation: Dual moving average slope method (fast MA default 20, slow MA default 40). Positive slope = +1, negative slope = -1, flat slope = 0
Equity Rotation (Russell 2000 to S&P 500 Ratio, RTY/ES)
Purpose: Tracks rotation between small-cap and large-cap equities, revealing market risk appetite.
Interpretation:
Rising ratio → Small-caps outperforming → Strong risk-on
Falling ratio → Large-caps outperforming → Defensive positioning
Technical Implementation: Dual moving average slope method (same as Growth Pulse)
Flow Gauge (10-Year Treasury to US Dollar Index, ZN/DXY)
Purpose: Captures liquidity conditions and cross-asset capital flows.
Interpretation:
Rising ratio → Treasury prices rising or USD weakening → Liquidity expansion, risk-on environment
Falling ratio → Treasury prices falling or USD strengthening → Liquidity contraction, risk-off environment
Technical Implementation: Dual moving average slope method
Composite Risk Score Calculation:
Analyze each component for trend using dual moving averages
Assign signal values: +1 (risk-on), -1 (risk-off), 0 (neutral)
Average the three signals:
Risk Score = (Growth Pulse + Equity Rotation + Flow Gauge) / 3
Optional smoothing with exponential moving average (default 3 periods) to reduce noise
Interpreting the Risk Score:
+0.66 to +1.0: Full risk-on – favor cyclical sectors, small-caps, growth strategies
+0.33 to +0.66: Moderate risk-on – mostly bullish environment, watch for fading momentum
-0.33 to +0.33: Neutral/transition – markets in flux, signals mixed, exercise caution
-0.66 to -0.33: Cautious risk-off – favor defensive sectors, reduce high-beta exposure
-1.0 to -0.66: Full risk-off – strong defensive positioning, prioritize safe-haven assets
How to Use the Global Risk Terminal to Frame Trades:
Aligning Trades with Market Regime
Risk-On (+0.33 and above): Look for buying opportunities in cyclical stocks, high-beta equities, commodities, and emerging markets. Use long entries for swing trades or intraday positions, following confirmed price action.
Risk-Off (-0.33 and below): Shift focus to defensive sectors, large-cap quality stocks, U.S. Treasuries, and safe-haven currencies. Prefer short entries or reduced exposure in risky assets.
Entry and Exit Framing
Use the risk score as a macro filter before executing trades:
Example: The risk score is +0.7 (strong risk-on). Prefer long positions in equities or commodities that are showing bullish confirmation on your regular chart.
Conversely, if the risk score is -0.7 (strong risk-off), avoid aggressive longs and consider short or defensive trades.
Watch for threshold crossings (+/-0.33, +/-0.66) as potential inflection points for adjusting position size, stop-loss levels, or sector rotation.
Confirming Trade Decisions
Combine the Global Risk Terminal with price action, volume, and trend indicators:
If equities rally but the risk score is declining, this may indicate a fragile rally driven by few leaders—trade cautiously.
If equities fall but the risk score is rising, consider counter-trend entries or buying dips.
Risk Management and Position Sizing
Strong alignment across components → increase position size and hold with wider stops
Mixed or neutral signals → reduce exposure, tighten stops, or avoid new trades
Defensive regimes → rotate into stable, low-volatility assets and increase cash buffer
Framing Trades Across Timeframes
Use the indicator as a strategic guide rather than a precise timing tool. Even without the MTF table:
Daily trend alignment → Guide swing trade bias
Shorter timeframe price action → Refine entry points and stop placement
Example: Daily chart shows +0.6 risk score → identify high-probability long setups using intraday technical patterns (breakouts, trend continuation).
Sector and Asset Rotation
Risk-On: Focus on cyclical sectors (financials, industrials, materials, energy), small-caps, high-beta instruments
Risk-Off: Focus on defensive sectors (utilities, consumer staples, healthcare), large-caps, safe-haven instruments
Alert Integration
Set alerts on the risk score to notify you when markets move from neutral to risk-on or risk-off regimes. Use these alerts to plan entries, exits, or portfolio adjustments in advance.
Customization Options:
Moving Average Length (5–100): Adjust sensitivity of trend detection
Score Smoothing (1–10): Reduce noise or see raw risk score
Visual Themes: Six preset themes (Cyber, Ocean, Sunset, Monochrome, Matrix, Custom)
Display Options: Show or hide component dashboards, main header, risk level lines, gradient fill, and component signals
Label Size: Tiny, Small, Normal, Large
Alert Conditions:
Risk score crosses above +0.66 → Strong risk-on
Risk score crosses below -0.66 → Strong risk-off
Risk score crosses zero → Neutral line
Risk score crosses above +0.33 → Moderate risk-on
Risk score crosses below -0.33 → Moderate risk-off
Data Sources:
HG1! – Copper Futures (COMEX)
GC1! – Gold Futures (COMEX)
RTY1! – Russell 2000 E-mini Futures (CME)
ES1! – S&P 500 E-mini Futures (CME)
ZN1! – 10-Year U.S. Treasury Note Futures (CBOT)
DXY – U.S. Dollar Index (ICE)
Notes and Limitations:
Works best during clear macro regimes and aligned trends
Use with price action, volume, and other technical tools
Not a standalone trading system; serves as a macro context filter
Equal weighting assumes all three components are equally important, but market conditions may vary
Past performance does not guarantee future results
Conclusion:
The Global Risk Terminal consolidates complex cross-asset signals into a simple, actionable score that informs market regime, portfolio positioning, sector rotation, and trading decisions. Its user-friendly layout and extensive customization options make it suitable for traders of all experience levels seeking macro-driven insights. By framing trades around risk score thresholds and combining macro context with tactical execution, traders can identify higher-probability opportunities and optimize position sizing, entries, and exits across a wide range of market conditions.
AI Predictive Market Movement ProAI Predictive Market Movement Pro is a next-generation, data-driven trading strategy designed to analyze trend strength, momentum, and volatility in real time to forecast potential market direction. Using advanced normalization and weighted scoring, this strategy generates a Predictive Score that identifies optimal BUY and SELL opportunities with visual clarity.
It dynamically adapts to market conditions through adjustable parameters for trend, momentum, and volatility, combined with customizable Take-Profit (TP) and Stop-Loss (SL) levels. The AI-inspired algorithm detects market reversals and continuation points with high precision, helping traders stay on the right side of price movement.
Key Features:
📈 Intelligent Predictive Scoring (trend, momentum, volatility weighted blend)
⚡ Auto-generated Buy/Sell signals with visual markers
🎯 Customizable Take-Profit and Stop-Loss percentages
🧩 Adjustable sensitivity for more conservative or aggressive trading styles
🌈 Dynamic color visualization for market bias (green = bullish, red = bearish)
🔔 Integrated TradingView alerts for real-time notifications
Ideal For:
Scalpers, day traders, and swing traders who want a smart, adaptive, and visually intuitive AI-powered trading companion.
Advanced HMM - 3 States CompleteHidden Markov Model
Aconsistent challenge for quantitative traders is the frequent behaviour modification of financial
markets, often abruptly, due to changing periods of government policy, regulatory environment
and other macroeconomic effects. Such periods are known as market regimes. Detecting such
changes is a common, albeit difficult, process undertaken by quantitative market participants.
These various regimes lead to adjustments of asset returns via shifts in their means, variances,
autocorrelation and covariances. This impacts the effectiveness of time series methods that rely
on stationarity. In particular it can lead to dynamically-varying correlation, excess kurtosis ("fat
tails"), heteroskedasticity (volatility clustering) and skewed returns.
There is a clear need to effectively detect these regimes. This aids optimal deployment of
quantitative trading strategies and tuning the parameters within them. The modeling task then
becomes an attempt to identify when a new regime has occurred adjusting strategy deployment,
risk management and position sizing criteria accordingly.
A principal method for carrying out regime detection is to use a statistical time series tech
nique known as a Hidden Markov Model . These models are well-suited to the task since they
involve inference on "hidden" generative processes via "noisy" indirect observations correlated
to these processes. In this instance the hidden, or latent, process is the underlying regime state,
while the asset returns are the indirect noisy observations that are influenced by these states.
Key Levels :)Key Levels from Anne-Marie Youtube video.
Thanks to her for the time, hope you find it useful.
H1 ATR on your chartThis indicator clearly displays (in the bottom left corner) the value of the H1 ATR across all timeframes.
Fractal Closes📘 Fractal Closes
Description:
Fractal Closes is a minimal, time-based indicator that shows which higher-timeframe cycles (1 D → 11 D) are closing within the next 24 hours.
It helps you instantly identify daily and multi-day fractal completions without switching charts — keeping your focus on timing, structure, and confluence.
Features
Scans 1 D → 11 D fractal periods automatically.
Displays only the cycles closing today (within 24 h).
Works consistently across all chart timeframes.
Transparent, minimal bottom-right table — no clutter.
Ideal For:
Traders who want to track short-term cycle completions (1-to-11-day) for time-based confluence, session alignment, or timing reversals.
Fractal ModelFractal Model - Higher Timeframe Analysis with Market Structure Labeling
A higher timeframe candle visualization tool enhanced with fractal pattern detection and market structure labeling system for pivot-based price action analysis.
What This Script Does:
This indicator displays higher timeframe candles on your current chart and identifies key pivot formations using a systematic labeling approach. It helps traders understand market structure and potential reversal points through comprehensive pivot analysis.
Key Features:
• Higher Timeframe Visualization: Shows HTF candles without switching timeframes
• Market Structure Labeling: Identifies pivot components with C2, C3, and C4 labels
• Fractal Pattern Detection: Marks areas where price is likely to form wicks based on pivot logic
• Sweep Confirmation: Detects when price sweeps previous levels but closes opposite
• Fair Value Gap Detection: Identifies imbalance zones between candle ranges
• Alert System: Sends alerts when fractal pattern formations are confirmed using pivot logic
• Silver Fractal Pattern Alerts: Special alerts during specific market hours
How Market Structure Labeling Works:
The labeling system identifies pivot formations based on their structure:
• C2: The pivot candle that "sticks out" - this is the candle that creates the pivot point using standard pivot logic
• C3: The distribution candle that follows a 3-candle pivot formation - this is where we expect distribution or sharp moves after the sticking out candle
• C4: The distribution candle that follows a 4+ candle pivot formation - this is where we expect distribution or sharp moves after the sticking out candle (used when the pivot extends beyond 3 candles)
CISD (Candle In Series Distribution):
CISD represents price recovering from the aggressive move that went into a higher timeframe candle extreme. It's the price action that follows after a significant move into a HTF level, showing how the market distributes or consolidates after the initial aggressive move.
Fair Value Gaps (FVG):
FVG identifies imbalance zones between candle ranges where price left a gap. These zones often act as support/resistance levels and are areas where price tends to return to fill the imbalance.
Volume Imbalance (VI):
Volume Imbalance detection identifies areas where there's an imbalance in volume between candles, often indicating institutional activity or significant order flow changes.
Projections:
The indicator calculates projection levels based on the range of the series that was broken. These projections extend from the break point and can help identify potential target levels for price movement.
Sweep Logic:
A sweep occurs when price breaks a previous high or low but then closes back in the opposite direction, creating a "wick" or "liquidity grab." This often indicates that the level was tested and rejected, potentially leading to a reversal.
Silver Fractal Patterns:
Special fractal patterns that occur during specific market hours (4th-5th candle of the trading day or 4th candle after 1PM ET). These patterns have additional confirmation requirements and are considered higher probability setups due to their timing in relation to market structure.
Position Sizing:
The indicator includes position sizing calculations based on risk parameters, helping traders determine appropriate position sizes based on their account balance and risk tolerance.
Alert System:
The indicator provides alerts when:
• Fractal pattern formations are created and confirmed
• Price sweeps fractal pattern levels with proper confirmation
• Silver fractal pattern formations occur during specific market hours
• Fractal pattern sweep confirmations are triggered
Practical Usage:
1. Add the indicator to your chart
2. Watch for fractal pattern formations (highlighted zones)
3. Look for C2, C3, C4 labels to understand pivot structure
4. Use sweep confirmations for entry timing
5. Set up alerts for fractal pattern confirmations and sweeps
Technical Implementation:
Logarithmic Midpoint Calculation:
The fractal pattern levels are calculated using logarithmic midpoint analysis:
• Log Values: log_high = ln(high), log_low = ln(low), log_open = ln(open), log_close = ln(close)
• Wick Analysis: upper_wick = log_high - max(log_open, log_close), lower_wick = min(log_open, log_close) - log_low
• Body Size: body_size = |log_close - log_open|
• Midpoint Logic: If max(upper_wick, lower_wick) > body_size, use wick-based midpoint; otherwise use (log_high + log_low)/2
• Final Level: Fractal pattern level = exp(log_mid_level)
Fractal Pattern Formation Conditions:
The indicator detects several types of fractal patterns:
Standard Patterns:
• Standard Bearish: last_closed.h > prev_closed.h AND last_closed.c < prev_closed.h
• Standard Bullish: last_closed.l < prev_closed.l AND last_closed.c > prev_closed.l
Expansive Patterns (Higher timeframe context):
• Expansive Bearish: prev_closed.h > prev_prev_closed.h AND last_closed.c < max(prev_closed.o, prev_closed.c)
• Expansive Bullish: prev_closed.l < prev_prev_closed.l AND last_closed.c > min(prev_closed.o, prev_closed.c)
Pro-trend Patterns (Midpoint-based):
• Pro-trend Bearish: last_closed.h > mid_level AND last_closed.h < prev_closed.o AND last_closed.c < prev_closed.l
• Pro-trend Bullish: last_closed.l < mid_level AND last_closed.l > prev_closed.o AND last_closed.c > prev_closed.h
Sweep Confirmation Logic:
• Pivot Detection: Uses ta.pivothigh(high, 1, 2) and ta.pivotlow(low, 1, 2)
• Touch Detection: Price must touch fractal pattern level (high > level OR open > level) AND close opposite
• Confirmation Requirements: Pivot must form before touch, close must break beyond pivot level
• Alert Trigger: Sweep confirmed when all conditions are met
Silver Fractal Pattern Conditions:
Special fractal patterns during specific market hours (4th-5th candle of day or 4th candle after 1PM ET) with additional confirmation requirements.
HTF Auto-Detection:
Automatically selects appropriate higher timeframes: 1m→15m, 3m→30m, 5m→1h, 15m→4h, 30m-1h→1D, 4h-8h→1W, 1D→1M.
Based on HTF Candles by Fadi, enhanced with fractal pattern detection, sweep logic, market structure labeling system, and comprehensive alert functionality.
Note: This tool is for educational purposes and should be used in conjunction with proper risk management and market analysis.
Nate spy bottom indicatorit uses the DJI 20d moving average chart and a long signal is triggered when the 3dma goes above 25
K線 vs ATR 倍數 + 快訊Candle vs ATR Multiples + News Pulse
This indicator compares each candle’s true range and body size to configurable multiples of the Average True Range (ATR) to identify statistically significant bursts and exhaustion moves, then overlays a lightweight “news pulse” filter to help you avoid trading directly into high-volatility announcements. For every bar, the script labels (1) ATR-Impulse when the candle range exceeds X×ATR, (2) Body-Drive when the real body exceeds Y×ATR, and (3) Exhaustion when a large wick appears after an ATR-Impulse in the opposite direction. Optional “magnet” lines plot recent swing highs/lows reached during ATR events to visualize likely retests. Alerts trigger on first touch of any state: Impulse Long/Short, Body-Drive Long/Short, Exhaustion Long/Short, and News Window Active. Inputs include ATR length and type, impulse/body multipliers, wick ratio threshold, lookback for magnet levels, and a news buffer (minutes before/after events). Typical use: trade with trend on Body-Drive breakouts; fade stretched moves on Exhaustion only outside the news buffer; tighten risk near magnets. This tool is designed for discretionary price-action traders who want quantified confirmation: it does not autotrade or guarantee profitability. Always validate on multiple timeframes, account for slippage, and combine with structure (HH/HL, LH/LL), liquidity, and session context.
Clock/Price/Change %/Volume/Countdown (Row)📊 Clock / Price / Change % / Volume / Countdown (Row)
Author: CodyBear
Type: Overlay Utility Dashboard
Version: Pine Script v5
🧩 Overview
This indicator displays a compact and informative row at the top of your chart, giving you real-time updates on key market metrics including:
⏰ Current Time (adjustable for your local timezone)
📈 Live Price with directional icon (up/down/neutral)
📊 Price Change Percentage from previous candle
⏳ Countdown until the current bar closes (optional)
📉 Volume data with comparison to the previous bar (optional)
⚙️ Customization Options
Set your UTC Offset to display the correct local time
Choose your preferred font size (small, normal, large)
Show or hide Volume and Countdown Timer
Customize background and text colors
📌 Features
Simple, clean, and non-intrusive overlay at the top-center of your chart
Dynamic icons and color changes based on live market conditions
Great for scalpers, intraday traders, and anyone needing a quick glance dashboard
IPOSubLibraryLibrary "IPOSubLibrary1"
setIPOSubMap(m)
Parameters:
m (map)
getIPOSub(ticker)
Parameters:
ticker (string)
Sessions backend frameworkSessions_Library — Session Timing Utilities (Pine v6)
Purpose
A lightweight helper library for indicator development that converts session strings (HHMM-HHMM) into same-day start/stop timestamps and provides a best-effort UTC offset resolver based on syminfo.timezone. This library does not draw, alert, or trade and must be called by a parent script.
Core Functions
- extractHourMinute(sessionInput): Returns from a "HHMM" string.
- ExtractStartStopTimestamp(sessionInput): Accepts "HHMM-HHMM" and returns using the current date.
- GetUTCOffset(): Maps common TradingView time zones to an integer UTC offset with fallbacks for UTC± and Etc/GMT± patterns.
Key Notes
- Backend-only tools: no signals, alerts, or order execution are included.
- Designed for educational, research, and indicator-development purposes.
- Time zone offsets are best-effort and simplified to whole hours; behavior may vary with regional DST rules and half-hour regions.
- No external data requests and no user data handling.
Usage
1) Import the library into your indicator.
2) Pass session strings like "0930-1030" to ExtractStartStopTimestamp for intraday windows.
3) Use GetUTCOffset to align logic across chart and exchange time. Visualization and alerting remain in the parent script.
Disclaimer
This library provides no financial advice, recommendations, or performance guarantees. Use at your own risk for research and educational development only.
Timebender Cycles - 90minutes🌀 Timebender Cycles — NY Midnight→Midnight (Full Custom Stable Edition)
Author: Timebender
Framework: Pine Script v6 (Verified Stable)
Timezone: America/New_York (Fixed)
🌗 Overview
The Timebender Cycles indicator is a precision-engineered temporal grid built for professional traders who value time structure as much as price structure.
It divides each New York trading day (00:00 → 00:00) into multiple dynamic time cycles — allowing you to visually align order flow, market rhythm, and liquidity windows across intraday sessions.
Designed to be ultra-clean, fast, and highly customizable — this grid lets you see time like never before.
⚙️ Core Features
✅ NY Midnight→Midnight Session — resets automatically each new day.
✅ Nine Independent Time Cycles:
15 Hours
12 Hours
9 Hours
6 Hours
3 Hours
90 Minutes
30 Minutes
10 Minutes
3 Minutes
✅ Full Customization per Cycle:
Individual color, line style (solid, dashed, dotted), and thickness.
Toggle visibility of each cycle.
✅ Minimalist Performance:
Built under strict Pine v6 compliance.
Optimized line handling and auto-cleanup (no overload).
Only today’s grid shown — nothing redundant.
✅ Auto-Reset Logic:
The indicator automatically clears old data at every New York midnight, ensuring only the current trading day remains visible.
🧩 Best Used For
Time-based confluence mapping (ICT-style intraday precision)
Liquidity cycles and killzone tracking
Intraday swing rhythm visualization
Building high-probability time models aligned with session structures
🧠 How It Works
Each vertical cycle line represents a repeating interval within the current trading day.
Larger cycles (3H, 6H, 12H, 15H) establish macro time rhythm, while smaller ones (90m → 3m) highlight microstructure and reaction windows.
Every interval is plotted in real-time — precisely synchronized with New York time.
🧱 Technical Specs
Language: Pine Script v6
Overlay: Yes
Max Lines: 500 (Auto-managed)
Performance: Sub-millisecond execution
Compatibility: All timeframes
⚡ Why “Timebender”?
Because it’s not about predicting — it’s about perceiving time differently.
This grid lets you bend perception, align your trading flow to cyclical timing, and synchronize decision-making with the natural cadence of market energy.
🏁 Version History
v1.0 — Stable Build: Verified clean, no errors or warnings.
Full NY → NY daily cycle handling.
Individual cycle customization and visibility toggles.
Automatic array purge and line management.
💬 Final Note
"Price is the effect. Time is the cause."
— Timebender
Timing and Sessions backend frameworkTiming_Library — Timing Utilities (Pine v6)
Purpose
A lightweight timing toolkit for indicator development. It parses session strings, returns start/stop timestamps for the current day, and resolves a UTC offset for common TradingView time zones. The library itself does not draw, alert, or place trades and must be called by a parent indicator.
Core Functions
- extractHourMinute(sessionInput): Parses "HHMM" into .
- ExtractStartStopTimestamp(sessionInput): Accepts "HHMM-HHMM" and returns for the current date.
- GetUTCOffset(): Maps syminfo.timezone to an integer UTC offset (hours), with fallback parsing for UTC± patterns.
Key Notes
- Backend-only helper library: no signals, no alerts, no order execution.
- Designed for educational, research, and indicator-development purposes.
- No external data requests and no user data handling.
- Time zone handling is best-effort; behavior may vary with regional DST rules.
Usage
1) Import this library into your indicator.
2) Provide session inputs like "0930-1030" to ExtractStartStopTimestamp for same-day timestamps.
3) Use GetUTCOffset to align session logic or convert between local and exchange time where needed. Visualization and alerting remain in the parent script.
Disclaimer
This library does not provide financial advice, trade recommendations, or performance guarantees. Use at your own risk for research and educational development only.
Initial Daily Range backend frameworkIDR_Library — Back-End Logic (Pine v6)
Purpose
This library provides the backend framework for implementing DR/IDR (Initial Daily Range) strategies.
It manages range data, retest logic, and optional visualization elements such as midlines and bands.
The library by itself does not draw, alert, or trade — it requires an external indicator that calls its functions.
Core Functionality
- SessionActive(): Tracks high/low/close data for the initial session range and updates zone boxes.
- DrawMidLine(): Calculates Fibonacci-based internal levels (upper/mid/lower) and optionally draws them.
- ExtendBands(): Extends the drawn lines and boxes dynamically over time.
- CheckForRetest(): Detects and validates retest sequences (First Leaving → Retest → Second Leaving).
- ResetVals(), GetNewDrIdr(): Utility functions for initialization and reset handling.
Data Structures
- CandleData, DrIdr, DrIdrSettings, Retest, RetestZone, RetestZones
Key Notes
- This library is modular and backend-only: it produces no visual output or alerts unless instructed by the parent script.
- It does not contain any financial signals or trading logic.
- Designed purely for educational, research, and indicator-development purposes.
- No external data requests or user information handling.
Usage
1. Import the library into a separate indicator script.
2. Create an instance of DrIdr and configure DrIdrSettings.
3. Call SessionActive(), DrawMidLine(), and ExtendBands() during your session.
4. Use CheckForRetest() to track range retest behavior; handle visualization and alerting in your indicator.
Disclaimer
This library does not provide financial advice, trade recommendations, or guaranteed performance.
Use at your own risk and only for research or educational development.