MACD Signal Line Crossover - Black GUIA MACD-based strategy that buys when the MACD line crosses above the signal line and sells when it crosses below.
The strategy uses a black-themed GUI for better visibility.
You can customize the lengths of the MACD and signal line using the input parameters.
This strategy is effective for identifying trend changes and momentum shifts in the market.
Always backtest the strategy before applying it to live trading.
Visit - for more such strategies.
在腳本中搜尋"the strat"
RSI Overbought/Oversold - Black GUIAn RSI-based strategy that buys when the RSI drops below 30 (indicating oversold conditions) and sells when it rises above 70 (indicating overbought conditions).
The strategy features a black-themed GUI for enhanced visibility. You can adjust the RSI length using the input parameter.
This strategy is useful for identifying potential reversal points in the market.
Always backtest the strategy before applying it to live trading.
Visit - for more such strategies.
SMA Crossover - Black GUIA simple moving average crossover strategy that buys when the fast SMA crosses above the slow SMA and sells when it crosses below. The strategy uses a black-themed GUI for better visibility. You can customize the lengths of the fast and slow SMAs using the input parameters. This strategy is ideal for identifying trend changes and can be used on various timeframes. Always backtest the strategy before applying it to live trading.
Visit - for more such strategies.
Triple EMA Trend TP Strategy (Filtered Entries + Dynamic Exit)Overview
The Triple EMA Trend TP Strategy is a robust trend-following approach designed for clear, disciplined entries and exits. It leverages a triple EMA crossover for entry signals, combined with a long‑term SMA trend filter, a fixed take‑profit percentage, and a dynamic dual‑EMA exit mechanism to optimize performance and risk management.
Key Features
Triple EMA Crossover Entry
Detects momentum shifts by waiting for the fast EMA to cross above the slow EMA, signaling bullish momentum buildup.
Trend Filter (SMA)
Ensures trades are only taken when price is above the long-term trend (SMA), filtering out low-probability setups.
Take Profit (TP)
Applies a customizable fixed TP, e.g., defaulting to 9.8%, allowing disciplined profit-taking.
Dual EMA Exit
Uses two EMAs on a separate exit logic—if the short exit EMA undercuts the mid exit EMA, the strategy closes the position.
Adjustable Parameters
All key lengths—including fast, mid, slow entry EMAs, trend SMA, exit EMAs, and TP percentage—are user-configurable to suit different assets and timeframes.
Date Range Control
Users can define a backtest window with start and end dates, preventing misleading performance outside intended periods.
Flexible Position Management
Supports full‑equity position sizing, pyramiding up to 10 entries, and runs every tick for high precision.
Setup & Inputs
fastLen: Entry Fast EMA
midLen: Entry Mid EMA
slowLen: Entry Slow EMA
trendLen: Trend Filter SMA
tpPercent: Take Profit Percentage
exitFastLen: Exit Fast EMA
exitMidLen: Exit Mid EMA
startDate / endDate: Backtest time range
Why This Strategy Stands Out
This strategy marries classic trend-following principles with modern risk-control tactics, making it both intuitive and advanced. It balances aggressive entry signals with safety checks via trend validation and layered exit logic. The inclusion of a TP ensures profits are locked in, while the dual EMA exit adds adaptive flexibility to close positions when momentum fades.
How to Use & Customize
Configure Inputs
Adjust EMAs, trend length, and TP percentage to fit your asset and timeframe. For example, shorter EMAs suit intraday trading; longer ones work well for swing strategies.
Set Backtest Range
Use the start/end date fields to limit your testing to the most relevant data, reducing noise from irrelevant market periods.
Backtest & Optimize
Review the Strategy Tester’s performance metrics—Equity curve, drawdown, profit factor, trade list—to assess effectiveness.
Fine‑Tune
Tweak TP, EMAs, or trend length to optimize drawdowns, win rate, or return profile.
PowerTrend Pro Strategy – Gold OptimizedTired of false signals on Gold?
PowerTrend Pro combines VWAP, Supertrend, RSI, and smart MA filters with trailing stops & break-even logic to deliver high-probability trades on XAUUSD.
PowerTrend Pro Strategy is a professional-grade trading system designed to capture high-probability swing and intraday opportunities on XAUUSD (Gold) and other volatile markets.
🔑 Core Features
VWAP Anchoring – institutional fair value reference to filter trades.
Supertrend (ATR-based) – adaptive trend filter tuned for Gold’s volatility.
Multi-Timeframe RSI – confirms momentum alignment across intraday and higher timeframe.
EMA + SMA Combo – ensures trades follow strong directional bias, reducing false signals.
Dynamic Risk Management
Adjustable Take Profit / Stop Loss (%)
Trailing Stop that locks in profits on extended moves
Break-Even Logic (stop loss moves to entry once price is in profit)
⚡ Gold-Tuned Presets
XAUUSD 1H → tighter TP/SL & faster entries for active intraday trading.
XAUUSD 4H → wider ATR filter & trailing stops to capture bigger swings.
Generic Mode → works on Forex, Indices, and Crypto (fully customizable).
🎯 Why It Works
Gold is notoriously volatile — quick spikes wipe out weak strategies. PowerTrend Pro solves this by combining:
✅ Institutional bias (VWAP)
✅ Adaptive trend filter (Supertrend)
✅ Momentum confirmation (RSI MTF)
✅ Robust trend structure (EMA + SMA)
✅ Smart exits (TP, SL, trailing & breakeven)
This multi-layer confirmation makes entries stronger and keeps risk under control.
🛠️ Usage
Add the strategy to your chart.
Choose a preset (XAUUSD 1H, 4H, or Generic).
Run Strategy Tester for performance metrics.
Optimize TP/SL and ATR values for your broker & market conditions.
🔥 Pro Tip: Combine this strategy with a session filter (London/NY overlap) or volume confirmation to boost accuracy in Gold.
Supertrend Strategy with ATR TP and SLSupertrend Strategy with ATR TP and SL
Overview
The Supertrend strategy is a trend-following trading system that utilizes the Average True Range (ATR) to determine the market's volatility and to set dynamic support and resistance levels. This strategy employs the Supertrend indicator to identify entry and exit points for trades, specifically focusing on long and short positions in the market.
Key Components
Inputs
ATR Period: This defines the lookback period for calculating the ATR, which helps in understanding market volatility. The default value is set to 10.
Supertrend Multiplier: This multiplier adjusts the sensitivity of the Supertrend indicator. A value of 3 is used, affecting the upper and lower bands of the Supertrend calculation.
TP (Take Profit) ATR Multiplier: This multiplier is used to calculate the take profit level based on the ATR (default value is 3).
SL (Stop Loss) ATR Multiplier: This multiplier dictates the stop loss distance from the entry point concerning the ATR, set to a value of 1.5.
Number of Bars to Use for Backtest: This setting determines how many bars are analyzed during testing, set to a default of 240.
Trading Mode: Options are provided to choose whether to take only long positions or only short positions.
ATR Calculation
The ATR is computed using a specified period, allowing traders to gauge market volatility effectively. This is crucial for setting appropriate stop loss and take profit levels.
Supertrend Calculation
The Supertrend indicator is calculated using the ATR and the multiplier to derive upper and lower bands. The current market price is compared against these bands to determine the trend direction.
Trade Signals
Buy Signal: Generated when the price closes above the Supertrend line, indicating a potential upward trend.
Sell Signal: Generated when the price closes below the Supertrend line, indicating a potential downward trend.
Entry and Exit Strategies
When a buy signal is triggered, the strategy will enter a long position while setting the take profit and stop loss based on the ATR values.
Conversely, if a sell signal occurs, a short position is opened with respective take profit and stop loss levels.
Alert Conditions
Alerts are set up for both buy and sell signals, allowing users to be notified when trade opportunities arise.
Visualization
The Supertrend line is plotted on the chart, along with take profit and stop loss levels for each trade. Labels indicate entry points to facilitate easy tracking of trades.
Conclusion
This Supertrend strategy is designed to simplify trading decisions by automating the entry and exit points based on well-defined market conditions. By utilizing the ATR for dynamic risk management, traders can adapt their approach according to market volatility. This strategy is suitable for many trading styles and can be backtested to assess its performance across different market conditions.
Usage
To use this strategy, simply apply the script in TradingView and adjust the input parameters based on your trading preferences. The strategy can be modified further to enhance its performance according to specific market scenarios.
Scalping Line Strategy📌 Scalping Line Strategy – A Precision Crossover System
🔎 Overview
The Scalping Line Strategy is a short-term trading system built around the concept of momentum-driven crossovers between a smoothed moving average filter and a fast signal line. It is designed for scalpers and intraday traders who seek clear entry signals, minimal lag, and adaptive filtering to fit volatile market conditions.
At its core, the strategy uses a custom signal line ("Scalping Line"), which is derived from the difference between a double-smoothed moving average and a shorter-period signal line. Trade entries are triggered when this Scalping Line crosses above or below zero, providing a clean and rules-based framework for both long and short setups.
⚙️ Core Logic
Main Trend Filter – A double-smoothed moving average is calculated over a configurable period (default 100). This reduces noise and provides a more robust backbone for scalping signals.
Percent-Based Filter – To avoid false signals, a customizable percentage filter adjusts how closely the system “respects” price deviations from the moving average. This helps filter out insignificant fluctuations.
Signal Line – A shorter-period simple moving average (default 7) provides faster responsiveness to recent price action.
Scalping Line (SLI) – Calculated as the difference between the fast signal line and the smoothed moving average. When the SLI crosses zero, it signals a potential momentum shift.
SLI > 0 → Momentum bias is bullish.
SLI < 0 → Momentum bias is bearish.
🎯 Trade Direction & Flexibility
Trade Direction Control:
Choose between Long Only, Short Only, or Both to tailor the system to your trading style.
Signal Flip Option:
By default, long entries occur when the SLI crosses below zero, and shorts when it crosses above zero. This orientation can be flipped, allowing for alternative interpretations of the signals depending on how you want to capture momentum in your market.
🕒 Time Window Filtering
For intraday traders, a time filter can be enabled to restrict signals to specific trading sessions (e.g., 9 AM – 4 PM EST). This is particularly useful when trading assets such as equities or futures that have strong intraday volatility windows.
📈 Visuals & Clarity
Scalping Line Plot: Displayed as a dynamic oscillator around a zero baseline.
Histogram Fill: Green when above zero (bullish bias), red when below zero (bearish bias).
Signal Markers: Clear arrows mark long and short entries at crossover points.
Zero Line Reference: A flat gray line at zero assists in visually gauging momentum shifts.
🚀 Strategy Execution
Long Entry: Triggered when SLI crosses below zero (or above zero if flip is enabled) within allowed session hours.
Short Entry: Triggered when SLI crosses above zero (or below zero if flip is enabled) within allowed session hours.
Built-in Signal Cancels: Pending entries are canceled if conditions are no longer valid, ensuring no stale trades remain active.
✅ Best Use Cases
Markets: Works across equities, forex, crypto, and futures with sufficient intraday volatility.
Timeframes: Most effective on 1m to 15m charts for scalping setups, but adaptable to higher frames for swing trading.
Style: Traders who appreciate simple, rules-based momentum crossovers will find this system easy to follow and highly adaptable.
⚠️ Risk Management Note
This strategy is strictly an entry signal framework. Position sizing, stop-loss, and take-profit rules must be overlaid based on your risk management style. Always validate results with backtesting and forward testing before applying to live trading accounts.
📜 Final Thoughts
The Scalping Line Strategy offers a refined, easy-to-interpret approach to intraday trading. By combining smoothed moving averages, adaptive filtering, and flexible signal options, it helps traders identify short-term momentum shifts with clarity and confidence, making it a highly configurable tool for scalping-focused strategies.
Mutanabby_AI | ATR+ | Trend-Following StrategyThis document presents the Mutanabby_AI | ATR+ Pine Script strategy, a systematic approach designed for trend identification and risk-managed position entry in financial markets. The strategy is engineered for long-only positions and integrates volatility-adjusted components to enhance signal robustness and trade management.
Strategic Design and Methodological Basis
The Mutanabby_AI | ATR+ strategy is constructed upon a foundation of established technical analysis principles, with a focus on objective signal generation and realistic trade execution.
Heikin Ashi for Trend Filtering: The core price data is processed via Heikin Ashi (HA) methodology to mitigate transient market noise and accentuate underlying trend direction. The script offers three distinct HA calculation modes, allowing for comparative analysis and validation:
Manual Calculation: Provides a transparent and deterministic computation of HA values.
ticker.heikinashi(): Utilizes TradingView's built-in function, employing confirmed historical bars to prevent repainting artifacts.
Regular Candles: Allows for direct comparison with standard OHLC price action.
This multi-methodological approach to trend smoothing is critical for robust signal generation.
Adaptive ATR Trailing Stop: A key component is the Average True Range (ATR)-based trailing stop. ATR serves as a dynamic measure of market volatility. The strategy incorporates user-defined parameters (
Key Value and ATR Period) to calibrate the sensitivity of this trailing stop, enabling adaptation to varying market volatility regimes. This mechanism is designed to provide a dynamic exit point, preserving capital and locking in gains as a trend progresses.
EMA Crossover for Signal Generation: Entry and exit signals are derived from the interaction between the Heikin Ashi derived price source and an Exponential Moving Average (EMA). A crossover event between these two components is utilized to objectively identify shifts in momentum, signaling potential long entry or exit points.
Rigorous Stop Loss Implementation: A critical feature for risk mitigation, the strategy includes an optional stop loss. This stop loss can be configured as a percentage or fixed point deviation from the entry price. Importantly, stop loss execution is based on real market prices, not the synthetic Heikin Ashi values. This design choice ensures that risk management is grounded in actual market liquidity and price levels, providing a more accurate representation of potential drawdowns during backtesting and live operation.
Backtesting Protocol: The strategy is configured for realistic backtesting, employing fill_orders_on_standard_ohlc=true to simulate order execution at standard OHLC prices. A configurable Date Filter is included to define specific historical periods for performance evaluation.
Data Visualization and Metrics: The script provides on-chart visual overlays for buy/sell signals, the ATR trailing stop, and the stop loss level. An integrated information table displays real-time strategy parameters, current position status, trend direction, and key price levels, facilitating immediate quantitative assessment.
Applicability
The Mutanabby_AI | ATR+ strategy is particularly suited for:
Cryptocurrency Markets: The inherent volatility of assets such as #Bitcoin and #Ethereum makes the ATR-based trailing stop a relevant tool for dynamic risk management.
Systematic Trend Following: Individuals employing systematic methodologies for trend capture will find the objective signal generation and rule-based execution aligned with their approach.
Pine Script Developers and Quants: The transparent code structure and emphasis on realistic backtesting provide a valuable framework for further analysis, modification, and integration into broader quantitative models.
Automated Trading Systems: The clear, deterministic entry and exit conditions facilitate integration into automated trading environments.
Implementation and Evaluation
To evaluate the Mutanabby_AI | ATR+ strategy, apply the script to your chosen chart on TradingView. Adjust the input parameters (Key Value, ATR Period, Heikin Ashi Method, Stop Loss Settings) to observe performance across various asset classes and timeframes. Comprehensive backtesting is recommended to assess the strategy's historical performance characteristics, including profitability, drawdown, and risk-adjusted returns.
I'd love to hear your thoughts, feedback, and any optimizations you discover! Drop a comment below, give it a like if you find it useful, and share your results.
ALMA & UT Bot Confluence StrategyALMA & UT Bot Confluence Strategy
This is a comprehensive trend-following and momentum strategy designed to identify high-probability trade setups by combining multiple layers of confirmation. It is built around an ALMA (Arnaud Legoux Moving Average) and a long-term EMA, and then enhances signal quality with the popular UT Bot indicator, a Volume Filter, and an adaptive hold mechanism.
The primary goal of this strategy is to filter out market noise, avoid low liquidity traps, and provide more robust and selective trading logic by adapting its timing to changing market volatility.
Key Features and How It Works
This strategy is not a simple crossover system. An entry signal is generated by the confluence of only a few conditions:
Underlying Trend and Signal Engine:
ALMA (Arnaud Legoux Moving Average): Provides a responsive, low-latency signal line for entries. EMA (Exponential Moving Average): A longer-term EMA acts as a primary trend filter, ensuring trades are executed only in line with the overall market trend.
Confirmation Layer:
UT Bot Confirmation: A trade is considered valid only when the UT Bot indicator provides a relevant buy or sell signal. This acts as a strong secondary confirmation, reducing false entries.
Advanced Filters for Signal Quality:
Volume Filter: This is an important safety mechanism that prevents trades from being executed in low-volume, illiquid markets where price action can be erratic and unreliable.
Momentum Filter (ADX and RSI): The strategy uses the ADX to check for sufficient market momentum and the RSI to ensure it doesn't enter overbought/oversold zones.
Volatility Filter (Bollinger Bands): This helps prevent entries when the price deviates too far from its average, preventing "buying at the top" or "selling at the bottom." Adaptive Timing (Dynamic Cool-Down):
Instead of a fixed waiting period between trades, this strategy uses a dynamic cooling-down period based on the ATR. It automatically waits longer during periods of high volatility (to prevent volatility) and becomes more responsive in calmer markets. How to Use This Strategy:
Long Entry (BUY): When all bullish conditions align, a green "BUY" triangle appears below the price.
Short Entry (SELL): When all bearish conditions align, a red "SELL" triangle appears above the price.
Trend Visualization: The chart background is color-coded according to UT Bot's trend direction (Green for an uptrend, Red for a downtrend), allowing for at-a-glance market analysis.
Double Exit Strategy Options
You have full control over how you exit trades:
Classic SL/TP: Use a standard Stop-Loss and Take-Profit order based on ATR (Average True Range) multipliers. UT Bot Trailing Stop (Recommended): A dynamic exit mechanism that follows the price allows your winning trades to catch up to larger trends while protecting your profits.
Disclaimer
This script is for educational purposes only and should not be construed as financial advice. Past performance is not indicative of future results. All trades involve risk. Before risking any capital, we strongly recommend extensively backtesting this strategy across your preferred assets and timeframes to understand its behavior and find settings that suit your personal trading style.
The author recommends using this strategy with Heikin-Ashi candlesticks. Using this method will significantly increase the strategy's trading success rate and profitability in backtests.
You should change the settings according to your preferred chart time range. You can find the best value for you by observing the value changes you make on the chart.
Recovery Zone Hedging [Starbots]Recovery Zone Hedging Strategy — Advanced Adaptive Hedge Recovery System
This strategy introduces an innovative zone-based hedge recovery approach tailored to TradingView’s single-direction trading model. Designed for serious traders and professionals, it combines multiple technical indicators with dynamic position sizing and adaptive take-profit mechanisms to manage drawdowns and maximize recovery efficiency.
How Recovery Zones Are Calculated
The strategy defines recovery zones as a configurable percentage distance from the last executed trade price. This percentage can be adjusted to suit different market volatility environments — wider zones for volatile assets, tighter zones for stable ones. When price moves into a recovery zone against the open position, the strategy places a hedge trade in the opposite direction to help recoup losses.
Dynamic Take-Profit Calculation
Take-profit targets are not fixed. Instead, they increase dynamically based on any accumulated losses from previous hedge trades. For example, if your initial target is 2%, but you have a $5 loss from prior hedges, the next take-profit target adjusts upward to cover both the loss and your profit goal, ensuring the entire hedge sequence closes in net profit.
Originality & Value
Unlike traditional hedging or recovery scripts that rely on static stop losses and fixed trade sizing, this strategy offers:
- Dynamic Hedge Entry Zones: Uses configurable percentage-based recovery zones that adapt to price volatility, allowing precise placement of hedge trades at meaningful reversal levels.
- Multi-Indicator Signal Fusion: Integrates MACD and Directional Movement Index (DMI) signals to confirm trade entries, improving signal accuracy and reducing false triggers.
- Exponential Position Sizing: Each hedge trade’s size grows exponentially using a customizable multiplier, accelerating loss recovery while carefully balancing capital usage.
- Adaptive Take-Profit Logic: The take-profit target adjusts dynamically based on accumulated losses and profit margins, ensuring that the entire hedge sequence closes with a net gain.
- Capital Usage Monitoring: A built-in dashboard tracks real-time equity consumption, preventing over-leveraging by highlighting critical capital thresholds.
- Fail-Safe Exit Mechanism: An optional forced exit beyond the last hedge zone protects capital in extreme market scenarios.
This strategy’s layered design and adaptive mechanisms provide a unique and powerful tool for traders seeking robust recovery systems beyond standard hedge or martingale methods.
How Components Work Together
- Entry Signals: The script listens for MACD line crossovers and DMI directional crosses to open an initial trade.
- Recovery Zones: If the market moves against the initial position, the strategy calculates a recovery zone a set percentage away and places a hedge trade in the opposite direction.
- Position Scaling: Each subsequent hedge trade increases in size exponentially according to the hedge multiplier, designed to recover all previous losses plus a profit.
- Take-Profit Target: Rather than a fixed target, the TP level is dynamically calculated considering current drawdown and desired profit margin, ensuring the entire hedge sequence closes profitably.
- Cycle Management: Trades alternate direction following the recovery zones until profit is realized or a maximum hedge count is reached. If needed, a forced stop-out limits risk exposure.
Key Benefits for Professional Traders
- Enhanced Risk Management: Real-time capital usage visualization helps maintain safe exposure levels.
- Strategic Hedge Recovery: The adaptive recovery zones and exponential sizing accelerate loss recoupment more efficiently than traditional fixed-step systems.
- Multi-Indicator Confirmation: Combining MACD and DMI reduces false signals and improves hedge timing accuracy.
- Versatility: Suitable for multiple timeframes and asset classes with adjustable parameters.
- Comprehensive Visuals: On-chart recovery zones, hedge levels, dynamic take-profits, and equity usage tables enable informed decision-making.
Recommended Settings & Use Cases
- Initial Position Size: 0.1–1% of account equity
- Recovery Zone Distance: 2–5% price movement
- Hedge Multiplier: 1.5–1.85x growth per hedge step
- Max Hedge Steps: 5–10 for controlled risk exposure
Ideal for trending markets where price retracements create viable recovery opportunities. Use caution in sideways markets to avoid extended hedge sequences.
Important Notes
- TradingView’s single-direction model means hedging is simulated via alternating trades.
- Position sizes grow rapidly—proper parameter tuning is essential to avoid over-leveraging.
This script is designed primarily for professional traders seeking an advanced, automated hedge recovery framework, offering superior capital efficiency and loss management.
استراتژی ساز نئو 01 🇮🇷
A **Strategy Builder** is a tool or framework that lets you **design, test, and optimize** a trading strategy based on predefined rules and conditions.
**Purpose**
The main goal is to remove emotional decision-making from trading by replacing it with systematic, rule-based execution.
**How it works**
1. **Define rules** – You set entry, exit, and risk management conditions (e.g., *Buy when the 50-period moving average crosses above the 200-period moving average*).
2. **Choose parameters** – Such as indicator periods, stop-loss levels, take-profit targets, or position sizing methods.
3. **Backtesting** – The builder tests these rules on historical price data to show how the strategy would have performed in the past.
4. **Optimization** – Adjust the parameters to find the most effective setup while avoiding overfitting.
5. **Deployment** – Use the final strategy either for manual trading or connect it to an automated trading bot.
**Key Benefits**
* **Consistency** – Eliminates impulsive trades.
* **Data-driven decisions** – Every trade is based on tested rules, not guesswork.
* **Time-saving** – Once the rules are set, execution can be automated.
* **Scalability** – You can create multiple strategies for different markets or timeframes.
**Example**
Imagine you want to trade EUR/USD:
* **Entry rule:** Buy when RSI < 30 and the price is above the 50 SMA.
* **Exit rule:** Sell when RSI > 70 or price falls below the 50 SMA.
* **Risk control:** Risk 2% of account balance per trade.
A Strategy Builder lets you input those rules, run them on 5 years of EUR/USD historical data, and see metrics like win rate, maximum drawdown, and profit factor before risking real money.
---
If you want, I can give you a **visual diagram** showing how the process flows from idea → testing → optimization → execution. That makes the concept much easier to grasp.
1 Triple EMA Crossover Strategy (x, 3x, 9x)An excellent EMA strategy.
x, 3x, and 9x: These represent the periods of the EMAs. For example, if 'x' is 10, then you would have a 10-day EMA, a 30-day EMA, and a 90-day EMA.
Crossover: The strategy relies on identifying when the price or the shorter-term EMAs cross above or below the longer-term EMAs, signaling potential buy or sell opportunities.
How the Strategy Works:
1. Trend Identification:
The relationship between the three EMAs indicates the overall trend. If the 3x EMA is above the 9x EMA, and the x EMA is above both, it suggests an uptrend. Conversely, if the 3x EMA is below the 9x EMA, and the x EMA is below both, it indicates a downtrend.
2. Buy Signals:
A buy signal might be generated when the shortest EMA (x) crosses above the medium EMA (3x) and then both cross above the longest EMA (9x), suggesting a potential breakout.
3. Sell Signals:
A sell signal might be generated when the shortest EMA (x) crosses below the medium EMA (3x) and then both cross below the longest EMA (9x), suggesting a potential breakdown.
---------------------------------------------------------------------------------------------------------
Unlocking Trends with the Triple EMA Crossover Strategy (x, 3x, 9x)
Welcome to an intuitive yet powerful trend-following strategy designed for clarity and actionable signals: the Triple EMA Crossover. This Pine Script® indicator leverages the Exponential Moving Average (EMA) to help traders identify prevailing trends, potential breakouts, and breakdowns with enhanced precision. Built on a simple, scalable 'x, 3x, 9x' methodology, it provides a dynamic framework for navigating market movements.
Understanding the x, 3x, 9x EMA Foundation
At its core, this strategy utilizes three Exponential Moving Averages, each acting as a distinct lens on price action. Unlike Simple Moving Averages (SMAs) which give equal weight to all data points, EMAs place a greater emphasis on recent prices, making them more responsive to current market conditions—a crucial advantage in fast-paced environments like intraday trading.
The "x, 3x, 9x" nomenclature is elegantly simple:
x EMA (Fast EMA): This is your shortest-period EMA, highly sensitive to immediate price changes. It acts as the leading indicator, quickly reacting to shifts in momentum.
3x EMA (Medium EMA): Calculated with three times the 'x' period, this EMA provides a smoother, yet still responsive, view of the short-to-medium term trend. It often acts as dynamic support or resistance.
9x EMA (Slow EMA): Representing nine times the 'x' period, this is your longest EMA. It filters out much of the market noise, giving you a clear picture of the underlying dominant trend.
The beauty of this setup lies in its adaptability. By simply adjusting the Base EMA Period (x) input in the script settings, you can automatically calibrate all three EMAs to suit different instruments, volatility levels, or even your preferred trading style. A common starting point for 'x' in intraday trading on a 5-minute chart is 10, which translates to 10, 30, and 90-period EMAs.
How the Strategy Works: Signals and Trend Identification
The power of the Triple EMA Crossover lies in the interplay and alignment of these three moving averages.
1. Trend Identification
The relative positioning of the EMAs paints a clear picture of the market's trend:
Uptrend (Bullish): When the emaX (fast) is above the ema3X (medium), and the ema3X is, in turn, above the ema9X (slow), it indicates a strong bullish trend. This "stacked" alignment suggests robust upward momentum.
Downtrend (Bearish): Conversely, if the emaX (fast) is below the ema3X (medium), and the ema3X is below the ema9X (slow), it signals a clear bearish trend.
2. Buy Signals 🟢
A buy signal is generated when the swift emaX crosses above the ema3X, AND simultaneously, the ema3X is already above the ema9X. This combined condition ensures that the shorter-term momentum is shifting upward while the underlying medium-term trend remains strong and aligned with the longer-term direction. This reduces false signals often seen with simple two-EMA crossovers, aiming to capture high-probability upward moves. The script will plot a green upward-pointing triangle below the candle to visually alert you to this entry.
3. Sell Signals 🔴
A sell signal occurs when the quick emaX crosses below the ema3X, AND the ema3X is already below the ema9X. This indicates that the short-term momentum is shifting downwards, confirming a bearish bias within the broader downtrend. This comprehensive confirmation helps identify potential breakdowns and exit points for long positions or entry points for short trades. A red downward-pointing triangle will appear above the candle to mark this signal.
The strategy also includes an intuitive exit mechanism: if a buy signal is active and a sell condition is met, the long position will be closed, and vice-versa for short positions. This ensures you're always aligned with the most recent confirmed trend direction.
Key Advantages for Traders
Clarity: Provides visually clear trend direction and momentum shifts.
Responsiveness: EMAs react faster to price changes compared to SMAs, making them ideal for dynamic markets.
Confirmation: The three-EMA alignment significantly reduces false signals, leading to higher-conviction trades.
Adaptability: The x input allows you to fine-tune the strategy for various assets and market conditions.
Simplicity: Despite its effectiveness, the logic remains straightforward and easy to understand.
Important Considerations for Day Trading
For optimal performance in intraday trading, it's highly recommended to apply this strategy on a 5-minute chart. This timeframe strikes the perfect balance between capturing rapid price action and filtering out excessive market noise, allowing the EMA crossovers to provide meaningful signals. Always combine this technical analysis with sound risk management, including stop-loss orders, and consider other indicators or fundamental analysis for further confirmation.
Customization and Disclaimer
Feel free to experiment with the Base EMA Period (x) input to find the optimal settings that resonate with your trading style and the specific instruments you trade. Remember, no single strategy guarantees profits, and past performance is not indicative of future results. This script is provided for educational and illustrative purposes. Always conduct your own research and risk assessment before trading with real capital. Happy Trading!
Candle stick pattern strategy - No EMA 5MTFOverview
This strategy is designed to maximize trade frequency by identifying an expanded range of high-probability candlestick reversal patterns. It is an unfiltered system, meaning it will act on every valid signal it finds on the 5min timeframe, making it a very active strategy.
The core of the system is its ability to recognise not just the most common reversal signals, but also powerful "second-tier" patterns that often precede strong market moves.
An Expanded Arsenal of Signals 🏹
In addition to the flexible Pin Bars (Hammers/Shooting Stars) and classic Engulfing patterns, this strategy has been upgraded to include two new, powerful two-candle reversal patterns:
Piercing Pattern (Bullish): A strong bullish signal where a green candle opens below the prior red candle's close and then "pierces" more than halfway up into the body of that red candle, showing a decisive rejection of lower prices.
Dark Cloud Cover (Bearish): The opposite of a piercing pattern. A red candle opens above the prior green candle's high and then closes more than halfway down into the body of the green candle, signaling that sellers are taking control.
The inclusion of these patterns significantly increases the number of trading opportunities the strategy can capture.
Trade & Risk Management
Trade Logic: Once a trade is entered, it is held until it reaches its original Stop Loss or Take Profit. The strategy will ignore all new signals while a position is active to ensure each trade follows its plan.
Automated Risk: Every trade is automatically sized to risk exactly 2% of your account equity, providing consistent risk management.
Risk/Reward: The strategy targets a 1:6 R:R for long trades and a 1:4 R:R for short trades.
How To Use
Apply the strategy script to your chart.
Set the chart's timeframe to 5 min
Review the performance and individual trades in the 'Strategy Tester' tab at the bottom of your screen.
Disclaimer: This script is for educational and informational purposes. Trading involves substantial risk, and past performance is not a guarantee of future results. Use this tool at your own risk.
Gemini Trend Following SystemStrategy Description: The Gemini Trend Following System
Core Philosophy
This is a long-term trend-following system designed for a position trader or a patient swing trader, not a day trader. The fundamental goal is to capture the majority of a stock's major, multi-month or even multi-year uptrend.
The core principle is: "Buy weakness in a confirmed uptrend, and sell only when the uptrend's structure is fundamentally broken."
It operates on the belief that it's more profitable to ride a durable trend than to chase short-term breakouts or worry about daily price fluctuations. It prioritizes staying in a winning trade over frequent trading.
The Three Pillars of the Strategy
The script's logic is built on three distinct pillars, processed in order:
1. The Regime Filter: "Is This Stock in a Healthy Uptrend?"
Before even considering a trade, the script acts as a strict gatekeeper. It will only "watch" a stock if it meets all the criteria of a healthy, long-term uptrend. This is the most important part of the strategy as it filters out weak or speculative stocks.
A stock passes this filter if:
The 50-day Simple Moving Average (SMA) is above the 200-day SMA. This is the classic definition of a "Golden Cross" state, indicating the medium-term trend is stronger than the long-term trend—a hallmark of a bull market for the stock.
The stock's performance over the last year is positive. The Rate of Change (ROC) must be above a minimum threshold (e.g., 15%). This ensures we are only looking at stocks that have already demonstrated significant strength.
The 200-day SMA itself is rising. This is a crucial check to ensure the very foundation of the trend is solid and not flattening out or beginning to decline.
If a stock doesn't meet these conditions, the script ignores it completely.
2. The Entry Trigger: "When to Buy the Dip"
Once a stock is confirmed to be in a healthy uptrend, the script does not buy immediately. Instead, it patiently waits for a point of lower risk and higher potential reward—a pullback.
The entry trigger is a specific, two-step sequence:
The stock price first dips and closes below its 50-day SMA. This signifies a period of temporary weakness or profit-taking.
The price then recovers and closes back above the 50-day SMA within a short period (10 bars).
This sequence is a powerful signal. It suggests that institutional buyers view the 50-day SMA as a key support level and have stepped in to defend it, overpowering the sellers. The entry occurs at this point of confirmed support, marking the likely resumption of the uptrend. On the chart, this event is highlighted with a teal background.
3. The Exit Strategy: "When is the Trend Over?"
The exit logic is designed to keep you in the trade as long as possible and only sell when the trend's character has fundamentally changed. It uses a dual-exit system:
Primary Exit (Trend Failure): The main reason to sell is a "Death Cross"—when the 50-day SMA crosses below the 200-day SMA. This is a robust, albeit lagging, signal that the long-term uptrend is over and a bearish market structure is taking hold. This exit condition is designed to ignore normal market corrections and only trigger when the underlying trend has truly broken. On the chart, this is highlighted with a maroon background.
Safety-Net Exit (Catastrophic Stop-Loss): To protect against a sudden market crash or a company-specific disaster, a "safety-net" stop-loss is placed at the time of entry. This stop is set far below the entry price, typically underneath the 200-day SMA. It is a "just-in-case" measure that should only be triggered in a severe and rapid decline, protecting your capital from an unexpected black swan event.
Who is This Strategy For?
Position Traders: Investors who are comfortable holding a stock for many months to over a year.
Patient Swing Traders: Traders who want to capture large price swings over weeks and months, not days.
Investors using a Rules-Based Approach: Anyone looking to apply a disciplined, non-emotional system to their long-term portfolio.
Ideal Market Conditions
This strategy excels in markets with clear, durable trends. It performs best on strong, leading stocks during a sustained bull market. It will underperform significantly or generate losses in choppy, sideways, or range-bound markets, where the moving averages will frequently cross back and forth, leading to "whipsaw" trades.
Keltner Channel Based Grid Strategy # KC Grid Strategy - Keltner Channel Based Grid Trading System
## Strategy Overview
KC Grid Strategy is an innovative grid trading system that combines the power of Keltner Channels with dynamic position sizing to create a mean-reversion trading approach. This strategy automatically adjusts position sizes based on price deviation from the Keltner Channel center line, implementing a systematic grid-based approach that capitalizes on market volatility and price oscillations.
## Core Principles
### Keltner Channel Foundation
The strategy builds upon the Keltner Channel indicator, which consists of:
- **Center Line**: Moving average (EMA or SMA) of the price
- **Upper Band**: Center line + (ATR/TR/Range × Multiplier)
- **Lower Band**: Center line - (ATR/TR/Range × Multiplier)
### Grid Trading Logic
The strategy implements a sophisticated grid system where:
1. **Position Direction**: Inversely correlated to price position within the channel
- When price is above center line → Short positions
- When price is below center line → Long positions
2. **Position Size**: Proportional to distance from center line
- Greater deviation = Larger position size
3. **Grid Activation**: Positions are adjusted only when the difference exceeds a predefined grid threshold
### Mathematical Foundation
The core calculation uses the KC Rate formula:
```
kcRate = (close - ma) / bandWidth
targetPosition = kcRate × maxAmount × (-1)
```
This creates a mean-reversion system where positions increase as price moves further from the mean, expecting eventual return to equilibrium.
## Parameter Guide
### Time Range Settings
- **Start Date**: Beginning of strategy execution period
- **End Date**: End of strategy execution period
### Core Parameters
1. **Number of Grids (NumGrid)**: Default 12
- Controls grid sensitivity and position adjustment frequency
- Higher values = More frequent but smaller adjustments
- Lower values = Less frequent but larger adjustments
2. **Length**: Default 10
- Period for moving average and volatility calculations
- Shorter periods = More responsive to recent price action
- Longer periods = Smoother, less noisy signals
3. **Grid Coefficient (kcRateMult)**: Default 1.33
- Multiplier for channel width calculation
- Higher values = Wider channels, less frequent trades
- Lower values = Narrower channels, more frequent trades
4. **Source**: Default Close
- Price source for calculations (Close, Open, High, Low, etc.)
- Close price typically provides most reliable signals
5. **Use Exponential MA**: Default True
- True = Uses EMA (more responsive to recent prices)
- False = Uses SMA (equal weight to all periods)
6. **Bands Style**: Default "Average True Range"
- **Average True Range**: Smoothed volatility measure (recommended)
- **True Range**: Current bar's volatility only
- **Range**: Simple high-low difference
## How to Use
### Setup Instructions
1. **Apply to Chart**: Add the strategy to your desired timeframe and instrument
2. **Configure Parameters**: Adjust settings based on market characteristics:
- Volatile markets: Increase Grid Coefficient, reduce Number of Grids
- Stable markets: Decrease Grid Coefficient, increase Number of Grids
3. **Set Time Range**: Define your backtesting or live trading period
4. **Monitor Performance**: Watch strategy performance metrics and adjust as needed
### Optimal Market Conditions
- **Range-bound markets**: Strategy performs best in sideways trending markets
- **High volatility**: Benefits from frequent price oscillations around the mean
- **Liquid instruments**: Ensures efficient order execution and minimal slippage
### Position Management
The strategy automatically:
- Calculates optimal position sizes based on account equity
- Adjusts positions incrementally as price moves through grid levels
- Maintains risk control through maximum position limits
- Executes trades only during specified time periods
## Risk Warnings
### ⚠️ Important Risk Considerations
1. **Trending Market Risk**:
- Strategy may underperform or generate losses in strong trending markets
- Mean-reversion assumption may fail during sustained directional moves
- Consider market regime analysis before deployment
2. **Leverage and Position Size Risk**:
- Strategy uses pyramiding (up to 20 positions)
- Large positions may accumulate during extended moves
- Monitor account equity and margin requirements closely
3. **Volatility Risk**:
- Sudden volatility spikes may trigger multiple rapid position adjustments
- Consider volatility filters during high-impact news events
- Backtest across different volatility regimes
4. **Execution Risk**:
- Strategy calculates on every tick (calc_on_every_tick = true)
- May generate frequent orders in volatile conditions
- Ensure adequate execution infrastructure and consider transaction costs
5. **Parameter Sensitivity**:
- Performance highly dependent on parameter optimization
- Over-optimization may lead to curve-fitting
- Regular parameter review and adjustment may be necessary
## Suitable Scenarios
### Ideal Market Conditions
- **Sideways/Range-bound markets**: Primary use case
- **Mean-reverting instruments**: Forex pairs, some commodities
- **Stable volatility environments**: Consistent ATR patterns
- **Liquid markets**: Major currency pairs, popular stocks/indices
## Important Notes
### Strategy Limitations
1. **No Stop Loss**: Strategy relies on mean reversion without traditional stop losses
2. **Capital Requirements**: Requires sufficient capital for grid-based position sizing
3. **Market Regime Dependency**: Performance varies significantly across different market conditions
## Disclaimer
This strategy is provided for educational and research purposes only. Past performance does not guarantee future results. Trading involves substantial risk of loss and is not suitable for all investors. Users should thoroughly test the strategy and understand its mechanics before risking real capital. The author assumes no responsibility for trading losses incurred through the use of this strategy.
---
# KC网格策略 - 基于肯特纳通道的网格交易系统
## 策略概述
KC网格策略是一个创新的网格交易系统,它将肯特纳通道的力量与动态仓位调整相结合,创建了一个均值回归交易方法。该策略根据价格偏离肯特纳通道中心线的程度自动调整仓位大小,实施系统化的网格方法,利用市场波动和价格振荡获利。
## 核心原理
### 肯特纳通道基础
该策略建立在肯特纳通道指标之上,包含:
- **中心线**: 价格的移动平均线(EMA或SMA)
- **上轨**: 中心线 + (ATR/TR/Range × 乘数)
- **下轨**: 中心线 - (ATR/TR/Range × 乘数)
### 网格交易逻辑
该策略实施复杂的网格系统:
1. **仓位方向**: 与价格在通道中的位置呈反向关系
- 当价格高于中心线时 → 空头仓位
- 当价格低于中心线时 → 多头仓位
2. **仓位大小**: 与距离中心线的距离成正比
- 偏离越大 = 仓位越大
3. **网格激活**: 只有当差异超过预定义的网格阈值时才调整仓位
### 数学基础
核心计算使用KC比率公式:
```
kcRate = (close - ma) / bandWidth
targetPosition = kcRate × maxAmount × (-1)
```
这创建了一个均值回归系统,当价格偏离均值越远时仓位越大,期望最终回归均衡。
## 参数说明
### 时间范围设置
- **开始日期**: 策略执行期间的开始时间
- **结束日期**: 策略执行期间的结束时间
### 核心参数
1. **网格数量 (NumGrid)**: 默认12
- 控制网格敏感度和仓位调整频率
- 较高值 = 更频繁但较小的调整
- 较低值 = 较少频繁但较大的调整
2. **长度**: 默认10
- 移动平均线和波动率计算的周期
- 较短周期 = 对近期价格行为更敏感
- 较长周期 = 更平滑,噪音更少的信号
3. **网格系数 (kcRateMult)**: 默认1.33
- 通道宽度计算的乘数
- 较高值 = 更宽的通道,较少频繁的交易
- 较低值 = 更窄的通道,更频繁的交易
4. **数据源**: 默认收盘价
- 计算的价格来源(收盘价、开盘价、最高价、最低价等)
- 收盘价通常提供最可靠的信号
5. **使用指数移动平均**: 默认True
- True = 使用EMA(对近期价格更敏感)
- False = 使用SMA(对所有周期等权重)
6. **通道样式**: 默认"平均真实范围"
- **平均真实范围**: 平滑的波动率测量(推荐)
- **真实范围**: 仅当前K线的波动率
- **范围**: 简单的高低价差
## 使用方法
### 设置说明
1. **应用到图表**: 将策略添加到您所需的时间框架和交易品种
2. **配置参数**: 根据市场特征调整设置:
- 波动市场:增加网格系数,减少网格数量
- 稳定市场:减少网格系数,增加网格数量
3. **设置时间范围**: 定义您的回测或实盘交易期间
4. **监控表现**: 观察策略表现指标并根据需要调整
### 最佳市场条件
- **区间震荡市场**: 策略在横盘趋势市场中表现最佳
- **高波动性**: 受益于围绕均值的频繁价格振荡
- **流动性强的品种**: 确保高效的订单执行和最小滑点
### 仓位管理
策略自动:
- 根据账户权益计算最优仓位大小
- 随着价格在网格水平移动逐步调整仓位
- 通过最大仓位限制维持风险控制
- 仅在指定时间段内执行交易
## 风险警示
### ⚠️ 重要风险考虑
1. **趋势市场风险**:
- 策略在强趋势市场中可能表现不佳或产生损失
- 在持续方向性移动期间均值回归假设可能失效
- 部署前考虑市场制度分析
2. **杠杆和仓位大小风险**:
- 策略使用金字塔加仓(最多20个仓位)
- 在延长移动期间可能积累大仓位
- 密切监控账户权益和保证金要求
3. **波动性风险**:
- 突然的波动性激增可能触发多次快速仓位调整
- 在高影响新闻事件期间考虑波动性过滤器
- 在不同波动性制度下进行回测
4. **执行风险**:
- 策略在每个tick上计算(calc_on_every_tick = true)
- 在波动条件下可能产生频繁订单
- 确保充足的执行基础设施并考虑交易成本
5. **参数敏感性**:
- 表现高度依赖于参数优化
- 过度优化可能导致曲线拟合
- 可能需要定期参数审查和调整
## 适用场景
### 理想市场条件
- **横盘/区间震荡市场**: 主要用例
- **均值回归品种**: 外汇对,某些商品
- **稳定波动性环境**: 一致的ATR模式
- **流动性市场**: 主要货币对,热门股票/指数
## 注意事项
### 策略限制
1. **无止损**: 策略依赖均值回归而无传统止损
2. **资金要求**: 需要充足资金进行基于网格的仓位调整
3. **市场制度依赖性**: 在不同市场条件下表现差异显著
## 免责声明
该策略仅供教育和研究目的。过往表现不保证未来结果。交易涉及重大损失风险,并非适合所有投资者。用户应在投入真实资金前彻底测试策略并理解其机制。作者对使用此策略产生的交易损失不承担任何责任。
---
**Strategy Version**: Pine Script v6
**Author**: Signal2Trade
**Last Updated**: 2025-8-9
**License**: Open Source (Mozilla Public License 2.0)
Canuck Trading Traders Strategy [Candle Entropy Edition]Canuck Trading Traders Strategy: A Unique Entropy-Based Day Trading System for Volatile Stocks
Overview
The Canuck Trading Traders Strategy is a custom, entropy-driven day trading system designed for high-volatility stocks like TSLA on short timeframes (e.g., 15m). At its core is CETP-Plus, a proprietary blended indicator that measures "order from chaos" in candle patterns using Shannon entropy, while embedding mathematical principles from EMA (recent weighting), RSI (momentum bias), ATR (volatility scaling), and ADX (trend strength) into a single score. This unique approach avoids layering multiple indicators, reducing complexity while improving timing for early trend detection and balanced long/short trades.
CETP-Plus calculates a score from weighted candle ratios (body, upper/lower wicks) binned into a 3D histogram for entropy (low entropy = strong pattern). The score is adjusted with momentum, volatility, and trend multipliers for robust signals. Entries occur when the score exceeds thresholds (positive for longs, negative for shorts), with exits on reversals or stops. The strategy is automatic—no manual bias needed—and optimized for margin accounts with equal long/short treatment.
Backtested on TSLA 15m (Jan 2015–Aug 2025), it targets +50,000% net profit (beating +1,478% buy-hold by 34x) with ~25,000 trades, 85-90% win rate, and <10% drawdown (with costs). Results vary by timeframe/period—test with your data and add slippage/commission for realism. Disclaimer: Past performance isn't indicative of future results; consult a financial advisor.
Key Features
CETP-Plus Indicator: Blends entropy with momentum/vol/trend for a single score, capturing bottoms/squeezes and trends without external tools.
Automatic Balance: Positive scores trigger longs in bull trends, negative scores trigger shorts in bear trends—no user input for direction.
Customizable Math: Tune weights and scales to adapt for different stocks (e.g., lower thresholds for NVDA's smoother trends).
Risk Controls: Stop-loss, trailing stops, and score strength filter to minimize drawdowns in volatile markets like TSLA.
Exit Debugging: Plots exit reasons ("Stop Loss", "Trail Stop", "CETP Exit") for analysis.
Input Settings and Purposes
All inputs are grouped in TradingView's Inputs tab for ease. Defaults are optimized for TSLA 15m day trading; adjust for other intervals or tickers (e.g., increase window for 1h, lower thresholds for NVDA).
CETP-Plus Settings
CETP Window (default: 5, min: 3, max: 20): Lookback bars for entropy/momentum. Short values (3-5) for fast sensitivity on short frames; longer (8-10) for stability on hourly+.
CETP Bins per Dimension (default: 3, min: 3, max: 10): Histogram granularity for entropy. Low (3) for speed/simple patterns; high (5+) for detail in complex markets.
Long Threshold (default: 0.15, min: 0.1, max: 0.8, step: 0.05): CETP score for long entries. Lower (0.1) for more longs in mild bull trends; higher (0.2) to filter noise.
Short Threshold (default: -0.05, min: -0.8, max: -0.1, step: 0.05): CETP score for short entries. Less negative (-0.05) for more shorts in mild bear trends; more negative (-0.2) for strong signals.
CETP Momentum Weight (default: 0.8, min: 0.1, max: 1.0, step: 0.1): Emphasizes momentum in score. High (0.9) for aggressive in fast moves; low (0.5) for entropy focus.
Momentum Scale (default: 1.6, min: 0.1, max: 2.0, step: 0.1): Amplifies momentum. High (2.0) for short intervals; low (1.0) for stability.
Body Ratio Weight (default: 1.2, min: 0.0, max: 2.0, step: 0.1): Weights candle body in entropy (trend focus). High (1.5) for strong trends; low (0.8) for wick emphasis.
Upper Wick Ratio Weight (default: 0.8, min: 0.0, max: 2.0, step: 0.1): Weights upper wick (reversal noise). Low (0.5) to reduce false ups.
Lower Wick Ratio Weight (default: 0.8, min: 0.0, max: 2.0, step=0.1): Weights lower wick. Low (0.5) to reduce false downs.
Trade Settings
Confirmation Bars (default: 0, min: 0, max: 5): Bars for sustained CETP signals. 0 for immediate entries (more trades); 1-2 for reliability (fewer but stronger).
Min CETP Score Strength (default: 0.04, min: 0.0, max: 0.5, step: 0.05): Min absolute score for entry. Low (0.04) for more trades; high (0.15) for quality.
Risk Management
Stop Loss (%) (default: 0.5, min: 0.1, max: 5.0, step: 0.1): % from entry for stop. Tight (0.4) for quick exits; wide (0.8) for trends.
ATR Multiplier (default: 1.5, min: 0.5, max: 3.0, step: 0.1): Scales ATR for stops/trails. Low (1.0) for tight; high (2.0) for room.
Trailing ATR Mult (default: 3.5, min: 0.5, max: 5.0, step: 0.1): ATR mult for trails. High (4.0) for longer holds; low (2.0) for profits.
Trail Start Offset (%) (default: 1.0, min: 0.5, max: 2.0, step: 0.1): % profit before trailing. Low (0.8) for early lock-in; high (1.5) for bigger moves.
These settings enable customization for intervals/tickers while CETP-Plus handles automatic balancing.
Risk Disclosure
Trading involves significant risk and may result in losses exceeding your initial capital. The Canuck Trading Trader Strategy is provided for educational and informational purposes only. Users are responsible for their own trading decisions and should conduct thorough testing before using in live markets. The strategy’s high trade frequency requires reliable execution infrastructure to minimize slippage and latency.
BTC Dynamic Trend Core Strategy v45// The Dynamic Trend Core is a sophisticated, multi-layer trading strategy that provides both a quantitative //
// backtesting engine and a rich, intuitive visual interface. It is designed to identify high-probability //
// trend-following opportunities by requiring a confluence of conditions to be met before a signal is considered //
// valid. //
// //
// The system's philosophy is rooted in confirmation, seeking to filter out market noise by ensuring that trend, //
// momentum, market sentiment, and volume are all in alignment. //
// //
// --- CORE LOGIC COMPONENTS --- //
// 1. **Primary Trend Analysis (SAMA):** The foundation is a self-adjusting moving average (SAMA) that //
// determines the underlying market trend (Bullish, Bearish, or Consolidation). //
// //
// 2. **Confirmation & Momentum:** Signals are confirmed with a blend of the Natural Market Slope and a Cyclic //
// RSI to ensure momentum aligns with the primary trend. //
// //
// 3. **Advanced Filtering Layers:** A suite of optional filters allows for robust customization: //
// - **Volume & ADX:** Ensure sufficient market participation and trend strength. //
// - **Market Regime:** Uses total crypto market cap to gauge broad market health. //
// - **Multi-Timeframe (MTF):** Aligns signals with the dominant weekly trend. //
// - **BTC Cycle Analysis:** Uses Halving or Mayer Multiple models to position trades within historical //
// macro cycles. //
// //
// --- VISUAL INTERFACE --- //
// The strategy's real power comes from its on-chart visual feedback system, which provides full transparency. //
// ****Note: for this to be enabled recalculate 'on every tick' needs to be enabled in the properties settings. //
// 1. **Power Core Gauge:** Located at the bottom-center, this gauge is the heart of the system. It displays the //
// number of active filter conditions that have been met (e.g., 5/6). It "powers up" as more conditions align,//
// glowing brightly when a signal is fully confirmed and ready. //
// //
// 2. **Live Conditions Panel:** In the bottom-right corner, this panel acts as a detailed pre-flight checklist. //
// It shows the real-time status of every single filter, helping you understand exactly why a trade is (or //
// is not) being triggered. //
// //
// 3. **Energized Trendline:** The main SAMA trendline changes color and brightness based on the strength and //
// direction of the trend, providing immediate visual context. //
// //
// 4. **Halving cycle visualisation:** Visual guide to halving phases //
// //
// --- HOW TO USE --- //
// 1. **Select Operation Mode:** Use "Backtest Mode" to test settings and "Alerts-Only Mode" for live signals. //
// //
// 2. **Configure Strategy:** Start with the default filters. If a potential trade setup is missed, check the //
// **Live Conditions Panel** to see exactly which filter blocked the signal. Adjust the filters to suit your //
// specific asset and timeframe. //
// //
// 3. **Manage Risk:** Adjust the Risk & Exit settings to match your personal risk tolerance. //
0-5 Box Strategy Tester v4🟩 0-5 Box Strategy Tester v4 — Explained Simply
This script is a modular hourly breakout strategy designed to help traders test and trade breakouts (or pullbacks) from the first 5-minute range of any selected hour. It supports both long and short positions and is optimized for scalping or intraday strategies.
🔑 Core Strategy Logic
Box Formation: At the start of every hour, the script tracks the high and low of the first 5 minutes (e.g., from 9:00 to 9:04).
Trade Trigger: Once price breaks out above or below this 5-minute box (either instantly or after a pullback), it can trigger a long or short entry depending on your settings.
Entry Type: Supports two main styles:
Breakout entry: Buy/sell as soon as price breaks the box.
Pullback re-entry: Wait for price to break the box, pull back, then re-enter on a limit order.
🧪 Smart Entry Filters (Optional but Powerful)
You can refine your trades using several filters:
✅ Previous Hour Direction – Only trade in the direction of the last hour’s candle (bullish/bearish).
🔄 Reversal Filter – Only trade against the previous hour’s direction.
💧 Liquidity Sweep – Require the previous hour’s high or low to be swept first (liquidity-based entry).
🔁 Q2 Confirmation (15–30 min logic) – Confirm price action in the second quarter of the hour (like retests or wick-based logic).
🕒 Max Entry Time – Prevent late trades within the hour (e.g., no entries after minute 45).
📦 Max Range % – Avoid trading during overly volatile hours by filtering out wide boxes.
🕘 Flexible Hour Selection
You can choose to:
Trade all hours
Or select specific hours manually (like 4AM, 9AM, etc.)
📉 Risk & Position Sizing Options
Supports stop-loss and take-profit by:
Points
Percentage
Risk:Reward Ratio
Choose fixed contract size or auto-size based on dollar risk.
📊 Built-In Analytics
The strategy tracks and displays:
Win rate
PnL (total, by hour, by day)
Average drawdown
Risk metrics (Expectancy, Profit Factor, Payoff Ratio)
Hour-by-hour stats (how each hour performs historically)
Day-of-week performance
Visual tables on chart for easy analysis
🧠 Use Cases
This strategy is ideal for:
Futures traders (like NQ/ES/GC) who trade specific sessions (e.g., NY open, London)
Scalpers looking for tight breakouts or pullbacks
Systematic traders backtesting precision setups
Traders using confluence like session breaks, liquidity sweeps, and inside-hour confirmations
Fisher Crossover StrategyThe Fisher Crossover Strategy is a popular technical trading method that uses the Fisher Transform indicator developed by John Ehlers. This indicator mathematically converts price data into a normal Gaussian distribution, making market turning points sharper and easier to identify. The strategy is based on two lines: the Fisher line, which is the main transformed price value, and the Trigger line, which is a one-period lag of the Fisher line. Traders use the crossover of these lines to determine buy and sell opportunities.
A buy signal is generated when the Fisher line crosses above the Trigger line, indicating that bullish momentum may be starting, while a sell signal occurs when the Fisher line crosses below the Trigger line, suggesting a possible bearish reversal. Signals that occur relative to the zero line are often considered stronger; for example, a buy signal below the zero line may indicate a deeper market reversal. The strategy is simple to follow and can be applied to various markets including stocks, forex, commodities, and cryptocurrencies.
However, like all crossover strategies, it can produce false signals during sideways or ranging markets. To reduce whipsaws, traders often combine the Fisher Crossover Strategy with other tools such as support and resistance levels, volume analysis, or moving averages. Proper risk management with stop-loss and take-profit levels is also essential. Overall, the Fisher Crossover Strategy is valued for its clear entry and exit rules and its ability to highlight potential market reversals earlier than many other indicators.
Brain Premium [ALGO]💡 Brain Premium ALGO
Brainpremium ALGO is a strategy algorithm that analyzes a two-phase regional liquidity structure and only opens positions on price breakouts occurring within these liquidity zones.
This system is developed based on the market experience of manual traders and automatically executes trade decisions using AI-like rules and specific triggers.
💡 Two-Phase Liquidity-Based Entry Strategy
This strategy operates by detecting liquidity sweep zones and confirmed reversal signals:
🔹 Phase 1 – Liquidity Sweep:
Price is expected to sweep areas where equal highs/lows or liquidity clusters exist. These zones are considered potential reversal levels.
🔹 Phase 2 – Confirmed Entry:
After liquidity is swept, entries are triggered only by confirmed reversal signals such as structural breaks, inside bars, or breakouts in the opposite direction.
✅ Entries are triggered only when liquidity and reversal confirmation occur simultaneously.
🎯 This approach targets high-probability, low-risk trades.
⚙️ Key Features
🔍 Dynamic Liquidity Detection — Automatically identifies liquidity zones.
🧩 Modular Entry Options (1–2–3) — Allows opening positions via different strategy paths.
🛡️ Dynamic Stop Loss System — Stop Loss adjusts as price moves favorably.
📈 Advanced Risk Management — Adjustable Take Profit, Stop Loss, leverage, balance, and mode.
🔔 JSON Alert Support — Connects to platforms like BingX via webhook.
🧾 Information Panel — Displays real-time trade data and strategy status.
📊 Backtest & Default Settings
Strategy tests are conducted with realistic and sustainable parameters:
Parameter Value
Trading Balance: $100 (%10 of total wallet)
Leverage: 10x
Stop Loss: 1%
Take Profit Type : High TP (optional: Low and Risky also available)
Entry Option 1 (optional: 2 and 3 also available)
Mode: NORMAL
Commission 0.05%
Dynamic Stop Loss: Enabled
Timeframe: 5 minute
Pair ETH/USDT
Duration: 30 days
🧭 Usage Instructions
Add Brain Premium ALGO to your TradingView chart.
Set position size, leverage, and SL/TP levels from the settings panel.
Select entry option (1, 2, or 3).
Activate backtesting and alert systems to monitor the strategy.
⚠️ Disclaimer
This strategy is not financial advice. Past performance does not guarantee future results. Trade only with capital you can afford to risk and always test thoroughly in a demo environment first.
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
RCI 2 Dashboards ✅ Strategy: RCI 2 Dashboards BY Sonu JAIN
This advanced strategy is built around the Rank Correlation Index (RCI), a unique momentum oscillator, and combines it with a comprehensive suite of powerful indicators to identify high-probability trading opportunities. The strategy’s core strength lies in its ability to filter signals using up to 12 different conditions for both long and short trades.
To make the decision-making process clear and intuitive, the strategy features two dynamic, customizable dashboards right on your chart. The first dashboard gives you a live, detailed breakdown of which conditions are met, while the second provides a real-time overview of the strategy’s performance.
How It Works
The strategy generates entry signals based on RCI crossovers and crossunders. These signals are then filtered by a customizable combination of other indicators to confirm the trade.
Long Entry:
The RCI crosses over its moving average.
All enabled long-side filters are met.
Short Entry:
The RCI crosses under its moving average.
All enabled short-side filters are met.
Key Features
RCI Crossover Logic: The core of the strategy is an RCI crossover/crossunder with a customizable moving average (MA). You can choose from SMA, EMA, SMMA (RMA), WMA, or VWMA.
12 Optional Filters: This strategy goes far beyond a simple RCI signal. You can enable or disable a wide range of filters to refine your entries. These include:
Trend: Supertrend, Parabolic SAR (SAR), and Vortex Indicator.
Volatility: Keltner Channels (KC) and Bollinger Bands (BB).
Momentum: Woodies CCI, Money Flow Index (MFI), and Relative Strength Index (RSI).
Volume: On-Balance Volume (OBV) and simple Volume analysis.
Directional Strength: Average Directional Index (ADX).
Timing: A time-of-day filter to trade only during specific market hours.
Dual Dashboards:
Detailed Condition Dashboard: This dashboard shows you exactly which of the 12 filters are currently met with a simple ✓ or ✗. This provides instant clarity on why a trade is or isn't being considered.
Performance Dashboard: This dashboard displays key performance metrics in real-time, including net profit, win rate, profit factor, max drawdown, and current/max winning and losing streaks. It also provides details on the most recent trade, such as entry, stop-loss, and exit prices.
Customizable Stop Loss: The strategy includes a fixed percentage-based stop loss for both long and short positions, which you can easily configure in the settings.
Trade Direction Control: You can choose to trade "Long Only," "Short Only," or "Long & Short," giving you complete control over your trading bias.
This strategy is a powerful tool for traders who want to build a robust, multi-filtered system. The included dashboards make it an excellent educational tool for understanding how different indicators work together to form a complete trading plan. You can use it to backtest and optimize your own unique combination of indicators to find the perfect setup for your market and timeframe.
rsi indicator strategyRSIBB Strategy Based on Oversold, Overrbuy Bolinger Band Band. In usoil . Time Indicators is set and the timing is in 5 minutes
An example of Long. When the green marker appears, our entry point is High High If the price fails to reject our High High, our entry will change to the next candlestick. This process will continue until we enter the position.
A marker appears in purple when the green marker appears to us, in which information appears:
The first digit related to the strategist code
The second digit is that we have a few pips to be sure of the candlestick of our entry point
The third digit is our SL that is a coefficient of overall size of yogurt (HIGH - LOW)
Charmin is the digit of our tp that is a coefficient of overall size of yogurt (HIGH - LOW)
In 6 sets
استراتژی RSIBB بر اساس اشباع فروش، اشباع خرید، باند بولینگر. در این روش، اندیکاتورهای زمانی تنظیم شده و زمانبندی ۵ دقیقه است.
مثالی از موقعیت خرید. وقتی نشانگر سبز ظاهر میشود، نقطه ورود ما High است. اگر قیمت نتواند High ما را رد کند، ورود ما به کندل بعدی تغییر میکند. این فرآیند تا زمانی که وارد موقعیت شویم ادامه خواهد داشت.
وقتی نشانگر سبز برای ما ظاهر میشود، یک نشانگر به رنگ بنفش ظاهر میشود که در آن اطلاعات زیر ظاهر میشود:
رقم اول مربوط به کد استراتژیست است.
رقم دوم این است که ما چند پیپ برای اطمینان از کندل نقطه ورود خود داریم.
رقم سوم SL ما است که ضریبی از اندازه کلی ماست (HIGH - LOW) است.
چارمین رقم tp ما است که ضریبی از اندازه کلی ماست (HIGH - LOW) است.