Strategy with Reference Lines📊 Strategy with Reference Lines
Description:
This strategy uses a contrarian approach based on the analysis of the previous candle to identify entry and exit points. The strategy draws horizontal reference lines at important levels of the previous candle and generates buy/sell signals based on the candle's direction.
Key Features:
🔹 Multi-Timeframe Analysis: Configurable for 1H, 2H, 3H, 4H, 6H, 12H, and 1D
🔹 Reference Lines: High, low, close, and midpoint (50%) of the previous candle
🔹 Visual Signals: Labels with prices and actions (BUY/SELL/TP)
🔹 Optional Trading: Enable/disable automatic order execution
🔹 Complete System: Automatic entry, Take Profit, and Stop Loss
🔹 Alerts: Notifications when a new candle is detected
Strategy Logic:
When the previous candle is POSITIVE:
Signal: 🔴 SELL at the previous candle's close
Take Profit: 🎯 Midpoint (50%) of the previous candle
Stop Loss: 🔴 High of the previous candle
When the previous candle is NEGATIVE:
Signal: 🟢 BUY at the previous candle's close
Take Profit: 🎯 Midpoint (50%) of the previous candle
Stop Loss: 🟢 Low of the previous candle
Visual Elements:
Green Line: High of the previous candle (when positive)
Red Line: Low of the previous candle (when negative)
Yellow Line: Close of the previous candle (always present)
Blue Line: Midpoint (50%) of the previous candle (always present)
Labels: Prices and actions with emojis for easy identification
Settings:
Timeframe: Default 4H (configurable)
Auto Trading: Disabled by default (safety)
Alerts: Include entry prices, TP, and SL
Recommended Usage:
✅ Visual Analysis: Use with trading disabled for analysis
✅ Backtesting: Enable trading to test historically
✅ Swing Trading: Ideal for 4H or higher timeframes
✅ Risk Management: Automatic SL and TP for protection
Risk Disclaimer:
This strategy is for educational and analysis purposes only. Always test in a simulation environment before using with real capital. Trading involves significant risks and may result in losses.
Göstergeler ve stratejiler
Weekly Confluence Setup [Final v6]Trend: EMA 21 and SMA 50
Momentum: MACD and RSI in a separate pane
Volume: Anchored VWAP from recent swing low
Confluence Signals: Clear triangle markers with optional alerts to the chart timeframe
KANNADI MOHANRAJAmy 3min and 1hr candle strategy. when 3min super trend up buy and super trend sell.
ShockDrop Alerts v1⚡ ShockDrop Alerts — Rapid Drop & Drawdown Detector
ShockDrop Alerts helps you react instantly to sudden market shocks.
It tracks both fast price drops and intraday drawdowns, plotting clean visual arrows and sending alerts when volatility spikes — so you can respond before small dips turn into major moves.
⚙️ How It Works
• Fast Drop (FAST) – detects sharp declines (e.g. 2 % in 4 minutes) using 1-minute data across any timeframe.
• Drawdown (DD) – triggers when price trades a set percentage below the day’s session high (e.g. 2 %).
Each alert type has its own independent cooldown timer and can be toggled on or off.
🎯 What You’ll See
• FAST → 🔴 red arrow above the bar (rapid drop detection)
• DD → 🟠 orange arrow below the bar (intraday drawdown)
These appear only when your defined conditions are met. Connect them to TradingView alerts for instant popup, email, mobile, or webhook notifications.
🧭 Key Features
• Detects high-velocity price shocks in real time
• Separate cooldowns for FAST and DD triggers
• Extended-hours toggle to include pre/post-market data
• Clean, clutter-free visuals — only actionable arrows
• Uses 1-minute precision data, works on any symbol or timeframe
• Supports server-side alerts (TradingView Pro +)
📬 Why Traders Use It
• Get early warnings during flash crashes or liquidity spikes
• Automate risk-based exits when markets accelerate downward
• Track SPY, QQQ, crypto, or futures for rapid reversals
• Stay alert to high-impact news events — such as surprise policy comments, earnings releases, or market-moving presidential posts — that can cause sudden volatility
Requires TradingView Pro + for continuous server-side alerting.
Darvas Box with alertsTitle: Darvas Box with Breakout Signals
This indicator implements the legendary Darvas Box trading strategy developed by Nicolas What is the Darvas Box?
The Darvas Box is a momentum-based trading method that identifies consolidation zones by drawing boxes around price ranges. When price breaks out of these boxes, it often signals the beginning of a new trend.
Features:
Automatic Darvas Box detection and drawing based on customizable box length parameter
Dynamic box coloring (Green when price is above, Red when below, Yellow when inside)
Visual breakout signalsAdjust the "Box Length" parameter to match your trading timeframe (default: 5)
Wait for a Darvas Box to form (consolidation period)
Look for breakout signals (triangles) indicating potential trading opportunities
Set up alerts to be notified when breakouts occur
Use the box levels as potential support/resistance zones
Adaptive Trend CatcherAdaptive Trend Catcher is an original indicator that combines Hull Moving Average smoothing, ATR-based volatility bands, and a CCI filter within an adaptive logic framework. It’s built to react intelligently to changing market conditions rather than applying fixed parameters.
The system uses hysteresis to confirm trend flips only after several consistent signals, minimizing noise and false reversals. During strong momentum bursts, it automatically tightens its internal deadzone and step size to stay responsive while maintaining stability in quieter periods.
The result is a dynamic trend engine that plots a color-shifting adaptive line — green for bullish, red for bearish — that adjusts smoothly with volatility. Optional upper/lower ATR bands can be displayed for added context.
How to use: Watch for confirmed trend color flips with supporting momentum. Bullish flips occur when price regains the lower band and CCI turns positive; bearish flips when price falls below the upper band and CCI turns negative.
Includes alert conditions for both reversals.
For educational purposes only. Not financial advice.
JTW BAR Size Warning This simple script checks bar size and if it exceeds a certain number, it will turn the candle yellow. Option to determine an oversized candle from the high to the low or from the open to the close (ignoring the wick).
MCX RSI Screener (5m,15m,1D)A complete multi-timeframe RSI screener designed for MCX commodities.
It automatically fetches RSI values from 5-minute, 15-minute, and 1-day timeframes for up to 10 selected MCX symbols — all in one compact table.
SJA WINFUT B3-10
INDICATOR FOR WINFUT B3 – 5-minute chart.
This indicator was designed to trade the Bovespa index futures contract (WINFUT) on the 5-minute chart.
It integrates technical analysis and macroeconomic context elements.
It combines several indicators in which the system calculates a score weighted by color and intensity for each indicator, generating a metric called “STRENGTH %,” which reflects the dominance of buyers (green), sellers (red), or sideways movement (orange) at the moment.
The calculation is adapted to market hours:
Between 9:00 a.m. and 9:59 a.m., it considers only the available indicators; after 10:00 a.m., it uses all data.
The panel displays real-time information, including divergences between strength and price, providing robust decision support for short-term operations on the mini index.
Buying trend.
The more green indicators (at the top of the panel) and dark blue indicators (at the bottom of the panel) and the higher the strength percentage, the greater the probability of buying.
Selling trend.
The more red indicators (at the top of the panel) and dark blue indicators (at the bottom of the panel) and the higher the strength percentage, the greater the probability of selling.
Translated with DeepL.com (free version)
Adams IndicatorAdams Indicator marks the 4 hour highs and lows of the previous 4 hour candle on the next 4 hour candle
Daytrade Forex Scalper TwinPulse Auction Timer IndicatorWhat this indicator is
TwinPulse Auction Timer is a multi component execution aid designed for liquid markets. It looks for two families of opportunities
Breakouts that leave a compression area after a fresh sweep
Reversals that trigger after a sweep with strong wick polarity
It does not try to predict future prices. It measures present auction conditions with transparent rules and shows you when those conditions align. You get a simple table that says LONG SHORT or WAIT, optional session shading, clean entry and exit level visuals, and alerts you can wire to your workflow.
Why it is different
Most tools show a single signal. TwinPulse combines several independent signals into an Edge Score that you can tune. The components are
• Pulse. A signed measure of wick asymmetry with candle body direction
• Compression. Current true range compared with an average range
• Sweep timer. Bars elapsed since the most recent sweep of a prior high or low
• Bias. Direction of a higher timeframe candle
• Regime. Efficiency ratio and the relation of micro to macro volatility
• Location. Distance from the daily anchored VWAP
• Session. London and New York filter by time windows
Each component is visible in the inputs and in the table so you can understand why a suggestion appears. The script uses request.security() with lookahead off in all calls so it does not peek into the future. Shapes may move while a bar is open since price is still forming. They stop moving when the bar closes.
What you will see on the chart
• L and S shapes on entry bars
• An Exit shape at the price where a stop or the runner target would have been hit
• Four horizontal lines while a trade is active
Entry
Stop
TP1 at one R
TP2 at the runner target expressed in R
• Labels anchored to each line so you can instantly read Entry SL TP1 and TP2 with current values
• Optional shading during your session windows
• Optional daily VWAP line
The table in the top right shows
Action LONG SHORT IN LONG IN SHORT or WAIT
Session ON or OFF
Bias UP DOWN or FLAT
Pulse value
Compression value
Edge L percent and Edge S percent
How it works in detail
Pulse
For each bar the script measures up wick minus down wick divided by range and multiplies that by the sign of the candle body. The result is averaged with pulse_len. Positive numbers indicate aggressive buying. Negative numbers indicate aggressive selling. You control the minimum absolute value with pulse_thr.
Compression
Compression is the ratio of current range to an average range. You can choose the range basis. HL SMA uses simple high minus low smoothed by range_len. ATR uses classic True Range smoothed by atr_len. Values below comp_thr indicate a coil.
Sweeps and the timer
A sweep occurs when price trades beyond the highest high or lowest low seen in the previous sweep_len bars. A strict sweep requires a close back inside that prior range. The timer measures how many bars have elapsed since the last sweep. Breakout setups require the timer to exceed timer_thr.
Bias on a confirmation timeframe
A higher timeframe candle is read with confirm_tf. If close is above open bias is UP. If close is below open bias is DOWN. This keeps breakouts aligned with the prevailing drift.
Regime filters
Efficiency ratio measures the straight line change over the sum of absolute bar to bar changes over er_len. It rises in trendy conditions and falls in noise. Minimum efficiency is controlled by er_min.
Micro to macro volatility ratio compares a short lookback average range with a longer lookback average range using your chosen basis. For breakouts you usually want micro volatility to be near or above macro hence mvr_min. For reversals you often want micro volatility that is not overheated relative to macro hence mvr_max_rev.
VWAP distance gate
Daily anchored VWAP is rebuilt from the open of each session. The script computes the absolute distance from VWAP in units of your average range and requires that distance to exceed vwap_dist_thr when use_vwap_gate is true. This keeps entries away from the mean.
Edge Score
Each gate contributes a weight that you control. The script sums weights of the satisfied gates and divides by the sum of all weights to produce an Edge percent for long and an Edge percent for short. You can then require a minimum Edge percent using edge_min_pct. This turns the indicator into a step by step checklist that you can tune to your taste.
Using the indicator step by step
Choose markets and timeframes
The logic is designed for liquid instruments. Major currency pairs, index futures and cash index CFDs, and the most liquid crypto pairs work well. On intraday use one to fifteen minutes for signals and fifteen to sixty minutes for confirmation. On swing use one hour to one day for signals and one day for confirmation.
Decide on entry mode
Breakouts require a compression area and a sweep timer. Reversals require a strict sweep and a strong pulse. If you are unsure leave the default which allows both.
Pick a range basis
For FX and crypto HL SMA is often stable. For indices and single name equities with gaps ATR can adapt better. If results look too reactive increase the window. If results are too slow reduce it.
Tune regime filters
If you trade trend continuation raise er_min and mvr_min. If you trade counter rotation lower them and rely on the reversal path with the strict sweep condition.
Set the VWAP gate
Enabling it helps you avoid entries at the mean. Push the threshold higher on range bound days. Reduce it in strong trend days.
Table driven decision
Watch Action and the Edge percents. If the script says WAIT you can read Pulse and Compression to see what is missing. Often the best trades appear when both Edge percents are well separated and your session switch is ON.
Use the visuals
When a suggestion triggers you will see entry stop and targets. You can mirror the levels in your own workflow or use alerts.
Consider bar close
Signals are computed in real time. For a strict process you can wait until the bar closes to reduce noise.
Inputs explained with quick guidance
Setup
Signal TF chooses where the logic is computed. Leave blank to use the chart.
Confirm TF sets the higher timeframe for bias.
Session filter restricts signals to the London and New York windows you specify.
Invert flips long and short. It is useful on inverse instruments.
Logic options
Entry mode allows Breakouts Reversals or Both.
Average range basis selects HL SMA or ATR.
ATR length is used when ATR is selected.
Pulse source can be Regular OHLC or Heikin Ashi. Heikin Ashi smooths noisy series, but the script still runs on regular bars and you should publish and use it on standard candles to respect the platform guidance.
Core numeric settings
Sweep lookback controls the size of the liquidity pool targeted by the sweep condition.
Pulse window smooths the wick polarity measure.
Average range window controls your base range when you use HL SMA.
Pulse threshold sets the minimum polarity required.
Compression threshold sets the maximum current range relative to average to consider the market coiled.
Expansion timer bars sets how much time has passed since the last sweep before you allow a breakout.
Regime filters
Efficiency ratio length and minimum value keep you out of aimless drift.
Micro and Macro range lengths feed the micro to macro ratio.
Minimum micro to macro for breakouts and maximum micro to macro for reversals steer the two entry families.
VWAP gate and distance threshold keep you away from the mean.
Levels and trade management visuals
Runner target in R sets TP2 as a multiple of initial risk.
Stop distance as average range multiple sets initial risk size for the visuals.
Move stop to entry after one R touch turns on break even logic once price has traveled one risk unit.
Trail buffer as R fraction uses the last sweep as an anchor and keeps a dynamic stop at a chosen fraction of R beyond it.
Cooldown after exit prevents immediate re entries.
Edge Score
Weights for pulse compression timer bias efficiency ratio micro to macro VWAP gate and session let you align the checklist with your style.
Minimum Edge percent to suggest applies a final filter to LONG or SHORT suggestions.
UI
Table and markers switch the compact dashboard and the shapes.
TP and SL lines and labels draw and name each level.
TP1 partial label percent is printed in the TP1 label for clarity.
Session shading helps with focus.
Daily VWAP line is optional.
Alerts
The script provides alerts for Long Short Exit and for Edge percent crossing the threshold on either side. Use them to drive notifications or to sync with webhooks and your broker integration. Alerts trigger in real time and will repaint during a bar. For conservative use trigger on bar close.
Recommended presets
Intraday trend continuation
Confirm TF fifteen minutes
Entry mode Breakouts
Range basis HL SMA
Pulse threshold near 0.10
Compression threshold near 0.60
Timer around 18
Minimum efficiency ratio near 0.20
Minimum micro to macro near 1.00
VWAP gate enabled with distance near 0.35
Edge minimum 50 or higher
Intraday mean reversion at sweeps
Entry mode Reversals
Pulse source Regular OHLC
Compression threshold can be a little higher
Maximum micro to macro near 1.60
Efficiency ratio minimum lower near 0.12
VWAP gate enabled
Edge minimum 40 to 60
Swing trend continuation
Signal TF one hour
Confirm TF one day
Range basis ATR
ATR length around 14
Average range window 20 to 30
Efficiency ratio minimum near 0.18
Micro to macro windows 12 and 60
Edge minimum 50 to 70
These are starting points only. Your instrument and timeframe will require small adjustments.
Limitations and honest warnings
No indicator is perfect. TwinPulse will mark attractive conditions that do not always lead to profitable trades. During economic releases or very thin liquidity the assumptions behind compression and sweeps may fail. In strong gap environments the HL SMA basis may lag while ATR may overreact. Heikin Ashi pulse can help in choppy markets but it will lag during sharp reversals. Session times use the exchange time of your chart. If you switch symbol or exchange verify the windows.
Edge percent is not a probability of profit. It is the fraction of satisfied gates with your chosen weights. Two traders can set different weights and see different Edge readings on the same bar. That is the design. The score is a guide that helps you act with discipline.
This indicator does not place orders or manage real risk. The lines and labels show a model entry a model stop and two model targets built from the average range at entry and from recent swing points. Use them as references and not as hard rules. Always test on historical data and demo first. Past results do not guarantee anything in the future.
Credits and originality
All code in this publication is original and written for this indicator. The concept of the efficiency ratio originates from Perry Kaufman. The use of a daily anchored volume weighted average price is a standard industry tool. The specific combination of pulse from wick polarity strict sweep timing compression and the tunable Edge Score is unique to this script at the time of publication. If you reuse parts of the open source code in your own work remember to credit the author and contribute meaningful improvements.
How to read the table at a glance
Action reflects your current state.
IN LONG or IN SHORT appears while a trade is active.
LONG or SHORT appears when conditions for entry are met and the Edge threshold is satisfied.
WAIT appears when at least one gate is missing.
Session shows ON during your chosen windows.
Bias shows the color of the confirmation candle.
Pulse is the smoothed polarity number.
Comp shows current range divided by the average range. Values below one mean compression.
Edge L percent and Edge S percent show the long and short checklists as percents.
Final thoughts
Markets move because orders accumulate at certain prices and at certain times. The indicator tries to measure two things that often matter at those turning points. One is the existence of a hidden imbalance revealed by wick polarity and by sweeps of prior extremes. The other is the presence of energy stored in a coil that can release in the direction of a drift. Neither force guarantees profit. Together they can improve your selection and your timing.
Use the defaults for a few days so you learn the personality of the signals. After that adjust one group at a time. Start with the session filter and the Edge threshold. Then tune compression and the timer. Finally adjust the regime filters. Keep notes. You will learn which weights matter for your market and timeframe. The result is a process you can apply with consistency.
Disclaimer
This script and description are for education and analysis. They are not investment advice and they do not promise future results. Use at your own risk. Test thoroughly on historical data and in simulation before considering any live use.
ATR Regime Filter (median & P70)ATR Regime Filter (Median & P70)
Purpose
Filter your signals by the volatility regime. The indicator compares the current ATR to two rolling statistical thresholds—the median (P50) and the 70th percentile (P70)—to avoid trading during quiet phases and prioritize setups when the market “breathes.”
How it works
Computes ATR(14) on a user-defined source timeframe (srcTF) via request.security.
Converts a target window in days (days) into bars of the source TF.
Due to Pine limits, the effective window is capped at 5000 bars (shown in an optional label).
Calculates Median (P50) and P70 of ATR over the effective window.
Exposes two booleans:
ATR > Median (normal-to-elevated volatility)
ATR > P70 (elevated volatility)
Display
Plots: ATR, Median, P70.
Panel background (bgcolor):
light green when ATR > P70
teal when ATR > Median
neutral otherwise
Optional label: shows source TF, effective window size (bars & days), and the boolean states.
Inputs
ATR length (default 14)
TF source ATR (srcTF, e.g., “1”, “5”, “15”)
Target window (days) (days, default 20)
Show label (bool)
Suggested use
Breakout/Momentum: require ATR > P70 in addition to your breakout conditions (close beyond level, volume, retest).
Range/Mean reversion: at minimum require ATR > Median.
In strategies, use ATR > Median/P70 as a filter alongside price structure, volume, and EMAs.
Limitations
On very short source TFs (e.g., 1-min), the window may be clipped to 5000 bars (~3.5 days). Increase srcTF (5m/15m) if you want a true 15–30 day history.
ATR measures magnitude, not direction—combine with trend/structure signals.
Timeframe LiquidityTimeframe Liquidity – Multi-Timeframe Highs & Lows by @archie_trades
Timeframe Liquidity automatically plots previous day, week, month, and year highs and lows — key liquidity zones used by smart money and price-action traders. These levels extend into the future and can automatically stop once price wicks through, showing clear liquidity sweeps and tested zones.
Perfect for traders using ICT concepts, liquidity theory, or market structure analysis. Instantly see where liquidity rests, where it’s been taken, and how price reacts at major support and resistance.
Features:
Auto-plots PDH/PDL, PWH/PWL, PMH/PML, PYH/PYL
Custom line styles, colors, and label sizes
Option to stop line on wick (liquidity sweep)
Smart timeframe visibility (hides same-TF levels)
Accurate UTC offset handling
Identify liquidity pools fast, trade cleaner charts, and track where smart money hunts liquidity.
Built for precision, clarity, and confluence.
High Volume Candle Detector by Ravi Shinde📊 High Volume Candle Detector
🎯 Overview
Identify exceptional volume spikes that signal institutional activity, breakouts, and reversals. Detects candles with volume exceeding a customizable threshold (default: 3x average volume over 20 periods).
✨ Key Features
🔧 Customizable Settings
Volume Multiplier (default: 3.0x) - Define your threshold
Average Period (default: 20) - Adapt to any timeframe
Bullish/Bearish Detection - Automatic color coding (green/red)
🎨 Visual Styles
Background - Subtle colored highlighting
Border - Yellow box outline
Shape - Triangle markers with "HV" text
All - Combined display
🔔 Smart Alerts
Bullish High Volume 🟢
Bearish High Volume 🔴
Any High Volume ⚠️
📈 Derivatives Trading Method
High-volume candle highs and lows mark key breakout levels. Break above = Go Long. Break below = Go Short. Trail your stop-loss with a moving average of your choice for optimal risk management. Optimal performance on 15-minute or higher timeframes. Lower timeframes may generate excessive noise.
ADR [KasTrades]This ADR indicator has 2 options: a Range of ADR, such as 7 and 14 which is typically used for indexes, index futures and equities, or a single ADR such as a 5 day which is typically used for forex.
The session start time is 17:00 ET (NY Time) by default, this is adjustable.
You can adjust the ADR days to different ranges such as 5 and 10, or a single ADR day such as 7.
Colors of the ADR high and low are also adjustable.
Dynamic 21 SMA Zone S/R (Weekly and 2-Day)This custom indicator creates a dynamic support and resistance zone based on the 21-period Simple Moving Average (SMA) from the weekly timeframe and the 21-period SMA from the 2-day timeframe. The zone is visible and functional across all chart timeframes, adapting seamlessly to provide multi-timeframe insights.
Color Logic:
Green: When the current price is fully above the upper boundary of the zone, indicating potential bullish strength or a support level.
Gray: When the price is fully below the lower boundary, signaling potential bearish pressure or a resistance level.
Light Blue: When the price is within the zone (between the two SMAs), representing a neutral "no man's land" where the market is indecisive.
As the two SMAs converge or diverge, the zone naturally thins or widens, visually reflecting changes in market momentum—such as a thinning green zone during a potential reversal. Ideal for higher-timeframe swing trading to identify key levels, this indicator is also useful on lower timeframes for gauging the relative position of these SMAs, helping traders align short-term moves with broader trends.
Dual EMA Trend Ribbon (Multi-Timeframe Trend Confirmation) Dual EMA Trend Ribbon (Multi-Timeframe Trend Confirmation)
This Pine Script indicator creates a visually clear representation of trend direction using two overlaid Exponential Moving Average (EMA) Ribbons, which allows traders to assess both short-term and medium-term momentum at a glance.
How It Works:
The indicator plots two separate EMA ribbons, each calculated using a distinct set of periods, simulating a multi-timeframe approach on a single chart:
Inner (Fast) Ribbon (Defaults 10/30): Represents the fast-moving, short-term trend.
Green: Fast EMA 1 > Slow EMA 1 (Short-term Bullish)
Red: Fast EMA 1 < Slow EMA 1 (Short-term Bearish)
Outer (Slow) Ribbon (Defaults 40/50): Represents the slower, medium-term trend.
Darker Green/Red: Indicates the overall, underlying market bias.
How to Use:
Strong Trend Confirmation: A strong signal occurs when both ribbons are aligned (e.g., both are Green). This suggests that short-term momentum aligns with the medium-term bias.
Trend Weakness/Reversal: Pay attention when the two ribbons cross or when the fast ribbon changes color against the slow ribbon's color (e.g., fast ribbon turns Red while the slow ribbon remains Green). This often signals a temporary pullback or potential reversal of the underlying trend.
Settings: Users can easily adjust the four input periods (Fast EMA 1, Slow EMA 1, Fast EMA 2, Slow EMA 2) to customize the sensitivity to any trading style or asset.
MAC's V6 finalBreakout retest strategy
Works best on a NQ 1 hour chart
Also works on other futures charts
Adjust the initial capital to 100000
and the margin requirement percent to 0
Supertrend + MACD + EMA200 (Pro) V2 — Strict & TrailingThis strategy uses Supertrend, MACD and EMA 200 as indicators. When all three indicators shows the sema direction, you enter the trade.