[astropark - Premium] Long-Short Strategy V3This indicator is not holy grail , but it is an amazing trend finder and works nicely between 3m and 1W timeframes :)))
With this indicator you can enjoy its trading signal and backtest the strategy.
In order to check how much you could have been profitable with this script if you started trading from a specific timestamp, please use this nice website to get the integer number representing in seconds the date-time you want to start from: www.unixtimestamp.com
If you want to set alerts on both buy, sell, take profit and stop-loss signals you must use this not-strategy indicator version
HOW TO USE THIS INDICATOR
Buy/Long when you see a green "B" label on the chart at best price you can, you have time till next candle's open price , trying to buy as low as possible near the green cloud or below it. Green cloud acts like a moving support for price, so use it for more buys/longs. The bigger the cloud, the stronger the bull-trend and so the support.
Sell/Short when you see a red "S" label on the chart at best price you can, you have time till next candle's open price , trying to sell as high as possible near the red cloud or over it. Red cloud acts like a moving resistance for price, so use it for more sells/shorts. The bigger the cloud, the stronger the bear-trend and so the resistance.
This indicator suggests some TP (Take Profit) for both longs (in green color) and shorts (in red color): you can start (at least partially!) closing the current trade (eventually you start new longs/shorts at cloud touch if you are a bold trader!).
Keep in mind that the lower the timeframe you work on, the easier is the trend to change rapidly, so always set a -2% / -5% stop-loss on trades and follow the trend with a nice trailing stop strategy.
Of course, as said at the beginning, this indicator suggests some TPs (Take Profits) for both longs (in green color) and shorts (in red color) operations: when you see a TP, you can start (at least partially!) taking profits over the current trade and move stop-loss higher (at least at break-even).
This is a premium indicator , so send me a private message in order to get access to this script.
Do you like my free scripts? Offer me a coffee, a beer, a pizza or whatever :)
BTC jar: 1K5kuYQPEqoNo6GRmJbHWMPmqwKM5S3oRR
ETH jar: 0x091b541a6dd6fe08c4e7bd909baafb2fce9b975e
LTC jar: LSVoAChsZrVsvbNyUfdpxtFpDAUSaUTUig
XRP jar: (XRP deposit tag) 103997763 (XRP deposit address) rEb8TK3gBgk5auZkwc6sHnwrGVJH8DuaLh
PS: Do you need a customization or do you need a dev who implements your strategy? send me a private message ;-)
Komut dosyalarını "take profit" için ara
Renko Strategy Open_CloseSimple Renko strategy, very profitable. Thanks to vacalo69 for the idea.
Rules when the strategy opens order at market as follows:
- Buy when previous brick (-1) was bearish and previous brick (-2) was bearish too and actual brick close is bullish
- Sell when previous brick (-1) was bullish and previous brick (-2) was bullish too and actual brick close is bearish
Rules when the strategy send stop order are the same but this time a stop buy or stop sell is placed (better overall results).
Note that strategy open an order only after that condition is met, at the beginning of next candle, so the actual close is not the actual price.
Only input is the brick size multiplier for stop loss and take profit: SL and TP are placed at (brick size)x(multiplier) Or put it very high if you want startegy to close order on opposite signal.
Adjust brick size considering:
- Strategy works well if there are three or more consecutive bricks of same "color"
- Expected Profit
- Drawdown
- Time on trade
This strategy uses Renko charts with TRADITIONAL bricks, so no repaint.
Study with alerts, MT4 expert advisor and jforex automatic strategy are available at request.
Please use comment section for any feedback.
NGRN MACD-X & RSI v4 STRATEGYMACD-X, RSI & Volume Indicator Strategy - Version 4
Overview
This strategy and it's associated study were modeled after the famous Philakone described algorithms on his now defunct instructional video series.
This indicator allows for full customisation of parameters and interaction between three indicators that allow users to shape their trading methods to their desired goals. This associated strategy also allows users to backtest the study alerts script and find the best settings towards that end.
MACD + RSI + VOLUME - are of the most powerful and widely usded indicators, MACD/Histogram crosses, coupled with RSI & Volume increases/decreases will detects areas of deeply oversold / overbought and buys/sells on the reversal
Features
Full customisation - All parameters are open for customising to allow the trader to build their own strategy and adapt from market to market.
Clean/Simple UI - Facilitating ease of use.
Enable Buying OR Selling, - or have them both active at the same time.
Toggle off and on ALTERNATING Buy and Sell feature (pyramiding) - to allow for consecutive DCA style buys or SCALING out of an entry (partial sell).
Customizable Stop-Loss plot - to enable users to create a STOP-LOSS alert option or other alert(s) based on the plot location.
Toggle Auto Stop-Loss sell option - to enable users choose whether or not to automatically issue a sell signal when close crosses stop loss plot, or choose to toggle off if not profitable.
Customizable Take-Profit plot - to enable users to create a TAKE-PROFIT alert option or other alert(s) based on the plot location.
Study and associated Strategy - to use the TradingView ‘Strategy Tester’ back-testing features to find the best alert settings for specific coins in bear, bull and sideways markets.
Changes Version 4
Improved STOP-LOSS plot draw.
Added the option to automatically sell when stop-loss cross triggered or have the option disabled, in the event a better profit can be achieved.
Added new TAKE-PROFIT plot (aqua line) to visually guide users where to place the TAKE-PROFIT parameter as well as give users options to create alerts based on the TAKE-PROFIT plot.
Access
Full Access is 0.1 ETH , one time fee for LIFETIME access to the STUDY indicator, STRATEGY and future updates as well as support and SETTINGS for various markets on the Binance Exchange.
Settings
SCREENSHOT LINKS:
BUY SETTINGS: prntscr.com
SELL SETTINGS: prntscr.com
Parallax Momentum MNQ Strategy# 📈 Parallax Momentum MNQ Strategy
## Overview
The Parallax Momentum MNQ Strategy is a sophisticated support/resistance breakout system specifically designed for Micro Nasdaq futures (MNQ) trading (also works on minis). This strategy combines dynamic level detection with momentum confirmation to identify high-probability entry opportunities while maintaining strict risk management protocols.
## 🎯 Key Features
### Core Strategy Logic
- **Dynamic Support/Resistance Detection**: Automatically identifies key levels using configurable lookback periods
- **Momentum Confirmation**: Volume-based filtering ensures trades align with market momentum
- **ATR-Based Risk Management**: Adaptive stop losses and take profits based on market volatility
- **Dual Entry System**: Both long and short opportunities with limit order execution
### Risk Management
- **ATR-Adaptive Stops**: Stop losses and take profits automatically adjust to market volatility
- **Reward-to-Risk Ratios**: Configurable R:R ratios with default 2:1 minimum
- **Maximum Loss Protection**: Optional daily loss limits to prevent overtrading
- **Session Time Filtering**: Trade only during specified market hours
### Strategy Modes
- **Conservative Mode**: 0.8x risk multiplier for cautious trading
- **Balanced Mode**: Standard 1.0x risk multiplier (default)
- **Aggressive Mode**: 1.2x risk multiplier for active trading
## 📊 Visual Features
### Dashboard Display
- Real-time strategy status and performance metrics
- Current support/resistance levels and ATR values
- Live risk-to-reward ratios for potential trades
- Win rate, profit factor, and drawdown statistics
- Adjustable dashboard size and positioning
### Chart Indicators
- Support and resistance lines with labels
- ATR-based levels (+/-1 ATR and +/-2 ATR)
- Dynamic visual updates as levels change
- Configurable line extensions and styling
## ⚙️ Configuration Options
### Entry Filters
- **Volume Filter**: Optional volume confirmation above SMA
- **Session Time Filter**: 12-hour format time restrictions
- **ATR vs Fixed Stops**: Choose between adaptive or fixed tick-based exits
### Risk Controls
- **ATR Period**: Default 14-period ATR calculation
- **Stop Loss Multiplier**: ATR-based stop distance (default 1.5x)
- **Take Profit Multiplier**: ATR-based target distance (default 1.5x)
- **Secondary Take Profit**: Optional TP2 with position scaling
## 📋 How It Works
### Entry Conditions
**Long Trades**: Triggered when price closes above support buffer but low touches support level, with volume and session confirmation
**Short Trades**: Triggered when price closes below resistance buffer but high touches resistance level, with volume and session confirmation
### Exit Strategy
- **Primary Take Profit**: ATR-based target with 2:1 R:R minimum
- **Stop Loss**: ATR-based protective stop
- **Optional TP2**: Extended target for partial profit taking
- **One Trade at a Time**: No overlapping positions
## 🎛️ Default Settings
- **Lookback Period**: 20 bars for support/resistance detection
- **ATR Period**: 14 bars for volatility calculation
- **Stop Loss**: 1.5x ATR from entry
- **Take Profit**: 1.5x ATR with 2:1 reward-to-risk ratio
- **Session**: 7:30 AM - 2:00 PM (configurable)
## ⚠️ Important Notes
### Risk Disclaimer
- This strategy is for educational and informational purposes only
- Past performance does not guarantee future results
- Always use proper position sizing and risk management
- Test thoroughly on historical data before live trading
- Consider market conditions and volatility when using
### Best Practices
- Backtest on sufficient historical data
- Start with conservative mode for new users
- Monitor performance regularly and adjust parameters as needed
- Use appropriate position sizing for your account
- Consider broker commissions and slippage in live trading
## 🔧 Customization
The strategy offers extensive customization options including:
- Adjustable time sessions with AM/PM format
- Configurable ATR and risk parameters
- Optional maximum daily loss limits
- Dashboard size and position controls
- Visual element toggles and styling
## 📈 Ideal For
- MNQ (Micro Nasdaq) futures traders
- Intraday momentum strategies
- Traders seeking systematic entry/exit rules
- Risk-conscious traders wanting automated stops
- Both beginner and experienced algorithmic traders
---
**Version**: Pine Script v5 Compatible
**Timeframe**: Works on multiple timeframes (test on 1m, 3m, 5m, 15m)
**Market**: Optimized for MNQ but adaptable to other instruments
**Strategy Type**: Trend following with momentum confirmation
GOD Scalper TURBO Pattern Recognition & Price Action🚀 Introducing: 👑Scalper TURBO👑 – Your Ultimate TradingView Companion for High-Speed Scalping & Auto-Trading!
Trade Smarter. Trade Faster. Trade Automated.
The world's fastest scalper robot with the ability to analyze and trade in second-by-second time frames with an incredible 900% monthly profitability.
🔥 What is 👑Scalper TURBO👑?
Scalper TURBO is a high-performance Pine Script 5 strategy designed for aggressive and intelligent scalping on TradingView. It combines breakout detection, multi-indicator confirmation, time-based filtering, and full PineConnector integration for automated live trading with MetaTrader 5 (MT5). Whether you want to backtest, trade manually, or connect with MT5 via PineConnector – this tool is your edge.
⚙️ Key Features
✅ Fast Execution Logic — Uses real-time tick data with calc_on_every_tick=true
✅ EMA, SMA, RSI & ATR Filters — Combines trend, momentum, and volatility in one strategy
✅ Breakout Strategy — Trades breakouts above resistance or below support
✅ Multi-Time Filter Zones — 4 customizable intraday trading windows to avoid choppy hours
✅ PineConnector-Ready — Seamless alerts for auto-trading with MT5, customizable lot sizes
✅ Dynamic Stop Loss / Take Profit — Based on ATR multipliers for adaptable risk
✅ Trail Stop Support — Optional trailing stop-loss system
✅ Built-in Risk Labels — Live performance and signal info right on the chart
✅ Minimal Resource Usage — Pre-computed constants and cached indicators for speed
✅ Recommended Use Cases:
XAUUSD / Gold scalping (default)
1m to 5m charts (for high-frequency setups)
Live auto-trading via PineConnector
Backtesting and optimization with historical data
🧠 Pro Tips
For best results, run it during high-volume market hours (enable time filters like London/NY session).
Use trailing stop in volatile assets for maximizing gains.
Integrate with PineConnector Pro for seamless MT5 execution.
Combine with your own overlays or confirmation tools.
📣 Join the Movement
💬 Created by @DrFXAi – follow on TradingView for updates, improvements, and more elite scripts.
🚀 Ready to Automate Your Edge?
📌 Add 👑Scalper TURBO👑 to your chart today and take control of your scalping game with automation, speed, and intelligence!
💬 Need help with access, backtesting, or have any questions about our indicators?
Our support team is available 24/7 on Telegram.
Just reach out through the link below: 👉 t.me
Invencible MACD Strategy Scalping)Invencible MACD Strategy
The Invencible MACD Strategy is a refined scalping system designed to deliver consistent profitability by optimizing the classic MACD indicator with trend and volatility filters. This strategy is built for short-term traders looking for precision entries and favorable risk-to-reward conditions on any asset and lower timeframes such as 1m, 5m, or 15m.
Core Logic
This strategy uses a multi-timeframe (MTF) approach to calculate the MACD, Signal Line, and Histogram. Trades are executed when all of the following conditions are met:
Long Entry:
The MACD crosses above the Signal Line.
The Histogram is rising with a defined impulse threshold.
Price is above the 200 EMA, confirming an uptrend.
Volatility, measured by ATR, is above a configurable minimum.
Short Entry:
The MACD crosses below the Signal Line.
The Histogram is falling with a defined impulse threshold.
Price is below the 200 EMA, confirming a downtrend.
ATR confirms sufficient volatility.
Risk Management
Take Profit is set higher than Stop Loss to ensure that the average winning trade is greater than the average losing trade.
Trailing stop is optional and can be disabled to allow full profit capture on strong moves.
Trade size is fixed to 1 contract, suitable for scalping with low exposure.
Customizable Parameters
MACD Fast, Slow, and Signal EMAs
Histogram impulse threshold
Minimum ATR filter
Take Profit and Stop Loss percentage
Trailing Stop activation and size
Timeframe resolution (can be customized or synced with chart)
Visual Aids
MACD and Signal Line are plotted below price.
Histogram bars help visualize momentum strength.
200 EMA is plotted on the main chart to show trend direction.
This strategy was designed to prioritize quality over quantity, avoiding weak signals and improving both the win rate and profit factor. It is especially effective on assets like gold (XAUUSD), indices, cryptocurrencies, and high-liquidity stocks.
Feel free to test and optimize parameters based on your trading instrument and timeframe.
Los 7 Capitales
ICT OTE StrategyStrategy Overview
This strategy is designed to automate a specific trading setup based on the concepts of Inner Circle Trader (ICT). Its primary goal is to identify significant market structure swings, frame a Fibonacci retracement over the most recent price leg, and execute a trade when the price pulls back to a key user-defined level. It is a counter-trend entry strategy, meaning it looks to enter a trade during a pullback within an established trend.
How It Works: Step-by-Step
1. Swing Detection:
The strategy first identifies significant swing highs and swing lows.
A swing high is confirmed only if it's higher than a specific number of bars to its left and right (defined by "Left Strength" and "Right Strength" in the settings).
The same logic applies to swing lows, which must be lower than the bars around them. This filtering ensures only structurally important turning points are considered.
2. Defining the Trading Range:
Once a new swing is confirmed, the strategy defines the most recent dealing range.
If a new swing high forms, the range is drawn from the previous swing low up to this new high. This is considered a bullish leg.
If a new swing low forms, the range is drawn from the previous swing high down to this new low. This is considered a bearish leg.
3. Fibonacci Retracement & Trade Setup:
An automatic Fibonacci retracement tool is drawn over this newly defined dealing range. The 0.0 level is placed at the end of the move, and the 1.0 level is at the beginning.
The strategy then prepares to enter a trade based on this range.
4. Trade Execution:
Entry: A limit order is placed at a specific Fibonacci level within the range, waiting for the price to retrace. The default entry is the 0.618 level, but this can be changed in the settings.
For a bullish leg, it places a LONG (Buy) order, anticipating that the price will bounce from the retracement level.
For a bearish leg, it places a SHORT (Sell) order, anticipating that the price will be rejected from the retracement level.
Stop Loss: The Stop Loss is automatically placed at the 1.0 level of the Fibonacci range. This is the point where the original trade idea is invalidated.
Take Profit: The Take Profit is automatically placed at the 0.0 level of the Fibonacci range. This is the target at the end of the price leg.
Key Features & Customization
Automated Trade Logic: The entire process, from identifying the setup to placing the entry, stop loss, and take profit, is fully automated.
Visual Aid: The script draws the swing points and the Fibonacci retracement on the chart, so you can visually confirm the setups the strategy is taking.
Customizable Entry: You can change the "Entry Level" in the settings to test different Fibonacci levels, such as the Optimal Trade Entry (OTE) at 0.705.
Toggle Visuals: You can turn the Fibonacci drawing on or off to keep your chart clean while still allowing the strategy to run in the background.
The SamuraiOverview
This strategy implements a session-based range breakout system specifically designed for GBP/JPY trading. The approach focuses on identifying key price ranges during specific market sessions and trading breakouts of these ranges during optimal trading windows. The strategy combines multi-timeframe analysis using 30-minute data with precise session timing to capture high-probability breakout moves.
Entry Logic
The strategy operates on a two-phase approach:
Range Collection Phase:
Monitors price action during a specified session window
Identifies session high and low levels
Only collects ranges on selected trading days
Trading Phase:
Long Entry: Price closes above the established session high
Short Entry: Price closes below the established session low
Entries only occur on valid trading days (day after range collection)
One trade per direction per session to prevent overtrading
Exit Conditions
Stop Loss: Set at a percentage of the session range below entry (long) or above entry (short)
Take Profit: Calculated using a Risk-Reward Ratio based on stop loss distance
Session Close: All positions are closed at the end of the trading window
Risk Management Features
Fixed risk-reward ratio of for consistent risk management
Stop loss calculated as percentage of session range for adaptive sizing
Visual risk/reward boxes display potential outcomes before entry
Daily session close protection prevents overnight exposure
Visual Features
Customizable Colors: Full control over line colors, styles, and box opacities
Risk/Reward Visualization: Color-coded boxes showing potential profit and loss zones
Take Profit Lines: TP level with different line styles for clarity
Stop Loss Line: Clear visual indication of risk level
Clean Interface: Streamlined settings focused on essential visual customization
Important Notes
Timeframe Dependency: Strategy uses 30-minute data regardless of chart timeframe for consistency
Session Timing: All times are in UTC - ensure proper timezone conversion for your location
Trading Days: Default setup trades Tuesday-Friday ranges (Monday-Thursday collection)
Single Position: Only one position per direction per session to maintain discipline
No Pyramiding: Strategy prevents position averaging to maintain clear risk parameters
Suggested Use
Recommended Pairs: Optimized for GBP/JPY but may work on other volatile pairs
Best Timeframes: Display on any timeframe (strategy uses 30m data internally)
Session Awareness: Most effective during high-volatility session transitions
Risk Management: Consider position sizing based on account risk tolerance
Market Conditions: Performs best in trending or breakout market environments
Backtesting Considerations
Strategy includes realistic entry/exit conditions based on closing prices
Visual elements help understand historical performance context
Built-in position management prevents unrealistic results
Session-based logic ensures trades align with actual market sessions
This strategy is designed for traders who prefer systematic, rule-based approaches to breakout trading with clear risk management parameters. The visual feedback helps in understanding market context and decision-making process.
Disclaimer: Past performance does not guarantee future results. Always test thoroughly on historical data and consider your risk tolerance before live trading.
The Gold Bot🥇 The Gold Bot — Precision Gold Trading System
The Gold Bot is an elite trading strategy specifically engineered for gold markets, combining institutional-grade risk management with sophisticated price action analysis. This professional-level system is designed for serious traders seeking consistent performance in one of the world's most volatile and liquid precious metals markets.
💎 Premium Features:
Gold-Optimized Algorithms : Proprietary signal processing specifically calibrated for gold's unique price behavior and volatility patterns
Multi-Layer Risk Management : Advanced position sizing with intelligent adaptation based on recent performance and market conditions
Session-Focused Trading : Targets optimal gold trading windows when institutional volume and volatility create the best opportunities
Automated Position Protection : Comprehensive exit system featuring stop losses, take profits, and dynamic trailing stops
Professional Risk Controls : Multiple safety mechanisms including daily trade limits and automatic position closure protocols
⚙️ Institutional-Grade Architecture:
The Gold Bot employs advanced smoothing techniques and momentum analysis specifically tuned for gold futures and spot markets. Its sophisticated position sizing algorithm adapts to market performance, while multiple safety layers ensure disciplined execution and capital preservation under all market conditions.
🎯 Advanced Capabilities:
Tick-precise calculations optimized for gold instruments
Intelligent contract sizing with performance-based adjustments
Automated daily position management and risk reset protocols
Session-aware trading to avoid low-liquidity periods
Emergency exit protocols for exceptional market conditions
🏅 Designed For:
Gold specialists seeking systematic trading approaches
Professional traders focusing on precious metals markets
Those requiring sophisticated position sizing algorithms
Traders seeking automated gold session optimization
Serious investors wanting institutional-level risk management
🛡️ Risk Management Excellence:
Dynamic trailing stop system for profit maximization
Adaptive position sizing based on recent performance
Automatic daily trade limits and exposure controls
Professional-grade emergency exit mechanisms
Session-filtered trading to optimize market timing
⏰ Market Timing Precision:
The Gold Bot includes sophisticated session management designed to capture gold's most profitable trading hours while automatically closing positions before market close to avoid overnight exposure risks commonly associated with precious metals trading.
🔧 Professional Configuration:
Offers essential customization options for different account sizes and risk tolerances while maintaining core algorithmic integrity through hardcoded optimization parameters developed specifically for gold market characteristics.
Risk Warning: Gold trading involves significant price volatility and market risk. This strategy includes adaptive position sizing features that may increase exposure after losses. Thoroughly backtest and understand all risk parameters before live implementation. Past performance does not guarantee future results.
BTC Breakout Bot (TP/SL + Alerts) 🚀This strategy targets Bitcoin (BTC/USDT) breakout trades by detecting price moves beyond recent highs and lows, with built-in risk management and alerts.
How it works:
📈 Long Entry: When price breaks above the highest high of the last N candles (default 20)
📉 Short Entry: When price breaks below the lowest low of the last N candles
🎯 Take Profit: Automatically set at a percentage from entry price (default 5%)
⚠️ Stop Loss: Automatically set at a percentage from entry price (default 2%)
🔔 Alerts: Triggered on every long and short breakout trade, compatible with Telegram/webhook notifications
Parameters:
⏳ Breakout Lookback: Number of candles used to identify breakout levels (default 20)
💰 Take Profit (%): Profit target as % from entry (default 5%)
🛑 Stop Loss (%): Maximum allowed loss as % from entry (default 2%)
HSI First 30m Candle Strategy (5m Chart)## HSI First Candle Breakout Strategy
USE on 10m TF for max profit rate.
**The HSI First Candle Breakout Strategy** is a systematic trading approach tailored for Hang Seng Index Futures during the main Hong Kong day session. The strategy is designed to capture early market momentum by reacting to the first significant move of the day.
### How It Works
- **Reference Candle:** At the start of each day session (09:00), the high and low of the first 15-minute candle are recorded.
- **Breakout Trigger:**
- A **buy (long) trade** is initiated if price breaks above the first candle’s high.
- A **sell (short) trade** is initiated if price breaks below the first candle’s low.
- **Stop Loss & Take Profit:**
- Stop-loss is placed on the opposite side of the reference candle.
- Take-profit target is set at a distance equal to the size of the reference candle (1R).
- **Filters:**
- Skip the day if the first candle’s range exceeds 200 index points.
- Only the first triggered direction is traded per session.
- All trades are closed before the market closes if neither target nor stop is hit.
- **Execution:** The strategy works best on intraday charts (5m or 15m) and is ideal for traders seeking disciplined, systematic intraday setups.
### Key Features
- Captures the day’s initial momentum burst.
- Strict risk management with predefined stops and targets.
- One trade per day, reducing overtrading and noise.
- Clear-cut, rule-based, and objective system—no discretion required.
**This strategy offers a transparent and robust framework for traders to systematically capture high-probability breakouts in the Hang Seng Index Futures market.**
Recovery Zone Hedging [Starbots]The Recovery Zone Hedging strategy uses zone-based hedge recovery logic adapted to TradingView’s single-direction trading model.
It opens an initial trade (Short by default) based on selected technical signals (MACD, DMI, etc.).
If price moves against the position, where a traditional Stop Loss would normally be triggered and fails to hit Take Profit, the strategy initiates a Hedge trade in the opposite direction at a calculated recovery level. Each hedge increases in size, aiming to recover accumulated losses and close the entire sequence in profit.
⚙️ Key Features
✅ Recovery Zone Logic
- Uses a configurable percentage-based spacing to define recovery zones.
- Opens alternating hedge trades as price continues to move against the position.
- Trade size increases exponentially using a hedge multiplier.
✅ Entry Signal Options
MACD Signal: Generates entry signals based on the standard MACD line crossing above or below the signal line using default parameter settings.
DMI Signal: Triggers entries when the +DI crosses below or above the –DI, following the default Directional Movement Index parameters.
Random Entry: Periodically initiates trades to maintain an active position for robustness testing and strategy evaluation.
✅ Take-Profit Logic
- Dynamically calculated to ensure full recovery of any floating or realized losses.
- Incorporates accumulated drawdown into the take-profit formula for each trade cycle.
✅ Capital Usage Dashboard
- Displays real-time equity requirement per hedge step.
- Highlights in red when usage would exceed 100% of account equity.
✅ Fail-Safe Exit Option
- Optionally - forces a stop-out beyond the final allowed hedge level.
- Helps limit risk in volatile or low-momentum conditions.
📉 How It Works
Initial Trade: A short trade is placed when the entry condition is met.
Recovery Logic: If price moves in the wrong direction:
A hedge trade is triggered in the opposite direction at the defined recovery zone.
Each hedge uses a larger position size based on your hedge factor.
Cycle Repeats: Continues alternating hedge trades until either:
The dynamically calculated take profit is reached (closing all trades), or
The maximum hedge count is reached and price moves beyond the last recovery zone (triggering a forced exit if enabled).
📊 Built-in Visuals & Tools
Recovery Zones and TP levels plotted directly on chart.
Visualized long and short hedge thresholds.
Equity usage table based on your settings.
Built-in monthly and yearly performance calendar.
⚠️ Important Notes
TradingView only supports one open direction at a time, so this strategy simulates hedging by alternating long and short trades.
The position sizing grows quickly with each hedge — carefully manage your settings to avoid over-leveraging.
Best used in trending markets. Prolonged sideways markets can trigger multiple hedges without hitting TP.
🧮 Equity Usage Guidance
The Equity Usage Dashboard shows how much capital is required throughout the hedge sequence.
If your projected usage exceeds 100% of equity before TP, you should:
-Reduce the initial trade size
-Lower the hedge multiplier
-Reduce the maximum number of hedge trades
(for safer trading, it’s recommended to keep usage below 10% of your total equity)
🧠 Recommended Settings
Parameter Suggested Range Description
Initial Position Size 1–5% Base size of the first trade
Recovery Zone (%) 2–5% Distance between recovery entries
Hedge Factor 1.4–1.9 Multiplier for hedge size increase
Max Hedge Trades 4–6 Number of hedge steps allowed
🛠️ Strategy Use Case
This strategy is designed for educational and simulation purposes. It helps traders visualize how compounding hedge systems behave in different market conditions, and better understand the impact of volatility, trend strength, and timing on recovery-based models.
Pullback Pro Dow Strategy v7 (ADX Filter)
### **Strategy Description (For TradingView)**
#### **Title:** Pullback Pro: Dow Theory & ADX Strategy
---
#### **1. Summary**
This strategy is designed to identify and trade pullbacks within an established trend, based on the core principles of Dow Theory. It uses market structure (pivot highs and lows) to determine the trend direction and an Exponential Moving Average (EMA) to pinpoint pullback entry opportunities.
To enhance trade quality and avoid ranging markets, an ADX (Average Directional Index) filter is integrated to ensure that entries are only taken when the trend has sufficient momentum.
---
#### **2. Core Logic: How It Works**
The strategy's logic is broken down into three main steps:
**Step 1: Trend Determination (Dow Theory)**
* The primary trend is identified by analyzing recent pivot points.
* An **Uptrend** is confirmed when the script detects a pattern of higher highs and higher lows (HH/HL).
* A **Downtrend** is confirmed by a pattern of lower highs and lower lows (LH/LL).
* If neither pattern is present, the strategy considers the market to be in a range and will not seek trades.
**Step 2: Entry Signal (Pullback to EMA)**
* Once a clear trend is established, the strategy waits for a price correction.
* **Long Entry:** In a confirmed uptrend, a long position is initiated when the price pulls back and crosses *under* the specified EMA.
* **Short Entry:** In a confirmed downtrend, a short position is initiated when the price rallies and crosses *over* the EMA.
**Step 3: Confirmation & Risk Management**
* **ADX Filter:** To ensure the trend is strong enough to trade, an entry signal is only validated if the ADX value is above a user-defined threshold (e.g., 25). This helps filter out weak signals during choppy or consolidating markets.
* **Stop Loss:** The initial Stop Loss is automatically and logically placed at the last market structure point:
* For long trades, it's placed at the `lastPivotLow`.
* For short trades, it's placed at the `lastPivotHigh`.
* **Take Profit:** Two Take Profit levels are calculated based on user-defined Risk-to-Reward (R:R) ratios. The strategy allows for partial profit-taking at the first target (TP1), moving the remainder of the position to the second target (TP2).
---
#### **3. Input Settings Explained**
**① Dow Theory Settings**
* **Pivot Lookback Period:** Determines the sensitivity for detecting pivot highs and lows. A smaller number makes it more sensitive to recent price swings; a larger number focuses on more significant, longer-term pivots.
**② Entry Logic (Pullback)**
* **Pullback EMA Length:** Sets the period for the Exponential Moving Average used to identify pullback entries.
**③ Risk & Exit Management**
* **Take Profit 1 R:R:** Sets the Risk-to-Reward ratio for the first take-profit target.
* **Take Profit 1 (%):** The percentage of the position to be closed when TP1 is hit.
* **Take Profit 2 R:R:** Sets the Risk-to-Reward ratio for the final take-profit target.
**④ Filters**
* **Use ADX Trend Filter:** A master switch to enable or disable the ADX filter.
* **ADX Length:** The lookback period for the ADX calculation.
* **ADX Threshold:** The minimum ADX value required to confirm a trade signal. Trades will only be placed if the ADX is above this level.
---
#### **4. Best Practices & Recommendations**
* This is a trend-following system. It is designed to perform best in markets that exhibit clear, sustained trending behavior.
* It may underperform in choppy, sideways, or strongly ranging markets. The ADX filter is designed to help mitigate this, but no filter is perfect.
* **Crucially, you must backtest this strategy thoroughly** on your preferred financial instrument and timeframe before considering any live application.
* Experiment with the `Pivot Lookback Period`, `Pullback EMA Length`, and `ADX Threshold` to optimize performance for a specific market's characteristics.
---
#### **DISCLAIMER**
This script is provided for educational and informational purposes only. It does not constitute financial advice. All trading involves a high level of risk, and past performance is not indicative of future results. You are solely responsible for your own trading decisions. The author assumes no liability for any financial losses you may incur from using this strategy. Always conduct your own research and due diligence.
Multi-Confluence Swing Hunter V1# Multi-Confluence Swing Hunter V1 - Complete Description
Overview
The Multi-Confluence Swing Hunter V1 is a sophisticated low timeframe scalping strategy specifically optimized for MSTR (MicroStrategy) trading. This strategy employs a comprehensive point-based scoring system that combines optimized technical indicators, price action analysis, and reversal pattern recognition to generate precise trading signals on lower timeframes.
Performance Highlight:
In backtesting on MSTR 5-minute charts, this strategy has demonstrated over 200% profit performance, showcasing its effectiveness in capturing rapid price movements and volatility patterns unique to MicroStrategy's trading behavior.
The strategy's parameters have been fine-tuned for MSTR's unique volatility characteristics, though they can be optimized for other high-volatility instruments as well.
## Key Innovation & Originality
This strategy introduces a unique **dual scoring system** approach:
- **Entry Scoring**: Identifies swing bottoms using 13+ different technical criteria
- **Exit Scoring**: Identifies swing tops using inverse criteria for optimal exit timing
Unlike traditional strategies that rely on simple indicator crossovers, this system quantifies market conditions through a weighted scoring mechanism, providing objective, data-driven entry and exit decisions.
## Technical Foundation
### Optimized Indicator Parameters
The strategy utilizes extensively backtested parameters specifically optimized for MSTR's volatility patterns:
**MACD Configuration (3,10,3)**:
- Fast EMA: 3 periods (vs standard 12)
- Slow EMA: 10 periods (vs standard 26)
- Signal Line: 3 periods (vs standard 9)
- **Rationale**: These faster parameters provide earlier signal detection while maintaining reliability, particularly effective for MSTR's rapid price movements and high-frequency volatility
**RSI Configuration (21-period)**:
- Length: 21 periods (vs standard 14)
- Oversold: 30 level
- Extreme Oversold: 25 level
- **Rationale**: The 21-period RSI reduces false signals while still capturing oversold conditions effectively in MSTR's volatile environment
**Parameter Adaptability**: While optimized for MSTR, these parameters can be adjusted for other high-volatility instruments. Faster-moving stocks may benefit from even shorter MACD periods, while less volatile assets might require longer periods for optimal performance.
### Scoring System Methodology
**Entry Score Components (Minimum 13 points required)**:
1. **RSI Signals** (max 5 points):
- RSI < 30: +2 points
- RSI < 25: +2 points
- RSI turning up: +1 point
2. **MACD Signals** (max 8 points):
- MACD below zero: +1 point
- MACD turning up: +2 points
- MACD histogram improving: +2 points
- MACD bullish divergence: +3 points
3. **Price Action** (max 4 points):
- Long lower wick (>50%): +2 points
- Small body (<30%): +1 point
- Bullish close: +1 point
4. **Pattern Recognition** (max 8 points):
- RSI bullish divergence: +4 points
- Quick recovery pattern: +2 points
- Reversal confirmation: +4 points
**Exit Score Components (Minimum 13 points required)**:
Uses inverse criteria to identify swing tops with similar weighting system.
## Risk Management Features
### Position Sizing & Risk Control
- **Single Position Strategy**: 100% equity allocation per trade
- **No Overlapping Positions**: Ensures focused risk management
- **Configurable Risk/Reward**: Default 5:1 ratio optimized for volatile assets
### Stop Loss & Take Profit Logic
- **Dynamic Stop Loss**: Based on recent swing lows with configurable buffer
- **Risk-Based Take Profit**: Calculated using risk/reward ratio
- **Clean Exit Logic**: Prevents conflicting signals
## Default Settings Optimization
### Key Parameters (Optimized for MSTR/Bitcoin-style volatility):
- **Minimum Entry Score**: 13 (ensures high-conviction entries)
- **Minimum Exit Score**: 13 (prevents premature exits)
- **Risk/Reward Ratio**: 5.0 (accounts for volatility)
- **Lower Wick Threshold**: 50% (identifies true hammer patterns)
- **Divergence Lookback**: 8 bars (optimal for swing timeframes)
### Why These Defaults Work for MSTR:
1. **Higher Score Thresholds**: MSTR's volatility requires more confirmation
2. **5:1 Risk/Reward**: Compensates for wider stops needed in volatile markets
3. **Faster MACD**: Captures momentum shifts quickly in fast-moving stocks
4. **21-period RSI**: Reduces noise while maintaining sensitivity
## Visual Features
### Score Display System
- **Green Labels**: Entry scores ≥10 points (below bars)
- **Red Labels**: Exit scores ≥10 points (above bars)
- **Large Triangles**: Actual trade entries/exits
- **Small Triangles**: Reversal pattern confirmations
### Chart Cleanliness
- Indicators plotted in separate panes (MACD, RSI)
- TP/SL levels shown only during active positions
- Clear trade markers distinguish signals from actual trades
## Backtesting Specifications
### Realistic Trading Conditions
- **Commission**: 0.1% per trade
- **Slippage**: 3 points
- **Initial Capital**: $1,000
- **Account Type**: Cash (no margin)
### Sample Size Considerations
- Strategy designed for 100+ trade sample sizes
- Recommended timeframes: 4H, 1D for swing trading
- Optimal for trending/volatile markets
## Strategy Limitations & Considerations
### Market Conditions
- **Best Performance**: Trending markets with clear swings
- **Reduced Effectiveness**: Highly choppy, sideways markets
- **Volatility Dependency**: Optimized for moderate to high volatility assets
### Risk Warnings
- **High Allocation**: 100% position sizing increases risk
- **No Diversification**: Single position strategy
- **Backtesting Limitation**: Past performance doesn't guarantee future results
## Usage Guidelines
### Recommended Assets & Timeframes
- **Primary Target**: MSTR (MicroStrategy) - 5min to 15min timeframes
- **Secondary Targets**: High-volatility stocks (TSLA, NVDA, COIN, etc.)
- **Crypto Markets**: Bitcoin, Ethereum (with parameter adjustments)
- **Timeframe Optimization**: 1min-15min for scalping, 30min-1H for swing scalping
### Timeframe Recommendations
- **Primary Scalping**: 5-minute and 15-minute charts
- **Active Monitoring**: 1-minute for precise entries
- **Swing Scalping**: 30-minute to 1-hour timeframes
- **Avoid**: Sub-1-minute (excessive noise) and above 4-hour (reduces scalping opportunities)
## Technical Requirements
- **Pine Script Version**: v6
- **Overlay**: Yes (plots on price chart)
- **Additional Panes**: MACD and RSI indicators
- **Real-time Compatibility**: Confirmed bar signals only
## Customization Options
All parameters are fully customizable through inputs:
- Indicator lengths and levels
- Scoring thresholds
- Risk management settings
- Visual display preferences
- Date range filtering
## Conclusion
This scalping strategy represents a comprehensive approach to low timeframe trading that combines multiple technical analysis methods into a cohesive, quantified system specifically optimized for MSTR's unique volatility characteristics. The optimized parameters and scoring methodology provide a systematic way to identify high-probability scalping setups while managing risk effectively in fast-moving markets.
The strategy's strength lies in its objective, multi-criteria approach that removes emotional decision-making from scalping while maintaining the flexibility to adapt to different instruments through parameter optimization. While designed for MSTR, the underlying methodology can be fine-tuned for other high-volatility assets across various markets.
**Important Disclaimer**: This strategy is designed for experienced scalpers and is optimized for MSTR trading. The high-frequency nature of scalping involves significant risk. Past performance does not guarantee future results. Always conduct your own analysis, consider your risk tolerance, and be aware of commission/slippage costs that can significantly impact scalping profitability.
Baseline TrendBaseline Trend Strategy Overview
Baseline Trend is a crypto-only trading strategy built on straightforward price-based logic: market direction is determined solely by the price’s position relative to a selected baseline open price. No technical indicators like RSI, MACD, or volume are used—this approach is purely focused on price action and position size manipulation.
This strategy is a genuine concept, developed from my own market analysis and logical theory, refined through extensive observation of crypto market behaviour.
While the strategy offers structure and adaptability, it’s important to recognise that no single trading system or indicator fits all market conditions. This tool is meant to support decision-making, not replace it—encouraging traders to stay flexible, informed, and in control of their risk.
Important Usage Note:
This system is intended for crypto markets only.
– When used as an indicator guide, it can be applied to both spot and futures markets.
– However, when used with web-hook automation, it is designed only for futures contracts.
Ensure compatibility with your trading setup before using automation features.
Core Logic: The Baseline
The strategy revolves around the concept of a “Baseline”, with three types available:
Main Baseline: Defines the primary trend direction. If the price is above, go long; if below, go short.
Second Baseline and Third Baseline: Used to measure buying/selling pressure and are key to certain take-profit logic options.
Baselines are customisable to different timeframes—Year, Month, Week, and more—based on available input settings. Structurally, the Main Baseline is the highest-level trend reference, followed by the Second, then Third.
Users can mix and match these baselines across timeframes to backtest crypto symbols and understand behaviour patterns, particularly when used with standard candlestick charts.
Entry & Exit Logic
Entry Signal: Triggered when price crosses over/under a defined distance (percentage) from the Main Baseline. This distance is the Trade Line, calculated based on the close price.
Exit Signal / Stop Loss: If price moves un-favorable and crosses over/under the Stop Loss Line (a defined distance from the Main Baseline), the open position will be force-closed according to user-defined settings.
LiqC (Liquidation Cut)
LiqC is a secondary stop-loss that activates when a leveraged position’s loss equals or exceeds the user-defined liquidation threshold. It forcefully closes the position to help prevent full liquidation before stop-loss, providing an extra layer of protection.
This LiqC is directly tied to the leverage level set by the user. Please ensure you understand how leverage affects liquidation risk, as different broker exchanges may use different liquidation ratio models. Using incorrect assumptions or mismatched leverage values may result in unexpected behaviour.
Position Sizing & Block Units
This strategy features a block-based position sizing system designed for flexibility and precision in trade management:
Block Range: Customisable from 1 to 10 blocks
Risk Allocation: Controlled through a user-defined ROE (Risk of Equity) value
For example, setting an ROE of 0.1% with 10 blocks allocates a total of 1% of account equity to the position. This structure supports both conservative and aggressive risk approaches, depending on user preference.
Block sizes are automatically calculated in alignment with exchange requirements, using Minimum Notional Value (MNV) and Minimum Trade Amount (MTA). These values are dynamically calculated based on the live market price, and scaled relative to the trader’s balance and selected risk percentage. This ensures accurate sizing with built-in adaptability for any account level and current market conditions.
Scalping Meets Trend Holding
This system blends short-term scalping with longer-term trend holding, offering a flexible and adaptive trading style.
Example:
Enter 10 blocks → take quick profits on 5 blocks → let the remaining 5 ride the trend.
This dual-layered approach allows traders to secure early gains while staying positioned for larger market moves. Think of it as:
5 Blocks to Protect: Capture quick wins and manage exposure.
5 Blocks to Pursue: Let profits run by following the broader trend.
By combining both protection and pursuit, the strategy supports risk control without sacrificing the potential for extended returns.
Flexible Take-Profit Logic
The strategy supports multiple, customisable take-profit mechanisms:
TP1–4 (Profit Percentage)
Triggers take profit of 1 block unit when unrealised gains reach defined percentage thresholds (TP1, TP2, TP3, TP4).
Buying/Selling Pressure-Based Take Profit
D1 – Pressure 1
Measures pressure between Second and Third Baselines.
If the distance between them exceeds a user-defined DPT (Decrease Post Threshold) and the price moves far enough from the Third Baseline, D1 activates to take profit or scale out one block.
D2 – Pressure 2
Measures pressure between the Main and Second Baselines.
Works similarly to D1, using a separate distance and pressure trigger.
Note: Both D1 and D2 deactivate in reversal or even trend conditions.
D3–5: High-High / Low-Low Logic
Based on bar index tracking after position entry:
For Long Positions: If after D3 bars the price doesn't exceed the previous bar's high, the system executes a take profit or scale-out.
For Short Positions: If the price doesn't drop below the previous low, the same logic applies.
This approach adds time-based and momentum-aware exit flexibility.
Leverage & Liquidation Risk
When backtesting with leverage enabled, the system checks whether historical candles exceed the liquidation range, calculated based on the average entry price and the leverage input. If the Liquidation Risk Count exceeds 1, profit and loss accuracy may be affected. Traders are encouraged to monitor this count closely to ensure realistic backtesting results.
Since the system cannot directly control or sync with your broker exchange’s actual leverage setting, it’s important to manually match the system’s leverage input with your broker’s configured leverage.
For example: If the system leverage input is set to 10, your exchange leverage setting must also be set to 10. Any mismatch will lead to inaccurate liquidation risk and PnL calculations.
Backtesting and Customisation
All TP1–4 and D1–5 functions are fully optional and customisable. Users are encouraged to backtest different crypto symbols to observe how price behaviour aligns with baseline structures and pressure metrics.
Each of the TP1–4 and D1–5 triggers is designed to execute only once per open position, ensuring controlled and predictable behaviour within each trade cycle.
Since backtesting is based on available historical bar data, please note that data availability varies depending on your TradingView subscription plan. For more reliable insights, it’s recommended to backtest across multiple time ranges, not just the full dataset, to assess the stability and consistency of the strategy’s performance over time.
Additionally, the time frame resolution interval in TradingView is customisable. For best results, use commonly supported time frames such as 30 minutes, 1 hour, 4 hours, 1 day, or 1 week. While the system is designed to support a broad range of intervals, non-standard resolutions may still cause calculation errors.
Currently, the system supports the following resolution ranges:
Intraday: from 1 minute to 720 minutes
(e.g., 60 minutes = 1 hour, 240 minutes = 4 hours, 720 minutes = 12 hours)
Daily: from 1 day to 6 days
Weekly: from 1 week to 3 weeks
Monthly: from 1 month to 4 months
Although the script is built to adapt to various resolutions, users should still monitor output behaviour closely, especially when testing less common or edge-case time frames.
System Usage Notice:
This system can be used as a standalone trading indicator or integrated with an exchange that supports web-hook signal execution. If you choose to automate trades via web-hook, please ensure you fully understand how to configure the setup properly. Web-hook integration methods vary between exchanges, and incorrect setup may lead to unintended trades. Users are responsible for ensuring proper configuration and monitoring of their automation.
Note on Lower Time Frame Usage
When using lower time frames (e.g., 1-minute charts) as the trading time frame, please be aware that available historical data may be limited depending on your subscription plan. This can affect the depth and reliability of backtesting, making it harder to establish a trustworthy probability model for a symbol’s behaviour over time.
Additionally, when pairing a high-level Main Baseline (MBL) time line (such as "1 Month") with low time frame resolutions (like 1-minute), you may encounter order execution limits or calculation overloads during backtesting. This is due to the large number of historical bars required, which can strain the system's capacity.
That said, if a user intentionally chooses to work with lower time frames, that decision is fully respected—but it should be done with awareness and at the user’s own risk.
Things to Be Aware Of (Web-hook Usage Only)
The following points apply if you're using web-hook automation to send signals from the system to an exchange:
Alert Signal Reliability
During extreme market volatility, some broker exchanges may fail to respond to web-hook signals due to traffic overload. While rare, this has occurred in the past and should be considered when relying on automation.
Alert Expiration (TradingView)
If you're on a Basic plan, TradingView alerts are only active for a limited time—typically around 1.5 months. Once expired, signals will no longer be sent out.
To keep your system active, reset the alert before expiration. For uninterrupted alerts, consider upgrading to a Premium plan, which supports permanent alert activation.
TradingView Alert Maintenance
TradingView may occasionally perform system maintenance, during which alerts may temporarily stop functioning. It’s recommended to monitor TradingView’s status if you’re relying on real-time automation.
Repainting
As of the current version, no repainting behaviour has been observed. Signal stability and consistency have been maintained across real-time and historical bars.
Order Execution Type and Fill Logic
All signals use Limit orders by default, except for MBL Exit and Fallback execution, which use Market orders.
Since Limit orders are not guaranteed to fill, the system includes logic to cancel unfilled orders and resend them. If necessary, a Fallback Market order is used to avoid conflict with new incoming trades.
This has only happened once, and is considered rare, but users should always monitor execution status to ensure accuracy and alignment with system behaviour.
Feedback
If you encounter any errors, bugs, or unexpected behaviour while using the system, please don’t hesitate to let me know. Your input is invaluable for helping improve the strategy in future updates.
Likewise, if you have any suggestions or ideas for enhancing the system—whether it’s a new feature, adjustment, or usability improvement—please feel free to share. Together, we can continue refining the tool to make it more robust and beneficial for everyone.
Disclaimer
All trading involves risk, particularly in the crypto market where conditions can be highly volatile. Past performance does not guarantee future outcomes, and market behaviour may evolve over time. This strategy is offered as a tool to support trading decisions and should not be considered financial or investment advice. Each user is responsible for their own actions and accepts full responsibility for any results that may arise from using this system.
Outside Bar Strategy with Multiple Entry ModelsOutside Bar Strategy with Multiple Entry Models
This Pine Script strategy implements a versatile trading system based on the Outside Bar pattern, offering three distinct entry models: Close Entry, High/Low Entry, and Midpoint Entry. Designed for traders seeking flexibility, the strategy includes customizable risk/reward ratios, an optional EMA trend filter, and enhanced visualization with line fills.
Key Features:
Entry Models:
Close Entry: Enters a long position when the current candle closes above the high of the previous outside bullish bar . For short, it enters when the candle closes below the low of the previous outside bearish bar.
High/Low Entry: Enters a long position when the price crosses above the high of the previous outside bullish bar . For short, it enters when the price crosses below the low of the previous outside bearish bar .
Midpoint Entry: Places a limit order at the midpoint of the previous outside bar, entering when the price reaches this level.
EMA Trend Filter: Optionally filters signals based on the alignment of EMAs (7 > 25 > 99 > 200 for long, 7 < 25 < 99 < 200 for short). Can be toggled via the Use EMA Filter input.
Risk/Reward Management: Configurable risk/reward ratio (default 2.0) with stop-loss set at the low/high of the outside bar and take-profit calculated based on the bar's range multiplied by the ratio.
Visualization:
Lines for entry, stop-loss, and take-profit levels (dashed for active trades, solid for pending Midpoint Entry orders).
Line fills: Red between entry and stop-loss, green between entry and take-profit.
Previous lines and fills persist on the chart for historical reference (line deletion disabled).
Pending limit orders for Midpoint Entry extend dynamically to the right until triggered or canceled.
Information Table: Displays real-time trade details (entry model, RR ratio, open trade status, entry/stop/take-profit levels, profit/loss percentage) and strategy statistics (success rate, total trades). For Midpoint Entry, pending order details are shown.
Inputs:
Entry Model: Choose between Close Entry, High/Low Entry, or Midpoint Entry (default: Close Entry).
Risk/Reward Ratio: Set the RR ratio (default: 2.0, step: 0.5).
Use EMA Filter: Enable/disable the EMA trend filter (default: true).
Line Colors and Style: Customize colors for entry, stop-loss, and take-profit lines, and select line style (solid or dashed).
Table Settings: Adjust table text color, size (small/normal/large), and position (right top/middle/bottom).
Disclaimer: This strategy is for educational purposes only. Backtest thoroughly and use at your own risk. Past performance is not indicative of future results.
Donchian x WMA Crossover (2025 Only, Adjustable TP, Real OHLC)Short Description:
Long-only breakout system that goes long when the Donchian Low crosses up through a Weighted Moving Average, and closes when it crosses back down (with an optional take-profit), restricted to calendar year 2025. All signals use the instrument’s true OHLC data (even on Heikin-Ashi charts), start with 1 000 AUD of capital, and deploy 100 % equity per trade.
Ideal parameters configured for Temple & Webster on ASX 30 minute candles. Adjust parameter to suit however best to download candle interval data and have GPT test the pine script for optimum parameters for your trading symbol.
Detailed Description
1. Strategy Concept
This strategy captures trend-driven breakouts off the bottom of a Donchian channel. By combining the Donchian Low with a WMA filter, it aims to:
Enter when volatility compresses and price breaks above the recent Donchian Low while the longer‐term WMA confirms upward momentum.
Exit when price falls back below that same WMA (i.e. when the Donchian Low crosses back down through WMA), but only if the WMA itself has stopped rising.
Optional Take-Profit: you can specify a profit target in decimal form (e.g. 0.01 = 1 %).
2. Timeframe & Universe
In-sample period: only bars stamped between Jan 1 2025 00:00 UTC and Dec 31 2025 23:59 UTC are considered.
Any resolution (e.g. 30 m, 1 h, D, etc.) is supported—just set your preferred timeframe in the TradingView UI.
3. True-Price Execution
All indicator calculations (Donchian Low, WMA, crossover checks, take-profit) are sourced from the chart’s underlying OHLC via request.security(). This guarantees that:
You can view Heikin-Ashi or other styled candles, but your strategy will execute on the real OHLC bars.
Chart styling never suppresses or distorts your backtest results.
4. Position Sizing & Equity
Initial capital: 1 000 AUD
Size per trade: 100 % of available equity
No pyramiding: one open position at a time
5. Inputs (all exposed in the “Inputs” tab):
Input Default Description
Donchian Length 7 Number of bars to calculate the Donchian channel low
WMA Length 62 Period of the Weighted Moving Average filter
Take Profit (decimal) 0.01 Exit when price ≥ entry × (1 + take_profit_perc)
6. How It Works
Donchian Low: ta.lowest(low, DonchianLength) over the specified look-back.
WMA: ta.wma(close, WMALength) applied to true closes.
Entry: ta.crossover(DonchianLow, WMA) AND barTime ∈ 2025.
Exit:
Cross-down exit: ta.crossunder(DonchianLow, WMA) and WMA is not rising (i.e. momentum has stalled).
Take-profit exit: price ≥ entry × (1 + take_profit_perc).
Calendar exit: barTime falls outside 2025.
7. Usage Notes
After adding to your chart, open the Strategy Tester tab to review performance metrics, list of trades, equity curve, etc.
You can toggle your chart to Heikin-Ashi for visual clarity without affecting execution, thanks to the real-OHLC calls.
Kaufman Trend Strategy# ✅ Kaufman Trend Strategy – Full Description (Script Publishing Version)
**Kaufman Trend Strategy** is a dynamic trend-following strategy based on Kaufman Filter theory.
It detects real-time trend momentum, reduces noise, and aims to enhance entry accuracy while optimizing risk.
⚠️ _For educational and research purposes only. Past performance does not guarantee future results._
---
## 🎯 Strategy Objective
- Smooth price noise using Kaufman Filter smoothing
- Detect the strength and direction of trends with a normalized oscillator
- Manage profits using multi-stage take-profits and adaptive ATR stop-loss logic
---
## ✨ Key Features
- **Kaufman Filter Trend Detection**
Extracts directional signal using a state space model.
- **Multi-Stage Profit-Taking**
Automatically takes partial profits based on color changes and zero-cross events.
- **ATR-Based Volatility Stops**
Stops adjust based on swing highs/lows and current market volatility.
---
## 📊 Entry & Exit Logic
**Long Entry**
- `trend_strength ≥ 60`
- Green trend signal
- Price above the Kaufman average
**Short Entry**
- `trend_strength ≤ -60`
- Red trend signal
- Price below the Kaufman average
**Exit (Long/Short)**
- Blue trend color → TP1 (50%)
- Oscillator crosses 0 → TP2 (25%)
- Trend weakens → Final exit (25%)
- ATR + swing-based stop loss
---
## 💰 Risk Management
- Initial capital: `$3,000`
- Order size: `$100` per trade (realistic, low-risk sizing)
- Commission: `0.002%`
- Slippage: `2 ticks`
- Pyramiding: `1` max position
- Estimated risk/trade: `~0.1–0.5%` of equity
> ⚠️ _No trade risks more than 5% of equity. This strategy follows TradingView script publishing rules._
---
## ⚙️ Default Parameters
- **1st Take Profit**: 50%
- **2nd Take Profit**: 25%
- **Final Exit**: 25%
- **ATR Period**: 14
- **Swing Lookback**: 10
- **Entry Threshold**: ±60
- **Exit Threshold**: ±40
---
## 📅 Backtest Summary
- **Symbol**: USD/JPY
- **Timeframe**: 1H
- **Date Range**: Jan 3, 2022 – Jun 4, 2025
- **Trades**: 924
- **Win Rate**: 41.67%
- **Profit Factor**: 1.108
- **Net Profit**: +$1,659.29 (+54.56%)
- **Max Drawdown**: -$1,419.73 (-31.87%)
---
## ✅ Summary
This strategy uses Kaufman filtering to detect market direction with reduced lag and increased smoothness.
It’s built with visual clarity and strong trade management, making it practical for both beginners and advanced users.
---
## 📌 Disclaimer
This script is for educational and informational purposes only and should not be considered financial advice.
Use with proper risk controls and always test in a demo environment before live trading.
Grid TLong V1The “Grid TLong V1” strategy is based on the classic Grid strategy, but in the mode of buying and selling in favor of the trend and only on Long. This allows to take advantage of large uptrend movements to maximize profits in bull markets. For this reason, excessively sideways or bearish markets may not be very conducive to this strategy.
Like our Grid strategies in favor of the trend, you can enter and exit with the balance with controlled risk, as the distance between each grid functions as a natural and adaptable stop loss and take profit. What differentiates it from bidirectional strategies is that Short uses a minimum amount of follow-through, so that the percentage distance between the grids is maintained.
In this version of the script the entries and exits can be chosen at market or limit , and are based on the profit or loss of the current position, not on the percentage change in price.
The user may also notice that the strategy setup is risk-controlled, because it risks 5% on each trade, has a fairly standard commission and modest initial capital, all in order to protect the strategy user from unrealistic results.
As with all strategies, it is strongly recommended to optimize the parameters for the strategy to be effective for each asset and for each time frame.
RSI SwingRadar🧠 Strategy Overview
This long-only strategy combines RSI/MA crossovers with ATR-based risk management, designed for cleaner entries during potential bounce phases — especially tuned for assets like XMR/USDT.
🔍 Core Logic:
- RSI Crossover: Entry occurs when the 14-period RSI crosses above its 14-period SMA, signaling a potential shift in momentum.
- Oversold Filter: The RSI must have been below a user-defined oversold threshold (default: 35) on the previous candle, filtering for bounce setups after a pullback.
- ATR-Based Stop/Target: Stop-loss is placed below the low by a user-adjustable ATR multiplier (default: 0.5×). Take-profit is calculated with a Risk:Reward multiplier (default: 4×).
These elements work in tandem — RSI crossovers give momentum confirmation, oversold filtering adds context, and ATR-based exits adapt to volatility, creating a compact yet responsive strategy.
📉 Visuals:
- Dynamic Bands: The chart displays the active stop-loss, entry price, and take-profit as colored bands for easy visual tracking.
- Clean Overlay: Designed with simplicity — only confirmed setups are shown, keeping noise low.
✅ Suggested Use:
- Works best on XMR/USDT or similarly trending assets.
- Best suited for pullback entries during broader uptrends.
- Adjustable for different volatility conditions and asset behaviors.
⚠️ Disclaimer
- This strategy is for educational and research purposes only.
- It does not guarantee profitability in any market.
- Always backtest, forward-test, and understand your own risk tolerance before using any
strategy in a live environment.
- Past performance is not indicative of future results.
- This script is not financial advice.
Big Mover Catcher BTC 4h🧠 Big Mover Catcher (BTC 4H Strategy) — Educational Tool
⚠️ Disclaimer: I am not a financial advisor. This script is for educational and testing purposes only. Cryptocurrency trading is highly volatile and involves significant risk. You can lose all of your invested capital.
📌 Overview
The Big Mover Catcher strategy is a work-in-progress trading system designed for Bitcoin (BTC) on the 4-hour chart. It aims to identify strong breakout moves by combining multiple technical indicators and conditions, allowing for high customization and filter-based confirmations.
This script is part of a personal project to learn Pine Script and backtesting on TradingView. It is currently in the testing and research phase.
🎯 Strategy Objective
Catch large, high-momentum breakout moves in the BTC market using:
Bollinger Band breakouts for entry signals
Momentum, volatility, and trend filters for trade confirmation
🧰 Features & Filters
The script provides a flexible set of filters that can be turned ON/OFF and adjusted directly from the settings panel:
✅ Entry Conditions
Price must break above or below Bollinger Bands
All selected filters must align before entry
🧪 Available Filters:
Relative Strength Index (RSI) with EMA/SMA smoothing
Average Directional Index (ADX) with EMA/SMA smoothing
Average True Range (ATR) with EMA/SMA smoothing
MACD Signal above or below zero
EMA 350 trend filter
ATR / ADX / RSI Threshold toggles for added control
🔥 Additional Feature:
Force Take Profit: Optionally closes the trade immediately if a candle closes with more than a defined % movement (default: 5%). This can help lock in quick profits during high volatility moves.
⚙️ Customizable Inputs
You can configure:
Stop loss percentage
All indicator lengths
Smoothing types (EMA/SMA)
Threshold activation toggles
Individual filter ON/OFF switches
This makes the strategy highly adaptable for educational exploration and optimization.
📊 Best Used For
Learning Pine Script and strategy structure
Testing filter combinations for BTC on the 4H timeframe
Understanding how different indicators interact in live markets
⚠️ Note: ❌ Short trades are currently disabled by default, as short-side logic is still under development.
❗ Final Reminder
This script is not financial advice. It is an educational tool. Use it to learn and explore trading logic. Trading cryptocurrencies carries high risk — only invest what you can afford to lose.
EMA Pullback Speed Strategy 📌 **Overview**
The **EMA Pullback Speed Strategy** is a trend-following approach that combines **price momentum** and **Exponential Moving Averages (EMA)**.
It aims to identify high-probability entry points during brief pullbacks within ongoing uptrends or downtrends.
The strategy evaluates **speed of price movement**, **relative position to dynamic EMA**, and **candlestick patterns** to determine ideal timing for entries.
One of the key concepts is checking whether the price has **“not pulled back too much”**, helping focus only on situations where the trend is likely to continue.
⚠️ This strategy is designed for educational and research purposes only. It does not guarantee future profits.
🧭 **Purpose**
This strategy addresses the common issue of **"jumping in too late during trends and taking unnecessary losses."**
By waiting for a healthy pullback and confirming signs of **trend resumption**, traders can enter with greater confidence and reduce false entries.
🎯 **Strategy Objectives**
* Enter in the direction of the prevailing trend to increase win rate
* Filter out false signals using pullback depth, speed, and candlestick confirmations
* Predefine Take-Profit (TP) and Stop-Loss (SL) levels for safer, rule-based trading
✨ **Key Features**
* **Dynamic EMA**: Reacts faster when price moves quickly, slower when market is calm – adapting to current momentum
* **Pullback Filter**: Avoids trades when price pulls back too far (e.g., more than 5%), indicating a trend may be weakening
* **Speed Check**: Measures how strongly the price returns to the trend using candlestick body speed (open-to-close range in ticks)
📊 **Trading Rules**
**■ Long Entry Conditions:**
* Current price is above the dynamic EMA (indicating uptrend)
* Price has pulled back toward the EMA (a "buy the dip" situation)
* Pullback depth is within the threshold (not excessive)
* Candlesticks show consecutive bullish closes and break the previous high
* Price speed is strong (positive movement with momentum)
**■ Short Entry Conditions:**
* Current price is below the dynamic EMA (indicating downtrend)
* Price has pulled back up toward the EMA (a "sell the rally" setup)
* Pullback is within range (not too deep)
* Candlesticks show consecutive bearish closes and break the previous low
* Price speed is negative (downward momentum confirmed)
**■ Exit Conditions (TP/SL):**
* **Take-Profit (TP):** Fixed 1.5% target above/below entry price
* **Stop-Loss (SL):** Based on recent price volatility, calculated using ATR × 4
💰 **Risk Management Parameters**
* Symbol & Timeframe: BTCUSD on 1-hour chart (H1)
* Test Capital: \$3000 (simulated account)
* Commission: 0.02%
* Slippage: 2 ticks (minimal execution lag)
* Max risk per trade: 5% of account balance
* Backtest Period: Aug 30, 2023 – May 9, 2025
* Profit Factor (PF): 1.965 (Net profit ÷ Net loss, including spreads & fees)
⚙️ **Trading Parameters & Indicator Settings**
* Maximum EMA Length: 50
* Accelerator Multiplier: 3.0
* Pullback Threshold: 5.0%
* ATR Period: 14
* ATR Multiplier (SL distance): 4.0
* Fixed TP: 1.5%
* Short-term EMA: 21
* Long-term EMA: 50
* Long Speed Threshold: ≥ 1000.0 (ticks)
* Short Speed Threshold: ≤ -1000.0 (ticks)
⚠️Adjustments are based on BTCUSD.
⚠️Forex and other currency pairs require separate adjustments.
🔧 **Strategy Improvements & Uniqueness**
Unlike basic moving average crossovers or RSI triggers, this strategy emphasizes **"momentum-supported pullbacks"**.
By combining dynamic EMA, speed checks, and candlestick signals, it captures trades **as if surfing the wave of a trend.**
Its built-in filters help **avoid overextended pullbacks**, which often signal the trend is ending – making it more robust than traditional trend-following systems.
✅ **Summary**
The **EMA Pullback Speed Strategy** is easy to understand, rule-based, and highly reproducible – ideal for both beginners and intermediate traders.
Because it shows **clear visual entry/exit points** on the chart, it’s also a great tool for practicing discretionary trading decisions.
⚠️ Past performance is not a guarantee of future results.
Always respect your Stop-Loss levels and manage your position size according to your risk tolerance.
SMC Strategy BTC 1H - OB/FVGGeneral Context
This strategy is based on Smart Money Concepts (SMC), in particular:
The bullish Break of Structure (BOS), indicating a possible reversal or continuation of an upward trend.
The detection of Order Blocks (OB): consolidation zones preceding the BOS where the "smart money" has likely accumulated positions.
The detection of Fair Value Gaps (FVG), also called imbalance zones where the price has "jumped" a level, creating a disequilibrium between buyers and sellers.
Strategy Mechanics
Bullish Break of Structure (BOS)
A bullish BOS is detected when the price breaks a previous swing high.
A swing high is defined as a local peak higher than the previous 4 peaks.
Order Block (OB)
A bearish candle (close < open) just before a bullish BOS is identified as an OB.
This OB is recorded with its high and low.
An "active" OB zone is maintained for a certain number of bars (the zoneTimeout parameter).
Fair Value Gap (FVG)
A bullish FVG is detected if the high of the candle two bars ago is lower than the low of the current candle.
This FVG zone is also recorded and remains active for zoneTimeout bars.
Long Entry
An entry is possible if the price returns into the active OB zone or FVG zone (depending on which parameters are enabled).
Entry is only allowed if no position is currently open (strategy.position_size == 0).
Risk Management
The stop loss is placed below the OB low, with a buffer based on a multiple of the ATR (Average True Range), adjustable via the atrFactor parameter.
The take profit is set according to an adjustable Risk/Reward ratio (rrRatio) relative to the stop loss to entry distance.
Adjustable Parameters
Enable/disable entries based on OB and/or FVG.
ATR multiplier for stop loss.
Risk/Reward ratio for take profit.
Duration of OB and FVG zone activation.
Visualization
The script displays:
BOS (Break of Structure) with a green label above the candles.
OB zones (in orange) and FVG zones (in light blue).
Entry signals (green triangle below the candle).
Stop loss (red line) and take profit (green line).
Strengths and Limitations
Strengths:
Based on solid Smart Money analysis concepts.
OB and FVG zones are natural potential reversal areas.
Adjustable parameters allow optimization for different market conditions.
Dynamic risk management via ATR.
Limitations:
Only takes long positions.
No trend filter (e.g., EMA), which may lead to false signals in sideways markets.
Fixed zone duration may not fit all situations.
No automatic optimization; testing with different parameters is necessary.
Summary
This strategy aims to capitalize on price retracements into key zones where "smart money" has acted (OB and FVG) just after a bullish Break of Structure (BOS) signal. It is simple, customizable, and can serve as a foundation for a more comprehensive strategy.