filter duplicate buy sell short cover signals[VP]I was looking for an indicator that would filter signals but could only find solutions for a buy/sell system. I couldn't locate one that dealt with buy/sell AND short/cover.
The indicator expands the idea from the link:
stackoverflow.com
Penunjuk dan strategi
ATR%The time period can be customized, which is suitable for finding short-term high-volatility trading pairs, and may be suitable for finding grid trading.
50-Candle Look-Back MarkerIt simply redraws one vertical dotted line that always sits exactly 50 bars behind the current bar, so you can check at a glance that any trend-line you draw has at least 50 candles of data to the right of it.
My strategyThis strategy is designed for BTC/USDT breakout trading on short-to-medium timeframes. It enters positions when price breaks out above recent highs or below recent lows, using automated risk management and alerts.
🔍 Core Logic
Long entry: When price breaks above the highest high of the last N candles (default: 20).
Short entry: When price breaks below the lowest low of the last N candles.
This logic helps detect momentum-driven breakout moves based on recent price consolidation.
⚙️ Strategy Settings
Capital: $10,000
Order size: 1% of equity per trade
Commission: 0.1% per trade (simulating exchange fees)
Slippage: 3 ticks (for realism)
Take Profit: 3% from entry
Stop Loss: 1.5% from entry
These settings aim to provide realistic, risk-conscious backtest results, suitable for individual traders.
📊 Visual Features
Green line = Breakout High
Red line = Breakout Low
Entry/exit markers are plotted on the chart
🔔 Alerts
Alerts are integrated for:
Long Entry
Short Entry
You can create TradingView alerts using this script to automate notifications or connect to external bots (e.g., via webhook for Telegram or Discord).
🧠 How This Strategy Is Different
While many breakout bots use standard Donchian channels, this version allows you to:
Tune the breakout sensitivity (via the adjustable lookback period)
Customize TP/SL without external inputs
Integrate alerts for real-time decision making or automation
The simplicity and flexibility make it useful as both a live tool and a framework for further development.
⚠️ Disclaimer
This script is for educational purposes only. Backtests are based on historical data and do not guarantee future results. Always test thoroughly before using in live trading. Risk only what you can afford to lose.
CRT Impulse Detector - Bull & BearHelps Identify Impulse Candles, only triggering those that break recent swings.
Refined MA + Engulfing (M5 + Confirmed Structure Break)I would like to start by saying that this strategy was put together using ChatGPT, some past trades from myself and some backtested trades, and from my time as a student in Wallstreet Academy under Cue Banks.
I am not profitable yet. I am too jumpy and blow accounts. I'm hoping this strategy (and it's indicator twin) can help me spend less time on the charts, so that I'm not tempted to press buttons as much.
It does fire quite a bit. But, the Strategy Tester tab shows a 30% win rate with our wins being significant to our losses. So, in theory, if you followed the rules of this strategy STRICTLY, you COULD BE profitable.
With that being said, there are times that this strategy has shown to trigger and I ask, "Why?".
I just want to help myself and others, and maybe make some decent\cool stuff along the way. Enjoy
KR
ES Gap Trading Levels# ES Gap Trading Levels
## Overview
A professional gap trading indicator designed specifically for ES Futures traders. This indicator automatically captures the closing price at 3:59 PM ET (NYSE close) and immediately displays key gap levels for the evening trading session starting at 6:00 PM ET.
## Key Features
### ✅ **Automatic Gap Level Detection**
- Captures ES Futures closing price at 3:59-4:00 PM ET
- Instantly displays gap levels for immediate session planning
- Resets daily for fresh gap analysis
### ✅ **Six Critical Gap Levels**
- **±10 Points** (White lines) - Short-term gap targets
- **±20 Points** (Light Blue lines) - Medium gap targets
- **±30 Points** (Red lines) - Extended gap targets
### ✅ **Professional Display**
- Clean horizontal lines with customizable colors
- Clear labels showing point values (+30, +20, +10, -10, -20, -30)
- Gap levels table showing exact price targets
- Optional closing price reference line
### ✅ **Customizable Settings**
- Adjustable line colors, width, and extension
- Toggle labels and reference table on/off
- Manual closing price override for testing
- Debug mode for troubleshooting
### ✅ **Smart Management**
- Automatic cleanup of previous day's levels
- Lines appear immediately after market close
- Optimized for ES1!, MES1!, and other ES futures contracts
## How It Works
1. **Market Close Capture**: At 3:59 PM ET, the indicator captures the ES closing price
2. **Instant Display**: Gap levels immediately appear on your chart
3. **Evening Session Ready**: Lines are positioned for 6:00 PM ET session start
4. **Daily Reset**: Old levels are automatically cleared each new trading day
## Perfect For:
- Gap trading strategies
- Overnight futures trading
- ES futures scalping
- Session transition analysis
- Risk management levels
## Usage Tips:
- Best used on 1-15 minute ES futures charts
- Ensure chart timezone shows ET times
- Use manual mode for backtesting specific dates
- Combine with volume and momentum indicators
## Settings Guide:
- **Display Settings**: Control lines, labels, and table visibility
- **Colors**: Customize each gap level color scheme
- **Manual Settings**: Override closing price for testing
- **Debug**: View time detection and diagnostic information
*Designed by traders, for traders. Clean, professional, and reliable gap level detection for serious ES futures trading.*
Scalping Indicator v6This Script Show You Recent Scalping Trades u can get instantly we have use the knowledge we gain across the time we might be right or wrong do your own research and use this indicator on ur own risk
HTF Current/Average RangeThe "HTF(Higher Timeframe) Current/Average Range" indicator calculates and displays the current and average price ranges across multiple timeframes, including daily, weekly, monthly, 4 hour, and user-defined custom timeframes.
Users can customize the lookback period, table size, timeframe, and font color; with the indicator efficiently updating on the final bar to optimize performance.
When the current range surpasses the average range for a given timeframe, the corresponding table cell is highlighted in green, indicating potential maximum price expansion and signaling the possibility of an impending retracement or consolidation.
For day trading strategies, the daily average range can serve as a guide, allowing traders to hold positions until the current daily range approaches or meets the average range, at which point exiting the trade may be considered.
For scalping strategies, the 15min and 5min average range can be utilized to determine optimal holding periods for fast trades.
Other strategies:
Intraday Trading - 1h and 4h Average Range
Swing Trading - Monthly Average Range
Short-term Trading - Weekly Average Range
Also using these statistics in accordance with Power 3 ICT concepts, will assist in holding trades to their statistical average range of the chosen HTF candle.
CODE
The core functionality lies in the data retrieval and table population sections.
The request.security function (e.g., = request.security(syminfo.tickerid, "D", , lookahead = barmerge.lookahead_off)) retrieves high and low prices from specified timeframes without lookahead bias, ensuring accurate historical data.
These values are used to compute current ranges and average ranges (ta.sma(high - low, avgLength)), which are then displayed in a dynamically generated table starting at (if barstate.islast) using table.new, with conditional green highlighting when the current range is greater than average range, providing a clear visual cue for volatility analysis.
Trading Sessions Pro [By TradingNexus]🔍 **Trading Sessions Pro – Institutional Timing Zones **
This premium script highlights all key trading session times (New York, London, Asia), professional high-volatility trading zones, and visualizes institutional market timing with precision.
### 🕒 SESSION OVERVIEW:
• NY, London, and Asia sessions — shown with real-time background color overlays
• Session open/close markers on the chart (arrows below/above bars)
• Live session table showing current status (ACTIVE / INACTIVE)
### 💹 PROFESSIONAL TRADE ZONES:
• NY Trade Zone (08:00–11:00 EST)
• London Trade Zone (03:00–06:00 EST)
• Asia Trade Zone (18:00–21:00 EST)
• Overlap Zone (08:00–12:00 EST) – highest liquidity
• Visualized with color-coded backgrounds and labels like "NY TRADE", "HIGH LIQUIDITY"
### 🚫 NO-TRADE ZONES:
• Gray background marks low-probability zones when no trade zones are active
• Helps traders avoid sideways markets, low volume, and choppy sessions
• Based on session presence without overlapping trade zone activity
### 📈 SIGNALS:
• Volatility-based BUY and SELL signals (ATR-filtered)
• Buy = green candle + high volatility in trade zone
• Sell = red candle + high volatility in trade zone
• Arrow markers (↑ BUY, ↓ SELL) plotted on chart in real time
• Sensitivity control (Low / Medium / High) via settings
• Alerts supported for signal triggers
### 🧾 LIVE DASHBOARDS:
• Top-right session status table (NY / London / Asia)
• Bottom-right trade zone dashboard with:
- Real-time trade zone status
- ATR-based volatility value
- Summary of market condition: TRADE / WAIT
### 🔔 ALERTS SYSTEM:
• Alerts for:
- Session starts
- Trade zone activations
- Buy/Sell signal triggers
• Plug directly into TradingView alert system
---
✅ Compatible with any asset (Forex, Crypto, Indices)
✅ Designed for intraday + session-based institutional traders
✅ Clean Pine Script v6 coding
✅ Fully customizable and beginner-friendly
📊 Created by: **TradingNexus**
🌐 Website: (tradingnx.com)
📲 Telegram: @TradingNXClub
🐦 Twitter: @TradingNX
UngliMulti-Indicator Confluence System
This is a **multi-indicator confluence trading signal system** called "Ungli" that combines RSI, ADX, and MACD to identify high-probability momentum opportunities when used alongside chart pattern and trend line breakouts.
## Core Concept
The script identifies moments when multiple technical indicators align to suggest potential price momentum moves, specifically looking for oversold and overbought conditions with momentum confirmation. Use green and red highlights along with chart patterns and trend line breakouts that signal a breakout for confluence for a likely momentum move.
## Technical Indicators Used
**RSI (Relative Strength Index)**
- Default 14-period RSI
- Oversold threshold: < 40
- Overbought threshold: > 60
**ADX (Average Directional Index)**
- Default 14-period ADX with DI+ and DI-
- Threshold: 21
- Looks for ADX below threshold but ticking upward (momentum building)
**MACD (Moving Average Convergence Divergence)**
- Fast: 12, Slow: 26, Signal: 9
- Uses MACD line direction as trend filter
## Signal Logic
**Green Background (Bullish Momentum Signal):**
- RSI > 60 (overbought)
- ADX < 21 AND rising
- MACD line trending upward
**Red Background (Bearish Momentum Signal):**
- RSI < 40 (oversold)
- ADX < 21 AND rising
- MACD line trending downward
## Key Strategy Elements
1. **Confluence Approach**: Requires all three indicators to align, reducing false signals
2. **Momentum Filter**: ADX must be building (rising) even if low, indicating emerging trend strength
3. **Trend Confirmation**: MACD direction must match the expected move
4. **Visual Simplicity**: Clean background highlighting without chart clutter
5. **Pattern Integration**: Designed to work with chart patterns and breakout strategies
## Use Case
This indicator is designed for swing trading and breakout strategies, identifying moments when oversold/overbought conditions coincide with building momentum in the expected direction. The ADX filter helps avoid choppy, trendless markets. Best used in conjunction with:
- Support/resistance breakouts
- Chart pattern breakouts (triangles, flags, channels)
- Trend line breaks
- Key level violations
The background highlights serve as confluence confirmation when combined with your chart analysis and breakout setups.
Improved Weinstein Stage AnalysisThe code provides an actionable, disciplined, and visually informative implementation of the “Stage Analysis” approach pioneered by Stan Weinstein, with enhancements to modernize, automate, and clarify the methodology for today’s traders using TradingView. It faithfully follows the workflow recommended: identify long-term cycles, confirm with volume and relative strength, and only engage aggressively with the market during the advancing (bullish) stage with all “clues” aligned.
Kimchi Premium Dashboard (Final)📜 Kimchi Premium Dashboard (Live & Daily Log)
🚀 Summary
This indicator is an all-in-one dashboard that tracks the real-time price difference of USDT (Tether) between a Korean exchange (Upbit) and a global exchange (Coinbase). This difference is commonly known as the "Kimchi Premium" (Kimp) or "Reverse Premium."
Going beyond a simple premium display, this tool is designed to assist with arbitrage and swing trading strategies by providing intuitive visualizations, a smart multi-tier alert system, and a daily data logging feature.
✨ Key Features
Real-time Premium Calculation: Accurately calculates the premium in percentage (%) based on the USDT prices from Upbit and Coinbase, and the live USD/KRW exchange rate.
Intuitive Zone Visualization: Instantly identify whether the premium is in a Buy, Sell, or Neutral zone through dynamic background coloring.
Smart Alert System: Delivers systematic alerts for key events like the initial -2.0% entry, a critical -2.5% breach, and subsequent new lows, all without unnecessary spam. (Can be toggled ON/OFF in settings).
Hybrid Dashboard: Features both a real-time status label and a daily log that records the day's significant low points.
📊 Visual Components Explained
Lines
🔵 Blue Line (Premium Line): This is the core real-time premium value (%). The position of this line is most important.
🟠 Orange Line (SMA Line): This is the moving average of the premium. It helps identify the overall trend beyond short-term volatility.
Zones
🟩 Green Zone (Buy Zone): This area, typically below -2.0%, indicates a "Reverse Premium" where the Korean price is significantly lower than the global price. It represents a potential buying opportunity for arbitrage.
🟥 Red Zone (Kimp Zone): This area, typically above 0%, indicates a "Kimchi Premium" where the Korean price is higher. This represents a potential selling or profit-taking opportunity.
Dashboard
Live Status Label: Located on the right, this label displays the precise premium value, the current zone status (Buy/Sell/Neutral), and the SMA value in real-time.
Today's Lows Log: Located on the left, this table records the time and level of significant lows (below -2.5%) broken during the day. It resets automatically at midnight (UTC).
🔔 Alerts & How to Use
This indicator provides a systematic 3-tier alert system designed for arbitrage strategies. (Must be enabled via "Enable Real-time Alerts?" in settings).
✅ Good Opportunity (-2.0%): A one-time alert triggers upon the first entry into the initial buying zone.
🚨 BIG Opportunity (-2.5%): A distinct, high-priority alert triggers when this more critical level is breached.
📞 Granular Tracking (Below -2.5%): Receive alerts for each new low in -0.1% increments for precise tracking during the best opportunities.
A recommended hybrid strategy is to keep alerts off for daily review using the "Today's Lows Log," and turn them on only during critical periods for real-time action.
Disclaimer: The information provided by this indicator is for reference purposes only and does not constitute financial advice. All investment decisions and risks are the sole responsibility of the user.
Infalible Universal 2:1 Estrategia🔹 "Infalible Universal 2:1 Strategy" – Optimized for All Markets and Timeframes
This strategy combines proven technical indicators with a dynamic risk management model to deliver consistent and optimized entries, especially on lower timeframes like 5 and 15 minutes.
Core Components:
📈 Entry Signals:
Trades are triggered when a fast Simple Moving Average (SMA) crosses over or under a slow SMA, with confirmation from a strong trend (ADX filter).
🎯 Dynamic Take Profit and Stop Loss:
Positions are exited based on a 2:1 Risk/Reward ratio, calculated using the current Average True Range (ATR). This allows the system to adapt to market volatility and remain effective across any asset.
🧱 Visual SL/TP Zones:
Colored rectangles highlight the Stop Loss (red) and Take Profit (green) areas on the chart, helping traders clearly visualize risk and reward at every entry.
🧠 Clean and Effective Logic:
No repainting. No lagging signals. Fully backtestable. Alerts included for long and short entries.
Whether you're trading forex, crypto, indices, or stocks, this universal strategy adapts to market behavior and focuses on consistent execution through disciplined risk management.
Clarix Market DashboardPurpose :
Shows if the market is trending, volatile, or stuck so you can decide when to trade or wait.
How to Use
Add the indicator to your chart. Adjust basic settings like EMA, RSI, ATR lengths, and timezone if needed. Use it before entering any trade to confirm market conditions.
What Each Metric Means (with general ranges)
Session: Identifies which market session is active (New York, London, Tokyo).
Trend: Shows current market direction. “Up” means price above EMA and VWAP, “Down” means price below. Use this to confirm bullish or bearish bias.
HTF Trend: Confirms trend on a higher timeframe for stronger signals.
ATR (Average True Range): Measures market volatility or price movement speed.
Low ATR (e.g., below 0.5% of price) means quiet or slow market; high ATR (above 1% of price) means volatile or fast-moving market, good for active trades.
Strong Bar: A candlestick closing near its high (above 75% of range) indicates strong buying momentum; closing near its low indicates strong selling momentum.
Higher Volume: Volume higher than average (typically 10-20% above normal) means more market activity and stronger moves.
Volume / Avg Volume: Ratio above 1.2 (120%) shows volume is significantly higher than usual, signaling strong interest.
RVol % (Relative Volume %): Above 100% means volume is hotter than normal, increasing chances of strong moves; below 50% means low activity and possible indecision.
Delta: Difference between buying and selling volume (if available). A positive delta means buyers dominate; negative means sellers dominate.
ADX (Average Directional Index): Measures trend strength:
Below 20 means weak or no trend;
Above 25 means strong trend;
Between 20-25 is moderate trend.
RSI (Relative Strength Index): Momentum oscillator:
Below 30 = oversold (potential buy);
Above 70 = overbought (potential sell);
Between 40-60 means neutral momentum.
MACD: Confirms momentum direction:
Positive MACD histogram bars indicate bullish momentum;
Negative bars indicate bearish momentum.
Choppiness Index: Measures how much the market is ranging versus trending:
Above 60 = very choppy/sideways market;
Below 40 = trending market.
Consolidation: When true, price is stuck in a narrow range, signaling indecision. Avoid breakout trades during this.
Quick Trading Reminder
Trade only when the trend is clear and volume is above average. Avoid trading in low volume or choppy markets.
Time Range Marker By BCB ElevateThe Time Range Marker is a simple yet powerful visual tool for traders who want to focus on specific time intervals within the trading day. This indicator highlights a custom time range on your chart using a background color, helping you visually isolate key trading sessions or event windows such as:
Market open/close hours
News release periods
High-volatility trading zones
Personal strategy testing windows
⚙️ Key Features:
Customizable start and end time (hour & minute)
Works across all intraday timeframes
Adjustable highlight color to match your chart theme
Built using Pine Script v5 for speed and flexibility
🔧 Settings:
Start Hour / Minute – Set the beginning of the time range (in 24-hour format)
End Hour / Minute – Define when the range ends
Highlight Color – Choose the background color for better visibility
🕒 Timezone Note:
The indicator uses UTC time by default to ensure accuracy across markets. If your broker uses a different timezone (like EST, IST, etc.), the script can be adjusted to reflect your local market hours.
✅ How to Use the Time Range Marker Indicator
This indicator is used to visually highlight a specific time window each trading day, such as:
Market open or close sessions (e.g., NYSE, London, Tokyo)
High-impact news release periods
Custom time slots for strategy testing or scalping
🛠️ Installation Steps
Open TradingView and go to any chart.
Click on Pine Editor at the bottom of the screen.
Copy and paste the full Pine Script (shared above) into the editor.
Click the “Add to Chart” ▶️ button.
The indicator will appear on the chart with a highlighted background during the time range you set.
⚙️ How to Customize the Time Range
After adding the indicator:
Click the gear icon ⚙️ next to the indicator’s name on the chart.
Adjust the following settings:
Start Hour / Start Minute: The beginning of your time range (in 24-hour format).
End Hour / End Minute: When the highlight should stop.
Highlight Color: Pick a color and transparency for visual clarity.
Click OK to apply changes.
🕒 Timezone Consideration
By default, the indicator uses UTC (Coordinated Universal Time).
To match your broker’s timezone (e.g., EST, IST, etc.), you'll need to adjust the script by changing:
sessStart = timestamp("Etc/UTC", ...)
sessEnd = timestamp("Etc/UTC", ...)
to your correct timezone, like "Asia/Kolkata" for IST or "America/New_York" for EST.
Let me know your broker or local timezone, and I’ll update it for you.
📈 Tips for Traders
Combine this with volume, price action, or breakout indicators to focus your strategy on high-probability time windows.
Use multiple versions of this script if you want to highlight more than one time range in a day.
HTF CandlesFull credit to cdikici71 - this is a stripped down version of cd_sweep&cisd_Cx to provide a clean higher timeframe (HTF) candle overlay. Choose colors for candles & font along with timeframe to overlay the HTF on any other timeframe.
Simple and Clean!
Refined MA + Engulfing (Strategy-Equivalent Trigger)I would like to start by saying that this indicator was put together using ChatGPT, some past trades from myself and some backtested trades, and from my time as a student in Wallstreet Academy under Cue Banks.
I am not profitable yet. I am too jumpy and blow accounts. I'm hoping this indicator (and it's strategy twin), with the help of some alerts, can help me spend less time on the charts, so that I'm not tempted to press buttons as much.
It does fire quite a bit. It can be adjusted, I believe, to trigger more or less (open the script, cooldown bars(x) <== change the X to whatever. 5 minute intervals so 1 is 5.
With that being said, there are times that this indicator has shown to trigger and I ask, "Why?".
I just want to help myself and others, and maybe make some decent\cool stuff along the way. Enjoy
KR
London & NY Session Markers + Pip MovementThis indicator visually marks the London and New York trading sessions on your chart and optionally calculates the pip range (high-low movement) during each session. It's specifically designed for Forex traders, helping you identify volatility windows and analyze market movement within major session times.
🔍 Key Features:
✅ Session Open/Close Markers
Draws vertical dotted lines at:
London Open (08:00 UK time)
London Close (11:00 UK time)
New York Open (14:00 UK time)
New York Close (17:00 UK time)
Each marker is labeled clearly ("London Open", "NY Close", etc.)
Uses color-coding for easy identification:
Aqua for London
Lime for New York
✅ Pip Range Display (Optional)
Measures the high-low price movement during each session.
Converts this movement into pips, using:
0.0001 pip size for most pairs
0.01 pip size for JPY pairs (auto-detected)
Displays a label (e.g., "London: 42.5 pips") above the candle at session close.
This feature can be toggled on/off via the settings panel.
✅ Time-Zone Aware
Session times are aligned to Europe/London time zone.
Adjusts automatically for Daylight Saving Time (DST).
✅ User Controls
Toggle visibility for:
London session markers
New York session markers
Pip range labels
📊 Use Cases:
Identify when liquidity and volatility increase, especially during session overlaps.
Analyze historical session-based volatility (e.g., compare NY vs. London pip ranges).
Combine with price action or indicator signals that work best in high-volume hours.
Optimize entry and exit timing based on session structure.
⚙️ Best Timeframes:
5-min to 1-hour charts for precise session tracking.
Works on Forex and CFD pairs with standard tick sizes.
⚠️ Notes:
This tool does not repaint and uses only completed bar data.
Pip calculation is based on the chart’s current symbol and tick size.
Designed for spot FX, not intended for cryptocurrencies or synthetic indices.
✅ Ideal For:
Forex Day Traders
Session-based Strategy Developers
London Breakout or NY Reversal Traders
Anyone analyzing volatility by session windows
Weekly 8 EMA Horizontal Linethis will automatically track the WEEKLY 8EMA on your chart so you can know where the Weekly 8EMA is on lower timeframes
3 Bullish Candles + No Wick + SL unter BoS (Swing Low)1m strategie basierend auf price action and volume candle sticks
30s OR ProjectionsThis script gets the opening range for NQ,ES, and YM. It then created deviations based on this range as targets to take profit from. You may also use the deviations to enter into trades looking for the other side of the range. You have the ability to shade areas of the range.
Stop Order Entry with Filters and Line📌 名称: Stop Order Entry with Filters (挂单入场辅助工具)
🧠 作者: Kuixi Zhu
🛠️ 功能简介:
本指标用于识别高质量的 Bull/Bear bar,并在其上方(或下方)自动绘制挂单入场线,帮助你基于 Price Action 策略设置 **buy stop / sell stop** 挂单。
✅ 特性:
- Bull bar:收盘靠近 high,且 bar 波动大于平均(ABR) → 在 high+1tick 画绿线(buy stop)
- Bear bar:收盘靠近 low,且 bar 波动大于平均 → 在 low-1tick 画红线(sell stop)
- 支持自定义线条长度、ABR周期、强度过滤标准
🔍 核心逻辑:
- `(close - low) / (high - low)` 衡量收盘靠近 high 的程度
- `barRange > avg(barRange)` 控制有效波动性
- 使用 `line.new` 动态画出可视化入场价格
📊 应用场景:
- 趋势交易中的顺势挂单策略
- price action 高质量 bar 的识别辅助
- 多头突破、空头反转结构的自动提示
⚙️ 参数可调:
- 最低收盘位置比例(default: 0.9)
- 最小 bar 波动倍数(相对 ABR)
- 横线绘制长度(default: 5 bars)
---