3 Candle Rules -PJThis script is to identify the change in trend by simply applying 3 rules on candle sticks. These three rules are applied by comparing HLC of current candle with previous candle.
Pontos e níveis de pivô
RM Market StructureThis indicator helps you identify market structure by plotting swing highs and lows (HH, LH, HL, LL), and BOS/CHOCH. 4 swing lengths can be plotted on the chart.
ORB-X v6 (Dashed OR Lines)ORB-X v6 – 15-Minute Opening-Range Breakout Helper by Opskie.
WHAT THE SCRIPT DOES
• Draws the opening range: tracks the highest high and lowest low from 09:30 to 09:45 ET (or any custom window you set) and projects two yellow dashed lines across the rest of the session.
• Alerts:
– “ORB Breakout Up” fires when price closes above the OR-High.
– “ORB Breakout Down” fires when price closes below the OR-Low.
• Screener-ready output: a hidden series called ORB_Long_OK equals “1” on bars where the long breakout is valid. Add this column in TradingView’s Stock Screener and filter “≠ NA” to see a live list of breakouts.
• Fully editable: change session start, opening-range length, colours and line styles in the settings.
QUICK-START GUIDE
Add the script to any chart (Indicators → My Scripts → ORB-X v6).
Wait for the first 15-minute window to close; two dashed yellow lines will appear.
(Optional) Set an alert:
• Alerts → Create Alert → Condition = “ORB Breakout Up” (or Down) → choose “Once per bar close”.
Build a Stock Screener watch-list:
• Open Stock Screener.
• Filters: Exchange = NASDAQ + NYSE, set any price band you like (for example 3 to 6 USD).
• Columns (gear icon) → Indicators → tick ORB_Long_OK.
• Hover the ORB_Long_OK header → funnel icon → choose “≠ NA”.
Now the table lists only tickers whose latest closed bar has broken above their 15-minute OR-High.
USER INPUTS
• Session Start Hour / Minute (default 09:30 ET) – first bar of the range
• Range Length (minutes) (default 15) – how long to measure highs/lows
• Line colours and styles – purely cosmetic
TYPICAL WORKFLOW
Premarket: scan for liquid gappers and momentum names.
09:30–09:45 ET: let ORB-X mark the range; no trades yet.
After 09:45: trade only symbols that close above their OR-High (ORB_Long_OK = 1) using your own risk rules (e.g. stop just below the high).
End of day: journal the results and refine.
DISCLAIMER
This indicator is for educational purposes only and is not financial advice. Test on a demo account first and always use proper risk management.
S.c.a.l.p.i.n.g Indicator [fikri production]"This indicator is designed to help traders identify short-term and long-term trends by using exponential moving averages (EMA). It works best on the 1-hour and 4-hour timeframes, providing clear confirmation of the market's direction.
Users can customize the EMA periods to fit different trading strategies, whether for scalping, swing trading, or longer-term analysis. The indicator is ideal for those who prefer a clean and simple trend-following system without unnecessary noise.
Recommended settings and usage tips are included to help you maximize the performance of this tool."
Anchored Darvas Box## ANCHORED DARVAS BOX
---
### OVERVIEW
**Anchored Darvas Box** lets you drop a single timestamp on your chart and build a Darvas-style consolidation zone forward from that exact candle. The indicator freezes the first user-defined number of bars to establish the range, verifies that price respects that range for another user-defined number of bars, then waits for the first decisive breakout. The resulting rectangle captures every tick of the accumulation phase and the exact moment of expansion—no manual drawing, complete timestamp precision.
---
### HISTORICAL BACKGROUND
Nicolas Darvas’s 1950s box theory tracked institutional accumulation by hand-drawing rectangles around tight price ranges. A trade was triggered only when price escaped the rectangle.
The anchored version preserves Darvas’s logic but pins the entire sequence to a user-chosen candle: perfect for analysing a market open, an earnings release, FOMC minute, or any other catalytic bar.
---
### ALGORITHM DETAIL
1. **ANCHOR BAR**
*You provide a timestamp via the settings panel.* The script waits until the chart reaches that bar and records its index as **startBar**.
2. **RANGE DEFINITION — BARS 1-7**
• `rangeHigh` = highest high of bars 1-7 plus optional tolerance.
• `rangeLow` = lowest low of bars 1-7 minus optional tolerance.
3. **RANGE VALIDATION — BARS 8-14**
• Price must stay inside ` `.
• Any violation aborts the test; no box is created.
4. **ARMED STATE**
• If bars 8-14 hold the range, two live guide-lines appear:
– **Green** at `rangeHigh`
– **Red** at `rangeLow`
• The script is now “armed,” waiting indefinitely for the first true breakout.
5. **BREAKOUT & BOX CREATION**
• **Up breakout** =`high > rangeHigh` → rectangle drawn in **green**.
• **Down breakout**=`low < rangeLow` → rectangle drawn in **red**.
• Box extends from **startBar** to the breakout bar and never updates again.
• Optional labels print the dollar and percentage height of the box at its left edge.
6. **OPTIONAL COOLDOWN**
• After the box is painted the script can stay silent for a user-defined number of bars, letting you study the fallout without another range immediately arming on top of it.
---
### INPUT PARAMETERS
• **ANCHOR TIME** – Precise yyyy-mm-dd HH:MM:SS that seeds the sequence.
• **BARS TO DEFINE RANGE** – Default 7; affects both definition and validation windows.
• **OPTIONAL TOLERANCE** – Absolute price buffer to ignore micro-wicks.
• **COOLDOWN BARS AFTER BREAKOUT** – Pause length before the indicator is allowed to re-anchor (set to zero to disable).
• **SHOW BOX DISTANCE LABELS** – Toggle to print Δ\$ and Δ% on every completed box.
---
### USER WORKFLOW
1. Add the indicator, open settings, and set **ANCHOR TIME** to the candle you care about (e.g., “2025-04-23 09:30:00” for NYSE open).
2. Watch live as the script:
– Paints the seven-bar range.
– Draws validation lines.
– Locks in the box on breakout.
3. Use the box boundaries as structural stops, targets, or context for further trades.
---
### PRACTICAL APPLICATIONS
• **OPENING RANGE BREAKOUTS** – Anchor at the first second of the session; capture the initial 7-bar range and trade the first clean break.
• **EVENT STUDIES** – Anchor at a news candle to measure immediate post-event volatility.
• **VOLUME PROFILE FUSION** – Combine the anchored box with VPVR to see if the breakout occurs at a high-volume node or a low-liquidity pocket.
• **RISK DISCIPLINE** – Stop-loss can sit just inside the opposite edge of the anchored range, enforcing objective risk.
---
### ADVANCED CUSTOMISATION IDEAS
• **MULTIPLE ANCHORS** – Clone the indicator and anchor several boxes (e.g., London open, New York open).
• **DYNAMIC WINDOW** – Switch the 7-bar fixed length to a volatility-scaled length (ATR percentile).
• **STRATEGY WRAPPER** – Turn the indicator into a `strategy{}` script and back-test anchored boxes on decades of data.
---
### FINAL THOUGHTS
Anchored Darvas Boxes give you Darvas’s timeless range-break methodology anchored to any candle of interest—perfect for dissecting openings, economic releases, or your own bespoke “important” bars with laboratory precision.
Major Session Highs/LowsThis indicator creates horizontal lines at major session high/lows (US, London, and Asian). The script updates the lines automatically, on session close.
For instance, when viewing during the US session, after the London overlap, horizontal lines will be displayed at the following levels.
The high/low of the most recent London session.
The high/low of the most recent Asian session.
The high/low of the last full US session, i.e. the session of the day prior.
When the current US session closes, the US levels automatically update.
KeyLevelsPivotsIndicator Name: Key Levels with Pivots
This indicator identifies key support and resistance levels using pivot high and pivot low values derived from TradingView’s built-in functions (ta.pivothigh and ta.pivotlow). When a new pivot is detected, the indicator checks if a similar level—within a specified percentage threshold (for example, ±1%) of the pivot value—already exists. If no such level is present, a horizontal line is drawn at that pivot level.
The drawn level extends to the right, automatically updating until one of two conditions occurs:
A breakout takes place—defined as the price moving beyond the level by the specified percentage—and then the level is fixed (truncated) at the bar where the breakout occurred.
The level reaches a maximum age (expressed in bars, e.g., 750 bars for a daily timeframe which approximates 3 years). In this case, the level is fixed at that maximum age.
Once fixed, the level no longer updates, allowing traders to view historically significant support and resistance levels from today's date up to approximately three years back. Additionally, the indicator prevents the re-plotting of a level if a similar level already exists within the defined percentage threshold, thereby avoiding duplicate reflections of the same level unless a breakout occurs.
OpeningRange (Trading_Tix)Purpose:
The indicator highlights the high, low, and middle (50%) price levels of a specified session's opening range. These levels can serve as key support and resistance zones for trading strategies. The indicator also offers options to extend these levels beyond the session into later timeframes, making it useful for tracking breakout or trend continuation setups.
Key Features:
1. Session Detection:
The indicator identifies a specific session period using the user-defined Session Time. It calculates the start time, high, and low prices during this period:
rangeTime: Defines the session time range (default: 5:00 PM to 2:59 AM).
extendTime: Defines the extended time range where lines/backgrounds can be prolonged.
2. Opening Range Calculation:
High (high_val) and Low (low_val)**:
Tracks the highest and lowest prices during the session.
Middle Line:
A midpoint is calculated by averaging high_val and low_val.
3. Visual Elements:
Horizontal Lines:
Drawn at the high, low, and middle levels.
Customizable in width and color.
Shaded Background Box:
Covers the range between high and low prices.
The box’s color and transparency can be adjusted.
Line and Box Extension:
Optionally extends these elements into the extended time range.
4. Customization:
Users have the flexibility to:
Toggle visibility of lines, middle line, and background box.
Adjust colors, line thickness, and style.
Enable or disable the extension of lines and backgrounds into the extended period.
How It Works:
Initialization:
The script initializes variables to store range data (startTime, high_val, low_val) and drawing objects (lines, boxes).
It detects whether the current bar falls within the session (inSession) or extended timeframe (inExtend).
Plotting:
During the session:
Deletes previous lines and boxes from prior sessions.
Draws new lines at the high, low, and middle levels.
Creates a background box covering the range, if enabled.
During the extended period:
Extends the session lines and box, if the user has opted for extensions.
Updates:
Continuously adjusts the high/low values and updates the lines as new price data arrives.
Use Cases:
This indicator can be valuable for traders who:
Use the opening range to identify potential breakout zones.
Trade based on price consolidation within the range.
Want a visual representation of key price levels to plan entries and exits.
Would you like help refining this script further or adjusting its settings to match your trading style?
ORB-X v6 (Dashed OR Lines)// ORB-X v6 (Opening Range Breakout + Fibonacci Extensions) by Opskie
// Description:
// This indicator automatically captures the high and low of the first X minutes of the trading session
// and draws them as yellow dashed lines extending into the rest of the day. Alert conditions fire
// when price breaks above or below the opening-range high/low.
// User Inputs:
// • Session Start Hour/Minute: define when your market open begins
// • Range Length: how many minutes after open to form the opening range
//
// Key Benefits:
// • Immediate visual context for where price is trading relative to the opening range
// • Daily reset ensures each new session starts fresh
// • Built‑in alerts for breakout entries
Gold Key Levels 3290-3350This TradingView indicator plots dynamic key price levels between a customizable range (default: 3290–3350) in steps of 5.
Key features include:
Dynamic Range Control:
Set the start and end levels manually.
Adjust the gap (step) between each level.
Key Level Highlighting:
Levels ending with 00, 30, or 50 are automatically highlighted with a different color.
Other levels use the normal color.
Toggle Display:
A simple ON/OFF toggle to quickly show or hide all key levels without editing the script.
EMA 9 on 5-Minute Chart:
A 9-period Exponential Moving Average (EMA) is plotted, visible only on the 5-minute timeframe.
Alert Conditions:
Generates alerts when the price crosses above or below the EMA 9.
Professional Styling:
Infinite horizontal lines (fully extended across the chart).
Clean and simple structure without unnecessary multi-line formatting.
Trading Session Levels | Data For TradersA clean price level marker for futures traders that markets the Tokyo, London and New York session open, high, low and close price levels.
True Daily Open (ICT 7:30AM until Market Close)Horizontal line marking 7:30am "True Daily Open" every day
Wyckoff Advanced Swing Strategy by TIAMATCRYPTOStrategy Overview
This custom TradingView strategy combines four powerful trading methodologies - Wyckoff Market Cycles, Price Map Profiling, Mean Reversion, and Trend Following - into a comprehensive swing trading system. It provides extensive customization options and can be tailored for medium to long-term trading positions.
Key Components
1. Wyckoff Analysis
This component focuses on identifying market cycle phases as described by Richard D. Wyckoff:
Accumulation Phase: Identifies periods of smart money accumulation with above-average volume and falling price highs
Markup Phase: Detects strong uptrends with increasing prices supported by volume
Distribution Phase: Recognizes when smart money begins to distribute positions near market tops
Markdown Phase: Identifies downtrends when institutional investors are exiting positions
Special Formations: Detects "spring" patterns (false breakdowns followed by rapid reversals) and "upthrust" patterns (false breakouts)
2. Price Map Profile
Implements a simplified version of Market Profile / Volume Profile concepts:
Calculates Point of Control (POC) - the price level with the highest theoretical activity
Defines Value Area High (VAH) and Value Area Low (VAL) to establish the range where most price action occurs
Visual representation of these key levels to identify potential support and resistance zones
3. Mean Reversion
Identifies potential reversal points when price moves to extremes:
Uses Bollinger Bands to define overbought and oversold price zones
Incorporates RSI divergence to confirm potential reversals
Requires multiple confirmation signals to avoid false entries in strong trends
Employs pattern recognition for higher probability mean reversion trade setups
4. Trend Following
Captures medium to long-term directional price movements:
Utilizes multiple moving averages (9, 21, 50, 200 EMAs) to confirm trend direction and strength
MACD analysis for momentum confirmation and trend intensity
Higher timeframe trend alignment through recent price structure analysis
Requires clear higher highs/higher lows (or lower highs/lower lows) for trade confirmation
Advanced Features
Risk Management
Optional automatic Take Profit and Stop Loss based on ATR (Average True Range)
Trailing stop functionality that adjusts to market volatility
Position sizing as a percentage of equity for proper risk management
Multiple exit strategies based on time, price, or indicator signals
Time-Based Filters
Customizable date range for backtesting historical performance
Trading day filters to avoid entering positions on less favorable days (Fridays/Mondays)
Minimum and maximum holding periods to match swing trading timeframes
Smart exit timing based on market conditions and holding duration
Signal Optimization
Combined signal approach requiring confirmation from multiple systems
Candlestick pattern analysis for enhanced entry timing
RSI-based position exit rules to capture profits at overbought/oversold conditions
Advanced filtering to reduce false signals and avoid low-probability setups
Practical Applications
This strategy is designed for swing traders who:
Hold positions for several days to weeks
Prefer to analyze multiple factors before entering trades
Want to align with institutional money flow through Wyckoff principles
Seek a balance between trend-following and reversal opportunities
Require flexible risk management options
The system works best on daily timeframes for equities, forex, commodities, and cryptocurrency markets with sufficient liquidity. It can be used as a standalone trading system or as a confirmation tool alongside other analysis methods.
Strategy Parameters
All major components can be enabled or disabled independently:
Wyckoff Analysis
Price Map Profiling
Mean Reversion
Trend Following
Risk parameters, timeframes, and technical indicators can be extensively customized to match individual trading preferences, market conditions, and risk tolerance.
Zonas Psicológicas Cercanas .XX500Te pinta líneas en el gráfico en las zonas psicológicas 500 más cercanas al precio actual.
Pivot Lines and 3-Candle GapsScript draws lines from lows and highs as well as boxes from gaps that extend until a limit or intersection with the price.
Liquidity Trap Reversal Pro (Radar v2)Liquidity Trap Reversal Pro (Radar v2) is a non-repainting indicator designed to detect hidden liquidity traps at key swing highs and lows. It combines wick analysis, volume spike detection, and optional trend and exhaustion filters to identify high-probability reversal setups.
🔷 Features:
Non-Repainting: Pivots confirmed after lookback period, no future leaking.
Volume Spike Detection: Filters traps that occur during major liquidity events.
EMA Trend Filter (Optional): Focus on traps aligned with the prevailing trend.
Higher Timeframe Trend Filter (Optional): Confirm traps using a higher timeframe EMA bias.
Exhaustion Guard (Optional): Prevents traps after overextended moves based on ATR stretch.
Clean Visuals: Distinct plots for raw trap points vs confirmed traps.
Alerts Included: Set alerts for confirmed high/low liquidity traps.
📚 How to Use:
Watch for Trap Signals:
A Trap High signal suggests a potential bearish reversal.
A Trap Low signal suggests a potential bullish reversal.
Use Confirmed Signals for Best Entries:
Confirmed traps fire only after price moves opposite to the trap direction, adding reliability.
Use Trend Filters to Improve Accuracy:
In an uptrend (price above EMA), prefer Trap Lows (buy setups).
In a downtrend (price below EMA), prefer Trap Highs (sell setups).
Use the Exhaustion Guard to Avoid Bad Trades:
This filter blocks signals when price has moved too far from trend, helping avoid late entries.
Recommended Settings:
Best used on 15-minute, 1-hour, or 4-hour charts.
Trend filter ON for trending markets.
Exhaustion guard ON for volatile or stretched markets.
📈 Important Notes:
This script does not repaint once a pivot is confirmed.
Alerts trigger only on confirmed trap signals.
Always combine signals with sound risk management and trading strategy.
Disclaimer:
This script is for educational purposes only. It is not investment advice or a guarantee of results. Always do your own research before trading.
RSI + MACD + Liquidity FinderLiquidity Finder: The liquidity zones are heuristic and based on volume and swing points. You may need to tweak the volumeThreshold and lookback to match the asset's volatility and timeframe.
Timeframe: This script works on any timeframe, but signals may vary in reliability (e.g., higher timeframes like 4H or 1D may reduce noise).
Customization: You can modify signal conditions (e.g., require only RSI or MACD) or add filters like trend direction using moving averages.
Backtesting: Use TradingView's strategy tester to evaluate performance by converting the indicator to a strategy (replace plotshape with strategy.entry/strategy.close).
Nifty 3-min Options Pro Strategy (Fixed Version)This strategy is designed specifically for high-probability intraday options trading on the Nifty 3-5 minute chart.
It intelligently combines CPR (Central Pivot Range) and VWAP to define the market's bias (bullish or bearish) and detects Inside Bar Breakouts to pinpoint low-risk, high-reward entries.
The strategy automatically:
Identifies Buy Signals for CE (Call Options) when conditions are bullish.
Identifies Buy Signals for PE (Put Options) when conditions are bearish.
Plots dynamic CPR and VWAP levels on the chart.
Applies ATR-based Stop Loss and trailing stop loss for risk management.
Generates real-time alerts for quick trading actions.
The trading logic is time-filtered to operate only during optimal intraday hours (9:00 AM to 2:30 PM), avoiding low-volume traps and volatile close sessions.
Designed to help traders capture strong directional moves early, this strategy is perfect for Nifty scalpers and intraday options traders aiming for consistent profitability.
Camarilla Pivots & BBT StrategiesThis indicator implements the Camarilla Pivot Points system developed by Thor Young and explained in detail in a book authored by him. It works for stocks, ETFs and futures (see note below for futures). It is meant only for intraday timeframes; it deactivates on daily and above timeframes. It's not recommended or or tested on sub-minute timeframes, you may get a runtime error caused by historical data overflows.
It calculates and shows the support and resistance Camarilla levels at the 3rd, 4th and 6th levels. It does not use the 1st, 2nd or 5th levels since these are not used by the system. These display correctly irrespective of whether the chart setting is RTH or ETH. It also displays the 12 strategies defined by the system, when the strategy conditions are fulfilled. There are 6 strategies for when the pivots are in an upper range, and their converse 6 when in a lower range. The strategies can be found by searching for the Pivot Sheet freely provided by the author of the strategies. It optionally also displays weekly and monthly pivots.
The strategies are labelled HA-HF and LA-LF. The first letter refers to whether it's a Higher or Lower range strategy. The second letter refers to the letter of the strategy in the Pivot Sheet. By default the indicator draws strategies 5 days back; this can be changed up to 20 days. Alert of strategy events (entry/failure/success) can be set. This following image explains this graphically.
Finally it displays information at the top-right of chart indicating whether RTH or ETH data is in use, the range of the pivots (upper, lower, neutral), their width (wide, narrow, similar) and the currently active strategy. If multiple strategies are active in parallel, only the last activated one is shown in this information.
When displaying strategies in the premarket, since the RTH open is not yet known (and that value is needed to evaluate strategy pre-conditions), the pre-market open is used as proxy value for the RTH open. After the regular market opens, the correct RTH open is used to evaluate strategy conditions.
The resistance pivots are all drawn in the same colour (red by default), as are the support pivots (green by default). You can change the resistance and support colours, but it is not possible to have different colours for different levels of the same kind. The strategies will always use the correct colour however, drawing over the pivots. For example, R4 is red by default, but if a strategy makes R4 a support, then the strategy will draw a green line (by default) over the red R4 line, thereby hiding it, during when the strategy is active.
The pivots are very close to those shown in the main trading platform used in the community, not to-the-cents exact, but within a few cents. The reasons are i) TradingView uses real-time data from CBOE One, so doesn't have access to full exchange data (unless you pay for it in TradingView) and, ii) the close/high/low are taken from intra-day data, not daily data, which are very close but often not exactly the same. For example, the high on the daily timeframe may differ slightly from the daily high you'll see on an intraday timeframe. I have occasionally seen big differences in the pivots between these and the other platform - this is always due to difference in data, for example a big spike in the data in TradingView but not in DAS, or vice versa. If it bothers you, official NYSE/NASDAQ data in TradingView is not too expensive.
The indicator is highly configurable with many options to change how they work, but it has sensible defaults. By default, the pivots will automatically switch between using ETH and RTH data, and only one set of pivots is ever shown (though there is an option to show both). There are few advanced parameters; leave these as default unless you really know what they do. Please note the script is complicated, it does a lot. You might need to wait a few seconds while it (re)calculates on new tickers or when changing options - give it time when first loading or changing options!
Note for Futures:
Futures don't officially have a pre-market or post-market like equities. Let's take ES on CME as an example (CME is in Chicago, so all times are Central Time, i.e. 1 hours behind Eastern Time). It trades from 17:00 Sunday to 16:00 Friday, with a daily pause between 16:00 and 17:00. However, most of the trading activity is done between 08:30 and 15:00 (Central), which you can tell from the volume spikes at those times and this coincides with NYSE/NASDAQ regular hours (09:30-16:00 Eastern). So we define a pseudo-pre-market from 17:00 the previous day to 08:30 on the current day, then a pseudo-regular market from 08:30 to 15:00, then a pseudo-post-market from 15:00 to 16:00. The indicators then work exactly the same as with equities, all the options behave the same, just with different session times defined for the pre-, regular and post-market, with "RTH" meaning just the regular market, and "ETH" meaning all three. The only difference from equities is that the auto calculation mode always uses ETH instead of switching based on ETH range compared to RTH range. This is so users who just leave all the defaults are not confused by auto switching of the calculation mode; normally you'll want the pivots based on all the (ETH) data. However both "Force RTH" and "Use RTH close with ETH data" work the same as with equities, so if in the calculations you really want to only use RTH data, or use all ETH H/L data but use the RTH close (at 15:00), you can.
SMC Entry Signals MTF v2📘 User Guide for the SMC Entry Signals MTF v2 Indicator
🎯 Purpose of the Indicator
This indicator is designed to identify reversal entry points based on Smart Money Concepts (SMC) and candlestick confirmation. It’s especially useful for traders who use:
Imbalance zones, order blocks, breaker blocks
Liquidity grabs
Multi-timeframe confirmation (MTF)
📈 How to Use the Signals on the Chart
✅ LONG Signal (green triangle below the candle):
Conditions:
Price is in a discount zone (below the FIB 50% level)
A bullish engulfing candle appears
A bullish Order Block (OB) or Breaker Block is detected
There’s an upward imbalance
A bullish OB is confirmed on the higher timeframe
➡️ How to act:
Consider entering long on the current or next candle.
Place your stop-loss below the OB or the nearest swing low.
Take profit at the nearest liquidity zone or premium area (above FIB 50%).
🔻 SHORT Signal (red triangle above the candle):
Conditions:
Price is in a premium zone (above FIB 50%)
A bearish engulfing candle appears
A bearish OB or Breaker Block is detected
There’s a downward imbalance
A bearish OB is confirmed on the higher timeframe
➡️ How to act:
Consider short entry after the signal.
Place your stop-loss above the OB or swing high.
Target the discount zone or the next liquidity pocket.
⚙️ Recommended Settings by Trading Style
Trading Style Suggested Settings Notes
Intraday (1–15m) fibLookback = 20–50, obLookback = 5–10, htf_tf = 1H/4H Fast signals. Use Discount/Premium + Engulfing.
Swing/Position (1H–1D) fibLookback = 50–100, obLookback = 10–20, htf_tf = 1D/1W Higher trust in MTF confirmation. Ideal with fundamentals.
Scalping (1m) fibLookback = 10–20, obLookback = 3–5, htf_tf = 15m/1H Remove Breaker and MTF for quick reaction trades.
🧠 Best Practices for Traders
Trend Filtering:
Use EMAs or volume to confirm the current trend.
Take longs only in uptrends, shorts in downtrends.
Liquidity Zones:
Use this indicator after liquidity grabs.
OBs and Breakers often appear right after stop hunts.
Combine with Manual Zones:
This works best when paired with manually drawn OBs and key levels.
Backtest the Signals:
Use Bar Replay mode on TradingView to test past signals.
🧪 Example Trade Setup
Example on BTCUSDT 15m:
Price drops into the discount zone.
A green triangle appears (bullish engulfing + OB + imbalance + HTF OB).
You enter long, stop below the OB, target the premium zone.
🎯 This type of setup often gives a risk/reward ratio of 1:2 or better — profitable even with a 40% win rate.
⏰ Alerts & Automation
Enable alerts:
"SMC Long Entry" — fires when a long signal appears.
"SMC Short Entry" — fires when a short signal appears.
You can integrate this with bots via webhook, like:
TradingConnector, 3Commas, Alertatron, etc.
✅ What This Indicator Gives You
High-probability entries using SMC logic
Customizable filters for entry logic
Multi-timeframe confirmation for stronger setups
Suitable for both intraday and swing trading
Custom Opening Range - CommoditiesThe Custom Opening Range Indicator for Commodities is designed for instruments that trade nearly 24 hours, such as crude oil or natural gas. It allows traders to define the Opening Range based on Indian Standard Time (IST)—typically starting at 3:30 AM IST, which aligns with the global commodities market open. Users can customize both the start time and duration of the range (e.g., 5, 15, or 30 minutes). The indicator dynamically plots the high and low of this range and shades the area between them, providing a clear visual reference for breakout or reversal setups during the rest of the trading session.
Combined High Low & MI Pivot PointsThis is an major upgrade of the old MI_Pivots indicator with mid levels. I have included key levels like the Yesterday high and low, Last weeks high and low and combined it into one indicator. If you trade Forex or Crypto intraday you need this indicator 😊
Smart Trend Lines 𝒯𝒽𝑒_𝓁𝓊𝓇𝓀𝑒𝓇Smart Trend Lines is a tool for drawing dynamic, highly accurate, and error-free trend lines (major, intermediate, and short-term) with the detection of breaks in these lines using advanced filters such as ADX (Average Directional Index), RSI (Relative Strength Index), and trading volume. It aims to assist traders in accurately identifying trends and breakout points, thereby enhancing decision-making in trading.
1. Features of the Indicator
// Dynamic Trend Line Drawing with Three Lengths:
- Main Line: Based on a long time period (default is 50 candles) to identify long-term trends.
- Mid Line: Based on a medium time period (default is 21 candles) to identify medium-term trends.
- Short Line: Based on a short time period (default is 9 candles) to identify short-term trends.
//Breakout Detection:
- Monitors breakouts when the price crosses a trend line, either upward (for downward lines) or downward (for upward lines).
- Uses filters (ADX, RSI, volume) to confirm the validity of the breakout and reduce false signals.
//Filters for Signal Confirmation:
- ADX: Confirms the strength of the trend (default minimum is 20).
- RSI: Checks for overbought conditions (above 65) or oversold conditions (below 35) to avoid false breakouts.
- Trading Volume: Compares the current trading volume with the moving average of volume to ensure momentum.
//Flexible Settings:
- Customization of line colors (upward and downward) and styles (solid, dashed, dotted).
- Option to show or hide mid and short lines.
- Selection of price type for breakout detection (close, high, low).
//Optional Display of Previous Lines:
- Allows users to optionally view previously drawn trend lines.
//Alerts and Labels:
- Provides instant alerts when a breakout occurs, along with details of the achieved conditions (e.g., V for volume, A for ADX, R for RSI).
- Adds visual labels on the chart at the point of breakout, with customizable label sizes.
//Automatic Line Extensions:
- Dynamically extends trend lines as long as they remain unbroken, ensuring that prices do not breach the line in the opposite direction.
2. Methods of Drawing Lines
// Identification of Pivot Points:
- Pivot High and Pivot Low points are detected using specific time periods for each type of line (Main: 50, Mid: 21, Short: 9).
- High points (Pivot High) are used to draw downward trend lines, while low points (Pivot Low) are used to draw upward trend lines.
Clarification:
- The `ta.pivothigh` function is used to identify high points (Pivot High), and the `ta.pivotlow` function is used to identify low points (Pivot Low) based on the specified periods for each line:
- Main Line:** Uses `trendLineLength` (default 50 candles).
- Mid Line:** Uses `trendLineLengthMid` (default 21 candles).
- Short Line:** Uses `trendLineLengthShort` (default 9 candles).
- High points (Pivot High) are utilized to draw downward trend lines, while low points (Pivot Low) are utilized to draw upward trend lines.
This ensures that the trend lines are dynamically drawn based on significant price pivots, providing a precise representation of the market's directional movements.
//Calculating the Slope:
- The slope between two points (start and end) is calculated using the difference in price divided by the difference in the number of candles:
Slope = ( Price Difference/Number of Candles Difference)
- Downward trend lines require a negative slope, indicating that the price is decreasing over time.
- Upward trend lines require a positive slope, indicating that the price is increasing over time.
This calculation ensures that the trend lines accurately reflect the direction and rate of price movement, providing traders with a clear visual representation of the market's momentum.
Additional Notes:
- The slope of the line reflects not only the direction (upward or downward) but also the intensity of the trend. The steeper the slope, the stronger and faster the price movement.
- The use of this dynamic method for calculating the slope ensures that trend lines adapt to changing market conditions, providing real-time updates for traders.
- The mathematical precision of this method enhances the reliability of trend lines and reduces errors, making it a valuable tool for technical market analysis.
//Drawing the Lines:
- Base Line (Start Line): Connects the two Pivot points (start and end).
- Extended Line (Trend Line): Starts from the endpoint of the base line and extends to the current candle with the same slope.
- The line's color and style are determined based on user settings (e.g., red for downward lines, green for upward lines).
Clarification:
- The function `line.new` is used to draw the base line (`bearishStartLine`) from the starting point (`bearStartIndex, bearStartVal`) to the endpoint (`bearEndIndex, bearEndVal`).
- The extended line (`bearishTrendLine`) starts from the endpoint and extends to the current candle (`bar_index`) using the slope (`bearSlope`) to maintain the trend direction.
// Extending the Lines:
- The lines are dynamically extended to the current candle if no breakout occurs.
- The extension stops when a breakout occurs or if the price crosses the line in the opposite direction.
Clarification:
- The function `extendTrendline` updates the extended line by modifying the endpoint coordinates (`x2, y2`) to the current candle (`bar_index`) using the slope (`slope).
- If a crossover in the opposite direction is detected via `checkExtendedStrictMode`, the extension stops at the previous candle.
3. Conditions for Drawing Lines
Presence of at Least Two Pivot Points:
- Drawing a line requires the presence of two Pivot points:
- Two high points (Pivot High) for a downward line.
- Two low points (Pivot Low) for an upward line.
- These points must fall within a specified time period, not exceeding five times the length of the line.
Slope Validation:
- A downward line requires a negative slope, meaning the endpoint is lower than the starting point.
- An upward line requires a positive slope, meaning the endpoint is higher than the starting point.
Validation of Strict Mode:
- All candles between the two Pivot points are examined to ensure that the price does not breach the trend line:
- For a downward line: The price (close, high, or low, depending on the settings) must not exceed the projected value of the line.
- For an upward line: The price must not fall below the projected value of the line.
This ensures that the trend line remains valid and accurately reflects the price movement without interruptions caused by temporary breaches.
Validation of Post-Pivot Break:
- Candles after the endpoint are examined to ensure that the price has not breached the line in the opposite direction, ensuring the line's validity.
Validation of Strict Extension:
- When extending the line, it is confirmed that the price does not breach the extended line in the opposite direction.
These checks ensure the trend line remains accurate and reliable, both during its initial drawing and as it dynamically extends over time.
4. Conditions for Breakout Detection
Price Crossing the Line:
- For a downward line: The price (close, high, or low, depending on the settings) exceeds the level of the line.
- For an upward line: The price falls below the level of the line.
Candle Confirmation:
- The candle must be closed (confirmed) to register the breakout.
Filter Conditions:
- Trading Volume:
- The trading volume must be higher than the moving average.
- For an upward breakout: A green candle (close > open) with a volume higher than the last green candle is preferred.
- For a downward breakout: A red candle (close < open) with a volume higher than the last red candle is preferred.
- ADX (Average Directional Index):
- The ADX value must exceed the minimum threshold (default is 20) to confirm the strength of the trend.
- RSI (Relative Strength Index) (if enabled):
- For an upward breakout: The RSI should be less than or equal to the upper limit (65) to avoid overbought conditions.
- For a downward breakout: The RSI should be greater than or equal to the lower limit (35) to avoid oversold conditions.
Non-Repetition of Breakouts:
- Each breakout is recorded only once per line until a new line is drawn.
These conditions ensure that breakouts are accurately detected and validated, minimizing false signals and enhancing the reliability of the trading decisions.
5. Additional Notes
Display Settings:
- Users can choose to show or hide previous lines and customize the size of labels (e.g., Very Small, Small, Normal, Large, Huge).
Visual Styles:
- Line styles vary to facilitate differentiation:
- Solid for the main line.
- Dashed for the intermediate line.
- Dotted for the short-term line.
Alerts:
- A single alert is sent for each breakout, with text specifying the type of breakout (main, intermediate, short) and the filters that have been met.
These features enhance user experience by providing flexibility in visualization, ease of interpretation, and timely notifications for informed trading decisions.
Disclaimer
The information and posts are not intended to be, or constitute, any financial, investment, trading or other types of preparation or execution of tasks or endorsed by TradingView.
Smart Trend Lines هو مؤشر تحليل فني يرسم خطوط اتجاه ديناميكية (رئيسية، متوسطة، قصيرة) على الرسم البياني، ويكتشف كسورها باستخدام فلاتر ADX، RSI، وحجم التداول لتأكيد الإشارات.
1. المميزات
1. خطوط اتجاه بثلاثة أطوال:
- رئيسي (50 شمعة): للاتجاهات طويلة الأمد.
- متوسط (21 شمعة): للاتجاهات متوسطة الأمد.
- قصير (9 شموع): للاتجاهات قصيرة الأمد.
2. اكتشاف الكسور: يرصد اختراق السعر للخطوط مع فلاتر لتقليل الإشارات الكاذبة.
3. فلاتر التأكيد:
- ADX (>20): يؤكد قوة الاتجاه.
- RSI (65/35): يتجن“B” للرئيسي، “M” للمتوسط، “S” للقصير).
4. إعدادات مرنة: تخصيص الألوان، الأنماط (متصل، متقطع، منقط)، ونوع السعر (إغلاق، أعلى، أدنى).
5. تمديد الخطوط: يمدد الخطوط تلقائيًا حتى الكسر.
2. طرق رسم الخطوط
1. نقاط Pivot: تحديد النقاط العليا (للخطوط الهابطة) والدنيا (للصاعدة) باستخدام فترات زمنية (50، 21، 9).
2. حساب الميل: قسمة فرق السعر على فرق الشموع (ميل سالب لهابط، موجب لصاعد).
3. رسم الخطوط: خط أساسي يربط نقطتي Pivot، وخط ممتد إلى الشمعة الحالية.
4. التمديد: يستمر التمديد إذا لم يُكسر الخط.
3. شروط الرسم
1. وجود نقطتين Pivot ضمن فترة (≤5 أضعاف طول الخط).
2. ميل مناسب (سالب لهابط، موجب لصاعد).
3. الوضع الصارم: السعر لا يخترق الخط بين النقطتين.
4. فحص ما بعد النقطة: عدم اختراق الخط بعد النهاية.
5. تمديد صارم: السعر لا يخترق الخط الممتد.
4. شروط الكسر
1. اختراق السعر للخط (فوق الهابط، تحت الصاعد).
2. تأكيد الشمعة (مغلقة).
3. فلاتر:
- حجم أعلى من المتوسط، مع شمعة خضراء (للصاعد) أو حمراء (للهابط).
- ADX > 20.
- RSI: ≤65 (صاعد)، ≥35 (هابط).
4. كسر واحد لكل خط.
5. ملاحظات
- العرض: خيارات لإخفاء الخطوط السابقة وتخصيص التسميات.
- التنبيهات: تنبيهات فورية مع تفاصيل الفلاتر.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView.
T GEX LevelsDraw GEX levels from T
Use Case
Purpose: Visualizes key GEX levels to aid traders in identifying potential support (positive) and resistance (negative) zones based on options market data.
Visual Cues:
Thicker, more opaque lines highlight higher (more significant) price levels.
Fainter, thinner lines indicate lower (less significant) levels.
Ghost zones highlight price gaps where price movement may be less contested.
Application: Useful for options traders analyzing gamma exposure to anticipate price behavior near key levels.