Auto Trend Lines v1.0 This advanced Pine Script indicator automatically detects and draws support and resistance trendlines for any instrument based on two independent lookback periods—short-term and long-term—making it suitable for all types of traders. The indicator identifies pivot highs and lows for both user-configurable lookback lengths, draws trendlines from each anchor point to the current bar, and supports a visually intuitive chart by coloring and labeling each line type separately.
Key features:
Dual lookback: Choose separate short-term and long-term sensitivity for pivots and trendlines.
Customizable: Select the number of displayed lines, colors, and line widths to suit your preferences.
Auto-updating: Trendlines update dynamically with new pivots and extend to the latest bar.
This indicator is ideal for those who want to automate trendline analysis, spot key breakout and reversal areas, and streamline technical trading.
نماذج فنيه
True Order Block (OB) True Order Block (OB)
This script automatically detects and plots Order Blocks (OBs) based on the presence of Fair Value Gaps (FVGs).
Only Order Blocks are displayed on the chart.
🔎 How it works
The script looks for Fair Value Gaps (FVGs) according to a relaxed 3-candle definition.
Once an FVG is detected:
For a Bullish FVG → the last bearish candle before the gap is marked as the Bullish Order Block.
For a Bearish FVG → the last bullish candle before the gap is marked as the Bearish Order Block.
OBs are extended into the future until price either:
mitigates the zone (optional auto-removal), or
the number of live OBs exceeds the user’s maximum (FIFO cleanup).
⚙️ User settings
Draw Order Blocks (enable/disable plotting)
Minimum OB length (how far each zone extends initially)
Remove OB after violation (auto delete invalidated zones)
Max active OBs (limit on displayed zones for clarity)
Bullish/Bearish OB colors
✅ Key features
Fully automated OB detection
No clutter – only OBs are plotted (FVG logic hidden in the background)
Smart cleanup: mitigated zones are removed automatically
Customizable colors & limits
⚠️ Notes
This tool is designed for educational and analytical purposes only.
It does not generate trade signals.
Always combine with your own strategy, market context, and risk management.
TIKOLE SVM Sentiment Combo Oscillator MACD"This one has MACD and RSI. Accuracy is very good. Best for 5-minute and 15-minute timeframes."
The script combines MACD-style histogram with RSI logic.
It gives high accuracy signals.
Works best on 5-minute and 15-minute charts (scalping + intraday).
⚡MACD (fast EMA / slow EMA) into the same script along with your RSI sentiment oscillator, so you’ll get a dual-confirmation system (RSI sentiment + MACD crossover + histogram).
ICT Session High/Low LevelsThis indicator automatically plots the Highs and Lows of completed sessions and draws lines for the Asian session and London session. Levels are displayed only after each session has closed. A simple tool for liquidity work and intraday context (SMC/ICT).
Androlog DailyWeeklyMonthlyAndrologLevel — Daily / Weekly / Monthly Levels
This indicator visualizes the Daily, Weekly, and Monthly key levels introduced by Daniel. It’s intentionally minimal and fast, focused on clean higher‑timeframe references for intraday and daily trading.
What it shows:
Daily open and prior‑day high/low
Weekly and Monthly “open”-based levels
Optional labels for quick price readouts
Controls
Show only new levels or keep/extend old ones
Choose whether levels extend to the right
Alerts
Optional alert conditions for level touches (per your settings)
Uses confirmed higher‑timeframe bars; no historical repaint
XAU 1H Clean Confluence — Micro Table v2XAU 1H Clean Confluence — Micro Table
What it is
A clean, low-clutter 1-hour XAUUSD indicator that summarizes confluences in a compact on-chart table. It’s designed for traders who want structure + momentum + location without covering the chart in drawings.
Best used on: ICMARKETS:XAUUSD or your broker’s XAUUSD feed, 1H timeframe.
Style: Table-only by default (optional EMA200 line and tiny signal markers).
How signals are built (long example; shorts mirror)
A Long Confluence is printed when all of the below are true:
Trend alignment: EMA20 > EMA50 > EMA200
Pullback & re-engage: price crossed back above EMA20 after a pullback
RSI regime: RSI(14) crosses up through 50 (trend confirmation)
Displacement/imbalance: a 3-candle Bull FVG exists (low > high )
Structure: either a BOS up or CHOCH up via swing pivots (pivotLen input)
Sweep (optional): if enabled, require a sweep of Asian Low and/or PDL first
Time gating (optional): only during London/NY windows and outside news windows
Short signals use the mirrored conditions (EMA stack down, cross back below EMA20, RSI cross down through 50, Bear FVG, BOS/CHOCH down, optional Asian High/PDH sweep).
Lunar calendar day Crypto Trading StrategyLunar calendar day Crypto Trading Strategy
This strategy explores the potential impact of the lunar calendar on cryptocurrency price cycles.
It implements a simple but unconventional rule:
Buy on the 5th day of each lunar month
Sell on the 26th day of the lunar month
No trades between January 1 (solar) and Lunar New Year’s Day (holiday buffer period)
Research background
Several academic studies have investigated the influence of lunar cycles on financial markets. Their findings suggest:
Returns tend to be higher around the full moon compared to the new moon.
Periods between the full moon and the waning phase often show stronger average returns than the waxing phase.
This strategy combines those observations into a practical implementation by testing fixed entry (lunar day 5) and exit (lunar day 26) points, while excluding the transition period from solar New Year to Lunar New Year, effectively capturing mid-month lunar effects.
How it works
The script includes a custom lunar date calculation function, reconstructing lunar months and days for each year (2020–2026).
On lunar day 5, the strategy opens a long position with 100% of equity.
On lunar day 26, the strategy closes the position.
No trades are executed between Jan 1 and Lunar New Year’s Day.
All trades include:
Commission: 0.1%
Slippage: 3 ticks
Position sizing uses the entire equity (100%) for simplicity, but this is not recommended for live trading.
Why this is original
Unlike mashups of built-in indicators, this script:
Implements a full lunar calendar system inside Pine Script.
Translates academic findings on lunar effects into an applied backtest.
Adds a realistic trading filter (holiday gap) based on cultural/seasonal calendar rules.
Provides researchers and traders with a framework to explore non-traditional, time-based signals.
Notes
This is an experimental, research-oriented strategy, not financial advice.
Results are highly dependent on the chosen period (2020–2026).
Using 100% equity per trade is for simplification only and is not a viable money management practice.
The purpose is to investigate whether cyclical patterns linked to lunar time can provide any statistical edge in ETHUSDT.
Institutional Interest DisplayIndicator Overview:
This dashboard helps evaluate stocks quickly based on Market Cap, 52-week positioning, and liquidity metrics. It combines price strength with volume demand signals for breakout or institutional interest.
Logic Implemented:
1. Market Cap Classification:
- Market Cap = close × shares_outstanding (built-in value if available)
- Large-cap: ≥ ₹20,000 Cr
- Mid-cap: ₹5,000 – 20,000 Cr
- Small-cap: < ₹5,000 Cr
2. 52-Week Range (% from High/Low):
- 52W High = ta.highest(high, 252)
- 52W Low = ta.lowest(low, 252)
- % from 52W High = (Close ÷ 52W High – 1) × 100
- % from 52W Low = (Close ÷ 52W Low – 1) × 100
- CANSLIM logic → Prefer stocks near highs, avoid near lows
3. Average Daily Volume (ADV):
- ADV = ta.sma(volume, 50)
- Chosen 50D (more reliable than 20/30D, smooths anomalies)
4. Breakout Volume Confirmation:
- Volume Signal = Current Volume ÷ ADV
- Breakout Threshold = >1.5 × ADV
- Helps detect demand-driven price breakouts
5. % Change in Volume vs ADV:
- %Chg = ((Current Vol ÷ ADV) – 1) × 100
- Indicates abnormal activity vs typical trading
6. Up/Down Volume Ratio (U/D Ratio):
- Defined as: (Sum of volume on up days ÷ Sum of volume on down days)
- 50-day window
- U/D > 1 = net buying pressure
- U/D > 1.2 = stronger institutional demand
7. Up Days with Volume ≥ 1.5 × ADV:
- Counts number of up days (Close > Previous Close) in last 50 days where Volume ≥ 1.5 × ADV
8. Average Turnover:
- AvgTurnover = Avg Volume × Price
- Thresholds:
- Large-cap ≥ 1000M
- Mid-cap ≥ 200M
- Small-cap ≥ 50M
Table Layout:
- 4 Columns:
- Col 1 → Category, Market Cap, % from 52W Low, % from 52W High
- Col 2 → Values for above
- Col 3 → Avg Volume, Vol Today, %Chg Vol, U/D Ratio
- Col 4 → Values for above + Up Days >1.5 × ADV, Avg Turnover
Color Coding:
- Value cells have distinct background colors
- Labels = black text, grey background
- Green highlights signify thresholds met
RSI deyvidholnik
📊 Overview
RSI deyvidholnik is an advanced technical indicator that combines the power of traditional RSI (Relative Strength Index) with automatic divergence detection to identify potential market reversal points. This indicator was developed by kingthies and offers clear visual analysis of overbought/oversold conditions along with highly precise divergence signals.
🔧 Key Features
Customizable RSI
Data Source: Configurable (default: close)
Period: Adjustable (default: 14)
Moving Average: Multiple types available (SMA, EMA, SMMA, WMA, VWMA, MMS)
MA Period: Configurable (default: 14)
Divergence Detection
The indicator identifies four types of divergences:
🟢 Bullish Divergence
Occurs when price makes lower lows, but RSI makes higher lows
Indicates possible trend reversal from bearish to bullish
Signaled with green dots on RSI
🔴 Bearish Divergence
Occurs when price makes higher highs, but RSI makes lower highs
Indicates possible trend reversal from bullish to bearish
Signaled with red dots on RSI
🟢 Hidden Bullish Divergence (Optional)
Price makes higher lows while RSI makes lower lows
Confirms continuation of bullish trend
Useful in trending markets
🔴 Hidden Bearish Divergence (Optional)
Price makes lower highs while RSI makes higher highs
Confirms continuation of bearish trend
Useful in trending markets
⚙️ Pivot Settings
Optimized Default Configuration
Right Bars: 1 (quick confirmation)
Left Bars: 5 (noise filtering)
Maximum Bars Between Pivots: 60
Minimum Bars Between Pivots: 3
These settings have been adjusted to provide:
✅ Faster and more responsive signals
✅ Reduction of false signals
✅ Better identification of significant pivots
🎨 Visual Interface
RSI Levels
Line 70: Overbought zone (red)
Line 50: Neutral centerline
Line 30: Oversold zone (green)
Gradient fill: Visually intensifies extreme zones
Graphical Elements
RSI: Main line in white
Moving Average: Smoothed yellow line
Divergence Points: Colored markers on pivots
Background: Subtle fill for better readability
📈 How to Use
For Reversal Trading
Enable only: Bullish and Bearish (default)
Look for: Divergences in overbought/oversold zones
Confirm with: Other indicators or price analysis
For Trend Trading
Enable: Hidden Bull and Hidden Bear
Use in: Markets with clear established trends
Combine with: Market structure analysis
Alert Configuration
The indicator includes automatic alerts for:
⚠️ Bullish Divergence
⚠️ Bearish Divergence
⚠️ Hidden Bullish Divergence
⚠️ Hidden Bearish Divergence
💡 Main Advantages
✅ Automatic Detection: Identifies divergences without manual interpretation
✅ Optimized Configuration: Default values tested for maximum efficiency
✅ Clean Interface: Clear and professional visual
✅ Integrated Alerts: Automatic signal notifications
✅ Flexibility: Multiple customization options
✅ Performance: Optimized code for efficient execution
🎯 Recommended Timeframes
Scalping: 1m, 5m (with more sensitive settings)
Intraday: 15m, 30m, 1h (default configuration)
Swing: 4h, 1D (for medium-term signals)
⚠️ Important Considerations
Not infallible: Always use in conjunction with other analysis methods
Sideways markets: More effective in markets with directional movement
Confirmation: Always wait for signal confirmation before trading
Risk management: Always implement adequate stop-loss and take-profit
Long Elite Squeeze (LES) — H.H 22 Lindsay (AI)LES (Long Elite Squeeze)
LES (Long Elite Squeeze) is a trading framework designed to capture the highest-probability long setups. It’s not just another signal script — it’s a structured system built to filter noise, manage risk, and keep you aligned with real momentum.
🔹 Core Logic
Breakout Confirmation – Ensures moves have structure, not just random spikes.
Relative Volume (RVOL) – Confirms participation and fuel behind the move.
RSI Alignment – Avoids overextended traps and fakeouts.
Squeeze Momentum – The backbone of LES. Signals fire only after a defined squeeze pattern shift (6+ dark green bars followed by a light green bar).
🔹 Trade Management Built In
Automated Sell Signals – Trigger on either:
2 consecutive dark green bars on Squeeze Momentum
WaveTrend cross down
(only valid after a Buy signal — no random shorts)
HUD Entry Checklist – Live conditions shown on chart.
Status Tracker HUD – Flips between “Waiting for Entry” and “In Trade” for clear context.
🔹 Flexibility
3 switchable squeeze versions (V1, V2, V3) for different market conditions.
Customizable EMA & ATR settings (with color options).
Session-aware logic — filter signals to prime trading hours.
🔹 Blueprint & Credits
LES is a fusion of proven concepts, standing on the shoulders of respected creators:
-Squeeze Momentum – LazyBear
-WaveTrend Oscillator – LazyBear
-Relative Volume – LonesomeTheBlue
Breakout/structural logic – refined from classic frameworks
Their work laid the foundation — LES expands and integrates them into a complete trading system.
⚡ Why LES Stands Out
LES wasn’t coded overnight. It’s the result of countless hours of live testing, rebuilding, and refining. Every feature earned its place by proving value in real trading, not theory.
LES is more than an indicator. It’s a disciplined framework — crafted to turn chaos into structure, randomness into probability, and noise into clarity.
⚠️ Disclaimer: This is a trading framework, not financial advice. Performance depends on trader discipline, risk management, and market conditions.
VOSM StrategyVOSM Strategy
Buy: Triggered when a bullish chart pattern forms, confirmed by strength and continuation signals.
Sell: Triggered when a bearish chart pattern forms, confirmed by weakness and reversal signals.
👉 In short, patterns give the setup, confirmations decide the action.
Customisable Asia & London Session High/Low (UTC+1)london + asia high / low
can customise however you like. its not perfect but saves time
Today’s Key Time Markers (Last 6 Only)updated version of key markets. london session asia and new york
BreakTrend MatrixBreakTrend Matrix is a smart indicator designed to be easy to use yet powerful, suitable for traders of all levels, whether they are scalpers, breakout traders or swing traders. It supports analysis of multiple time frames in one.
Ninja Indicator, Crypto, Forex, IndicesIndicator Description:
It is the version 2.0 of Ninja Entry Indicator. It has all the features of Ninja, added new POI support/resistance feature.
If it takes support from POI and on retest you can take long entry.
If it takes resistance from POI and on retest you can take short side entry.
Darvas Box with Mid, 25% & 75% LinesThis script draws a Darvas Box.
The box is drawn between Top (High) and Bottom (Low).
Optionally, additional lines can be displayed:
Midline (50%) → customizable color, width, and style
25% Line → customizable color, width, and style
75% Line → customizable color, width, and style
This helps to quickly identify support and resistance zones inside the box.
Additionally, Breakout/Breakdown arrows are drawn, and alerts can be triggered.
Hassi XAUUSD 15TF BUY/SELL (Anchored, Non-Repainting)What this does
Hassi XAUUSD 15TF BUY/SELL is a non-repainting signal indicator designed for XAUUSD (Gold) on the 15-minute timeframe (also works on BTCUSD). It blends EMA crossover + RSI + MACD with optional volume & volatility filters, and prints anchored BUY/SELL arrows that stay glued to their candle (no visual drifting on zoom/scale/replay). Optional confidence% labels help you judge signal quality at a glance.
Why it’s stable (no repaint)
Signals confirm only on bar close (barstate.isconfirmed).
Arrows/X marks are placed with label.new(x=bar_index, y=high/low, xloc.bar_index, yloc.abovebar/belowbar) so they remain exactly above/below the triggering candle.
No request.security for higher-TF lookaheads; no negative offsets.
How signals are generated
Core trigger: EMA(9) crosses EMA(21)
RSI filter (opt): RSI ≥ RSI Buy Min (default 50) for buys; ≤ RSI Sell Max (default 50) for sells
MACD filter (opt): MACD line crosses its signal or histogram sign matches direction
Volume/ATR filters (opt): require a basic volume spike and above-average ATR volatility (toggleable)
Divergence (opt): lightweight RSI divergence hints (diamond marks)
Anchored markers
BUY: triangle below the signal candle
SELL: triangle above the signal candle
EXIT (❌): small x above (long exit) / below (short exit) when the opposite signal confirms
Nudges: fine-tune vertical placement with tick offsets (inputs) without breaking anchoring
Inputs (defaults)
Fast EMA: 9
Slow EMA: 21
RSI Length: 14
MACD Fast/Slow/Signal: 12 / 26 / 9
Require RSI filter (50 line): ✅
Require MACD cross filter: ✅
RSI Buy Min / RSI Sell Max: 50 / 50
Buy/Sell/Exit Offset (ticks): 0 / 0 / 0
Advanced toggles: Trend Strength ✅, Dynamic Sizing (visual) ✅, Volume Filter ⛔, Volatility Filter ⛔, RSI Divergence ⛔, Show Confidence ✅
Status line/table: ✅
Alerts
Add any of these in Add Alert → Condition: this indicator
Buy Signal → {{ticker}} BUY @ {{close}} - ANCHORED SIGNAL
Sell Signal → {{ticker}} SELL @ {{close}} - ANCHORED SIGNAL
Exit Mark → {{ticker}} EXIT @ {{close}} - ANCHORED EXIT
Recommended use (15-minute XAUUSD)
Use during active sessions (London/NY overlaps).
Keep defaults; enable Volume & Volatility filters in high-noise conditions.
Add confluence (S/R, structure/BOS, session highs/lows, FVG or HTF bias).
Manage risk with structure-based SL or ATR x 1.0–1.5, and partial TP at 1:1–1.5R.
Note: You mentioned it has ~80% win rate on 15TF in your testing. Performance varies by broker feed, session, spread, and risk management. Treat results as educational, not a guarantee.
Non-repainting notes
Signals lock on close; historical arrows are final.
Labels are bar/price anchored (no drift when you zoom or change scale).
Arrays trim old labels automatically to avoid drawing limits.
FAQ
Q: Why don’t past arrows move when I resize the chart?
A: They’re label.new() anchored to bar_index and bar high/low with xloc/yloc, so they stay with the candle.
Q: Can I turn it into a strategy/backtest?
A: Yes—wrap the same signals into strategy.entry/exit, but this release is an indicator by design.
Q: Will it work on BTC or other pairs/timeframes?
A: Yes, but it’s tuned for XAUUSD M15. Adapt filters for other markets.
Changelog
v1.0 — Initial public release: anchored non-repainting arrows, optional RSI/MACD filters, volume/ATR filter, divergence hints, confidence labels, status panel, alerts.
Disclaimer
This tool is for education and analysis only. It is not financial advice. Trading involves risk; do your own research and manage risk responsibly.
Multi-Session Opening RangesThe Multi-Session Opening Ranges indicator plots the Opening Range (OR) levels for three major trading sessions: Asia, London, and New York. It displays the high (ORH), low (ORL), and midline of each session's opening range, helping traders identify key price levels for potential breakouts, reversals, or support/resistance zones.
This indicator is highly customizable, allowing users to tailor the appearance and behavior of each session independently.
Features
Multi-Session Support: Visualizes Opening Ranges for Asia, London, and New York sessions, with customizable session times and timezones.
Customizable Lines: Adjust the color, style (solid, dashed, dotted), and width of ORH, ORL, and midline for each session.
Offset Control: Set a custom offset (in bars) for lines and labels to position them away from price action for better visibility.
Fill Customization: Choose the fill color for the area between ORH and ORL for each session.
Historical Data Option: Toggle the display of historical OR levels to focus on current session data or analyze past ranges.
Timezone Flexibility: Select from a wide range of timezones to align session times with your trading needs.
Label Customization: Adjust the size of labels (tiny, small, normal, large, huge) for clarity on any chart.
How It Works
The indicator identifies the high and low prices during the user-defined opening range period for each session (default: 5 minutes). It then draws:
ORH (Opening Range High): The highest price during the session's opening range.
ORL (Opening Range Low): The lowest price during the session's opening range.
Midline: The average of ORH and ORL, plotted as a dashed line by default.
Filled Area: A semi-transparent fill between ORH and ORL to highlight the range.
Lines and labels extend until the start of the next session or can be offset by a user-specified number of bars for better chart readability. The indicator supports historical data display for analyzing past session ranges.
Inputs
Display:
Show Historical Data: Enable/disable historical OR levels.
Timezone: Select the timezone for session calculations (e.g., UTC-4, UTC+1, etc.).
Asia/London/New York Sessions:
Show Session: Enable/disable the session.
Session Time: Define the start and end time for the opening range (e.g., "0930-0935:1234567" for 9:30–9:35 AM, all days).
Asia/London/New York Style:
ORH/ORL/Midline Color: Set the color for each line.
ORH/ORL/Midline Style: Choose solid, dashed, or dotted styles.
ORH/ORL/Midline Width: Adjust line thickness (1–5).
OR Fill Color: Customize the fill color for the OR area.
Lines/Labels Offset: Set the offset (in bars, -50 to 50) to shift lines and labels relative to price action.
General Style:
Label Size: Set the size of ORH and ORL labels (tiny, small, normal, large, huge).
Usage
Add the indicator to your chart.
Configure session times to match your trading instrument and timezone.
Customize colors, line styles, widths, and offsets for each session to suit your chart preferences.
Use the ORH, ORL, and midline levels to identify key price zones for trading strategies, such as breakouts or reversals.
Notes
Ensure session times do not overlap to avoid conflicts in visualization.
Large offsets may place lines/labels outside the visible chart area; adjust as needed.
The indicator is optimized for intraday timeframes but works on any timeframe.
2 goblins 15 Min Breakout w/ RSI, Volume, MACD & Targettwo green bars in a row with a bullish mac D and an RSI<70 with volume rising on second candle. Use only for stocks that move within .50 cents within the trading day.
SR Zones - ADA 4HThink of ADA’s price like a ball bouncing in a hallway. This script watches the **4‑hour** chart to spot where the ball keeps **turning around**—those become **floors (support)** and **ceilings (resistance)**. It groups nearby turnarounds into **thick colored bands** (green floors, red ceilings), makes bands **wider when the market is jumpy** and **narrower when it’s calm**, and **strengthens** a band each time price bumps it. Old or weak bands get **cleaned up**, overlapping ones get **merged**, and the bands **extend forward** so you can see likely bounce zones ahead