BB Upper breakout Short +2% (dr Ziuber)A short position is opened when the price on the 1-hour chart exceeds the Bollinger Bands by more than 2%. The position is closed when the profit reaches 2%.
Indicateurs et stratégies
SMC Structure [PickMyTrade]Concept & Methodology
This strategy is an implementation of Smart Money Concepts (SMC) logic combined with structured risk management rules. The purpose of the script is to demonstrate how market structure analysis and position sizing logic can be applied in a systematic, rule-based approach.
The design emphasizes consistency, trade management, and controlled risk rather than signal frequency.
How It Works
1. Market Structure Detection
The strategy evaluates market structure using swing points:
Swings are identified using pivot highs and lows with a configurable lookback period.
Break of Structure (BOS) is detected when price breaks a prior swing level, indicating a potential structural shift or continuation.
Order Blocks are identified after a valid BOS and represent the candle range associated with the structure break.
2. Entry Logic
After a valid structure break, the strategy waits for price to retrace into the identified Order Block zone. Optional filters can be enabled to refine entries:
Trend Filter: Uses the 50 EMA to align trades with directional bias.
Volatility Filter: Uses ATR to avoid low-volatility conditions.
Candle Confirmation: Requires a directional candle within the Order Block area.
3. Risk Management Logic
Risk is handled through predefined and configurable rules:
Dynamic Position Sizing: Position size is calculated based on a fixed percentage of account equity and the distance to the stop loss.
Multiple Take-Profit Levels (optional):
TP1 at a fixed risk-to-reward ratio.
TP2 with an optional trailing stop mechanism.
Stop loss placement is derived from structure-based levels.
Settings Guide
Risk and Position Sizing: Controls the percentage of equity risked per trade.
Filters: Enable or disable trend, volatility, and confirmation logic.
Display Options: Toggle structure points, order blocks, and trade labels.
Strategy Explanation (Code Overview)
The script defines realistic strategy properties such as commission, margin, and pyramiding limits to improve backtesting accuracy.
Market structure is identified using pivot-based swing detection, with BOS logic tracking the most recent swing levels. Order Blocks are derived from candles preceding valid structure breaks.
Trade execution occurs only when no active position is present. Entry conditions require price interaction with a valid Order Block and confirmation from enabled filters. Position size is calculated dynamically based on risk settings.
Exit management supports partial exits at predefined risk-to-reward levels, with optional trailing stop logic for remaining position size.
A statistics panel is displayed on the chart to summarize current settings and account information. This panel is informational only and does not affect strategy logic or results.
Disclaimer
This strategy is provided for educational and analytical purposes only. It does not constitute financial or investment advice. Past performance does not guarantee future results. Users should independently evaluate and backtest the strategy on their own instruments and timeframes before using it for any trading decisions.
Universal Strategy Adapter - Connect Anything, Backtest EverythiDescription The Universal Strategy Adapter is a powerful utility that allows you to turn ANY indicator into a backtestable strategy without writing a single line of code. Whether you want to trade based on a simple crossover, a specific threshold, or complex multi-indicator confluence, this adapter handles the logic, execution, and risk management for you.
Key Features
Connect Up To 8 Indicators Plug in up to 8 different data sources using the input.source dropdowns. Mix and match indicators (e.g., RSI + MACD + Moving Average).
Advanced Logic Engine Mandatory vs. Optional : Distinct "Must Have" signals vs. "Nice to Have" confluence. Min Optionals Required : Require at least X optional indicators to fire before taking a trade. Lookback Persistence : Solves the "Sync" problem. If Indicator A fires on candle 1 and Indicator B fires on candle 3, the Lookback window ensures they still count as a confluence setup.
Flexible Conditions For each slot, choose how the signal is interpreted: Signal (!= 0) : Best for "Event" indicators like Golden Dots or Alerts. Price > Source : Trend Filters (e.g., Price above EMA 200). Source > Threshold : Value filters (e.g., RSI > 50). Rising / Falling : Momentum filters (e.g., RSI is trending up compared to 12 bars ago).
Risk Management & Cooldown Built-in Stop Loss and Take Profit (%) settings. Trade Cooldown : Prevent "Machine Gun" trades by enforcing a wait period after each entry.
How To Use Add your favorite indicators to the chart (e.g., "VuManChu Cipher B" and "EMA 200"). Add Universal Strategy Adapter to the chart. Open Settings > Inputs. Slot 1 (Trigger) : Source : Select the "Buy Signal" or "Golden Dot" plot from the first indicator. Condition : Signal (!= 0) Role : Mandatory Slot 2 (Filter) : Source : Select the "EMA 200" plot. Condition : Price > Source (Trades only taken when price is above EMA). Role : Mandatory Adjust SL/TP and Backtest Range as needed.
Why Use This? TradingView strategies are often hardcoded to specific indicators. This script breaks that barrier, giving you a universal "Container" to drop any logic into and see the raw backtest results immediately.
Dips Oleg Adaptive Dip‑Buying Strategy with Lot Precision & Smart Averaging
📘 Description
This strategy is a personalized adaptation of an idea originally developed by the respected author fullmax.
I reworked the concept to suit my own trading approach, adding lot‑precision rounding to avoid exchange quantity errors when using webhooks, and enhancing the visual and analytical components of the script.
🔧 What’s New in This Version
Configurable lot precision to ensure clean, exchange‑safe order sizes
Improved UI elements: base‑order labels, compact mini‑table, grouped settings
Dynamic safety‑order pricing based on price drops and scaling factors
Flexible date‑range filtering for controlled backtesting
Clear visualization of SMA threshold, safety levels, breakeven, and take‑profit
Adaptive threshold logic that adjusts depending on trend conditions
🎯 Core Logic
The strategy monitors how far price deviates from a short‑term SMA.
When the deviation crosses a user‑defined threshold, the script opens a base position.
If price continues to dip, the system deploys safety orders with:
scalable volume
scalable distance
precise rounding for compatibility with webhook automation
Once the position is built, the strategy manages exits using a fixed take‑profit target.
A breakeven reference line and auto‑cleanup logic help maintain clarity and prevent stale orders.
⚙️ Feature Overview
Dip‑based entry logic with bull/bear threshold switching
Safety orders with volume and step scaling
Take‑profit management
Breakeven visualization
Mini‑table showing real‑time position metrics
Clean chart overlays for easier interpretation
📝 Disclaimer
This script is intended for educational and analytical use.
It does not guarantee profits and should be tested thoroughly before being used in live trading.
Trade ManagerDescription
This script is a trade‑management system designed for both automated and manual trading workflows.
It combines VWRSI‑based signals, customizable price levels, safety orders, take‑profit logic, and optional MA‑trend filtering.
Key features:
Automated entries based on VWRSI
Manual LONG/SHORT level entries
Priority‑based entry logic (first condition triggers the trade)
Safety order scaling (volume and step multipliers)
Take‑profit targets for both LONG and SHORT positions
Breakeven logic with adjustable thresholds
Optional MA‑trend filter
Mini‑table showing position metrics
Base order labels and lot‑precision control
How it works:
If multiple entry modes are enabled, the script opens a position based on the first condition reached.
After entering a trade, the position can be averaged using safety orders and closed at the configured profit target.
Notes:
This script is for educational purposes and does not guarantee profits.
Always test on historical data and understand the risks before using it in live trading.
SMA 14/28 CrossBy analyzing the XAUUSD chart on the 2H timeframe, we can observe that after a strong bullish market structure, Gold continued to trade higher and successfully expanded toward the 4,850 – 4,890 region, which is marked as a key liquidity and resistance zone on the chart.
Following this impulsive upside move, price is now showing short-term exhaustion, with multiple rejections forming just below the recent highs. The market is currently trading around 4,825, where we can see repeated attempts to break higher, increased volatility, and signs that buy-side liquidity above the highs has been partially taken.
This price behavior has created a short-term liquidity imbalance, and based on the current structure, a pullback is expected before any further bullish continuation. As highlighted on the chart, price may retrace toward the 4,760 – 4,600 support zone, which aligns with previous consolidation, internal structure, and resting liquidity below current price.
RSI Oversold Overbought Trading StrategySimple Strategy Description (Easy to Understand)
This strategy is based on one technical indicator only: RSI (Relative Strength Index).
It is designed to catch market reversals when price becomes oversold or overbought.
How the Strategy Works
When the market is oversold, RSI moves up from the lower level → the strategy opens a Buy (Long) trade
When the market is overbought, RSI moves down from the upper level → the strategy opens a Sell (Short) trade
Trade Logic
Buy Entry
RSI crosses above the oversold level (30)
Indicates potential upward reversal
Sell Entry
RSI crosses below the overbought level (70)
Indicates potential downward reversal
Exit Rules
Buy trades close when RSI reaches the overbought area
Sell trades close when RSI reaches the oversold area
Key Features
Uses only one indicator (RSI)
Works on any market ( Crypto , Forex, Stocks)
Works on any time frame
Shows clear Buy & Sell signals on the chart
Suitable for beginners and clean strategy testing
No repainting logic
Mean Reversion Oleg📘 Description
This script is an extended and customized version of the original “Mean Reversion V‑F” created by the respected author fullmax.
I adapted the logic for my own trading workflow and added several improvements aimed at stability, automation, and exchange‑safe execution when using webhooks.
🔧 Key Enhancements
Lot precision control (prevents exchange errors when sending webhook orders)
Base order labels for visual clarity
Mini‑table with live position metrics
Dynamic deviation levels (L1–L5)
Static averaging levels (B2–B5)
Trailing take‑profit option
Support for stock mode (fixed units instead of quantity)
Webhook fields for entry and exit signals
🎯 How the Strategy Works
The script calculates a moving average and builds five deviation‑based levels below it.
When price reaches these levels, the strategy opens a base order (B1) and then averages the position using B2–B5 levels.
After entering a position, the strategy manages it using:
a fixed take‑profit target
or an optional trailing take‑profit
plus a visual table showing position size, USD value, open PnL, and equity
All quantities are rounded according to the selected lot precision to ensure compatibility with exchange requirements when using webhook automation.
⚙️ Features Overview
Automated long entries based on deviation levels
Configurable order sizes for each averaging step
Optional stock‑mode (units instead of calculated quantity)
Dynamic and static level visualization
Trailing TP with adjustable distance
Clean UI with optional labels and mini‑table
📝 Disclaimer
This script is provided for educational purposes only.
It does not constitute financial advice and does not guarantee profits.
Always test strategies on historical data before using them in live trading.
Donchian Breakout with Trailing Stop use only on heikin ashi
use on ETH only
use in 1h timeframe
and enjoy 96% win rate
Price_Deviation Oleg📘 Description
This script is an extended and customized version of the original work by the respected author fullmax.
I adapted the logic for my own trading needs and added several improvements, including lot‑precision rounding to prevent exchange errors when using webhook automation, as well as additional visualization elements for clarity.
🔧 Key Enhancements
Lot precision control (prevents invalid quantity errors on exchanges when using webhooks)
Base order labels for easier visual tracking
Mini‑table with live position metrics
Configurable date‑range window for backtesting
Dynamic safety‑order price calculation
Trailing take‑profit option
Improved visualization of thresholds, MA, and TP levels
🎯 How the Strategy Works
The script calculates a moving average and compares the current price deviation against user‑defined thresholds.
When the deviation condition is met, the strategy opens a base position and then manages it using safety orders that scale in both volume and distance.
After entering a position, the script manages exits using:
a fixed take‑profit target
or an optional trailing take‑profit
plus a breakeven reference line
and an auto‑close mechanism when the averaging cycle resets
All order quantities are rounded according to the selected lot precision to ensure compatibility with exchange requirements when sending webhook‑based orders.
⚙️ Features Overview
Deviation‑based entry logic
Safety orders with volume and step scaling
Configurable date window for testing
Trailing TP with adjustable distance
Breakeven visualization
Mini‑table showing quantity, USD value, open trades, PnL, and equity
Clean and intuitive chart visualization
📝 Disclaimer
This script is provided for educational purposes only.
It does not constitute financial advice and does not guarantee profits.
Always test strategies on historical data before using them in live trading.
Swing Failure Pattern Strategy Btc Only 5min🔍 Overview
The Swing Failure Pattern (SFP) Strategy is a pure price-action trading system designed to capture liquidity sweeps and market reversals around key swing highs and lows.
It is based on the concept that price often briefly breaks a swing level to trigger stop-losses, then reverses in the opposite direction.
This strategy trades only confirmed SFP setups, ensuring disciplined entries with clearly defined risk.
📈 Bullish SFP (Long Setup)
A Bullish Swing Failure Pattern forms when:
A valid swing low is created
Price wicks below the swing low
The candle closes back above the swing level
Confirmation occurs when price closes above the opposing high
➡️ Action: Enter LONG on the confirmation candle close
📉 Bearish SFP (Short Setup)
A Bearish Swing Failure Pattern forms when:
A valid swing high is created
Price wicks above the swing high
The candle closes back below the swing level
Confirmation occurs when price closes below the opposing low
➡️ Action: Enter SHORT on the confirmation candle close
🛑 Risk Management
Stop Loss
Long → Low of the SFP wick
Short → High of the SFP wick
Take Profit
Fixed Risk : Reward = 1 : 2
All SL and TP levels are fixed at entry (no repainting)
🔁 Trailing Take Profit (Optional)
Trailing TP can be enabled from settings
Trailing starts after 1R profit
Trail distance is R-based and fully adjustable
Works for both long and short trades
⏰ Time Filters
Optional No-Trade on Saturday & Sunday
Prevents new entries during weekends
Active trades continue to manage SL & TP normally
⚙️ Strategy Features
Price-action based (no indicators)
Confirmation-only entries
No repainting logic
Works on all markets and timeframes
Orders executed on candle close
🎯 Best Use Cases
Forex
Indices
Crypto
Futures
Best performance during London & New York sessions
⚠️ Disclaimer
This strategy is intended for educational and backtesting purposes only.
Always test and manage risk appropriately before live trading.
boll+ATR更具布林上下轨道做5分钟短线的剥头皮策略,并且更具atr移动止盈止损
Add Bollinger Bands to the upper and lower bands for a 5-minute short-term charting strategy, and add ATR trailing stop-loss and take-profit orders.
Auto S/R Zones + EMA + VWAP StrategyStrategy Overview
This strategy combines Auto Support & Resistance Zones, Exponential Moving Average (EMA), and VWAP to identify high-probability trade setups using market structure, trend direction, and institutional price levels.
The goal is to trade only when price aligns with key zones, trend bias, and volume-weighted price, reducing false signals and emotional decision-making.
Indicators Used
Auto Support & Resistance Zones – Identifies key institutional price zones automatically
EMA – Determines trend direction and momentum
VWAP – Confirms institutional bias and fair value
Market Bias Rules
Bullish Bias
Price is above the EMA
Price is above VWAP
Bearish Bias
Price is below the EMA
Price is below VWAP
Trades are taken only in the direction of the confirmed bias.
XAUUSD Bullish Continuation Strategy v2 EMA Pullback Breakout This strategy is designed to trade XAUUSD (Gold) using a bullish continuation model based on trend structure and pullback breakouts.
The system uses a 200 EMA trend filter to identify the dominant market direction and waits for price to retrace before entering on breakout confirmation — allowing entries in high-probability continuation zones.
The strategy adapts dynamically to price action and works across all XAUUSD broker feeds without relying on fixed price levels.
🔍 Strategy Logic
✔ Trade only in bullish trend (price above 200 EMA)
✔ Wait for pullback toward EMA
✔ Enter on breakout of recent highs
✔ Stop loss placed below recent swing low
✔ Take profit based on Risk/Reward ratio
⚙️ Key Features
• Dynamic price action entries
• Auto stop-loss & take-profit
• Works on any XAUUSD broker
• Produces full Strategy Tester reports
• Optimized for 1H timeframe
📌 Recommended Settings
Symbol: XAUUSD
Timeframe: 1H
Trend Filter: EMA 200
Risk/Reward: 1:2 or higher
📈 Market Bias
Trend-following bullish continuation system designed for strong gold markets.
ORBitOrbit is a strategy based around the opening range breakout. it will send out one signal a day with the proper risk management recommendations and built in backtest reporter on top of tradingview's strategy tester
15m MR v2.4-HF FINAL v2 (Looser Kill + Better RR) - Long Only Summary
In short, this is a long-only, ATR-normalized mean reversion strategy that:
buys only after a deep oversold deviation and reversal evidence,
avoids extreme selloff regimes using a Kill Zone,
controls downside via structure + risk-cap stops,
and improves reward via partial profits + FV-based targets + optional trailing.
If you want, I can also write a one-paragraph “super simple” English version (for non-traders) or a presentation-style bullet slide version.
How RSI Pullbacks Work Best in a Trend EMA Momentum ConceptRSI is one of the most widely used momentum indicators, but it works best when traded in the direction of the trend rather than in isolation.
This idea demonstrates a simple RSI pullback / retest concept combined with a 50 EMA to identify high-probability trend continuation trades.
🔹 Strategy Concept
The core idea is to trade pullbacks within an existing trend instead of chasing price or predicting reversals.
A 50 EMA is used as a trend filter:
• Price above EMA → bullish bias
• Price below EMA → bearish bias
This keeps trades aligned with market structure and momentum.
🟢 BUY Setup (RSI Pullback in Uptrend)
A buy signal appears when:
• Price is above the 50 EMA
• RSI pulls back below the 45 level
• RSI crosses back above 45
• Price shows bullish confirmation
This represents a healthy pullback, not weakness.
🔴 SELL Setup (RSI Retest in Downtrend)
A sell signal appears when:
• Price is below the 50 EMA
• RSI rises above the 55 level
• RSI crosses back below 55
• Price confirms bearish momentum
This captures continuation after a corrective move.
📊 Chart Observation
As seen on the chart, signals occur after pullbacks rather than at random points.
Trades align with trend direction and avoid sideways conditions.
The highlighted buy and sell markers show how RSI reacts during momentum pauses and resumes in the direction of the trend.
This behavior is clearly visible on intraday charts like the 15-minute timeframe.
🧠 How to Use This Idea
This concept works best when combined with:
• Support and resistance levels
• Market structure
• Candle confirmations (engulfing, strong rejection candles)
• Proper risk management
Technical analysis provides a high-probability edge, but it does not offer certainty. As seen in these examples, trades can frequently move in the opposite direction post-entry. To protect your capital, you must implement a stop-loss for every position and maintain the discipline to honor it, regardless of your conviction.
RSI here is used as a momentum pullback tool, not as a traditional overbought/oversold indicator.
If you find this concept useful, feel free to Boost and share your feedback.
Suggestions for improvements are always welcome.
pacplindicators.com
//@version=5
strategy("PACPL – RSI Pullback / Retest Strategy v2.1 (Live Version)",
overlay=true, max_labels_count=500, initial_capital=100000,
commission_type=strategy.commission.percent, commission_value=0.02)
//------------------------------------------------------
// ⚙️ INPUTS
//------------------------------------------------------
rsiLen = input.int(14, "RSI Length", minval=1)
emaLen = input.int(50, "Trend EMA Length", minval=1)
pullbackBuy = input.int(45, "RSI Pullback Level (BUY Zone)", minval=20, maxval=60)
pullbackSell= input.int(55, "RSI Retest Level (SELL Zone)", minval=40, maxval=80)
confirmBars = input.int(1, "Price Confirmation Bars", minval=1)
showLabels = input.bool(true, "Show Buy/Sell Triangles")
showZones = input.bool(true, "Highlight Pullback Zones")
//------------------------------------------------------
// 📊 CORE INDICATORS
//------------------------------------------------------
rsiValue = ta.rsi(close, rsiLen)
emaPrice = ta.ema(close, emaLen)
trendUp = close > emaPrice
trendDn = close < emaPrice
//------------------------------------------------------
// 🔄 SIMPLIFIED PULLBACK / RETEST LOGIC
//------------------------------------------------------
// BUY → In uptrend, RSI dips below 45 and comes back above it
rsiBuyCond = ta.cross(rsiValue, pullbackBuy) and trendUp
// SELL → In downtrend, RSI rises above 55 and comes back below it
rsiSellCond = ta.cross(rsiValue, pullbackSell) and trendDn
// Confirmation with price direction
priceConfirmUp = close > close
priceConfirmDown = close < close
// Final entry conditions
longCond = rsiBuyCond and priceConfirmUp
shortCond = rsiSellCond and priceConfirmDown
//------------------------------------------------------
// 🧾 STRATEGY EXECUTION
//------------------------------------------------------
if longCond and strategy.position_size <= 0
strategy.entry("BUY", strategy.long)
if shortCond and strategy.position_size >= 0
strategy.entry("SELL", strategy.short)
// Opposite signal exit
if strategy.position_size > 0 and shortCond
strategy.close("BUY", comment="Opposite RSI Retest Exit")
if strategy.position_size < 0 and longCond
strategy.close("SELL", comment="Opposite RSI Pullback Exit")
//------------------------------------------------------
// 📈 VISUALS
//------------------------------------------------------
plot(emaPrice, "EMA", color=color.new(color.teal, 0), linewidth=2)
// Triangles
plotshape(showLabels and longCond, title="Buy", style=shape.triangleup, location=location.belowbar,
color=color.new(color.green, 0), size=size.small, text="BUY")
plotshape(showLabels and shortCond, title="Sell", style=shape.triangledown, location=location.abovebar,
color=color.new(color.red, 0), size=size.small, text="SELL")
// Background zones
bgcolor(showZones and trendUp and rsiValue < pullbackBuy ? color.new(color.green, 85) : na)
bgcolor(showZones and trendDn and rsiValue > pullbackSell ? color.new(color.red, 85) : na)
//------------------------------------------------------
// 🔔 ALERTS
//------------------------------------------------------
alertcondition(longCond, title="BUY Triggered", message="RSI Pullback Retest → BUY Signal")
alertcondition(shortCond, title="SELL Triggered", message="RSI Retest Pullback → SELL Signal")
//------------------------------------------------------
// 🧠 NOTES
//------------------------------------------------------
// ✅ Live, non-repainting RSI pullback logic
// BUY: RSI crosses back above pullback zone while price above EMA
// SELL: RSI crosses back below retest zone while price below EMA
// Simple, effective continuation system for trend pullback entries
// Works on all timeframes (NIFTY, BANKNIFTY, Stocks, Crypto)
TSLA Mechanical Day Trading Strategy📌 How to Use This
Apply to TSLA
Recommended timeframe: 1-minute or 5-minute
Session: Regular Trading Hours (9:30–16:00 NY time)
Designed for day trading only (no overnight holds)
⚙️ Strategy Logic (Mechanical Rules)
1️⃣ Opening Momentum Pullback
Gap ≥ ±0.5% vs prior close
Trade only after 9:45
Pullback toward VWAP
Enter in direction of gap
2️⃣ VWAP Mean Reversion
Price deviates from VWAP by ≥ 0.3%
Enters counter-move back toward VWAP
3️⃣ Risk Management
Fixed % stop loss
Fixed % take profit
Flat before close
Secuencia estricta (pendiente) HMA->RSI BB"The code combines a 100-period HMA as the first condition, and an RSI smoothed by a Bollinger Band set to default parameters of 24 and 1 standard deviation. The first condition is that the price is above or below the HMA. The second condition is that the RSI moves above or below the Bollinger Bands. Depending on how the conditions align, the system takes either a short or a long position."
Aggressive Growth Strategyagressive growth strategy for day trading sample script testing purpose only. do not copy this strategy
OrangePulse v3.0 Lite - Educational DCA StrategyThis open-source script is a simplified version of the OrangePulse algorithm, designed for educational purposes to demonstrate the power of Dollar Cost Averaging (DCA) and Mean Reversion.
📈 Strategy Logic:
The script uses a combination of Bollinger Bands and RSI (Relative Strength Index) to identify potential mean reversion opportunities.
- Entry: Triggered when price pushes below the lower Bollinger Band while RSI is in oversold territory.
- Management: Utilizes up to 3 Safety Orders (DCA) to improve the average entry price during pullbacks.
🎯 Features:
• Customizable Volume Scale and Step Scale for Safety Orders.
• Visual AVG price line and TP/SL levels.
• Time-window filter for backtesting.
• Real-time Status Table for position monitoring.
This script is shared in the spirit of open-source development on TradingView. It is intended to help traders understand how automated position building and risk management work in volatile markets.
Check my profile status/bio for more information on our project.
⚠️ Disclaimer: For educational purposes only. Past performance does not guarantee future results.






















