8ma34 EURUSD 1h 480tp 950slCrossing 8 sma and 34 sma on the 1h chart (close) of EURUSD.
If sma (8) crossing up sma (34) then open a long on closed bar with +480 pips for the take profit and -950 pips for the stop loss.
If sma (8) crossing down sma (34) then open a short on closed bar with -480 pips for the take profit and +950 pips for the stop loss.
Search in scripts for "stop loss"
Golden Cross, SMA 200 Moving Average Strategy (by ChartArt)This famous moving average strategy is very easy to follow to decide when to buy (go long) and when to take profit.
The strategy goes long when the faster SMA 50 (the simple moving average of the last 50 bars) crosses above the slower SMA 200. Orders are closed when the SMA 50 crosses below the SMA 200. This simple strategy does not have any other stop loss or take profit money management logic. The strategy does not short and goes long only!
Here is an article explaining the "golden cross" strategy in more detail:
www.stockopedia.com
On the S&P 500 index (symbol "SPX") this strategy worked on the daily chart 81% since price data is available since 1982. And on the DOW Jones Industrial Average (symbol "DOWI") this strategy worked on the daily chart 55% since price data is available since 1916. The low number of trades is in both cases not statistically significant though.
All trading involves high risk; past performance is not necessarily indicative of future results. Hypothetical or simulated performance results have certain inherent limitations. Unlike an actual performance record, simulated results do not represent actual trading. Also, since the trades have not actually been executed, the results may have under- or over-compensated for the impact, if any, of certain market factors, such as lack of liquidity. Simulated trading programs in general are also subject to the fact that they are designed with the benefit of hindsight. No representation is being made that any account will or is likely to achieve profits or losses similar to those shown.
Daily Close Comparison Strategy (by ChartArt via sirolf2009)Comparing daily close prices as a strategy.
This strategy is equal to the very popular "ANN Strategy" coded by sirolf2009(1) which calculates the percentage difference of the daily close price, but this bar-bone version works completely without his Artificial Neural Network (ANN) part.
Main difference besides stripping out the ANN is that my version uses close prices instead of OHLC4 prices, because they perform better in backtesting. And the default threshold is set to 0 to keep it simple instead of 0.0014 with a larger step value of 0.001 instead of 0.0001. Just like the ANN strategy this strategy goes long if the close of the current day is larger than the close price of the last day. If the inverse logic is true, the strategy goes short (last close larger current close). (2)
This basic strategy does not have any stop loss or take profit money management logic. And I repeat, the credit for the fundamental code idea goes to sirolf2009.
(2) Because the multi-time-frame close of the current day is future data, meaning not available in live-trading (also described as repainting), is the reason why this strategy and the original "ANN Strategy" coded by sirolf2009 perform so excellent in backtesting.
All trading involves high risk; past performance is not necessarily indicative of future results. Hypothetical or simulated performance results have certain inherent limitations. Unlike an actual performance record, simulated results do not represent actual trading. Also, since the trades have not actually been executed, the results may have under- or over-compensated for the impact, if any, of certain market factors, such as lack of liquidity. Simulated trading programs in general are also subject to the fact that they are designed with the benefit of hindsight. No representation is being made that any account will or is likely to achieve profits or losses similar to those shown.
(1) You can get the original code by sirolf2009 including the ANN as indicator here:
(1) and this is sirolf2009's very popular strategy version of his ANN:
MACD + Stochastic, Double Strategy (by ChartArt)This strategy combines the classic stochastic strategy to buy when the stochastic is oversold with a classic MACD strategy to buy when the MACD histogram value goes above the zero line. Only difference to the classic stochastic is a default setting of 71 for overbought (classic setting 80) and 29 for oversold (classic setting 20).
Therefore this strategy goes long if the MACD histogram goes above zero and the stochastic indicator detects a oversold condition (value below 29). If the inverse logic is true, the strategy goes short (stochastic overbought condition with a value above 71 and the MACD histogram falling below the zero line value).
Please be aware that this pure double strategy using simply two classic indicators does not have any stop loss or take profit money management logic.
All trading involves high risk; past performance is not necessarily indicative of future results. Hypothetical or simulated performance results have certain inherent limitations. Unlike an actual performance record, simulated results do not represent actual trading. Also, since the trades have not actually been executed, the results may have under- or over-compensated for the impact, if any, of certain market factors, such as lack of liquidity. Simulated trading programs in general are also subject to the fact that they are designed with the benefit of hindsight. No representation is being made that any account will or is likely to achieve profits or losses similar to those shown.
Market Solver Pro [Eˣ]Market Solver Pro is a multi-layer trend-and-structure based strategy designed to help traders study how price behaves around higher-timeframe support, resistance, and momentum shifts. It combines three core concepts into a single framework:
1. Multi-Timeframe Structure Zones (Support/Resistance Gradient)
The script identifies swing-based higher-timeframe pivot highs (PH) and pivot lows (PL).
These levels form dynamic zones where price frequently reacts. A gradient is displayed between the PH and PL to help traders visually understand where price sits within the broader structure.
This zone system is built using:
A structure timeframe (W/D/60 depending on chart TF)
Multi-step pivot validation
Real-time plot adjustments for consistency
The purpose of this component is to highlight context—whether the market is pressing into resistance, approaching support, or moving through the middle of the structure range.
2. Adaptive Ichimoku-Based Trend Model (Three-Layer Confirmation)
The strategy uses an expanded Ichimoku-style calculation applied across three timeframe multipliers.
Each layer evaluates:
Tenkan-sen slope
Kijun-sen slope
Cloud alignment
Momentum confirmation relative to recent highs/lows
Based on the user’s Risk Appetite (Low/Moderate/High), the strategy selects which layer to prioritize:
Low → Long-term trend consistency
Moderate → Mid-term sensitivity
High → Short-term responsiveness
The result is a trend-state signal (Up or Down) derived from structural and directional agreement across multiple layers.
3. Market Structure Filter (Directional Bias Control)
A price-action-based structure engine classifies swing highs/lows into:
HH (Higher High)
LH (Lower High)
HL (Higher Low)
LL (Lower Low)
The Market Structure Filter uses this information to determine whether higher-timeframe price action supports trend continuation or is compressing into a squeeze condition.
Filters include:
None
Standard
Strict
This prevents trades from triggering during conflicting structural environments unless intentionally allowed.
4. Entry Logic (Long / Short Conditions)
A signal appears only when all active components agree:
Valid chart timeframe
Date-range filter permitting backtest inclusion
HTF structure filter aligned
Trend-state confirmation
Price breaking beyond the current structure zone
Exclusion of opposite pin-bar signatures
When these conditions align, the strategy issues a long or short entry.
5. Stop-Loss Engine (S1/R1 Dynamic Management)
Stop-loss placement is derived from the pivot-timeframe’s S1/R1 levels and the bar of entry.
Two modes are available:
Standard trail: Stop updates with improving S1/R1 levels
2R → Break-Even: Moves stop to break-even on a 2R move, then trails using the stricter of BE or S1/R1
This helps users study how momentum-based trailing behaviour affects risk exposure under different market conditions.
6. Performance Table (Optional Display)
The script can display a performance summary including:
Win/Loss count
Profit factor
Average win/loss
Compounded result
Largest win/loss
Current risk percentage
These statistics reflect the parameters chosen inside the script and can assist in evaluating how different configurations behave when backtesting historical data.
They are not predictive and do not imply future results.
7. Auto vs Manual Settings
Auto Mode: Automatically selects trend multipliers, structure timeframe, and risk mode according to the chart’s timeframe.
Manual Mode: Gives users full control over all parameters and is used by alert conditions.
This allows flexible experimentation across intraday and swing environments.
8. Intended Use
This strategy is designed for educational and analytical purposes—specifically to help traders explore how multi-timeframe trend alignment, market structure, and dynamic support/resistance interact.
It does not guarantee performance and should be used alongside independent analysis, risk management, and market awareness.
The Truth Sniper: Breathing Edition**Overview**
This is a highly advanced trend-following strategy designed to filter out market noise ("Fakeouts") and manage risk using a dynamic "Breathing Ratchet" mechanism. It combines traditional trend analysis with institutional money flow logic to identify the true market direction.
**Key Features**
**1. The Conflict Zone (Gray Zone Filter)**
Most strategies fail during low-volume accumulation or distribution phases. This algorithm introduces a "Conflict Zone" logic:
* **True Rally (Green):** Price is above EMA50 AND Money Flow (VFI) is positive.
* **True Drop (Red):** Price is below EMA50 AND Money Flow (VFI) is negative.
* **Conflict (Gray Background):** When Price and Money Flow disagree (e.g., Price rising on negative volume), the background turns Gray. **Trading is disabled** in these zones to avoid bull/bear traps.
**2. Breathing Stop-Loss Mechanism (Volatility Adjusted)**
The Stop Loss isn't static. It "breathes" based on market heat (Volume/RSI):
* **High Heat (High Volatility):** The SL loosens its grip, moving towards the bottom of the Fibonacci zone to allow price fluctuation without premature exits.
* **Low Heat (Low Volatility):** The SL tightens aggressively towards the price to lock in profits during slow momentum.
**3. The Ratchet Lock (Slippage Prevention)**
To ensure maximum profit retention, the "Breathing" mechanism is governed by a **Ratchet Logic**:
* **For Longs:** The Stop Loss can ONLY move UP. If the "Breathing" calculation suggests lowering the stop (due to increased volatility), the Ratchet blocks it, keeping the SL at the highest historical level.
* **For Shorts:** The Stop Loss can ONLY move DOWN.
**4. Fibonacci Exit Zones**
Exits are calculated based on a 60-day dynamic High/Low lookback, creating "Zones" (0-23.6%, 23.6-38.2%, etc.) that the price must conquer. The SL trails these zones mechanically.
**Visual Guide**
* **Lime/Red Background:** Active Trade Zone (Confirmed Trend).
* **Gray Background:** Conflict Zone (Stay Out / Hold).
* **Purple 'X':** The exact price level where the Stop Loss was hit (Fixed marker).
* **Stepline:** The active Stop Loss level (Visible only during open trades).
**Disclaimer**
This script is for educational and research purposes only. Always manage your risk.
A13: Micro MAP Scalping StrategyA13: Micro MAP Scalping Strategy — Institutional Breakout Scalper (Pine Script v6 – Protected Source)
A completely original, professional scalping strategy developed from scratch over several months of research and live-market testing. The system is built around institutional breakout zones with a unique multi-stage validation process, strict confirmation requirements, and sophisticated risk management — all designed specifically for 1–15 minute timeframes.
Why this implementation is original and the source code is protected
The entire logic — from breakout detection to entry confirmation, multi-filter stop-loss engines, and dynamic position sizing — was built independently without relying on any existing public libraries, built-ins, or open-source code beyond standard Pine functions. The proprietary validation rules, ATR-scaled gap filtering, and layered confirmation system required extensive original development to achieve consistent performance in real-market conditions. Protecting the source code is necessary to preserve the unique edge that distinguishes this system from standard or publicly available implementations.
Core concepts and methodology (fully transparent — no code revealed)
1. Institutional Breakout Zone Detection
• Real-time identification of high-probability zones using a custom ATR-based minimum gap filter
• Zones are only considered valid when accompanied by clear price displacement and volume confirmation
• No reliance on standard Fair Value Gap or order block libraries — completely custom validation
2. Strict Dual Confirmation Entry Logic
• Entry requires one of two precise conditions:
— Confirmed pullback retest of the validated breakout zone, or
— Clean inside-bar formation fully contained within the zone
• Both conditions must align with the directional bias of the breakout
3. Five Independent Stop-Loss Engines
• ATR-based (default and recommended)
• Swing Low/High levels
• Pivot Point structure
• Trailing Stop with ATR offset
• Fixed percentage
• Every engine includes minimum and maximum stop-loss filters to prevent unrealistic risk during extreme volatility
4. Professional Risk & Position Sizing Engine
• Fixed percentage risk per trade (default 1%)
• Optional compounding mode for growing accounts
• Real-time calculation based on exact stop distance and current equity
• Full integration with leverage settings
5. Multi-Layer Filtering System
• Multi-timeframe EMA filter (default 60-period, fully customizable timeframe)
• Complete trading session control with UTC offset support
• Date range filtering for strategy deployment control
• Consecutive loss protection (optional multi-stop filter)
• Minimum/maximum stop-loss filters to eliminate low-probability setups
6. Real-Time Performance Dashboard
• Live display of win rate, net profit, maximum drawdown, total trades
• Consecutive win/loss streak tracking
• Current position size and average entry price
• All statistics visible directly on chart
Backtesting settings used in the published chart
• Symbol: BTC/USD
• Timeframe: 15-minute
• Initial capital: $10,000
• Risk per trade: 1%
• Commission: 0.04% (realistic for major brokers)
• Slippage: enabled
• Sample size: 200+ trades
These are the exact default Properties settings of the strategy.
The strategy is completely free to add and use on your charts.
#Scalping #Breakout #Intraday #Institutional #RiskManagement #ProfessionalStrategy
Mustang Algo - Momentum Trend Zone Backtest🐎 MUSTANG ALGO - Momentum Trend Zone Strategy
A complete trading system combining MACD momentum analysis with visual trend zones, full backtesting capabilities, and advanced risk management tools.
══════════════════════════════════════════════════════════════════════════
🔹 OVERVIEW
Mustang Algo transforms traditional MACD analysis into a powerful visual trading system. It instantly identifies market bias through colored background zones and provides clear entry/exit signals with customizable stop loss and take profit management.
══════════════════════════════════════════════════════════════════════════
🔹 KEY FEATURES
✅ Visual Trend Zones (Green = Bullish | Red = Bearish)
✅ Clear Buy/Sell Triangles on Chart
✅ Full Backtesting Engine
✅ Multiple Stop Loss Types
✅ Multiple Take Profit Types
✅ Trailing Stop Option
✅ Time Filter for Backtesting
✅ Real-time Info Panel
✅ Customizable Alerts
══════════════════════════════════════════════════════════════════════════
🔹 HOW IT WORKS
The strategy uses a smoothed MACD system to detect trend changes:
- MACD Line (White): Fast EMA minus Slow EMA - shows raw momentum
- Signal Line (Yellow): EMA of MACD - shows smoothed trend direction
- Trend Zone: Changes when the smoothed signal line crosses zero
- Entry Signals: Generated at zone transitions
When the trend line crosses above zero → GREEN zone → BUY signal 🔺
When the trend line crosses below zero → RED zone → SELL signal 🔻
══════════════════════════════════════════════════════════════════════════
🔹 STOP LOSS OPTIONS
🛑 Percentage: Fixed percentage from entry price
🛑 ATR-Based: Dynamic SL based on market volatility
🛑 Fixed Points: Set number of points/pips
🛑 Swing Low/High: Uses recent swing levels as stops
══════════════════════════════════════════════════════════════════════════
🔹 TAKE PROFIT OPTIONS
🎯 Percentage: Fixed percentage target
🎯 ATR-Based: Dynamic TP based on volatility
🎯 Fixed Points: Set number of points/pips
🎯 Risk Reward: Automatic TP based on R:R ratio (e.g., 2:1, 3:1)
══════════════════════════════════════════════════════════════════════════
🔹 TRAILING STOP
📈 Percentage-Based: Trail by a fixed percentage
📈 ATR-Based: Trail using ATR multiplier for dynamic adjustment
══════════════════════════════════════════════════════════════════════════
🔹 SETTINGS
MACD Parameters:
- Fast Length (default: 12)
- Slow Length (default: 26)
- Signal Length (default: 9)
- Trend Smoothing (default: 5)
Risk Management:
- Enable/Disable Stop Loss
- Enable/Disable Take Profit
- Enable/Disable Trailing Stop
- Customize all SL/TP parameters
Visual Options:
- Show/Hide Buy/Sell Triangles
- Show/Hide SL/TP Lines
- Show/Hide Labels
Time Filter:
- Set Start Date for backtest
- Set End Date for backtest
══════════════════════════════════════════════════════════════════════════
🔹 SIGNALS EXPLAINED
🟢 GREEN TRIANGLE (Below Bar):
Bullish zone detected - Consider LONG entry
🔴 RED TRIANGLE (Above Bar):
Bearish zone detected - Consider SHORT entry
🟢 GREEN BACKGROUND:
Currently in bullish trend zone
🔴 RED BACKGROUND:
Currently in bearish trend zone
══════════════════════════════════════════════════════════════════════════
🔹 INFO PANEL
The real-time info panel (top right) displays:
- Current Trend Zone status
- MACD value
- Signal Line value
- Active SL Type
- Active TP Type
══════════════════════════════════════════════════════════════════════════
🔹 ALERTS
Set up alerts for:
🔔 Buy Signals: "🐎 Mustang Algo: BUY Signal on {ticker} at {price}"
🔔 Sell Signals: "🐎 Mustang Algo: SELL Signal on {ticker} at {price}"
══════════════════════════════════════════════════════════════════════════
🔹 BEST PRACTICES
1. Use higher timeframes (1H, 4H, Daily) for more reliable signals
2. Combine with price action and support/resistance levels
3. Adjust ATR multipliers based on asset volatility
4. Use Risk Reward ratio for consistent risk management
5. Backtest on your preferred asset before live trading
══════════════════════════════════════════════════════════════════════════
🔹 RECOMMENDED TIMEFRAMES
⏱️ Scalping: 5M, 15M (more signals, more noise)
⏱️ Day Trading: 1H, 4H (balanced signals)
⏱️ Swing Trading: Daily, Weekly (fewer but stronger signals)
══════════════════════════════════════════════════════════════════════════
🔹 MARKETS
Works on all markets:
📈 Forex
📈 Crypto
📈 Stocks
📈 Indices
📈 Commodities
📈 Futures
══════════════════════════════════════════════════════════════════════════
🐎 RIDE THE TREND WITH MUSTANG ALGO!
══════════════════════════════════════════════════════════════════════════
⚠️ DISCLAIMER
This indicator/strategy is for educational and informational purposes only. It is not financial advice. Trading involves substantial risk of loss and is not suitable for all investors. Past performance is not indicative of future results. Always use proper risk management, do your own research, and consider consulting a financial advisor before making any trading decisions. Use at your own risk.
══════════════════════════════════════════════════════════════════════════
📝 VERSION HISTORY
v1.0 - Initial Release
- MACD-based trend detection
- Visual trend zones
- Multiple SL/TP options
- Full backtesting support
- Trailing stop functionality
- Time filter
- Info panel
- Alert system
══════════════════════════════════════════════════════════════════════════
💬 FEEDBACK
If you find this strategy useful, please leave a comment or suggestion!
Your feedback helps improve future updates.
🐎 Happy Trading!
EMA Velocity Dual TF Momentum 1h (v2)BINANCE:SOLUSDT
The result is calculated on futures x10
### EMA Velocity Dual TF Momentum (v2) – Public Description
**Overview**
EMA Velocity Dual TF Momentum (v1) is a trend-following momentum strategy that uses the *speed of change* of Exponential Moving Averages (EMA) on two timeframes: the chart timeframe 1h.
The strategy looks for moments when both timeframes point in the same direction and the short‑term momentum is significantly stronger than usual, then manages trades with configurable ATR filtering, stop‑loss / take‑profit and early exit logic.
---
### Core Idea (high level, without formulas)
- On the **lower timeframe** (LTF), the strategy tracks how fast the EMA is moving (its “velocity”) and detects **impulse bars** where this velocity is unusually strong compared to its recent history.
- On the **higher timeframe** (HTF), it also measures EMA velocity and requires that the HTF trend direction is **aligned** with the LTF (both bullish or both bearish), if enabled.
- A **long trade** is opened when:
- LTF EMA velocity is positive (upward momentum),
- LTF momentum is strong enough (impulse),
- HTF EMA velocity is also upwards (if HTF filter is enabled),
- and ATR‑based volatility is above the minimum threshold.
- A **short trade** is opened in the symmetric situation (downward momentum on both timeframes).
- Positions are closed using configurable stop‑loss and take‑profit, and can be partially exited, moved to break‑even and trailed using early‑exit options.
---
### Inputs and Parameters
#### Trend & Momentum (Lower Timeframe)
- **`LTF EMA length (emaLenLTF)`**
Length of the EMA on the chart timeframe used to measure short‑term trend and momentum. Smaller values react faster; larger values are smoother and slower.
- **`LTF velocity lookback (velKLTF)`**
Lookback for computing EMA “velocity” on LTF. Controls how sensitive the momentum calculation is to recent price changes.
- **`LTF impulse lookback bars (impLookback)`**
Window size used to estimate the “normal” average absolute velocity. The strategy compares current momentum against this baseline to detect strong impulse moves.
- **`LTF |velocity| multiplier vs average (impMult)`**
Multiplier for defining what counts as a strong impulse. Higher values = fewer but stronger signals; lower values = more frequent, weaker impulses.
#### Trend & Momentum (Higher Timeframe)
- **`Use higher timeframe alignment (useHTF)`**
If enabled, trades are only taken when the higher‑timeframe EMA velocity confirms the same direction as the lower timeframe.
- **`HTF timeframe (htf_tf)`**
Higher timeframe used for confirmation (e.g. 60 minutes). Defines the “macro” context above the chart timeframe.
- **`HTF EMA length (emaLenHTF)`**
Length of the EMA on the higher timeframe. Controls how smooth and slow the higher‑timeframe trend filter is.
- **`HTF velocity lookback (velKHTF)`**
Lookback for the EMA velocity on HTF. Smaller values react quicker to changes in the higher‑timeframe trend.
#### Volatility / ATR Filter
- **`Use ATR filter (useAtrFilter)`**
Enables a volatility filter based on Average True Range. When active, trades are allowed only if market volatility is not too low.
- **`ATR Period (atrPeriod)`**
Lookback period for ATR calculation. Shorter periods react faster to recent volatility shifts; longer ones are more stable.
- **`ATR Min % for trading (atrMinPerc)`**
Minimum ATR as a percentage of price required to trade. Filters out very quiet, choppy periods where the strategy is more likely to be whipsawed.
#### Risk Management
- **`Use stops (SL/TP) (useStops)`**
Enables fixed stop‑loss and take‑profit exits. If disabled, positions are managed only by early exit logic and manual closing.
- **`Stop Loss % (stopLossPerc)`**
Distance of the protective stop from entry, in percent. Higher values give trades more room but increase risk per trade.
- **`Take Profit % (takeProfitPerc)`**
Distance of the primary profit target from entry, in percent. Controls the reward‑to‑risk profile of each trade.
#### Early Exit / Break‑Even / Trailing
- **`Enable early exit module (useEarlyExit)`**
Master switch for all early exit features: partial profit taking, break‑even stops and trailing exits.
- **`Take partial profit at +% (close 50%) (partialTP)`**
Profit level (in %) at which the strategy closes a partial portion of the position (e.g. 50%), locking in gains while leaving a runner.
- **`Trailing TP distance (%) (trailTP)`**
Distance (in %) for dynamic trailing stop after entry. When positive, the strategy trails the price to protect profits as the move extends.
- **`Break-even stop after +% profit (useBreakEven)`**
Enables automatic move of the stop to the entry price once a certain profit threshold is reached.
- **`Break-even activation (+%) (breakEvenPerc)`**
Profit level (in %) at which the stop is moved to break‑even. Higher values require a larger unrealized profit before break‑even protection kicks in.
#### Visuals
- **`Show labels (showLabels)`**
Toggles on‑chart labels that mark long and short entry signals for easier visual analysis.
- **`Label offset (labelOffset)`**
Horizontal offset (in bars) for placing labels relative to the signal bar. Used only for visual clarity; does not affect trading logic.
---
Если нужно, могу на основе этого текста сразу подготовить компактную версию (ограниченную по символам) специально под поле описания публичного скрипта в TradingView.
Quantura - Quantified Price Action StrategyIntroduction
“Quantura – Quantified Price Action Strategy” is an invite-only Pine Script strategy designed to combine multiple price action concepts into a single trading framework. It integrates supply and demand zones, liquidity sweeps and runs, fair value gaps (FVGs), RSI filters, and EMA trend confirmation. The strategy also provides a visual overlay with dynamic trend-colored candles for easier chart interpretation. It is intended for multi-market use across cryptocurrencies, Forex, equities, and indices.
Originality & Value
The strategy is original in how it unifies several institutional-style price action elements and validates trades only when they align. This reduces noise compared to using single indicators in isolation. Its unique value lies in the combination of:
Supply & Demand detection: Dynamic boxes identified through pivots, ATR, and volume sensitivity.
Liquidity sweeps and runs: Detects when swing highs/lows are broken and retested, distinguishing between liquidity grabs (sweeps) and directional runs.
RSI filter: Can be set to normal or aggressive, confirming momentum before trades.
Fair Value Gaps (FVGs): Optional detection and filtering of price inefficiencies.
EMA filter: Aligns trades with the broader market trend.
Trend candle visualization: Candles dynamically colored bullish, bearish, or neutral, based on strategy positions.
This layered confluence approach ensures that entries are not taken on a single condition but require agreement across several dimensions of market structure, momentum, and order flow.
Functionality & Indicators
Supply & Demand Zones: Zones are created when pivots, ATR sensitivity, and volume thresholds overlap.
Liquidity: Swing highs and lows are tracked, with options for sweep (fakeout/reversal) or run (continuation) detection.
RSI: Confirms long signals when oversold and shorts when overbought, with configurable aggressiveness.
FVG filter: Adds validation by requiring price interaction with inefficiency zones.
EMA filter: Ensures longs are above EMA and shorts below EMA.
Signals & Visualization: Trade entries are marked on the chart, while candles change color to reflect trade direction and status.
Parameters & Customization
Supply & Demand: Sensitivity (swing range, volume multiplier, ATR multiplier) and display options.
Liquidity filter: Mode (Run or Sweep), display, and swing length.
RSI: Enable/disable, length, and style (normal or aggressive).
Fair Value Gaps: Sensitivity via ATR factor, optional volume filter, and display toggles.
EMA: Length, enable/disable, and visualization.
Risk management: Up to three configurable take-profit levels, stop-loss, break-even logic, and capital-based position sizing.
Visualization: Custom candle coloring and optional overlay for better clarity.
Default Properties (Strategy Settings)
Initial Capital: 10,000 USD
Position Size: 100% of equity per trade (backtest default)
Commission: 0.1%
Slippage: 1
Pyramiding: 0 (only one position at a time)
Note: The default of 100% equity per trade is used for testing purposes only and would not be sustainable in real trading. A typical allocation in practice would be between 1–5% of account equity per trade, sometimes up to 10%.
Backtesting & Performance
Backtests on XPTUSD over 2.5 years with the default settings produced:
164 trades
67.68% win rate
Profit factor: 1.7
Maximum drawdown: 27.81%
These results show how the confluence of supply/demand, liquidity, and RSI filters can produce robust setups. However, past performance does not guarantee future results. While the trade count (164) is sufficient for statistical analysis, results may vary across markets and timeframes.
Risk Management
Three configurable take-profit levels with percentage allocation.
Initial stop-loss based on user-defined percentage.
Dynamic stop-loss that adjusts with market movement.
Break-even logic that shifts stops to entry after predefined gains.
Position sizing based on risk percentage of equity.
This framework allows both conservative and aggressive configurations, depending on user preference.
Limitations & Market Conditions
Works best in volatile and liquid markets such as crypto, metals, indices, and FX.
May produce false signals in low-volume or sideways environments.
Unexpected news or macro events can override technical conditions.
Default position sizing of 100% equity is highly aggressive and should be reduced before any practical use.
Usage Guide
Add “Quantura – Quantified Price Action Strategy” to your chart.
Select Supply & Demand, Liquidity, RSI, EMA, and FVG settings according to your market and timeframe.
Configure risk management: take-profits, stop-loss, and risk-per-trade percentage.
Use the Strategy Tester to analyze statistics, equity curve, and performance under different conditions.
Optimize parameters before applying the strategy to different markets.
Author & Access
Developed 100% by Quantura. Published as an Invite-Only script.
Important
This description complies with TradingView’s publishing rules. It clarifies originality, explains the underlying logic, discloses default properties, and presents backtest results with realistic disclaimers.
SMC Adaptive Breakout v1XSMC Adaptive Breakout v1X — Adaptive Smart Money Breakout Strategy
SMC Adaptive Breakout v1X is a Smart-Money–inspired breakout strategy that adapts to changing volatility and market structure in real time. It identifies recent pivot structure, verifies volatility expansion, uses ATR-scaled stops, and manages exits with fixed profit targets plus price-based trailing.
Why this strategy is unique / original
This strategy combines three concept layers into a single, cohesive system: (1) structure detection using adaptive pivots, (2) a normalized volatility filter (range percentile over a long lookback) to permit only expansion-phase breakouts, and (3) context-aware trade management using ATR-scaled stops and percentage-based profit/ trailing rules. The combination reduces false breakouts during low-volatility periods while preserving entries when institutional-style expansion occurs.
Core logic (high level)
1. Structure detection: recent pivot highs and lows (configurable lookback) form the active Support and Resistance reference levels used to define breakouts.
2. Volatility confirmation: raw bar range is normalized into a percentile within a long volatility lookback window; breakouts are only considered when normalized volatility exceeds the user filter threshold.
3. Order-block / gap detection: the script detects large price gaps relative to ATR(200) and flags them as bullish/bearish gaps (order-block style footprints) to add confluence to entries.
4. Entry criteria: a long entry is signalled when price closes above the most recent resistance and the volatility filter is satisfied (or a bullish gap condition is met). Shorts mirror this logic below support. Debug/force flags allow manual/backtest forcing of trades.
5. Risk & exits: stops are ATR-based (ATR length configurable, multiplier configurable) giving context-aware stop distances. Each entry sets a profit target as a percent of entry and attaches a trailing exit (points and offset defined as percent of price) to protect profits. Exits are placed with one strategy.exit per entry so they are executed by the strategy engine.
6. Non-premature confirmation: entries are determined using closed-bar conditions (no intrabar triggers), consistent with strategy backtesting expectations.
Key inputs (and what they control)
1. Levels Period (length) — pivot lookback used to compute support/resistance structure; larger values = larger, fewer zones.
2. Volatility Filter (filter 0–100) — normalized volatility threshold (percentile) required to allow breakout signals. Increase to reduce signals during quiet markets.
3. Volatility lookback (volatility_len) — window length used to normalize the raw range into a percentile.
4. ATR length (atr_len) & ATR Stop Multiplier (atr_multiplier) — ATR parameters used for stop distance; ATR gives volatility-adaptive stop sizing.
5. Profit target (%) — target as percent of entry price.
6. Trailing points (%) & offset (%) — trailing stop size and activation offset, expressed as percent of price (converted internally to price points).
7. Visual & debug toggles — show/hide levels, entry markers, and enable debug/force entry flags for manual/backtest validation.
Practical Usage & Recommended Settings
Timeframes – Works efficiently across multiple time horizons.
• 5–15 minutes → Scalping setups.
• 15 minutes–1 hour → Intraday opportunities.
• 4 hours–1 day → Swing trading confirmation.
Adjust length and Volatility Filter parameters to match your timeframe and instrument behavior.
Default Sensitivity –
The default length = 20 offers balanced structure detection.
• Lower values → faster, more frequent signals.
• Higher values → smoother structure and fewer breakouts.
Volatility Tuning –
Modify the Volatility Filter (0–100) according to market conditions.
• Increase the filter during low-volume or choppy sessions to reduce false signals.
• Decrease it during trending or high-volatility markets for greater responsiveness.
Stop / Target Sizing –
ATR-based stop-losses automatically adapt to market volatility.
• Recommended starting point: ATR Multiplier = 1.5 and Profit Target = 1.5%.
• Fine-tune both based on each asset’s typical volatility profile.
Backtesting –
Use TradingView’s built-in Strategy Tester to analyze results over different symbols and timeframes.
The strategy executes only on bar close, ensuring accurate, non-repainting backtest results.
What the strategy plots / visual cues
•Forward-extended pivot lines for support/resistance (configurable color/transparency).
•Order-block / gap markers when large ATR-scaled gaps are detected.
•Entry labels (“LONG” / “SHORT”) at position changes if enabled.
•Strategy entries/exits are placed through strategy.entry and strategy.exit so performance reports are available in the Tester.
Risk management & notes
•This script is a discretionary tool — it automates entries and exits for backtesting and strategy simulation, but users should still confirm trades with broader market context and higher-timeframe bias.
•Always run thorough backtests (multi-symbol, multi-timeframe) and forward test on a paper account before any live deployment.
•Adjust position sizing externally; the strategy code sets orders and exits but does not enforce a specific money-management sizing rule. Use the strategy tester’s default position size controls or integrate a sizing method in your own workflow.
Technical details & behavior
•Pine Script v6 strategy.
•Uses closed-bar confirmation for signals (no repainting on close).
•Order-block / gap detection uses ATR(200) as a volatility reference to identify large structural gaps.
•Trail calculations convert percent-based inputs to absolute price units each bar to maintain consistent behavior across price levels.
Limitations & disclaimers
•Past performance is not indicative of future results. This strategy does not guarantee profits and will produce losing trades.
•Results depend on parameter choices, instrument volatility, market regime, and execution slippage. Always test on the exact symbol and timeframe you intend to trade.
Invite-only / Access note (for Publish window)
This strategy is invite-only. Please use the TradingView Request Access button on this page to request access.
Strategy Builder v1.0.0 [BigBeluga]🔵 OVERVIEW
The Strategy Builder combines advanced price-action logic, smart-money concepts, and volatility-adaptive momentum signals to automate high-quality entries and exits across any market. It blends trend recognition, market structure shifts, order block reactions, imbalance (FVG) signals, liquidity sweeps, candlestick confirmations, and oscillator-powered divergences into one cohesive engine.
Whether used as a full automation workflow or as a structured confirmation framework, this strategy provides a disciplined, rules-driven method to trade with logic — not emotion.
🔵 BACKTEST WINDOW CONTROL
This module allows you to restrict strategy execution to a specific historical period.
Ideal for performance isolation, regime testing, and forward-walk validation.
Limit Backtest Window
Enabling this option activates custom date filters for the backtest engine.
Start — Define the starting date & time for backtesting
End — Define the ending date & time for backtesting
Only trades and signals inside this window are executed
Reduces computation load on large datasets
Useful for testing specific market environments (e.g., bull cycles, crash periods, sideways regimes)
🔵 SIGNAL GLOSSARY (Advanced Technical Explanation)
Traders can build long and short setups using up to 6 configurable entry conditions for each direction.
Every condition can be set as Bullish or Bearish and mapped to any signal source — allowing deep customization
Below is the full internal logic overview of every signal available in the Strategy Builder.
Signals are based on trend models, volatility structures, liquidity logic, oscillator behavior, and market structure mapping.
Trend Signals (Low-Lag Trend Engine)
Uses a proprietary low-lag baseline + momentum gradient model to detect directional bias.
Trend Signal — Momentum breaks above/below adaptive trend baseline.
Trend Signal+ — Stronger trend confirmation using volatility-weighted momentum.
Trend Signal Any — Triggers when any bullish/bearish trend signal appears.
SmartBand & Retests (Adaptive Volatility Bands)
Dynamic envelope that contracts/expands with volatility & trend strength.
SmartBand Retest — Price retests dynamic band and rejects, confirming continuation.
ActionWave Signals (Impulse-Pullback Engine)
Tracks wave behavior, acceleration and deceleration in price.
ActionWave — Detects directional impulse strength vs pullback weakness.
ActionWave Cross — Momentum acceleration threshold crossed → trend ignition.
Magnet Signals (Liquidity Gravity + Mean Reversion Bias)
Detects zones where price is being drawn due to liquidity voids or imbalance.
Magnet — Trend and liquidity pressure align, creating directional “pull.”
MagnetBar Low Momentum — Low-volatility compression → pre-breakout condition.
Flow Trend (Directional Flow State + ATR Envelope)
Higher-timeframe bias confirmation + dynamic volatility filter.
FlowTrend — Confirms major directional bias (uptrend or downtrend).
FlowTrend Retest — Price tests HTF flow band and rejects → trend resume.
Voltix (Volatility Expansion Pulse)
Detects regime shift from quiet accumulation → trending expansion.
Voltix — Breakout volatility signature, trend acceleration trigger.
Candlestick Pattern (Algorithmic Price Action Recognition)
Auto-recognizes meaningful reversal or continuation candle formations.
Candlestick Pattern — Confirms momentum reversal/continuation via candle logic.
OrderBlock Logic (Institutional Footprint System)
Institutional demand/supply zone tracking with mitigation logic.
Order Block Touch — Price taps institutional zone → reaction filter.
Order Block Break — OB invalidation → institutional flow shift.
Market Structure Engine (Swing Logic + Volume Confirmation)
Tracks major swing breaks and structural reversals.
BoS — Break of Structure in trend direction (continuation bias).
ChoCh — Change of Character — early reversal marker.
Fair Value Gaps (Imbalance & Volume Displacement)
Identifies inefficiencies caused by rapid displacement moves.
FVG Created — Price leaves inefficiency behind.
FVG Retest — Price returns to rebalance inefficiency → reaction zone.
Liquidity Events (Stop-Run & Reversal Logic)
Detects stop-hunt events and liquidity sweeps.
SFP — Swing failure & wick sweep → reversal confirmation.
Liquidity Created — New equal highs/lows form liquidity pool.
Liquidity Grab — Sweep through liquidity line followed by rejection.
Support / Resistance Break Logic
Adaptive zone recognition + momentum confirmation.
Support/Resistance Cross — Zone decisively broken → structural shift.
Pattern Breakouts (Market Geometry Engine)
Tracks breakout from compression & expansion formations.
Channel Break — Channel breakout → trend acceleration.
Wedge Break — Break from contraction wedge → burst of momentum.
Session Logic (Opening Range Behavior)
Session-based volatility trigger.
Session Break — Break above/below session opening range.
Momentum / Reversal Oscillator Suite
Oscillator-driven exhaustion & reversal signals.
Nautilus Signals — Momentum reversal signature (oscillator shift).
Nautilus Peak — Momentum peak → exhaustion risk.
OverSold/Overbought ❖ — Extreme exhaustion zones → reversal setup.
DipX Signals ✦ — Dip buy / Dip sell timing, micro-reversal engine.
Advanced Divergence Engine
Momentum/price disagreement layer with multi-trigger confirmation.
Normal Divergence — Classic divergence reversal.
Hidden Divergence — Trend continuation divergence.
Multiple Divergence — Multiple divergence confirmations stacked → high confidence.
🔧 Adjustable Signal Logic
Some signals in this system can be additionally refined through the strategy settings panel.
This allows traders to tune internal behavior for different market regimes, assets, and volatility conditions.
🔵 LONG / SHORT EXIT CONDITIONS
This section allows you to automate exits using the same advanced market conditions available for entries.
Each exit rule consists of:
Toggle — Enable/disable individual exit rule.
Direction Filter — Trigger exit only if selected market bias appears (Bullish/Bearish).
Signal Type — Choose which market event triggers the exit (same list as entry conditions).
When the active conditions are met, the strategy automatically closes the current position — ensuring emotion-free risk management and systematic trade control.
🔵 TAKE PROFIT & STOP LOSS SYSTEM
This strategy builder provides a fully dynamic risk-management engine designed for both systematic traders and discretionary confirmation users.
Take Profit Logic
Scale out of trades progressively or exit fully using algorithmic TP levels.
Up to 3 Take-Profit targets available
Choose TP calculation method:
• ATR-based distance (volatility-adaptive targets)
• %-based distance (fixed percentage from entry)
Define Size — ATR multiplier or % value
Custom Exit Size per TP (e.g., 25% / 25% / 50%)
Visual TP plotting on chart for clarity
Stop Loss Logic
Automated protection logic for every trade.
Two SL Modes:
• Fixed Stop Loss — static SL from entry
• Trailing Stop Loss — SL follows price as trade progresses
Distance options:
• ATR multiplier (adapts to volatility)
• %-based from entry (fixed distance)
SL dynamically draws on chart for transparency
Trailing SL behavior:
Follows price only in profitable direction
Never moves against the trade
Locks profits as trend develops
🔵 Strategy Dashboard
A compact on-chart performance dashboard is included to help monitor live trade status and backtest results in real time.
It displays key metrics:
Start Capital — Initial account balance used in simulation.
Position Size — % of capital allocated per trade based on user settings (It changes if the trade hits take profits, when more than one take profit is selected).
Current Trade — Shows active trade direction (Long / Short) and real-time % return from entry.
Closed Trades — Counter of completed positions, useful for reading sample size during testing.
🔵 CONCLUSION
The Strategy Builder brings together a powerful suite of smart-money and momentum-driven signals, allowing traders to automate robust trade logic built on modern market structure concepts. With access to trend filters, order blocks, liquidity events, divergence signals, volatility cues, and session-based triggers, it provides a deeply adaptive trade engine capable of fitting many market environments.
MA Break Trend Strategy - Multi Stop MethodsThis is a trend-following trading strategy with multiple stop loss options for both long and short positions.
Entry Signal: Trades are triggered when price crosses above (long) or below (short) a configurable moving average (EMA or SMA, default 200-period)
Volume Confirmation: Optional filter requiring volume to exceed a multiplier (default 1.5x) of the 20-period volume average before entering trades
Five Stop Loss Methods:
- ATR-based: Dynamic stop using Average True Range multiplier below/above entry price
- MA Buffer: Stop set at a percentage offset from a separate moving average (default 50-period EMA)
- Donchian Channel: Uses the lowest low/highest high over a specified lookback period
- Keltner Channel: ATR-based bands around an EMA basis
- Lowest Low/Highest High: Simple swing point stops based on recent price extremes
- Trailing Stops: All stop methods automatically trail in the profitable direction (upward for longs, downward for shorts) to lock in gains while never moving against the position
Visual Indicators:
- Plots the trend-following moving average in blue
- Shows active stop loss levels in red when in a position
- Displays reference lines for all stop types when flat
- Entry signals marked with triangles (green up for long, red down for short)
- Background highlighting for volume-confirmed crossovers
NY ORB - Full Dynamic SystemNY ORB - Full Dynamic Strategy Summary
1. Opening Range and Session Timing
Opening Range (ORB) Calculation: The strategy identifies the ORB High and ORB Low by tracking the highest high and lowest low during the specified New York pre-market window, which is set by default from 8:30 to 8:45 (New York time).
Entry Window: Trading activity is restricted to a specific entry period, typically starting shortly after the ORB is established (default: 8:50 to 12:00).
Hard Exit Time: Any remaining open positions are automatically closed at a fixed exit time (default: 13:25).
2. Trade Entry Logic and Filters
An entry (Long or Short) is generated when the price breaks out of the established ORB, provided it passes a series of optional filters:
Direction Control: The user can restrict the strategy to trade Long Only, Short Only, or Both.
Second Breakout Logic: An optional filter that requires the price to break out, reverse back into the range, and then break out again, confirming momentum after a consolidation.
Confirmation Candle Count: An optional filter that checks the close of a previous candle (e.g., 1 or 2 candles ago) to ensure the price was still inside the range, preventing premature entry.
Technical Filters (Optional): The entry is only executed if it aligns with selected indicators:
RSI: Filters for non-overbought (Long) or non-oversold (Short) conditions.
MACD: Requires the MACD line to be above/below the Signal line for alignment.
VWAP: Requires the price to be above/below the Volume-Weighted Average Price.
Trend Filter (SMMA): Requires the price to be above/below a 50-period Simple Moving Average.
3. Dynamic Risk and Exit Management
This strategy features highly configurable stop-loss and profit-taking mechanics:
Primary Stop Loss Methods: The Stop Loss distance can be dynamically chosen from four types:
Fixed: A fixed number of ticks.
ATR: Based on a multiple of the Average True Range (ATR).
Capped ATR: ATR-based, but with a hard maximum tick limit.
OR-Based: Based on a multiple of the actual ORB High-to-Low range.
Dynamic Profit Target: The Take Profit level is calculated dynamically based on a multiplier of either the ATR or the ORB Range.
Breakeven Stop:
If enabled, the Stop Loss automatically moves to the entry price (Breakeven) once the price moves a predetermined distance in the profitable direction.
An Adaptive Breakeven option allows the trigger distance to be calculated as a percentage of the overall ATR Profit Target.
Trailing Stop: The strategy uses a trailing stop, which can be custom-set (fixed ticks) or dynamically tied to the ATR. An optional feature Auto Tighten Trailing reduces the trailing multiplier once the breakeven level is hit.
MA Cross Exit: An alternative, counter-trend exit mechanism that closes the trade if the price crosses back over the chosen Moving Average (either SMMA or VWAP), overriding the pending profit target.
4. Daily Account Management
The strategy includes crucial daily risk controls to protect capital and lock in profits:
Daily Profit Limit: If the total daily PnL (realized and unrealized) hits a predefined maximum profit threshold (in ticks), all trades are closed, and new entries are blocked for the remainder of the trading day.
Daily Loss Limit: Conversely, if the total daily PnL hits a predefined maximum loss threshold, all trades are closed, and new entries are blocked for the remainder of the day.
VWAP & Band Cross Strategy v6 - AdvancedThese are a few updates made to the original script. The daily take profit and stop loss functions correctly for 1 contract but because of the pyramiding input even if not used you'll need to multiply the values by the number of contracts to keep consistent results. I have been unable to correct that function. Let me know if you test the script and have any recommendations for improvement. If trading an actual account I do recommend setting hard daily limits with your provider because there is still slippage from the original exit alerts even with the daily stop loss in place.
1. Real-Time Execution & Hard PnL Limits (The Focus)
The most critical changes were implemented to ensure the daily profit and loss limits act as hard, real-time barriers instead of waiting for the candle to close.
• Intrabar Tick Execution: The parameter calc_on_every_tick=true was added to the strategy() declaration. This forces the entire script to re-evaluate its logic on every single price update (tick), enabling immediate action.
• Real-Time PnL Tracking: The PnL calculation was updated to track the total_daily_pnl by summing the realized profit/loss (from closed trades) and the unrealized profit/loss (strategy.openprofit) on every tick.
• Immediate Closure: The script now checks the total_daily_pnl against the user-defined limits (daily_take_profit_value, daily_stop_loss_value) and immediately executes strategy.close_all() the moment the threshold is breached, preventing further trading.
• Combined Risk Enforcement: The user-defined "Max Intraday Risk ($)" and the "Daily Stop Loss (Value)" are compared, and the script enforces the tighter of the two limits.
2. Visibility and External Alerting
To address the unavoidable issue of slippage (which causes price overshoot in fast markets even with tick execution), dedicated alert mechanisms were added.
• Dedicated Alert Condition: An alertcondition named DAILY PNL LIMIT REACHED was added. This allows you to set up a TradingView alert that triggers the instant the daily_limit_reached variable turns true, giving you the fastest possible notification.
• Visual Marker: A large red triangle (\u25b2) is plotted on the chart using plotchar at the exact moment the daily limit condition is met, providing a clear visual confirmation of the trigger bar.
3. Strategy Features and Input Flexibility
Several user-requested features were integrated to make the strategy more robust and customizable.
• Trailing Stop / Breakeven (TSL/BE): A new exit option, Fixed Ticks + TSL, was added, allowing you to set a fixed profit target while also deploying a trailing stop or breakeven level based on points/ticks gained.
• Multiple Exit Types: The exit strategy was expanded to include logic for several types: Fixed Ticks, ATR-based, Capped ATR-based, VWAP Cross, and Price/Band Crosses.
• Pyramiding Control: An input Max Pyramiding Entries was introduced to control how many positions the strategy can have open at the same time.
• Confirmation Logic Toggle: Added an input to choose how multiple confirmation indicators (RSI, SMMA, MACD) are combined: "AND" (all must be true) or "OR" (at least one must be true).
• Indicator Confirmations: Logic for three external indicators—RSI, SMMA (EMA), and MACD—was fully integrated to act as optional filters for entry.
• VWAP Reset Anchors: Logic was corrected to properly reset the VWAP calculation based on the selected period ("Daily", "Weekly", or "Session") by using Pine Script v6's required anchor series.
Trading Day Filters: Inputs were added to select which specific days of the week the strategy is allowed to trade.
BankNifty Etharia Aggresive Buyer / SellerOverview
Professional intraday trading strategy for BankNifty Futures that identifies high-probability setups by combining multiple technical indicators. Works in BOTH directions - LONG and SHORT.
Best Timeframe: 5-Minute Chart
Key Features:
✅ Multi-Confluence Entry System - All indicators must align for signal
✅ Bidirectional Trading - Captures both uptrends and downtrends
✅ Advanced Risk Management - Daily loss limits, consecutive loss protection
✅ Smart Exit System - Partial profit taking + trailing stops
✅ Session-Based Trading - Avoids opening and closing volatility
Entry Logic:
LONG Signals:
Price above Kernel Regression (trend confirmation)
Price above VWAP with positive slope (momentum)
Cumulative Volume Delta bullish (buying pressure)
Volume spike or increasing volume (strength confirmation)
Strong bullish candle with 60%+ body ratio
RSI filter to avoid overbought entries
SHORT Signals:
Price below Kernel Regression (downtrend confirmation)
Price below VWAP with negative slope (bearish momentum)
CVD bearish (selling pressure dominates)
High volume confirmation
Strong bearish candle pattern
RSI filter to avoid oversold entries
Exit Management:
🎯 Target 1: 1.5 R:R (50% position exit)
🎯 Target 2: 2.5 R:R (full exit)
🛡️ Stop Loss Options: ATR-based, Swing-based, or Fixed
🟡 Trailing Stop: Activates after 1.2 R:R, trails at 0.8 R:R
⏰ Time-Based Exit: Closes all positions 5 mins before session end
Risk Controls:
Maximum trades per day (default: 5)
Consecutive loss limit (default: 2)
Daily loss limit: 2.5% of capital
Daily profit target: 5% (stops trading when reached)
Position sizing based on account risk percentage
Recommended Settings:
Asset: BankNifty Futures (NSE:BANKNIFTY1!)
Timeframe: 5-minute
Initial Capital: ₹1,00,000
Risk per trade: 1%
Commission: 0.05%
Slippage: 5 points
Performance Expectations:
Win Rate: 55-65%
Profit Factor: 1.5-2.0
Average Trades/Day: 3-8
Risk:Reward: 1:1.8 average
Customizable Parameters:
Trading direction (Long Only / Short Only / Both)
Indicator lengths and thresholds
Stop loss type and targets
Risk management limits
Trading session hours
Best For:
Intraday traders seeking systematic, rule-based entries with strong confluence, proper risk management, and the ability to profit from both bullish and bearish market conditions.
Larry Williams Oops StrategyThis strategy is a modern take on Larry Williams’ classic Oops setup. It trades intraday while referencing daily bars to detect opening gaps and align entries with the prior day’s direction. Risk is managed with day-based stops, and—unlike the original—all positions are closed at the end of the session (or at the last bar’s close), not at a fixed profit target or the first profitable open.
Entry Rules
Long setup (bullish reversion): Today opens below yesterday’s low (down gap) and yesterday’s candle was bearish. Place a buy stop at yesterday’s low + Filter (ticks).
Short setup (bearish reversion): Today opens above yesterday’s high (up gap) and yesterday’s candle was bullish. Place a sell stop at yesterday’s high − Filter (ticks).
Longs are only taken on down-gap days; shorts only on up-gap days.
Protective Stop
If long, stop loss trails the current day’s low.
If short, stop loss trails the current day’s high.
Exit Logic
Positions are force-closed at the end of the session (in the last bar), ensuring no overnight exposure. There is no take-profit; only stop loss or end-of-day flat.
Notes
This strategy is designed for intraday charts (minutes/seconds) using daily data for gaps and prior-day direction.
Longs/shorts can be enabled or disabled independently.
NQ Opening Range BreakoutOpening Range Breakout script with:
Customizable opening range timeframe selection.
Inputs for Risk to Reward ratio, EMAs, Vwap, and ATR sizing to avoid ranges that are too big or too small.
Features a toggle for reversal trades that when enabled will trade the other direction if the initial ORB gets stopped out.
Default it will use the entire opening range to determine stop loss and take profit and if neither the take profit or stop loss is hit it will end the trade at 16:00. There are toggles to use half the opening range as the stop loss and take profit will then be calculated as risk reward ratio * stop loss or you can select entry candle stop loss and risk reward ratio which places the stop loss at the entry candles opening price. There is also a take profit option that will only exit the trade when price closes below (for longs) or above (for shorts) a customizable ema length.
Note that if you have the opening range, for example, selected as 9:30 - 9:45 and are on a 5 minute chart it will enter on the first 5 min closure outside of that range and if you are on a 15 minute chart it will enter on the first 15 min closure outside of that range and so on.
You can automate the entries and exits by using a webhook service and using the strategy’s alerts.
Supertrend Strategy with ATR TP and SLSupertrend Strategy with ATR TP and SL
Overview
The Supertrend strategy is a trend-following trading system that utilizes the Average True Range (ATR) to determine the market's volatility and to set dynamic support and resistance levels. This strategy employs the Supertrend indicator to identify entry and exit points for trades, specifically focusing on long and short positions in the market.
Key Components
Inputs
ATR Period: This defines the lookback period for calculating the ATR, which helps in understanding market volatility. The default value is set to 10.
Supertrend Multiplier: This multiplier adjusts the sensitivity of the Supertrend indicator. A value of 3 is used, affecting the upper and lower bands of the Supertrend calculation.
TP (Take Profit) ATR Multiplier: This multiplier is used to calculate the take profit level based on the ATR (default value is 3).
SL (Stop Loss) ATR Multiplier: This multiplier dictates the stop loss distance from the entry point concerning the ATR, set to a value of 1.5.
Number of Bars to Use for Backtest: This setting determines how many bars are analyzed during testing, set to a default of 240.
Trading Mode: Options are provided to choose whether to take only long positions or only short positions.
ATR Calculation
The ATR is computed using a specified period, allowing traders to gauge market volatility effectively. This is crucial for setting appropriate stop loss and take profit levels.
Supertrend Calculation
The Supertrend indicator is calculated using the ATR and the multiplier to derive upper and lower bands. The current market price is compared against these bands to determine the trend direction.
Trade Signals
Buy Signal: Generated when the price closes above the Supertrend line, indicating a potential upward trend.
Sell Signal: Generated when the price closes below the Supertrend line, indicating a potential downward trend.
Entry and Exit Strategies
When a buy signal is triggered, the strategy will enter a long position while setting the take profit and stop loss based on the ATR values.
Conversely, if a sell signal occurs, a short position is opened with respective take profit and stop loss levels.
Alert Conditions
Alerts are set up for both buy and sell signals, allowing users to be notified when trade opportunities arise.
Visualization
The Supertrend line is plotted on the chart, along with take profit and stop loss levels for each trade. Labels indicate entry points to facilitate easy tracking of trades.
Conclusion
This Supertrend strategy is designed to simplify trading decisions by automating the entry and exit points based on well-defined market conditions. By utilizing the ATR for dynamic risk management, traders can adapt their approach according to market volatility. This strategy is suitable for many trading styles and can be backtested to assess its performance across different market conditions.
Usage
To use this strategy, simply apply the script in TradingView and adjust the input parameters based on your trading preferences. The strategy can be modified further to enhance its performance according to specific market scenarios.
Market Open Impulse [LuciTech]Market Open Impulse Strategy
The Market Open Impulse Strategy is designed to capture significant price movements that occur at market open (2:30 PM UK time). This strategy identifies impulsive candles with high volatility and enters trades based on the direction and strength of the initial market reaction.
How It Works:
The strategy activates exclusively at 2:30 PM UK time during market open sessions. It uses ATR-based volatility filtering to identify impulsive candles that exceed a configurable multiplier (default 1.5x ATR). Long entries are triggered when an impulsive candle closes above its midpoint and above the opening price, while short entries occur when an impulsive candle closes below its midpoint and below the opening price.
Risk management is handled through precise stop loss placement at the opposite extreme of the impulse candle (high for short positions, low for long positions). Take profit levels are calculated using a configurable risk-reward ratio with a default setting of 3:1. Position sizing is automatically calculated based on the percentage risk per trade, and an optional breakeven feature can move the stop loss to the entry price at specified profit levels.
The strategy incorporates time-based filtering to ensure trades only occur during the specified market open window. Visual indicators highlight qualifying impulsive candles and plot all entry and exit levels for clear trade management. The system offers flexible risk management with customizable risk percentage, risk-reward ratios, and breakeven settings, along with multiple stop loss calculation methods including both ATR-based and candle-based options.
Key Parameters:
Market open timing is fully configurable through hour and minute settings for strategy activation. The impulse ATR multiple sets the minimum volatility threshold required for trade qualification, with visual highlighting available for qualifying setups. Risk management parameters include the percentage of account equity to risk per trade, target profit multiples relative to initial risk, and the profit level threshold for breakeven stop loss adjustment. Users can choose between ATR-based or candle-based stop loss calculation methods and adjust technical parameters for volatility calculation including ATR length and smoothing methods.
Applications:
This strategy is particularly effective for trading market open volatility and momentum, capturing institutional order flow during key timing windows, executing short-term swing trades on significant price impulses, and trading markets with predictable opening patterns and consistent volatility characteristics.
Pro Reversal Strategie - FinalCore Functionality Description
The "Pro Reversal Strategy" script is a comprehensive and highly customizable trading system for TradingView. Its core idea is based on a mean-reversion strategy, which aims to capitalize on price extremes where the price is likely to revert to its statistical mean. This script ist full AI generated. There ist no support and no financial advice.
To identify entry points, the script combines classic indicators like the RSI (to detect overbought and oversold conditions) and Bollinger Bands (to measure volatility extremes).
However, the script's strength lies in its confluence logic: a simple RSI or Bollinger Band signal is not enough to trigger a trade. Instead, a series of filters are applied to enhance the quality of the trade signals. These include:
Trend Filter: Trades are only taken in the direction of the higher-level trend (defined by a 200-period Moving Average).
Volatility and Volume Filter: ADX and volume analysis ensure that the market has sufficient momentum for a move.
Market Structure Analysis: Concepts like Fair Value Gaps (FVG), liquidity zones, and the Volume Profile (VRVP/POC) are used to place trades in high-probability zones.
Momentum Filter: Special "Vector Candles" confirm the strength of buyers or sellers at the moment of the signal.
Furthermore, the script offers advanced features for risk and trade management, including automatic position sizing based on a percentage risk and dynamic exit strategies like a breakeven stop and a trailing stop-loss (Chandelier ATR).
A detailed info panel visualizes all key metrics in real-time directly on the chart. Thanks to its versatile configuration options, the script can be adapted for various trading styles, including swing trading, day trading, and scalping.
Core Strategies & Filters (English)
Here is a breakdown of the specific strategies and confirmation filters used within the script:
RSI Mean Reversion: Uses the Relative Strength Index (RSI) to identify overbought (> rsiSellShort) and oversold (< rsiBuyLong) conditions, which serve as the primary trigger for a potential price reversal.
Bollinger Bands (BB) Volatility Filter: Trades are confirmed when the price touches or exceeds the outer Bollinger Bands. This indicates a move to a statistical extreme in terms of volatility, reinforcing the reversal thesis.
Trend Filter (200 SMA): Ensures that long trades are only considered in a general uptrend (price > SMA 200) and short trades in a downtrend (price < SMA 200), preventing trades against the dominant market direction.
ADX Trend Strength Filter: Utilizes the Average Directional Index (ADX) to confirm that a market is trending with sufficient strength. Trades are filtered out during weak or non-trending phases (adx < adxThreshold).
Volume Profile (VRVP / POC): Analyzes volume at specific price levels to identify high-volume nodes (Point of Control - POC). This acts as a filter to avoid entering trades directly into a zone of strong support or resistance.
Vector Candle Filter: Identifies "Vector Candles" – large, high-volume candles that close strongly near their high (bullish) or low (bearish). This custom filter confirms strong conviction behind the initial reversal signal.
Market Structure (FVG & Liquidity): Incorporates advanced price action concepts. It looks for entries after a liquidity zone above a previous high/low has been tapped (Liquidity Grab) or when price enters a Fair Value Gap (FVG), adding a layer of institutional trading logic.
Chart Pattern Recognition: Optionally identifies classic chart patterns like "W-Patterns" (Double Bottom), "M-Patterns" (Double Top), and Ascending Triangles to provide additional visual confirmation for traders.
Position Sizing (Risk %): Automatically calculates the trade size based on a user-defined percentage of the total equity (riskPct) and the distance to the stop-loss, ensuring consistent risk management for every trade.
Dynamic Exit Management: Implements advanced exit strategies beyond a fixed take-profit. This includes moving the stop-loss to Breakeven after a certain risk-to-reward ratio is met and using a Trailing Stop-Loss (e.g., Chandelier ATR) to lock in profits as a trade develops.
Breakouts With DXY Filter Strategy [LuciTech]This advanced breakout strategy combines pivot-based breakout detection with an innovative DXY (US Dollar Index) inverse correlation filter to enhance trade selection quality. The strategy identifies breakouts from recent pivot highs and lows while using DXY movements as a confirmation filter, based on the principle that USD strength/weakness often inversely correlates with other asset movements.
Key Features
Core Breakout Logic
- Pivot-Based Detection: Identifies breakouts above recent pivot highs (bullish) and below recent pivot lows (bearish)
- Customizable Lookback: Adjustable pivot length for different market conditions
- Visual Breakout Lines: Optional display of breakout levels with customizable colors
DXY Inverse Correlation Filter
- Smart USD Filter: Uses DXY movements to confirm breakout signals
- Inverse Logic: Long signals require DXY bearishness, short signals require DXY bullishness
- Threshold Control: Minimum DXY movement percentage required for signal confirmation
- Real-time DXY Data: Pulls live DXY data for accurate correlation analysis
Moving Average Filter
- Multiple MA Types: Support for SMA, EMA, WMA, VWMA, and HMA
- Trend Confirmation: Only takes trades in the direction of the selected moving average
- Customizable Parameters: Adjustable length and source for the moving average
Advanced Risk Management
- Multiple Stop Loss Types:
- ATR-based stops with customizable multiplier
- Candle-based stops using previous candle levels
- Fixed point-based stops
- Risk-Reward Optimization: Configurable risk-reward ratios (1:1 to 1:10)
- Breakeven Function: Automatic stop loss adjustment to breakeven after specified R-multiple
- Position Sizing: Percentage-based risk management with automatic position calculation
Time-Based Trading
- Session Filter: Trade only during specified time windows
- London Time Zone: Uses Europe/London timezone for consistency
- Visual Session Highlighting: Optional background fill for active trading hours
Alert System
- Webhook Integration: JSON-formatted alerts for automated trading
- Telegram Support: Pre-formatted messages for Telegram bot integration
- Multiple Formats: Standard, Telegram, and Concise Telegram alert options
- Real-time Notifications: Instant alerts on breakout signals
How It Works
1. Breakout Detection: The script continuously monitors for closes above recent pivot highs or below recent pivot lows
2. DXY Confirmation: When a breakout occurs, the script checks if DXY is moving in the opposite direction with sufficient momentum
3. MA Filter: If enabled, ensures the breakout aligns with the overall trend direction
4. Time Filter: Validates that the signal occurs within the specified trading hours
5. Risk Calculation: Automatically calculates position size based on the defined risk percentage and stop loss distance
6. Trade Execution: Places trades with predetermined stop loss and take profit levels
Unique Advantages
- Multi-Timeframe Approach: Combines asset-specific breakouts with broader USD market sentiment
- False Breakout Reduction: DXY filter helps eliminate breakouts that lack fundamental backing
- Comprehensive Risk Management: Multiple stop loss methods and automatic position sizing
- High Customization: Extensive parameters for different trading styles and market conditions
- Professional Alert System: Ready for automated trading integration
MVO - MA Signal StrategyStrategy Description: MA Signal Strategy with Heikin Ashi, Break-even and Trailing Stop
⸻
🔍 Core Concept
This strategy enters long or short trades based on Heikin Ashi candles crossing above or below a moving average (MA), with optional confirmation from the Money Flow Index (MFI). It includes:
• Dynamic stop loss and take profit levels based on ATR
• Optional break-even stop adjustment
• Optional trailing stop activation after breakeven
• Full visual feedback for trades and zones
⸻
⚙️ Indicators Used
• Heikin Ashi Candles: Smooth price action to reduce noise.
• Simple Moving Average (MA): Determines trend direction.
• Average True Range (ATR): Sets volatility-based SL/TP.
• Money Flow Index (MFI): Optional momentum filter for entries.
⸻
📈 Trade Entry Logic
✅ Long Entry:
Triggered if:
• Heikin Ashi close crosses above the MA
or
• MFI is below 20 and Heikin Ashi close is above the MA
❌ Short Entry:
Triggered if:
• Heikin Ashi close crosses below the MA
or
• MFI is above 90 and Heikin Ashi close is below the MA
⸻
🛑 Stop Loss & Take Profit
• SL is set using riskMult * ATR
• TP is set using rewardMult * ATR
Example:
• If ATR = 10, riskMult = 1, rewardMult = 5
→ SL = 10 points, TP = 50 points from entry
⸻
⚖️ Break-even Logic (Optional)
• If price moves in your favor by breakevenTicks * ATR, SL is moved to entry price.
• Enabled via checkbox Enable Break Even.
⸻
📉 Trailing Stop Logic (Optional)
• Once break-even is hit, a trailing stop starts moving behind price by trailATRmult * ATR.
• Trailing stop only activates after break-even is reached.
• Enabled via checkbox Enable Trailing Stop.
📊 Visual Elements
• Heikin Ashi candles are drawn on the main chart.
• Trade zones are shaded between SL and TP during open trades.
• Lines mark Entry, SL, TP, Break-even trigger.
• Markers show entries and exits:
• Green/red triangles = long/short entries
• ✅ = Take profit hit
• ❌ = Stop loss hit
✅ Best Use Case
• Trending markets with strong pullbacks
• Works on multiple timeframes
• Better suited for assets with consistent volatility (ATR behavior)






















