MA Crossover Volume Long Strategy✅ Strategy Logic:
This strategy is designed for long-only short-term trades and works across multiple timeframes. It uses a combination of price moving average crossover and volume moving average confirmation to determine entry signals, and applies dynamic take-profit (trailing) and fixed stop-loss mechanisms.
🟢 Entry Conditions (Long Only):
A long position is opened when all the following conditions are met:
Price crosses above the 25-period Simple Moving Average (SMA) — a bullish signal.
The 5-period volume moving average is greater than the 60-period volume moving average — indicating rising or strong volume support.
No current open position — to prevent multiple entries during the same signal.
🔴 Exit Conditions:
The strategy closes the position using two types of risk management:
1. Take Profit with Trailing Logic:
Once the price increases by 5% or more from the entry price, a trailing stop is activated.
The trailing stop follows the price with a 1% trailing offset.
If the price drops 1% from its highest point after reaching the 5% profit threshold, the position is closed to secure profits.
2. Fixed Stop Loss:
If the price drops 1% below the entry price, the position is closed automatically to limit the loss.
⚙️ Other Settings:
No short trades: This strategy is long-only.
No pyramiding: Only one position at a time is allowed. New entries are blocked until the current position is closed.
User-configurable parameters:
Price MA length (default: 25)
Volume short MA length (default: 5)
Volume long MA length (default: 60)
🧠 Summary:
This strategy combines trend-following (price above MA) with volume confirmation to identify strong bullish moves, and uses a smart trailing profit mechanism to lock in gains, while strictly capping downside risk at 1% per trade. It is suitable for intraday or swing trading depending on the chosen timeframe.
Candlestick analysis
Gap Fill Mean Reversion Strategy – NASDAQ 3-MinuteThis is a carefully optimized mean-reversion strategy that targets intraday gap fills on the NASDAQ (US100) using 3-minute charts.
Core Logic:
- Detects gap up/down openings larger than 0.5%
- Confirms reversal with a 3-candle pattern
- Enters only in the direction of the 50/200 EMA trend
- Shorts are filtered using RSI > 60
Risk Management:
- TP: 2 × ATR
- SL: 1 × ATR (capped with max dollar loss)
- Optional trailing stop after 2 × ATR profit
- Only 1 trade per day
Results (Backtest - NASDAQ 3min):
- ~46% win rate
- +681 USD net profit
- 69 trades
- Max drawdown: very low
- Suitable for automation and alert-based execution
Note:
Works ONLY on NASDAQ (US100) 3-minute chart. Other assets or timeframes are not supported due to lack of reliable gaps.
Tested and stable – ready for serious use.
OpSindoor - First 15-Min Breakout StrategyOpen 15 Mins candle Breakout with zones to avoid fakeouts, entries only outside the grey zone
Simplified Test StrategyThis indicator replicates the powerful structure-based logic of premium institutional tools like It combines smart market structure detection (BOS/CHoCH), momentum filters (RSI), volatility assessment (ATR), and volume spikes to deliver high-probability trade signals.
Key features include:
✅ Swing high/low structure detection
✅ Break of Structure and Change of Character signals
✅ Configurable RSI, volume, and ATR filters
✅ Composite scoring to filter only strong setups
✅ Dynamic SL/TP using recent market structure
✅ Built-in alerts for buy/sell signals
Use this tool to visually analyze market reversals, confirm breakout trades, or build confluence with your existing strategy. Designed for traders who want structure-first, signal-smart trading.
Nifty Options Strategy - EMA + RSI//@version=5
strategy("Nifty Options Strategy - EMA + RSI", overlay=true, default_qty_type=strategy.percent_of_equity, default_qty_value=100)
emaFast = ta.ema(close, 9)
emaSlow = ta.ema(close, 21)
rsi = ta.rsi(close, 14)
// Entry conditions
longSignal = ta.crossover(emaFast, emaSlow) and rsi > 50
shortSignal = ta.crossunder(emaFast, emaSlow) and rsi < 50
// Plot signals on chart
plotshape(longSignal, title="Buy Call Signal", location=location.belowbar, color=color.green, style=shape.labelup, text="CALL")
plotshape(shortSignal, title="Buy Put Signal", location=location.abovebar, color=color.red, style=shape.labeldown, text="PUT")
// Simulated underlying buy trades
if (longSignal)
strategy.entry("Buy CALL", strategy.long)
if (shortSignal)
strategy.entry("Buy PUT", strategy.short)
// Exit conditions
strategy.close("Buy CALL", when=ta.crossunder(emaFast, emaSlow) or rsi < 45)
strategy.close("Buy PUT", when=ta.crossover(emaFast, emaSlow) or rsi > 55)
// Plot EMAs
plot(emaFast, title="EMA 9", color=color.orange)
plot(emaSlow, title="EMA 21", color=color.blue)
1H Reversal Strategy + Supertrend Exit (met ta.dmi)Eerste strategie, dus ik wil even uitproberen of dit werkt met Cryptohopper.
1 BUY 2 SELL Loop – With ATR-Based SL/TPStrategy Overview:
This script is a scalping strategy tailored for the NASDAQ 100 (US100) on the 3-minute timeframe. It utilizes a "1 Buy 2 Sell" cycle logic, with every trade managed using ATR-based dynamic Stop Loss and Take Profit levels.
Core Features:
- Dual Entry Logic:
Enters 2 contracts; one is quickly exited to lock in minimal profit or loss, the other runs until SL/TP triggers.
- ATR Filter:
Volatility-based stop-loss and take-profit logic using a multiple of the Average True Range.
- Trade Direct:
Signals are derived from a simple RSI crossover/crossunder, but this can be replaced with your custom logic.
Optimized for:
- NAS100 / US100 Index
- 3-minute chart
- High-frequency manual or automated trading
Customization Ideas:
You can add trend filters (e.g., EMA confirmation), time filters, or trailing stop functions based on your own strategy needs.
Note:
This script is built for educational and testing purposes on TradingView and should not be considered financial advice.
Simple Trend Signal with SL/TPOverview:
This indicator combines a smoothed EMA-based trend filter with a Supertrend confirmation system to deliver high-probability BUY/SELL signals. It automatically calculates and displays Stop Loss and Take Profit levels using the ATR, making trade planning simple, visual, and rule-based.
📌 How It Works:
Entry Signals:
BUY is triggered when a new uptrend is confirmed by both smoothed EMA and Supertrend.
SELL is triggered on the confirmation of a new downtrend.
Stop Loss / Take Profit:
Both SL and TP levels are calculated using the Average True Range (ATR) for dynamic volatility-based protection.
Levels are visualized with dashed lines on the chart for clarity.
Exit Conditions:
Positions are closed automatically if SL/TP is hit or if trend reversal is detected.
✅ How to Use It:
Wait for Clear Signal:
Look for a "BUY" or "SELL" label on the chart.
Confirm that the trend line and Supertrend are aligned in the same direction.
Use Visual SL/TP:
The indicator draws dashed lines for Stop Loss (Red) and Take Profit (Green).
Risk/Reward is automatically set using the ATR multiplier.
Stay Disciplined:
Follow the SL/TP levels strictly.
Exit trades when an “EXIT” label appears or SL/TP line is breached.
Multi-Timeframe Compatible:
Works well across 5min to 1D charts.
Ideal for both intraday and swing traders.
📊 Visual Trade Panel:
A live status panel shows:
Trade Direction
Entry Price
SL & TP levels
Updates in real-time for effective decision-making
Perfect For: Traders who want a clean, no-nonsense, rule-based system with automated trade zones and minimal clutter.
🛠️ Customize SL/TP using the ATR Multiplier input for tighter or looser setups based on your strategy.
Liquidity Sniper + VWAP ProfileVWAP: Daily recalculated anchored VWAP.
Volume Profile POC: The most-traded price zone (basic profile using volume bins).
Trade Logic: Executes trades when price deviates from VWAP and POC, supported by high volume and RSI confirmation.
Plots: VWAP, POC, and signal markers help you visually confirm logic.
XAU/USD StrategyTrade CAPITALCOM:GOLD (XAU/USD) effortlessly — our advanced Buy/Sell Bot does the hard work for you.
✅ Low-risk strategy
✅ Starts with just $10
✅ Ideal for beginners and passive traders
Let the bot analyze the market and execute trades automatically.
📈 Get started today and watch your trading go hands-free!
7th Gate Open --- CompleteThis script is a quantitative price action strategy designed to identify contextual engulfing patterns filtered by macro-level trend confirmation and dynamic Fibonacci levels, then manages positions with EMA/MA crossovers, adaptive stop mechanisms, and customizable timeframes.
Estrategia Institucional EUR/USDIt only enters structural breakout zones if there is a confirmation candle.
Filter by the most liquid institutional sessions.
Manage risk with dynamic SL/TP based on structure.
Visually displays relevant zones (swing highs/lows).
高點突破策略進場條件:突破前20根K棒的高點自動進場
出場條件:
停利:+3%
停損:-1.5%
適合時間週期: 可用於1小時或日線圖
適合標的:股票 期貨 加密貨幣 個股
如果要使用請自行回測找到最符合的標的
一律建議用模擬帳戶嘗試,沒問題過後再用真金白銀
Entry Condition:
Automatically enter a long position when the price breaks above the highest high of the past 20 candles.
Exit Conditions:
Take Profit: +3%
Stop Loss: -1.5%
Recommended Timeframes:
Suitable for 1-hour or daily charts.
Applicable Instruments:
Stocks, futures, cryptocurrencies, and individual equities.
Important:
Please perform your own backtesting to identify the most suitable assets.
We strongly recommend using a demo account first. Only trade with real money after confirming the strategy works well.
Prototype 005This is a tool that will make it easy for you to trade by identifying the position of the buy and sell points of the order.
Middle Finger Trading StrategyStrategy Logic Summary:
Identify Huge Volume: Finds a bar ( - the previous bar) where volume is significantly higher (activeHugeVolMultiplier) than the recent average volume (avgVolume ). The average calculation excludes specific times (RTH edges, certain ETH).
Confirm Volume Drop: Checks if the current bar's ( ) volume is lower than the previous bar's huge volume (volume < volume ).
Determine Trend Before Spike: Looks at the close two bars ago (close ) relative to the SMA two bars ago (priceSma ) to determine the trend before the huge volume bar.
Entry Signal (Base):
Long: Bearish trend before spike + Huge Volume on prev bar + Volume drop on current bar.
Short: Bullish trend before spike + Huge Volume on prev bar + Volume drop on current bar.
Time Filter: Optionally filters out entries during the first/last 15 mins of RTH and always filters specific ETH/pre-market times.
Entry Execution:
If a Long signal occurs and no position is open, place a limit order to buy at the low of the huge volume bar (low ).
If a Short signal occurs and no position is open, place a limit order to sell at the high of the huge volume bar (high ).
Order Processing: process_orders_on_close=false means limit orders can potentially be filled intra-bar if the price touches the limit level during the bar's formation.
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.
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.
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.
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.
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")
Rawstocks 15 Minute ModelRawstocks 15-Minute Model
The Rawstocks 15-Minute Model is a precision intraday trading strategy designed for the US stock market (9:30 AM - 4:00 PM ET), optimized for the 15-minute timeframe. It combines institutional order flow concepts with Fibonacci retracements to identify high-probability reversal setups while enforcing strict risk management and session-based rules.
Key Features
Time-Based Execution
Trading Hours: 9:30 AM - 4:00 PM ET (no new entries after 4:00 PM)
Force Close: All positions auto-exit at 4:30 PM ET (prevents overnight risk)
Entry Logic
Order Block + Fib Confluence:
Identifies institutional order blocks (previous swing highs/lows)
Requires price pullback to 61.8% or 79% Fibonacci level
Liquidity Confirmation:
Waits for stop runs (liquidity sweeps) before reversal entries
Exit Rules
Stop Loss: 1x ATR (14) from entry
Take Profit: 2:1 Risk-Reward (adjustable)
Visual Signals
Green Triangle: Valid long setup (pullback to bullish OB + Fib)
Red Triangle: Valid short setup (pullback to bearish OB + Fib)
Blue/Purple Background: Highlights active trading vs. close period
How It Works
Identify the Setup
Wait for a strong impulse move (break of structure)
Mark the order block (institutional zone)
Confirm Pullback
Price must retrace to 61.8% or 79% Fib level
Must occur within trading hours (9:30 AM - 4:00 PM)
Enter on Confirmation
Long: Break of pullback candle high (stop below recent swing low)
Short: Break of pullback candle low (stop above recent swing high)
Manage the Trade
Trail stop or exit at 2R (risk-to-reward)
All positions close at 4:30 PM sharp
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.
RSI Divergence Strategy - AliferCryptoStrategy Overview
The RSI Divergence Strategy is designed to identify potential reversals by detecting regular bullish and bearish divergences between price action and the Relative Strength Index (RSI). It automatically enters positions when a divergence is confirmed and manages risk with configurable stop-loss and take-profit levels.
Key Features
Automatic Divergence Detection: Scans for RSI pivot lows/highs vs. price pivots using user-defined lookback windows and bar ranges.
Dual SL/TP Methods:
- Swing-based: Stops placed a configurable percentage beyond the most recent swing high/low.
- ATR-based: Stops placed at a multiple of Average True Range, with a separate risk/reward multiplier.
Long and Short Entries: Buys on bullish divergences; sells short on bearish divergences.
Fully Customizable: Input groups for RSI, divergence, swing, ATR, and general SL/TP settings.
Visual Plotting: Marks divergences on chart and plots stop-loss (red) and take-profit (green) lines for active trades.
Alerts: Built-in alert conditions for both bullish and bearish RSI divergences.
Detailed Logic
RSI Calculation: Computes RSI of chosen source over a specified period.
Pivot Detection:
- Identifies RSI pivot lows/highs by scanning a lookback window to the left and right.
- Uses ta.barssince to ensure pivots are separated by a minimum/maximum number of bars.
Divergence Confirmation:
- Bullish: Price makes a lower low while RSI makes a higher low.
- Bearish: Price makes a higher high while RSI makes a lower high.
Entry:
- Opens a Long position when bullish divergence is true.
- Opens a Short position when bearish divergence is true.
Stop-Loss & Take-Profit:
- Swing Method: Computes the recent swing high/low then adjusts by a percentage margin.
- ATR Method: Uses the current ATR × multiplier applied to the entry price.
- Take-Profit: Calculated as entry price ± (risk × R/R ratio).
Exit Orders: Uses strategy.exit to place bracket orders (stop + limit) for both long and short positions.
Inputs and Configuration
RSI Settings: Length & price source for the RSI.
Divergence Settings: Pivot lookback parameters and valid bar ranges.
SL/TP Settings: Choice between Swing or ATR method.
Swing Settings: Swing lookback length, margin (%), and risk/reward ratio.
ATR Settings: ATR length, stop multiplier, and risk/reward ratio.
Usage Notes
Adjust the Pivot Lookback and Range values to suit the volatility and timeframe of your market.
Use higher ATR multipliers for wider stops in choppy conditions, or tighten swing margins in trending markets.
Backtest different R/R ratios to find the balance between win rate and reward.
Disclaimer
This script is for educational purposes only and does not constitute financial advice. Trading carries significant risk and you may lose more than your initial investment. Always conduct your own research and consider consulting a professional before making any trading decisions.