Custom Daily % Levels Table📘 Indicator Description
"Custom Daily % Levels – table" is a dynamic and customizable tool designed to help traders visualize daily percentage-based price ranges and key metrics in a compact, table-style format.
🧩 Key Features:
📐 Custom Percent Levels: Automatically calculates upper and lower price levels based on a user-defined base percentage and number of levels, relative to the previous daily close.
🟢🔴 Color Gradient Highlighting: Positive levels are shown with a green gradient, negative levels with red, and the level labels with a neutral tone for easy reference.
📊 Live Asset Info: Displays the current symbol, percentage change from the previous daily close, and 14-period RSI, all color-coded for quick interpretation.
⚙️ Header Control: Toggle the visibility of the main info headers and level headers independently.
📌 Position Customization: Choose where the table appears on your chart (top/bottom, left/right, center).
📈 Clean Layout: Makes it easy to visually track price movement relative to daily expected ranges.
This indicator is especially useful for intraday traders, scalpers, or anyone needing a clear visual of short-term price expansion and contraction based on predefined volatility zones.
Corak carta
Market Phases (ZigZag + MA + RSI)This script is a TradingView Pine Script that visualizes market phases using the ZigZag pattern, Moving Averages (MA), and the Relative Strength Index (RSI). It allows traders to identify key market conditions, such as accumulating, distributing, bullish, and bearish phases based on price movements and momentum indicators.
#### Components
1. ZigZag Settings:
- Depth: Controls the sensitivity of the ZigZag indicator. A higher value results in fewer price points being considered as reversals.
- Deviation: Defines the minimum percentage change needed to identify a ZigZag point, preventing small fluctuations from being registered.
- Backstep: Specifies the number of bars to look back for identifying highs and lows.
2. Moving Average Settings:
- MA Length: The number of periods used to calculate the moving average.
- MA Type: The type of moving average to use, either Simple Moving Average (SMA) or Exponential Moving Average (EMA).
3. RSI Settings:
- RSI Length: The period for calculating the RSI.
- Overbought Level: The threshold above which the asset is considered overbought.
- Oversold Level: The threshold below which the asset is considered oversold.
4. Calculations:
- Moving Average and RSI Calculation: The script calculates either an SMA or EMA and the RSI based on user-defined settings.
5. ZigZag Enhanced Calculation:
- It identifies swing highs and lows to determine the ZigZag points for improved trend analysis.
6. Trend Direction:
- The script checks the direction of the trend based on the latest ZigZag points.
7. Market Phase Determination:
- The script defines the market phase (Accumulation, Distribution, Bullish, Bearish) based on the trend direction and levels from the RSI and relationship with the moving average.
8. Background Colors:
- The background is tinted according to the identified market phase for visual clarity.
9. Labels and Plotting:
- Labels are generated at the last bar with the current phase and RSI value.
- The moving average and last ZigZag points are plotted on the chart for further reference.
### Conclusion
This script provides a comprehensive view of market conditions by integrating multiple indicators, helping traders make informed trading decisions based on market dynamics. The ability to visualize phases and key indicators aids in recognizing potential entry and exit points in trading strategies.
If you have any questions or need further modifications, feel free to ask!
Falcon SignalsThis script is a TradingView Pine Script for a trading strategy called "Falcon Signals." It combines multiple technical indicators and strategies to generate buy and sell signals. Here’s a breakdown of what the script does:
1. Supertrend Indicator:
The script calculates the Supertrend indicator using the Average True Range (ATR) and a specified multiplier (factor). The Supertrend is used to define the trend direction, with a green line for an uptrend and a red line for a downtrend.
2. EMA (Exponential Moving Average):
Two EMAs are used: a fast EMA (9-period) and a slow EMA (21-period). The script checks for crossovers of the fast EMA above or below the slow EMA as a basis for buying and selling signals.
3. RSI (Relative Strength Index):
The RSI (14-period) is used to measure the momentum of the price. A buy signal is generated when the RSI is less than 70, while a sell signal is generated when it’s greater than 30.
4. Take Profit (TP) and Stop Loss (SL):
The script allows users to set custom percentages for take profit and stop loss. The take profit is set at a certain percentage above the entry price for buy signals, and the stop loss is set at a percentage below the entry price, and vice versa for sell signals.
5. Trailing Stop:
A trailing stop can be enabled, which dynamically adjusts the stop loss level as the price moves in the favorable direction. If the price moves against the position by a certain trailing percentage, the position will be closed.
6. Engulfing Patterns:
The script checks for bullish and bearish engulfing candlestick patterns, indicating potential reversals. A bullish engulfing pattern is marked with a teal label ("🔄 Reversal Up"), and a bearish engulfing pattern is marked with a fuchsia label ("🔄 Reversal Down").
7. Plotting:
The script plots various indicators and signals:
Entry line: Shows where the buy or sell signal is triggered.
Take profit and stop loss levels are plotted as lines.
EMA and Supertrend lines are plotted on the chart.
Trailing stop line, if enabled, is also plotted.
8. Buy and Sell Labels:
The script places labels on the chart when buy or sell signals are triggered, indicating the price at which the order should be placed.
9. Exit Line:
The script plots an exit line when the trailing stop is hit, signaling when a position should be closed.
10. Alerts:
Alerts are set for both buy and sell signals, notifying the trader when to act based on the strategy's conditions.
This strategy combines trend-following (Supertrend), momentum (RSI), and price action patterns (EMA crossovers and engulfing candlestick patterns) to generate trade signals. It also offers the flexibility of take profit, stop loss, and trailing stop features.
High and Low DayHigh and Low Day
This indicator automatically tracks and displays the daily high and low of the current trading session directly on your chart.
Each new day, it resets the levels and plots horizontal lines:
Green Line for the daily high
Red Line for the daily low
It also adds labels (“High Day” and “Low Day”) for easy visual reference.
The levels update in real time as new highs or lows are formed throughout the day.
You can toggle the visibility of these lines and labels using the "Mostrar Linhas do Dia Atual" (Show Current Day Lines) setting.
Perfect for intraday traders looking to keep track of key support and resistance levels during the trading day.
RMH MidTermThis script combines technical indicators (RSI and MACD), the trend of the HYG ETF, and a long-term moving average to detect buying or selling opportunities in markets with a medium-term bias.
Buy when the RSI breaks out of oversold territory, the MACD crosses upward, the HYG shows relative strength, and the price is above the 200-day moving average.
Sell when the RSI enters overbought territory, the MACD crosses downward, the HYG shows weakness, and the price falls below the 200-day moving average.
It also marks global trend changes using the 200-day moving average as a reference.
Gap Days Identifier📌 Gap Days Identifier – Pine Script
This script identifies Gap Up and Gap Down days based on user-defined percentage thresholds. It is designed for daily charts and helps traders spot significant opening gaps relative to the previous day’s close.
🔍 Key Features:
Customizable Thresholds: Input your desired % gap for both Gap Up and Gap Down detection.
Visual Markers: Displays label arrows with actual % gap on the chart (green for Gap Up, red for Gap Down).
Live Statistics Table: Shows total count of Gap Up and Gap Down days based on your filters.
Clean Overlay: Designed to be non-intrusive and easy to interpret for any instrument.
✅ Use Case:
Perfect for traders who track gap-based breakout strategies, news/event impact, or want to filter days with strong overnight sentiment shifts.
Dskyz Adaptive Futures Edge (DAFE)imgur.com/a/igj9lFj
Dskyz Adaptive Futures Edge (DAFE) is a futures trading strategy designed to adapt dynamically to market volatility and price action using a blend of technical indicators. The strategy combines adaptive moving averages, optional RSI filtering, candlestick pattern recognition, and multi-timeframe trend analysis to generate long and short trade signals. It incorporates robust risk management techniques including ATR-based stop-losses and trailing stops, ensuring trades are sized and managed within sustainable risk limits.
Key Components and Logic
-Adaptive Moving Averages
Dynamic Calculation: Fast and slow Simple Moving Averages (SMAs) adapt to changing volatility, making them sensitive to high-momentum shifts and smoothing during quieter price action.
Signal Generation: Entry signals are triggered when the fast SMA crosses the slow SMA in conjunction with price direction confirmation (e.g., price above both for long positions).
-RSI Filtering (Optional)
Momentum Confirmation: The RSI filter provides momentum confirmation to avoid overextended entries. It can be toggled on or off for both long and short conditions.
User Control: Adjustable parameters such as lookback period, oversold/overbought thresholds, and enable/disable switches give full control over its influence.
-Candlestick Pattern Recognition
Engulfing Logic: Recognizes strong bullish or bearish engulfing patterns with configurable strength criteria like range and volume. Patterns are filtered by trend direction and strength for confirmation.
Signal Conflict Handling: When both bullish and bearish engulfing patterns occur within the lookback window, the strategy avoids entry to reduce whipsaws in indecisive markets.
-Multi-Timeframe Trend Filter
Higher Timeframe Filtering: Incorporates 15-minute trend direction as a macro-level filter to align intrabar trades with larger trend momentum.
Smoothed Entry Logic: Prevents entering trades that go against the broader market structure, reducing false signals in choppy or low-conviction moves.
-Trade Execution and Risk Management
imgur.com
Entry Logic
Priority System: Users can define whether moving average signals or candlestick patterns should take priority when both are present.
Volume & Volatility Checks: Ensures sufficient market participation and action before entering a position, improving the odds of reliable follow-through.
Stop-Loss and Trailing Exit
ATR-Based Initial Stops: Dynamically adjusts stop-loss distance based on market volatility using a multiple of ATR (Average True Range), keeping risk proportional to price swings.
Trailing Stop: Protects open profits and enables winners to run by following price action at a set distance (also ATR-based).
-Cooldown Period & Minimum Bar Hold (Trade Discipline Logic)
Cooldown Bars: After an exit, the strategy imposes a mandatory pause before opening a new position.
Why: This avoids rapid-fire re-entries triggered by minor fluctuations that could lead to overtrading and degradation of profitability.
Minimum Bar Hold: A trade must be held for a minimum number of bars before it can be exited.
Why: This prevents the strategy from immediately exiting trades due to fleeting volatility spikes, which previously caused premature exits that often reversed back in favor of the original signal. This ensures trades have adequate time to develop, filtering out noise from true reversals.
-Visual Elements and Transparency Tools
Chart Overlays: Moving averages, RSI values, and trade entry/exit points are shown directly on the chart for complete visibility.
Dashboard UI: Displays critical live metrics—current position, PnL, time held, ATR values, etc.
Debug Logs: Optional toggles allow verbose condition tracking for deep inspection into why a trade occurred (or didn't), useful for both live optimization and debugging.
-Input Parameter Reference Guide
Input Name Function & Suggested Use
Use RSI Filter - Enables or disables RSI-based entry confirmation. Disable if price action alone is desired for entry decisions.
RSI Length - RSI lookback period. Lower values (e.g., 7–14) are more responsive; higher values reduce false signals.
Overbought / Oversold Levels - Used to detect exhaustion zones. E.g., avoid long entries above 70 or short entries below 30.
Use Candlestick Patterns - Enable detection of bullish/bearish engulfing patterns as trade signals. Disable to rely only on trend/MA.
Pattern Strength Thresholds (Range, Volume) - Filters out weak engulfing signals. Higher values require stronger patterns to trigger.
Use 15min Trend Filter - Adds multi-timeframe trend confirmation. Recommended for filtering entries against larger trend direction.
Fast MA - Base Length for fast adaptive moving average. Suggested: 10–25.
Slow MA - Base length for slow adaptive moving average. Suggested: 30–60.
Volatility Sensitivity Multiplier - Multiplies volatility adjustments for adaptive MA length. Higher = more reactive to volatility.
Entry Volume Filter - Filters out trades during low volume. Recommended to prevent entries in illiquid conditions.
ATR Length - Lookback period for ATR calculation. Suggested: 14.
Trailing Stop ATR Offset - Defines how far the stop-loss is from entry. 1.5–2.5 is typical for medium-volatility environments.
Trailing Stop ATR Multiplier - Determines trailing stop distance. 1.5 is tight; 3+ gives more room for trending trades.
Cooldown Bars After Exit - Prevents immediate re-entries. Suggested: 3–10 bars depending on timeframe.
Minimum Bars to Hold Trade - Ensures trades are held long enough to avoid knee-jerk exits. Suggested: 5–10 for intraday strategies.
Trading Hours (Start / End) - Sets the window of allowed trading. Prevents entries outside key session times (e.g., avoid pre-market).
Enable Logging / Debugging - Shows internal trade decision data for tuning and understanding the logic.
Compliance with TradingView Regulations
Realistic Backtesting: The strategy uses proper initial capital, fixed trade quantities, and risk parameters to reflect realistic scenarios.
Transparent Trade Logic: Every condition used for signal generation is documented and controllable by the user. Users can view each signal's rationale.
Risk Mitigation: Cooldown bars, ATR stops, and minimum trade duration ensure the strategy behaves predictably and prevents reckless trade behavior.
Customization: Full control over each module (MA, RSI, Candlestick, Trend, etc.) gives users the ability to tailor the strategy to suit various futures contracts or timeframes.
imgur.com
imgur.com
imgur.com
imgur.com
imgur.com
Summary
DAFE was built for high-stakes micro futures trading environments such as the MNQ, where milliseconds of volatility matter. This strategy's modular architecture, adaptive logic, and advanced risk controls make it an ideal framework for scalpers and swing traders alike.
BTCUSDT.P
Backtesting: www.dropbox.com
Deep Backtesting:
www.dropbox.com
****Currently testing on a prop account.
Caution Statement
This strategy is designed for educational and experimental purposes and should not be considered financial advice or a guaranteed method of profitability. While the DAFE (Dskyz Adaptive Futures Edge) strategy incorporates advanced filters, adaptive logic, and volatility-based risk management, its performance is subject to market conditions, data accuracy, and user configuration.
Futures trading involves substantial risk, and the leverage inherent in futures contracts can amplify both gains and losses. This strategy may execute trades rapidly and frequently under certain conditions—particularly when filters are disabled or thresholds are set too tightly—potentially leading to increased slippage, commissions, or unanticipated losses.
Users are strongly advised to:
Backtest thoroughly across various market regimes.
Adjust parameters responsibly and understand the implication of each input.
Paper trade in a simulated environment before going live.
Monitor trades actively and use discretion when market volatility increases.
-By using this strategy, you accept all risks and responsibility for any trading decisions made based on its output.
ICT & SMC Multi-Timeframe by [KhedrFX]Transform your trading experience with the ICT & SMC Multi-Timeframe by indicator. This innovative tool is designed for traders who want to harness the power of multi-timeframe analysis, enabling them to make informed trading decisions based on key market insights. By integrating concepts from the Inner Circle Trader (ICT) and Smart Money Concepts (SMC), this indicator provides a comprehensive view of market dynamics, helping you identify potential trading opportunities with precision.
Key Features
- Multi-Timeframe Analysis: Effortlessly switch between various timeframes (5 minutes, 15 minutes, 30 minutes, 1 hour, 4 hours, daily, and weekly) to capture the full spectrum of market movements.
- High and Low Levels: Automatically calculates and displays the highest and lowest price levels over the last 20 bars, highlighting critical support and resistance zones.
- Market Structure Visualization: Identifies the last swing high and swing low, allowing you to recognize current market trends and potential reversal points.
- Order Block Detection: Detects significant order blocks, pinpointing areas of strong buying or selling pressure that can indicate potential market reversals.
- Custom Alerts: Set alerts for when the price crosses above or below identified order block levels, enabling you to act swiftly on trading opportunities.
How to Use the Indicator
1. Add the Indicator to Your Chart
- Open TradingView.
- Click on the "Indicators" button at the top of the screen.
- Search for "ICT & SMC Multi-Timeframe by " in the search bar.
- Click on the indicator to add it to your chart.
2. Select Your Timeframe
- Use the dropdown menu to choose your preferred timeframe (5, 15, 30, 60, 240, D, W) for analysis.
3. Interpret the Signals
- High Level (Green Line): Represents the highest price level over the last 20 bars, acting as a potential resistance level.
- Low Level (Red Line): Represents the lowest price level over the last 20 bars, acting as a potential support level.
- Last Swing High (Blue Cross): Indicates the most recent significant high, useful for identifying potential reversal points.
- Last Swing Low (Orange Cross): Indicates the most recent significant low, providing insight into market structure.
- Order Block High (Purple Line): Marks the upper boundary of a detected order block, suggesting potential selling pressure.
- Order Block Low (Yellow Line): Marks the lower boundary of a detected order block, indicating potential buying pressure.
4. Set Alerts
- Utilize the alert conditions to receive notifications when the price crosses above or below the order block levels, allowing you to stay informed about potential trading opportunities.
5. Implement Risk Management
- Always use proper risk management techniques. Consider setting stop-loss orders based on the identified swing highs and lows or the order block levels to protect your capital.
Conclusion
The ICT & SMC Multi-Timeframe by indicator is an essential tool for traders looking to enhance their market analysis and decision-making process. By leveraging multi-timeframe insights, market structure visualization, and order block detection, you can navigate the complexities of the market with confidence. Start using this powerful indicator today and take your trading to the next level.
⚠️ Trade Responsibly
This tool helps you analyze the market, but it’s not a guarantee of profits. Always do your own research, manage risk, and trade with caution.
BTC Dominance Excluding StablecoinsBTC Dominance Excluding Stablecoins
Description:
The "BTC Dominance Excluding Stablecoins" indicator calculates Bitcoin's dominance as a percentage of the total cryptocurrency market capitalization, excluding the market caps of major stablecoins (USDT and USDC). Unlike the standard BTC.D ticker, which includes stablecoins in the total market cap, this indicator provides a clearer view of Bitcoin’s dominance relative to the "non-stable" crypto market. This can be useful for traders and analysts who want to assess Bitcoin’s strength without the influence of stablecoin market caps, which often skew dominance metrics during periods of high stablecoin usage.
How It Works:
Bitcoin Market Cap: Fetches Bitcoin’s market capitalization using CRYPTOCAP:BTC.
Total Market Cap: Retrieves the total cryptocurrency market cap via CRYPTOCAP:TOTAL.
Stablecoin Adjustment: Subtracts the market caps of USDT (CRYPTOCAP:USDT) and USDC (CRYPTOCAP:USDC) from the total market cap.
Dominance Calculation: Computes Bitcoin’s dominance as (BTC Market Cap / Adjusted Total Market Cap) * 100, where the adjusted total excludes stablecoins.
Output: Plots the resulting dominance percentage as a line chart.
Features:
Displays Bitcoin dominance excluding stablecoins on any timeframe.
Customizable line color and thickness for better visualization.
Provides a more accurate representation of Bitcoin’s market share in the volatile, non-stablecoin crypto ecosystem.
Usage:
Add this indicator to your TradingView chart to compare Bitcoin’s dominance against the broader altcoin market, free from stablecoin distortions. Use it alongside other indicators like BTC.D or price charts to analyze market trends, especially during periods of high stablecoin inflows or outflows.
Notes:
The indicator currently excludes USDT and USDC, the two largest stablecoins by market cap. Additional stablecoins (e.g., DAI, BUSD) can be added by modifying the script if desired.
Data is sourced from TradingView’s CRYPTOCAP symbols, which may have slight delays or variations depending on exchange data feeds.
Best used on daily or higher timeframes for smoother, more reliable results.
Author:
Created by K Du₿
Version:
Pine Script v5
J Weighted Average Price📘 How to Use the OBV VWAP Reentry Signal Effectively
This indicator plots a VWAP based on OBV (On-Balance Volume), along with dynamic bands to identify overbought and oversold conditions in volume flow.
🔺 Red Triangle Up: Appears when OBV crosses back below the upper band → Potential reversal from overbought → Watch for short opportunities.
🔻 Blue Triangle Down: Appears when OBV crosses back above the lower band → Potential reversal from oversold → Watch for long opportunities.
📌 Tip: Use these signals in confluence with price action or trend confirmation to filter false signals. For example:
Enter short after a reentry from upper band and a lower high in price.
Enter long after a reentry from lower band and a bullish candle structure.
This setup helps you catch mean reversion moves based on volume flow, not just price.
2CR(SP+FVG)2CR(SP+FVG) Indicator Introduction
2CR(SP+FVG) is a powerful technical analysis indicator that combines Swing Points (SP) and Fair Value Gaps (FVG) to provide traders with a comprehensive market structure analysis and precise trading signal identification system. This indicator helps traders identify high-probability trading opportunities by detecting key structural changes and price rejection patterns in the market. 2CR(SP+FVG) not only identifies important support and resistance areas but also detects price reactions to these areas, forming sequential trading signals such as CR, 2CR, CRS, and 2CRS.
Core Components
FVG (Fair Value Gap): Detects unfilled price gaps in the market that often become future support or resistance levels
SP (Swing Point Horizontal Lines): Identifies highs and lows across multiple timeframes, marking key changes in market structure
CR Module: Detects price rejection reactions after FVG or SP mitigation, forming CR (Change Rejection) and 2CR (Double Change Rejection) signals
CRS Module: Analyzes more complex price structure changes, forming CRS (Change Rejection Structure) and 2CRS (Double Change Rejection Structure) signals
Key Features
Multi-timeframe Analysis: Analyzes both current and higher timeframes simultaneously, providing a comprehensive market perspective
Automated Signal Detection: Automatically identifies and labels trading signals such as CR, 2CR, CRS, and 2CRS
Structure Mitigation Recognition: Detects when price mitigates (touches and crosses) FVG and SP levels
Double Confirmation System: Enhances signal reliability through sequential confirmation across two candles
Custom Alerts: Provides configurable alert system for all signal types
Adjustable Appearance: Users can customize colors and display options for all components
Debug Mode: Offers detailed debugging information to help users understand signal triggering logic
Signal Types
CR (Change Rejection): The initial rejection reaction after price touches an FVG or SP, indicating a potential market reversal
2CR (Double Change Rejection): Confirmation after a CR signal, typically indicating a stronger reversal possibility
CRS (Change Rejection Structure): More advanced structural rejection signal, requiring specific price action patterns
2CRS (Double Change Rejection Structure): Confirmation after a CRS signal, providing high-probability trading opportunities
Use Cases
Trend Reversal Identification: Use CR and 2CR signals to predict potential trend turning points
Pullback Trading: Enter trades when the main trend pulls back to key support/resistance levels
Structure Breakout Confirmation: Confirm the validity of market structure breakouts through CRS and 2CRS signals
Risk Management: Use SP and FVG levels to set stop-loss and take-profit locations
Multi-timeframe Strategy: Combine signals from current and higher timeframes to build a robust trading system
Key Level Identification: Quickly identify the most important support and resistance areas in the market
--------------------
Special Note: It is recommended to use this indicator together with the SP line and FVG MG indicators for a more intuitive observation of market order flow direction. By combining these three indicators, traders can obtain a more comprehensive view of market structure, accurately identify key support and resistance levels, and more precisely determine changes in market participant behavior patterns.
--------------------
使用场景
趋势反转识别: 利用CR和2CR信号预测趋势可能的转折点
回撤交易: 在主趋势回撤到关键支撑/阻力位时进场
结构突破确认: 通过CRS和2CRS信号确认市场结构突破的有效性
风险管理: 使用SP和FVG水平线设置止损和止盈位置
多周期策略: 结合当前和更高级别时间周期的信号,构建稳健的交易系统
关键水平识别: 快速识别市场中最重要的支撑和阻力区域
--------------------
特别说明:建议连同SP line与FVG MG指标一起使用,更直观地观察市场的订单流走向。通过组合这三个指标,交易者可以获得更全面的市场结构视图,准确识别关键支撑阻力位,并更精确地判断市场参与者的行为模式变化。
--------------------
LEGIntroduction
The LEG indicator is an advanced technical analysis tool designed for traders to identify key levels and trading opportunities in the market. By combining Fair Value Gap (FVG) and Swing Point (SP) analysis, the indicator draws important "leg" lines that represent critical areas of market structure change. The LEG indicator helps traders identify potential support and resistance levels, enabling them to make more informed entry and exit decisions.
Use Cases
Trend Identification: Determine market trend direction through multiple unmitigated LEG lines in the same direction
Support/Resistance Areas: LEG lines often become temporary support or resistance levels
Pullback Trading: Look for entry opportunities when price pulls back to unmitigated LEG lines
Stop Loss Placement: Use LEG lines as reference points for stop loss placement
Market Structure Analysis: Understand market structure changes through the creation and mitigation of LEG lines
Configuration Options
Enable LEG Drawing: Turn the LEG indicator on or off
Bullish/Bearish LEG Color: Customize colors for different direction LEG lines
LEG Line Width: Adjust the width of LEG lines (1-5)
LEG Line Style: Choose between solid, dashed, or dotted lines
LEG Line Length: Adjust the horizontal extension length of LEG lines (10-500)
Maximum LEG Display Count: Control the maximum number of LEG lines shown on the chart (1-100)
LEG Offset: Horizontally adjust the position of LEG lines, can offset left or right
Hide Mitigated LEGs: Choose whether to hide LEG lines after price crosses them
使用场景
趋势识别: 通过多个未缓解的同向LEG线判断市场趋势方向
支撑/阻力区域: LEG线通常成为市场的临时支撑或阻力位
回撤交易: 当价格回撤到未缓解的LEG线附近时寻找入场机会
止损设置: 使用LEG线作为止损位的参考点
市场结构分析: 通过LEG线的生成和缓解理解市场结构变化
US Market ORB with Volume SpikeHow to Use:
Apply to US stocks/ETFs (works best on 1-5 minute charts)
Default settings work for NYSE/NASDAQ market hours
Blue background shows ORB formation period
Orange highlights indicate volume spikes
Buy/Sell signals appear at breakouts with volume confirmation
Nifty Range % and Points by Time BlocksPine Script that gives you day-wise intraday range percentage for these 3 time blocks (9:16–10:45, 10:45–1:15, 1:15–3:15), we can:
Detect time blocks during the day
Track High/Low for each block
Calculate range % for each block:
\text{Range %} = \frac{(High - Low)}{\text{Previous Day Close}} \times 100
Plot / Label it on the chart at the end of each block
Sahid Strategy v2This script identifies potential buy/sell signals using:
Pivot Points - Detects swing highs/lows (price reversals)
Confirmation Filters - Reduces false signals using:
RSI (momentum)
Moving Average (trend direction)
Optional MACD (trend confirmation)
Key Features
Signal Type Trigger Conditions
BUY - Price makes a swing low (pivot)
Copy
- RSI ≤ 30 (oversold)
- Price above trend MA
- MACD bullish (optional) |
| SELL | - Price makes a swing high (pivot)
- RSI ≥ 70 (overbought)
- Price below trend MA
- MACD bearish (optional) |
Visual Signals
Green "BUY" labels below price bars
Red "SELL" labels above price bars
Purple trend line (20-period EMA/SMA)
Orange/blue circles showing raw pivot points
Optional Tools
Debug Table (top-right): Shows real-time:
RSI value
Price vs MA position
MACD status
Alerts - Triggers audible/visual notifications
Customization
Adjust in settings:
Pivot sensitivity (left/right bars)
RSI levels (30/70 by default)
MA type/length (20-period EMA/SMA)
Toggle MACD filter on/off
Best For: Swing trading in trending markets (1H-4H timeframes). Signals appear faster than classic pivot strategies but still require confirmation from other analysis tools.
NQ/MNQ Futures Delta+ with Price Action EntriesNQ/MNQ Futures Delta+ with Price Action Entries
Description: This TradingView indicator combines Futures Delta analysis with advanced price action techniques to provide an enhanced trading strategy for the NQ/MNQ futures market. The script analyzes the market using a variety of methods including Delta, volume analysis, and candlestick patterns, while also incorporating price action factors like support/resistance levels and breakouts to offer more refined buy and sell signals.
Key Features:
Delta Analysis:
The Delta calculation tracks the difference between buying and selling pressure within each market bar. The indicator calculates delta based on different modes (Classic, Volume Based, Tick Based), and then applies cumulative delta for trend analysis.
The Cumulative Delta is calculated using one of the three available modes:
Total: Tracks the cumulative delta over time.
Periodic: Measures delta over a defined period (user-configurable).
EMA: Applies an Exponential Moving Average to smooth the delta values.
Volume Confirmation:
The script includes volume analysis to confirm price movements. A volume spike is used to validate buy/sell signals, ensuring that price movements are supported by significant trading volume.
Price Action-Based Entries:
Support and Resistance: Dynamic support and resistance levels are calculated based on the lowest low and highest high of the last 20 bars. These levels are used to identify breakout points, providing context for potential buy/sell entries.
Candlestick Patterns: The script recognizes Bullish Engulfing and Bearish Engulfing candlestick patterns. These patterns signal potential reversals in price direction and are used to confirm trade entries.
Breakout Logic: Buy signals are triggered when the price breaks above resistance, and sell signals are triggered when the price breaks below support, providing high-probability entry points during trend reversals or continuations.
Moving Average Trend Confirmation:
The script uses two moving averages:
9-period Exponential Moving Average (EMA): Short-term trend indicator.
21-period Exponential Moving Average (EMA): Longer-term trend indicator.
Trades are only considered in the direction of the prevailing trend:
A bullish signal is confirmed if the price is above both EMAs.
A bearish signal is confirmed if the price is below both EMAs.
Buy/Sell Signal Triggers:
Buy Signal: A buy signal is triggered when:
A bullish divergence is confirmed with volume support.
A bullish engulfing candlestick pattern forms.
The price breaks above resistance.
The price is above both the 9 EMA and 21 EMA, indicating an uptrend.
Sell Signal: A sell signal is triggered when:
A bearish divergence is confirmed with volume support.
A bearish engulfing candlestick pattern forms.
The price breaks below support.
The price is below both the 9 EMA and 21 EMA, indicating a downtrend.
Visualization:
Delta Candles: The cumulative delta is plotted as a candlestick on the chart, with green and red coloring to show buying or selling dominance.
Support and Resistance Levels: Support and resistance zones are plotted to show key levels where price action may react.
Moving Averages: The 9 EMA and 21 EMA are plotted to show short-term and long-term trend direction.
Signal Markers: Buy and sell signals are marked on the chart with green triangles (buy) and red triangles (sell) for easy visualization of trade opportunities.
Alerts:
Alerts can be set up for buy and sell signals, enabling you to be notified when the script identifies potential trade opportunities based on Delta analysis, volume confirmation, and price action.
How to Use This Script:
Market: This script is optimized for NQ and MNQ futures contracts but can be adapted for other markets as well.
Signal Interpretation: Use the buy and sell signals for trend-following or counter-trend trades. These signals are particularly useful for 1-minute or 5-minute charts but can be adjusted to fit other timeframes.
Support/Resistance: Pay close attention to the dynamic support and resistance levels, as these are key price action points where significant price movements can occur.
Trend Confirmation: Ensure that trades are aligned with the overall trend confirmed by the 9 EMA and 21 EMA. The script prioritizes signals that align with the broader market trend.
Breakouts: Use the breakout logic to catch price moves when the market breaks key support or resistance levels. These can often lead to strong moves in the direction of the breakout.
Market Open Highlights (9:30 AM ET)This indicator zeroes in on the 9:30 AM Eastern Time market opens for NAS100 and US30, highlighting all market opens with a bold yet subtle yellow background. Tailored for precision backtesting, it uses TradingView’s timezone capabilities to pinpoint the exact 9:30 AM candle, skipping weekends to focus solely on U.S. equity market opens.
What It Does:
The script tracks the bar indices of all market opens at 9:30 AM ET, applying a semi-transparent yellow highlight to those candles. It’s a clean, efficient way to mark key session starts for analyzing price action or testing strategies.
How to Use It:
1. Apply the script to a chart of NAS100 (e.g., FX:NAS100) or US30 (e.g., FX:US30) in TradingView on any timeframe.
2. Set your chart timezone to "America/New_York" (Settings > Timezone/Sessions).
3. Scroll back through trading days to see the yellow highlights on the 9:30 AM candles.
4. While it functions across all timeframes, it’s optimized for 5-minute and 1-minute charts, where the 9:30 AM candle aligns precisely with the U.S. market open for detailed analysis.
5. Use it to study price behavior or refine strategies around this critical daily event.
Open Range Candle [TradeWithRon]This Open Range Break indicator is a tool designed to help traders identify and visualize key price levels using the Opening Range Breakout (ORB) strategy. This indicator dynamically plots critical levels such as the high, low, and middle of a predefined range, along with Fibonacci retracement levels for further analysis. It also features several customization options to fit various trading styles.
Key Features:
Session Setup: Allows the user to set the time offset in GMT - or + to adjust the ORB session to their local time zone.
The default ORB session is set at 9:45 AM but can be adjusted based on user preferences.
Warning: Only supports 5-minute and 15-minute timeframes.
Visual Customization:
Line Styles: Users can choose from Solid, Dotted, or Dashed lines to represent key price levels.
Color Adjustments: Customizable colors for the high, middle, and low levels of the range, as well as Fibonacci levels and vertical lines.
Labeling Options: The labels can be customized in terms of size and color, helping to keep the chart clean and clear.
Fibonacci Retracement Levels: Fibonacci retracement levels are automatically drawn between the high and low of the range. Users can toggle these on or off and customize the offset to suit different trading instruments.
Time-Based Visuals: A vertical line is drawn at the start of the ORB session, providing a clear visual marker of where the breakout starts. This is useful for pinpointing key trade setups.
The indicator supports both 5-minute and 15-minute timeframes.
EMA Integration: The user can enable an Exponential Moving Average (EMA) on any chosen timeframe with adjustable parameters such as the length and color, providing additional trend context.
Dynamic Labeling: The indicator labels the high, middle, and low points of the ORB with custom text. These labels are updated in real-time as new data becomes available.
Limit on Lines and Labels: The indicator allows for a limit on the number of lines and labels drawn to maintain a clean chart, preventing unnecessary clutter as more ORB levels are plotted.
Daily Bias Information: The indicator assesses the daily trend bias (bullish or bearish) based on the relationship between the open and close prices for the last three daily candles, providing context for the current trading session.
Countdown Timer: The remaining time until the end of the current session is displayed in a countdown format, which helps traders to time their entries and exits more precisely.
How To Use:,
- Set the Timeframe to 15 minutes.
- Adjust the Time Zone Offset if needed, based on your local time zone.
- Enable the Show ORB feature for the first 15-minute candle to be drawn as the opening range. - The indicator will automatically mark the high, middle, and low points of the range.
Identify Breakout Points:
Bullish Breakout: If the price breaks above the high of the 15-minute opening range, this indicates a potential bullish breakout. The indicator will plot a vertical line marking the breakout point for further confirmation.
Bearish Breakout: If the price breaks below the low of the 15-minute opening range, this signals a potential bearish breakout. Again, the indicator will plot the breakout point with a vertical line for easy identification.
🔶 Disclaimer
Use with Caution: This indicator is provided for educational and informational purposes only and should not be considered as financial advice. Users should exercise caution and perform their own analysis before making trading decisions based on the indicator's signals.
Not Financial Advice: The information provided by this indicator does not constitute financial advice, and the creator (Tradewithron) shall not be held responsible for any trading losses incurred as a result of using this indicator.
Backtesting Recommended: Traders are encouraged to backtest the indicator thoroughly on historical data before using it in live trading to assess its performance and suitability for their trading strategies.
Risk Management: Trading involves inherent risks, and users should implement proper risk management strategies, including but not limited to stop-loss orders and position sizing, to mitigate potential losses.
No Guarantees: The accuracy and reliability of the indicator's signals cannot be guaranteed, as they are based on historical price data and past performance may not be indicative of future
Closing Range BreakoutIndicator Description:
This tool tracks the closing price range of a trading session (like New York or London market hours) and highlights potential breakout opportunities. It shows:
Extended Range Lines: Drawn after the session closes, marking the high/low of the session's final hour.
Breakout Arrows: Appear when prices close above/below the range for a user-defined number of consecutive bars.
Session Background: Gray highlight during the selected market's closing hour.
It helps traders spot momentum shifts by focusing on price behavior relative to the closing range, with customizable alerts for confirmed breakouts.
How to Use:
Select Session: Choose your market's closing hour (e.g., New York/London).
Set Confirmation: Adjust how many closes are needed to confirm a breakout.
Watch Visuals:
Gray background = Active closing session
Blue range = Extended high/low from last session
Arrows = First breakout signal
Trade Signals: Price closing outside the range triggers alerts (labels update automatically).
Focus on breakouts with momentum, using the range as support/resistance.
London Breakout Tracker - Box Style📊 London Breakout Tracker (Pine Script v6)
This script is designed to track the Asian session range and identify breakout opportunities when the London session begins. It highlights high-probability trade setups and helps avoid fakeouts or overly wide ranges.
🧱 1. Session Time Definitions (Adjusted for Kenyan Time)
The Asian session is defined as:
3:00 AM to 11:00 AM (Kenyan Time)
🔐 2. Asian Session High & Low
During the Asian session:
The script tracks the highest high and lowest low to define the range.
These are stored in variables: asianHigh and asianLow.
🧊 3. Box Drawing for the Asian Range
Once the Asian session ends:
A visual box is drawn around the session using box.new().
This box spans from the session start to end bars and from the high to low.
It helps visually see the range price must break out from.
🚨 4. Breakout Signals
After the Asian session:
A Long Breakout signal is generated if:
The candle closes above the Asian High.
A Short Breakout signal is generated if:
The candle closes below the Asian Low.
This corresponds to 00:00 to 08:00 UTC
These are shown with:
✅ Green up label for long breakouts
❌ Red down label for short breakouts
🧯 5. Fakeout Detection
If price breaks out but closes back inside the Asian range, it’s marked as a Fakeout:
Long Fakeout: Price breaks above high, then closes back below.
Short Fakeout: Price breaks below low, then closes back above.
These are marked with orange X-crosses above or below candles.
⚠️ 6. Wide Range Filter
If the Asian session range is too wide (e.g. > 40 pips), a gray background is drawn.
This warns you not to trade that day since breakouts from wide ranges are unreliable.
📣 7. Alert Conditions
The script can trigger alerts in TradingView when:
🔔 A Long or Short Breakout occurs
⚠️ A Fakeout is detected
You can set these up via the TradingView alert system.
🎯 Overall Purpose:
The script helps you:
Clearly see the Asian session range
Identify breakout opportunities at the London open
Avoid trading during fakeouts or wide-range sessions
Get alerted when breakout/fakeout conditions occur
Nifty 1m EMA Pullback Scalper Signals
### **Master the Market with the Sniper Scalping Strategy for Nifty (1-Minute Timeframe)**
Unlock the power of precision trading with this expertly crafted **Sniper Scalping Strategy**, designed specifically for the Nifty index on a lightning-fast 1-minute timeframe. Perfect for traders who thrive on quick decisions and small, consistent profits, this strategy combines multiple indicators to deliver razor-sharp entries and exits—ideal for India’s dynamic market.
#### **Why This Strategy Stands Out**
- **Pinpoint Accuracy**: Harness the synergy of the **5 EMA and 10 EMA crossover** to lock onto the short-term trend, while the **Stochastic Oscillator (14,3,3)** times your entries and exits with surgical precision.
- **Fast and Effective**: Tailored for the 1-minute chart, this strategy capitalizes on Nifty’s volatility, targeting **10-point profits** with a tight **5-point stop-loss**—keeping your risk low and rewards high.
- **Trend + Momentum**: Blend trend-following (EMAs) with momentum signals (Stochastic) for a robust, multi-dimensional approach that cuts through market noise.
#### **How It Works**
- **Buy Signal**: Enter long when the 5 EMA crosses above the 10 EMA and the Stochastic rises above 20—catching the uptrend at its sweet spot.
- **Sell Signal**: Go short when the 5 EMA dips below the 10 EMA and the Stochastic falls below 80—riding the downtrend with confidence.
- **Exit Like a Pro**: Take profits at 10 points or when the Stochastic hits overbought/oversold extremes, ensuring you’re in and out before the market shifts.
#### **Perfect for Nifty Scalpers**
Built for the fast-paced world of Nifty trading, this strategy shines during high-volatility sessions like the market open or global overlaps. Whether you’re a beginner honing your skills or a seasoned trader seeking consistency, the Sniper Scalping Strategy offers a clear, actionable framework to scalp profits with discipline and precision.
#### **Get Started**
Test it in a demo account, refine it to your style, and watch your scalping game soar. Trade smart, stay focused, and let the Sniper Scalping Strategy turn Nifty’s 1-minute moves into your edge!
Normalized MACD with RSI & Stoch RSI + SignalsNormalized MACD with RSI & Stoch RSI Indicator
Overview:
This indicator combines three popular momentum indicators (MACD, RSI, and Stochastic RSI) into a single cohesive, normalized view, making it easier for traders to interpret market momentum and potential buy/sell signals. It specifically addresses an important issue—the different scale ranges of indicators—by normalizing MACD values to match the 0–100 scale of RSI and Stochastic RSI.
Here’s a clear and concise description of your updated Pine Script indicator:
⸻
Normalized MACD with RSI & Stoch RSI Indicator
Overview:
This indicator combines three popular momentum indicators (MACD, RSI, and Stochastic RSI) into a single cohesive, normalized view, making it easier for traders to interpret market momentum and potential buy/sell signals. It specifically addresses an important issue—the different scale ranges of indicators—by normalizing MACD values to match the 0–100 scale of RSI and Stochastic RSI.
⸻
Key Components:
① MACD (Normalized):
• The Moving Average Convergence Divergence (MACD) originally has an unlimited numerical range.
• Normalization Method:
• Uses a custom tanh(x) function implemented directly in Pine Script:
\tanh(x) = \frac{e^{x}-e^{-x}}{e^{x}+e^{-x}}
• MACD values are scaled using this method to a range of 0–100, with the neutral line at exactly 50.
• Interpretation:
• Values above 50 indicate bullish momentum.
• Values below 50 indicate bearish momentum.
② RSI (Relative Strength Index):
• Measures market momentum on a 0–100 scale.
• Traditional RSI interpretation:
• Overbought conditions: RSI > 70–80.
• Oversold conditions: RSI < 30–20.
③ Stochastic RSI:
• Combines RSI and Stochastic Oscillator to give short-term, highly sensitive signals.
• Helps identify immediate market extremes:
• Above 80 → Short-term overbought.
• Below 20 → Short-term oversold.
⸻
How the Indicator Works:
• Visualization:
• All three indicators (Normalized MACD, RSI, Stochastic RSI) share the same 0–100 scale.
• Clear visual lines and reference levels:
• Midline at 50 indicates neutral momentum.
• Dashed lines at 20 and 80 clearly mark oversold/overbought zones.
• Trading Signals (Recommended approach):
• Bullish Signal (Potential Buy):
• Normalized MACD crosses above 50.
• RSI below or approaching oversold zone (below 30–20).
• Stochastic RSI below 20, indicating short-term oversold conditions.
• Bearish Signal (Potential Sell):
• Normalized MACD crosses below 50.
• RSI above or approaching overbought zone (above 70–80).
• Stochastic RSI above 80, indicating short-term overbought conditions.
⸻
Why Use This Indicator?
• Harmonized Signals:
Normalization of MACD significantly improves clarity and comparability with RSI and Stochastic RSI, providing a unified momentum picture.
• Intuitive Analysis:
Traders can rapidly and intuitively identify momentum shifts without needing multiple indicator windows.
• Improved Decision-Making:
Clear visual references and signals help reduce subjective interpretation, potentially improving trading outcomes.
⸻
Suggested Usage:
• Combine with traditional support
BTC Trading RobotOverview
This Pine Script strategy is designed for trading Bitcoin (BTC) by placing pending orders (BuyStop and SellStop) based on local price extremes. The script also implements a trailing stop mechanism to protect profits once a position becomes sufficiently profitable.
________________________________________
Inputs and Parameter Setup
1. Trading Profile:
o The strategy is set up specifically for BTC trading.
o The systemType input is set to 1, which means the strategy will calculate trade parameters using the BTC-specific inputs.
2. Common Trading Inputs:
o Risk Parameters: Although RiskPercent is defined, its actual use (e.g., for position sizing) isn’t implemented in this version.
o Trading Hours Filter:
SHInput and EHInput let you restrict trading to a specific hour range. If these are set (non-zero), orders will only be placed during the allowed hours.
3. BTC-Specific Inputs:
o Take Profit (TP) and Stop Loss (SL) Percentages:
TPasPctBTC and SLasPctBTC are used to determine the TP and SL levels as a percentage of the current price.
o Trailing Stop Parameters:
TSLasPctofTPBTC and TSLTgrasPctofTPBTC determine when and by how much a trailing stop is applied, again as percentages of the TP.
4. Other Parameters:
o BarsN is used to define the window (number of bars) over which the local high and low are calculated.
o OrderDistPoints acts as a buffer to prevent the entry orders from being triggered too early.
________________________________________
Trade Parameter Calculation
• Price Reference:
o The strategy uses the current closing price as the reference for calculations.
• Calculation of TP and SL Levels:
o If the systemType is set to BTC (value 1), then:
Take Profit Points (Tppoints) are calculated by multiplying the current price by TPasPctBTC.
Stop Loss Points (Slpoints) are calculated similarly using SLasPctBTC.
A buffer (OrderDistPoints) is set to half of the take profit points.
Trailing Stop Levels:
TslPoints is calculated as a fraction of the TP (using TSLTgrasPctofTPBTC).
TslTriggerPoints is similarly determined, which sets the profit level at which the trailing stop will start to activate.
________________________________________
Time Filtering
• Session Control:
o The current hour is compared against SHInput (start hour) and EHInput (end hour).
o If the current time falls outside the allowed window, the script will not place any new orders.
________________________________________
Entry Orders
• Local Price Extremes:
o The strategy calculates a local high and local low using a window of BarsN * 2 + 1 bars.
• Placing Stop Orders:
o BuyStop Order:
A long entry is triggered if the current price is less than the local high minus the order distance buffer.
The BuyStop order is set to trigger at the level of the local high.
o SellStop Order:
A short entry is triggered if the current price is greater than the local low plus the order distance buffer.
The SellStop order is set to trigger at the level of the local low.
Note: Orders are only placed if there is no current open position and if the session conditions are met.
________________________________________
Trailing Stop Logic
Once a position is open, the strategy monitors profit levels to protect gains:
• For Long Positions:
o The script calculates the profit as the difference between the current price and the average entry price.
o If this profit exceeds the TslTriggerPoints threshold, a trailing stop is applied by placing an exit order.
o The stop price is set at a distance below the current price, while a limit (profit target) is also defined.
• For Short Positions:
o The profit is calculated as the difference between the average entry price and the current price.
o A similar trailing stop exit is applied if the profit exceeds the trigger threshold.
________________________________________
Summary
In essence, this strategy works by:
• Defining entry levels based on recent local highs and lows.
• Placing pending stop orders to enter the market when those levels are breached.
• Filtering orders by time, ensuring trades are only taken during specified hours.
• Implementing a trailing stop mechanism to secure profits once the trade moves favorably.
This approach is designed to automate BTC trading based on price action and dynamic risk management, although further enhancements (like dynamic position sizing based on RiskPercent) could be added for a more complete risk management system.