Daily Breakout + Daily Shadow By RouroThis script is a Pine v5 strategy designed to detect daily candle body breakouts and execute them on any intraday timeframe, while also providing:
Daily Data Retrieval
Using request.security(..., "D", ...) it fetches the OHLC and timestamp of the daily candle, regardless of the chart’s current timeframe.
Calculation of Yesterday’s and Day-Before-Yesterday’s Bodies
b1High and b1Low → the high/low of yesterday’s daily candle body
b2High and b2Low → the high/low of the previous day’s body
Detection of the First Intraday Bar After a New Day
By using ta.change(time("D")), it marks the start of each new trading day.
Drawing the Previous Day’s “Shadow” on the Chart
It overlays a box (box.new) and two wick lines (line.new) with configurable colors and transparency, so you can clearly see the full range of yesterday’s candle on any intraday chart.
Automatic End-of-Day Position Closure
It will automatically close any open position at the start of the next day to avoid unintended rollovers.
Entry Signals
On the very first intraday bar after the daily close:
Long if yesterday’s close broke above the body of the day before yesterday
Short if yesterday’s close broke below the body of the day before yesterday
…which triggers a strategy.entry at the intraday open.
Fully Customizable Stop-Loss and Take-Profit
SL options:
Opposite end of yesterday’s body
Fixed pips from entry
A risk-reward ratio on yesterday’s wick
Optional “safety SL” in fixed pips that overrides the above
TP options:
Fixed pips
Yesterday’s wick extreme (high/low)
Partial exit on the wick (TP1), then second exit (TP2) either:
At a multiplied RR
Or at the daily close (“Close of Day”)
You can also choose to move SL to breakeven after TP1 is hit.
Live Metrics Table
In the upper-right corner it displays in real time:
Start of backtest (date of first trade)
Number of ✅ Winning trades and ❌ Losing trades
Total number of trades
Win rate (%)
Profit Factor
All within a fixed table layout so it never runs out of rows or columns.
Grafik Paternleri
Likidite Avı + Dönüş Stratejisi (TP/SL + Zaman Bazlı)Checks if the previous top/bottom is pinned.
Then it generates a signal as soon as a sharp and opposite candle comes.
It looks for a reactionary reversal, not a pullback.
It gives fewer but more meaningful signals.
✅ Previous top/bottom pin (liquidity hunt)
✅ Immediately followed by a strong reversal candle
✅ And there is a signal system that gives these conditions instantly, together with the candle closing.
Intraday NQ - MACD + VWAP + TPO (Short Only from 2025)This intraday Nasdaq futures (NQ) strategy trades based on MACD momentum, VWAP alignment, and TPO breakout simulation. ATR determines dynamic risk and reward. Use the toggles to test long, short, or both strategies from January 1, 2025 onward.
XAUUSD Strategy with Visual DivergenceThis strategy is designed to capture high-probability trend-continuation trades on XAUUSD (Gold/US Dollar) by combining trend-following logic with momentum-based divergence detection. It uses the 200-period Exponential Moving Average (EMA) to filter for the prevailing trend and the Relative Strength Index (RSI) to identify bullish and bearish divergences as early entry signals. The strategy incorporates a risk-reward profile of 2:1, making it suitable for both swing and intra-day traders.
DDDDD: EBP Strategy (Improved with ATR & Filters) - Long OnlyDDDDD: EBP Strategy (Improved with ATR & Filters) - Long Only
This strategy is a refined version of the classic Engulfing Bar Play (EBP), designed specifically for XAUUSD on the 1-Day timeframe. It identifies high-probability bullish reversal setups using daily engulfing patterns and applies smart filters to enhance performance and reduce false signals.
🔍 Core Features:
✅ Bullish Engulfing Bar Detection
📈 Risk:Reward (R:R) ratio configurable (default 2:1)
📉 ATR Filter to avoid low-volatility sideways zones
🟠 EMA200 Filter to trade only in uptrends (optional)
📌 Recommended Use:
Asset: Gold Spot (XAUUSD)
Timeframe: 1D (Daily) only
Backtested Range: Proven results with over +300% cumulative return on daily charts (as shown in Strategy Tester)
⚠️ This strategy is meant for directional bias and swing entries. Use with proper money management and always confirm with additional confluences if needed.
Clarity Strategy: UT Bot + HMA + JCFBV (v6 fixed)The Clarity Strategy filters UT Bot signals with trend, volatility, and candle strength for high-accuracy entries, using dynamic or fixed TP/SL.
IMPOSSIBLE IS INMy Curiosity about all the trading Strategies and mindset came to an end. It has cost me a lot more than money to reach to this point, but with no regrets I present you the unbeatable🚩 inevitable dream strategy that could create unbelievable a
& catastrophic changes in your whole lifetime. This has cost me far more than any material value. A taste of lost luck and merely only my passion for my trading journey. I never stopped. Thank you.
And remember one thing age is just a number. I made this being a 23 year old Guy, whose was just dreaming along Situations that were totally depressing but life has its own ways
Try these setting on one hour time frame=
🎴BB Length 27
🎴BB StdDev 1.2
🎴Basis MA Type@ SMMA (…)
🎴Source: close
🎴Offset: 3
🕦Start Date: 2018-01-01🏁05:30
🕦End Date: 2069-12-31🏁23:59
🎴ATR Length🚩10
🎴ATR Multiplier for Trailing Stop🚩1.7
🤝Properties-
🎴Initial capital- 100000
🎴Base currency USD💵
👉🏻Order size: 25% of equity
👉🏻Pyramiding: 1
🎴 COST SIMULATION:
👉🏻Commission: 0.05
🎴MARGIN:
👉🏻Margin for long positions: 25%
👉🏻Margin for short positions: 25%
🎴RECALCULATE:
👉🏻 After order is filled:✅
👉🏻On every tick:✅
🎴FILL ORDERS:
👉🏻On bar close:✅
👉🏻 Using standard OHLC✅
SuperTrade Ichimoku Cloud StrategyUnlike SuperTrade's Super Trend the Ichimoku Cloud Strategy is a trend-following system derived from the Ichimoku Kinko Hyo indicator. It helps identify market direction, momentum, and potential support/resistance zones. This strategy uses key components of the Ichimoku Cloud to determine bullish or bearish trends and executes trades accordingly.
🔍 Key Components Used
Conversion Line (Tenkan-sen) – short-term average (9-period Donchian midpoint by default)
Base Line (Kijun-sen) – medium-term average (26-period Donchian midpoint)
Leading Span A (Senkou Span A) – average of Conversion Line and Base Line, plotted forward by 26 periods.
Leading Span B (Senkou Span B) – 52-period Donchian midpoint, plotted forward by 26 periods.
Lagging Span (Chikou Span) – current close price, plotted backward by 26 periods (for visual reference only in this version).
The cloud (Kumo) is the area between Leading Span A and B, representing trend direction and potential support/resistance.
📈 Entry Rules (Buy Condition)
A long trade is entered when:
LeadLine1 > LeadLine2 → This implies a bullish cloud.
Close > LeadLine1 and Close > LeadLine2 → The price is trading above the cloud, confirming upward momentum.
This combination indicates a strong bullish trend, so the strategy enters a long position.
📉 Exit Rules (Sell Condition / Close Position)
The long trade is closed when:
LeadLine1 < LeadLine2 → This implies a bearish cloud.
Close < LeadLine1 and Close < LeadLine2 → The price has fallen below the cloud, signaling trend weakness or reversal.
This confirms a bearish trend, prompting the strategy to exit the long position.
✅ Must-Have Elements in This Strategy
Entry Logic – based on price position relative to the cloud and cloud direction.
Exit Logic – closes the position when price shifts to a bearish trend.
Overlay Enabled – plotted over price for visual confirmation of signals.
Dynamic Parameters – inputs for conversion/base/cloud lengths and displacement.
Visualization – plots all Ichimoku components including cloud fill for clarity.
No Shorting Logic Yet – this version only handles long trades; shorting can be added optionally.
No Stop-Loss or Take-Profit – trades are closed purely based on Ichimoku trend reversal.
Accurate Swing Trading System - Strategy//@version=5
strategy("Accurate Swing Trading System - Strategy", overlay=true)
// Inputs
no = input.int(3, title="Swing")
Barcolor = input.bool(true, title="Barcolor")
Bgcolor = input.bool(false, title="Bgcolor")
// Logic
res = ta.highest(high, no)
sup = ta.lowest(low, no)
avd = close > res ? 1 : close < sup ? -1 : 0
avn = ta.valuewhen(avd != 0, avd, 0)
tsl = avn == 1 ? sup : res
Buy = ta.crossover(close, tsl)
Sell = ta.crossunder(close, tsl)
// Plotting
plotshape(Buy, title="BUY", style=shape.labelup, location=location.belowbar, color=color.green, text="BUY", textcolor=color.black)
plotshape(Sell, title="SELL", style=shape.labeldown, location=location.abovebar, color=color.red, text="SELL", textcolor=color.black)
colr = close >= tsl ? color.green : close <= tsl ? color.red : na
plot(tsl, color=colr, linewidth=3, title="TSL")
barcolor(Barcolor ? colr : na)
bgcolor(Bgcolor ? colr : na)
// Alerts
alertcondition(Buy, title="Buy Signal", message="Buy")
alertcondition(Sell, title="Sell Signal", message="Sell")
// Strategy Orders
if Buy
strategy.entry("Buy", strategy.long)
if Sell
strategy.close("Buy")
DCA Strategy TesterBacktest DCA method. Choose start and end date, monthly amount and see graph, buys orders and stats.
Market Mafia Sniper Strategy - XOTWODThe Market Mafia Sniper is a professional-grade, multi-timeframe precision trading system designed for scalping, intraday, swing, and position trading across any Forex, Crypto, Indices, and Metals market.
🚀 Core Features:
Entry Bias Detection: Trades only in the direction of major trend bias using EMA 200 and VWAP confluence.
Advanced Confirmation: Confirms entries with MACD crossovers and RSI momentum filtering.
Multi-Timeframe Power: Simultaneously scans 15 minutes, 1 hour, 4 hours, and Daily timeframes for sniper signals.
Dynamic Take Profit: Adjusts Risk:Reward dynamically based on timeframe-specific ATR measurements.
Breakout Trend Follower with MACD v2This is a breakout trend following strategy that uses MACD and ADX to help optimize. I like to use this against SOL on the 1D chart It is yield about 2200% profit from the inital start date on Coinbase Would love feedback
SuperTrade ST1 StrategyThis strategy leverages the Supertrend indicator to identify trend direction and capture key entry and exit points in the market. By utilizing ATR (Average True Range) for dynamic stop-loss and take-profit levels, this script adapts to varying market conditions for improved risk management.
Key Features
Supertrend Indicator: Defines the trend direction and generates buy/sell signals based on trend reversal points.
ATR-based Exits: Take Profit and Stop Loss are dynamically calculated using ATR multipliers to accommodate market volatility.
Customizable Inputs: Fine-tune the ATR Length, Supertrend Factor, and ATR multipliers for take-profit and stop-loss according to your strategy preferences.
Visual Indicators: Buy and Sell signals are clearly marked with labels on the chart, and the Supertrend line is color-coded for easy trend identification.
Background Trend Highlighting: The chart background changes color based on the prevailing trend to make it easier to follow the market direction.
This strategy is perfect for traders looking to ride trends while managing risk with smart, automated exits.
QQE MOD + Bollinger Band Strategy (Full Version)Bonus Tip:
• Use it on 1H timeframe for best results.
• Settings: BB Length 20, Multiplier 2.2, RSI 21, 200 EMA filter ON (as you showed earlier — perfect!)
PG MA Crossover Buy and Sell Options Special"If you've ever felt frustrated with buy-and-hold during volatile periods, this strategy gives you a smart, disciplined edge to actively manage your trades based on market strength, not hope. Give it a try, tweak the settings to suit your style, and unlock better consistency over time!"
// PG MA Crossover Direction Strategy — Quick Overview
// 📈 Entry:
// Long when MA is rising + price moves above it.
// Short when MA is falling + price moves below it.
// Smart re-entries near MA allowed.
// 📉 Exit:
// Long exit if price falls X% from top OR drops below MA.
// Short exit if price rises X% from low OR rises above MA.
// 🛡️ Stop Loss:
// Shorts have a hard stop-loss above entry to cap losses.
// 🎯 Goal:
// Beat Buy-and-Hold by riding strong trends, exiting early from weak ones, and managing risk dynamically.
// Designed for traders who want higher consistency and lower volatility over time.
// 🚀 Tip:
// Tweak the % thresholds and MA type/length for best results on your asset!
15-Min ORB Strategy )15 min orb with trailing orders. could use some refinement to mitigate drawdown. better if you recalculate after each bar. i made this for NQ
Gold Strategy with BOS, CHOCH, 4H S/R Zones (Final Version)Gold Strategy with BOS, CHOCH, 4H S/R Zones (Final Version)
Short Below 20 EMA with Exit Above Prior High - 15 Minshort trade strategy when price comes below 20 ema
Price Flip StrategyPrice Flip Strategy with User-Defined Ticker Max/Max
This strategy leverages an inverted price calculation based on user-defined maximum and minimum price levels over customizable lookback periods. It generates buy and sell signals by comparing the previous bar's original price to the inverted price, within a specified date range. The script plots key metrics, including ticker max/min, original and inverted prices, moving averages, and HLCC4 averages, with customizable visibility toggles and labels for easy analysis.
Key Features:
Customizable Inputs: Set lookback periods for ticker max/min, moving average length, and date range for signal generation.
Inverted Price Logic: Calculates an inverted price using ticker max/min to identify trading opportunities.
Flexible Visualization: Toggle visibility for plots (e.g., ticker max/min, prices, moving averages, HLCC4 averages) and last-bar labels with user-defined colors and sizes.
Trading Signals: Generates buy signals when the previous original price exceeds the inverted price, and sell signals when it falls below, with alerts for real-time notifications.
Labeling: Displays values on the last bar for all plotted metrics, aiding in quick reference.
How to Use:
Add to Chart: Apply the script to a TradingView chart via the Pine Editor.
Configure Settings:
Date Range: Set the start and end dates to define the active trading period.
Ticker Levels: Adjust the lookback periods for calculating ticker max and min (e.g., 100 bars for max, 100 for min).
Moving Averages: Set the length for exponential moving averages (default: 20 bars).
Plots and Labels: Enable/disable specific plots (e.g., Inverted Price, Original HLCC4) and customize label colors/sizes for clarity.
Interpret Signals:
Buy Signal: Triggered when the previous close price is above the inverted price; marked with an upward label.
Sell Signal: Triggered when the previous close price is below the inverted price; marked with a downward label.
Set Alerts: Use the built-in alert conditions to receive notifications for buy/sell signals.
Analyze Plots: Review plotted lines (e.g., ticker max/min, HLCC4 averages) and last-bar labels to assess price behavior.
Tips:
Use in trending markets by enabling ticker max for uptrends or ticker min for downtrends, as indicated in tooltips.
Adjust the label offset to prevent overlapping text on the last bar.
Test the strategy on a demo account to optimize lookback periods and moving average settings for your asset.
Disclaimer: This script is for educational purposes and should be tested thoroughly before use in live trading. Past performance is not indicative of future results.
Ultimate SuperTrend ProThe ultimate script works correctly while maintaining all the original features:
Customizable Inputs:
Separate input groups for SuperTrend, visualization, profit booking, and risk management
Adjustable ATR length and multiplier
Cloud opacity control
ATR-Based Cloud Visualization:
Bullish trend shows green cloud between upper band and upper band - 0.5 ATR
Bearish trend shows red cloud between lower band and lower band + 0.5 ATR
Adjustable opacity for better chart visibility
Profit Booking System:
Calculates profit booking levels based on ATR multiplier
Visual markers (circles) show where to take profits
Arrows appear when price hits profit booking level
Fully customizable color and ratio
Enhanced Risk Management:
ATR-based stop loss system
Visual indication of stop levels in the info table
Option to disable stop loss if desired
Improved Visual Feedback:
Cleaner signal markers
Comprehensive info table showing current status
Distance to profit booking level displayed
Strategy Integration:
Automatically exits positions at profit booking levels
Stop loss protection
Clear alert conditions
Yüzde 5 Kar ve Yüzde 2 Zarar Stop Stratejisi15 dk grafikte rsi,hacim,bollinger bantları kullanarak strateji oluşturur.
Yüzde 5 Kar ve Yüzde 2 Zarar Stop Stratejisi15 dk grafikde rsi,bollinger bantları,fiyat,hacim kullanarak işlem yapmak için kullanılabilir.