Volume Block Order AnalyzerCore Concept
The Volume Block Order Analyzer is a sophisticated Pine Script strategy designed to detect and analyze institutional money flow through large block trades. It identifies unusually high volume candles and evaluates their directional bias to provide clear visual signals of potential market movements.
How It Works: The Mathematical Model
1. Volume Anomaly Detection
The strategy first identifies "block trades" using a statistical approach:
```
avgVolume = ta.sma(volume, lookbackPeriod)
isHighVolume = volume > avgVolume * volumeThreshold
```
This means a candle must have volume exceeding the recent average by a user-defined multiplier (default 2.0x) to be considered a significant block trade.
2. Directional Impact Calculation
For each block trade identified, its price action determines direction:
- Bullish candle (close > open): Positive impact
- Bearish candle (close < open): Negative impact
The magnitude of impact is proportional to the volume size:
```
volumeWeight = volume / avgVolume // How many times larger than average
blockImpact = (isBullish ? 1.0 : -1.0) * (volumeWeight / 10)
```
This creates a normalized impact score typically ranging from -1.0 to 1.0, scaled by dividing by 10 to prevent excessive values.
3. Cumulative Impact with Time Decay
The key innovation is the cumulative impact calculation with decay:
```
cumulativeImpact := cumulativeImpact * impactDecay + blockImpact
```
This mathematical model has important properties:
- Recent block trades have stronger influence than older ones
- Impact gradually "fades" at rate determined by decay factor (default 0.95)
- Sustained directional pressure accumulates over time
- Opposing pressure gradually counteracts previous momentum
Trading Logic
Signal Generation
The strategy generates trading signals based on momentum shifts in institutional order flow:
1. Long Entry Signal: When cumulative impact crosses from negative to positive
```
if ta.crossover(cumulativeImpact, 0)
strategy.entry("Long", strategy.long)
```
*Logic: Institutional buying pressure has overcome selling pressure, indicating potential upward movement*
2. Short Entry Signal: When cumulative impact crosses from positive to negative
```
if ta.crossunder(cumulativeImpact, 0)
strategy.entry("Short", strategy.short)
```
*Logic: Institutional selling pressure has overcome buying pressure, indicating potential downward movement*
3. Exit Logic: Positions are closed when the cumulative impact moves against the position
```
if cumulativeImpact < 0
strategy.close("Long")
```
*Logic: The original signal is no longer valid as institutional flow has reversed*
Visual Interpretation System
The strategy employs multiple visualization techniques:
1. Color Gradient Bar System:
- Deep green: Strong buying pressure (impact > 0.5)
- Light green: Moderate buying pressure (0.1 < impact ≤ 0.5)
- Yellow-green: Mild buying pressure (0 < impact ≤ 0.1)
- Yellow: Neutral (impact = 0)
- Yellow-orange: Mild selling pressure (-0.1 < impact ≤ 0)
- Orange: Moderate selling pressure (-0.5 < impact ≤ -0.1)
- Red: Strong selling pressure (impact ≤ -0.5)
2. Dynamic Impact Line:
- Plots the cumulative impact as a line
- Line color shifts with impact value
- Line movement shows momentum and trend strength
3. Block Trade Labels:
- Marks significant block trades directly on the chart
- Shows direction and volume amount
- Helps identify key moments of institutional activity
4. Information Dashboard:
- Current impact value and signal direction
- Average volume benchmark
- Count of significant block trades
- Min/Max impact range
Benefits and Use Cases
This strategy provides several advantages:
1. Institutional Flow Detection: Identifies where large players are positioning themselves
2. Early Trend Identification: Often detects institutional accumulation/distribution before major price movements
3. Market Context Enhancement: Provides deeper insight than simple price action alone
4. Objective Decision Framework: Quantifies what might otherwise be subjective observations
5. Adaptive to Market Conditions: Works across different timeframes and instruments by using relative volume rather than absolute thresholds
Customization Options
The strategy allows users to fine-tune its behavior:
- Volume Threshold: How unusual a volume spike must be to qualify
- Lookback Period: How far back to measure average volume
- Impact Decay Factor: How quickly older trades lose influence
- Visual Settings: Labels and line width customization
This sophisticated yet intuitive strategy provides traders with a window into institutional activity, helping identify potential trend changes before they become obvious in price action alone.
Penunjuk dan strategi
Advanced Adaptive Grid Trading StrategyThis strategy employs an advanced grid trading approach that dynamically adapts to market conditions, including trend, volatility, and risk management considerations. The strategy aims to capitalize on price fluctuations in both rising (long) and falling (short) markets, as well as during sideways movements. It combines multiple indicators to determine the trend and automatically adjusts grid parameters for more efficient trading.
How it Works:
Trend Analysis:
Short, long, and super long Moving Averages (MA) to determine the trend direction.
RSI (Relative Strength Index) to identify overbought and oversold levels, and to confirm the trend.
MACD (Moving Average Convergence Divergence) to confirm momentum and trend direction.
Momentum indicator.
The strategy uses a weighted scoring system to assess trend strength (strong bullish, moderate bullish, strong bearish, moderate bearish, sideways).
Grid System:
The grid size (the distance between buy and sell levels) changes dynamically based on market volatility, using the ATR (Average True Range) indicator.
Grid density also adapts to the trend: in a strong trend, the grid is denser in the direction of the trend.
Grid levels are shifted depending on the trend direction (upwards in a bear market, downwards in a bull market).
Trading Logic:
The strategy opens long positions if the trend is bullish and the price reaches one of the lower grid levels.
It opens short positions if the trend is bearish and the price reaches one of the upper grid levels.
In a sideways market, it can open positions in both directions.
Risk Management:
Stop Loss for every position.
Take Profit for every position.
Trailing Stop Loss to protect profits.
Maximum daily loss limit.
Maximum number of positions limit.
Time-based exit (if the position is open for too long).
Risk-based position sizing (optional).
Input Options:
The strategy offers numerous settings that allow users to customize its operation:
Timeframe: The chart's timeframe (e.g., 1 minute, 5 minutes, 1 hour, 4 hours, 1 day, 1 week).
Base Grid Size (%): The base size of the grid, expressed as a percentage.
Max Positions: The maximum number of open positions allowed.
Use Volatility Grid: If enabled, the grid size changes dynamically based on the ATR indicator.
ATR Length: The period of the ATR indicator.
ATR Multiplier: The multiplier for the ATR to fine-tune the grid size.
RSI Length: The period of the RSI indicator.
RSI Overbought: The overbought level for the RSI.
RSI Oversold: The oversold level for the RSI.
Short MA Length: The period of the short moving average.
Long MA Length: The period of the long moving average.
Super Long MA Length: The period of the super long moving average.
MACD Fast Length: The fast period of the MACD.
MACD Slow Length: The slow period of the MACD.
MACD Signal Length: The period of the MACD signal line.
Stop Loss (%): The stop loss level, expressed as a percentage.
Take Profit (%): The take profit level, expressed as a percentage.
Use Trailing Stop: If enabled, the strategy uses a trailing stop loss.
Trailing Stop (%): The trailing stop loss level, expressed as a percentage.
Max Loss Per Day (%): The maximum daily loss, expressed as a percentage.
Time Based Exit: If enabled, the strategy exits the position after a certain amount of time.
Max Holding Period (hours): The maximum holding time in hours.
Use Risk Based Position: If enabled, the strategy calculates position size based on risk.
Risk Per Trade (%): The risk per trade, expressed as a percentage.
Max Leverage: The maximum leverage.
Important Notes:
This strategy does not guarantee profits. Cryptocurrency markets are volatile, and trading involves risk.
The strategy's effectiveness depends on market conditions and settings.
It is recommended to thoroughly backtest the strategy under various market conditions before using it live.
Past performance is not indicative of future results.
ScalpZilla Strategy Claude 0.53====== ScalpZilla Strategy Description ======
ScalpZilla is an advanced algorithmic trading strategy designed for the TradingView platform.
This is a fully reversible system that automatically closes opposing positions and manages multiple trade targets with configurable take-profit and stop-loss levels.
=== STRATEGY ARCHITECTURE ===
The strategy operates with two independent signal sections that can work together or separately:
1. CROSS SECTION: Generates signals based on price crossing a user-defined source indicator
2. SEPARATE SECTION: Uses independent sources for LONG and SHORT signals
=== REVERSIBLE SYSTEM FUNCTIONALITY ===
- The strategy automatically closes all opposing positions when a new signal is triggered
- For example, if a SHORT signal is received while in a LONG position, the system will:
* Close all current LONG positions
* Open a new SHORT position
- This reversible mechanism ensures the strategy always follows the current market direction
=== CONFIRMATION MECHANISM ===
Both sections can be configured to require confirmation from each other:
- When "Use As Confirmation" is enabled for a section, its signals act as confirmation triggers
- Two confirmation modes available:
* DELAYED: Waits for confirmation, opens position either when signal arrives and confirmation exists, or when confirmation arrives for an existing signal
* IMMEDIATE: Opens position only if confirmation already exists when signal arrives, otherwise skips
This allows creating complex conditions like: "Enter LONG only when both Cross and Separate sections agree on the direction"
=== TAKE PROFIT AND STOP LOSS MANAGEMENT ===
- Multiple take-profit levels (TP1-TP5) with individual activation and percentage settings
- Position size is automatically split equally between active TP levels
- Stop-loss protection with customizable percentage-based distance from entry
- All orders are managed separately for each section to avoid conflicts
=== ALERT SYSTEM ===
The strategy includes a comprehensive alert system with formatted messages that include:
- Trading pair/symbol
- Position direction (LONG/SHORT)
- Entry price
- All take-profit target levels (TP1-TP5)
- Stop-loss level
- Recommended leverage (25x)
Three alert configuration options are available:
1. "alert() function calls only" - For entry signals only
2. "Order fills and alert() function calls" - For all events
3. "Order fills only" - For order executions only
Alerts are formatted for compatibility with Cornix automation platform.
Multi-Timeframe MACD Strategy ver 1.0Multi-Timeframe MACD Strategy: Enhanced Trend Trading with Customizable Entry and Trailing Stop
This strategy utilizes the Moving Average Convergence Divergence (MACD) indicator across multiple timeframes to identify strong trends, generate precise entry and exit signals, and manage risk with an optional trailing stop loss. By combining the insights of both the current chart's timeframe and a user-defined higher timeframe, this strategy aims to improve trade accuracy, reduce exposure to false signals, and capture larger market moves.
Key Features:
Dual Timeframe Analysis: Calculates and analyzes the MACD on both the current chart's timeframe and a user-selected higher timeframe (e.g., Daily MACD on a 1-hour chart). This provides a broader market context, helping to confirm trends and filter out short-term noise.
Configurable MACD: Fine-tune the MACD calculation with adjustable Fast Length, Slow Length, and Signal Length parameters. Optimize the indicator's sensitivity to match your trading style and the volatility of the asset.
Flexible Entry Options: Choose between three distinct entry types:
Crossover: Enters trades when the MACD line crosses above (long) or below (short) the Signal line.
Zero Cross: Enters trades when the MACD line crosses above (long) or below (short) the zero line.
Both: Combines both Crossover and Zero Cross signals, providing more potential entry opportunities.
Independent Timeframe Control: Display and trade based on the current timeframe MACD, the higher timeframe MACD, or both. This allows you to focus on the information most relevant to your analysis.
Optional Trailing Stop Loss: Implements a configurable trailing stop loss to protect profits and limit potential losses. The trailing stop is adjusted dynamically as the price moves in your favor, based on a user-defined percentage.
No Repainting: Employs lookahead=barmerge.lookahead_off in the request.security() function to prevent data leakage and ensure accurate backtesting and real-time signals.
Clear Visual Signals (Optional): Includes optional plotting of the MACD and Signal lines for both timeframes, with distinct colors for easy visual identification. These plots are for visual confirmation and are not required for the strategy's logic.
Suitable for Various Trading Styles: Adaptable to swing trading, day trading, and trend-following strategies across diverse markets (stocks, forex, cryptocurrencies, etc.).
Fully Customizable: All parameters are adjustable, including timeframes, MACD Settings, Entry signal type and trailing stop settings.
How it Works:
MACD Calculation: The strategy calculates the MACD (using the standard formula) for both the current chart's timeframe and the specified higher timeframe.
Trend Identification: The relationship between the MACD line, Signal line, and zero line is used to determine the current trend for each timeframe.
Entry Signals: Buy/sell signals are generated based on the selected "Entry Type":
Crossover: A long signal is generated when the MACD line crosses above the Signal line, and both timeframes are in agreement (if both are enabled). A short signal is generated when the MACD line crosses below the Signal line, and both timeframes are in agreement.
Zero Cross: A long signal is generated when the MACD line crosses above the zero line, and both timeframes agree. A short signal is generated when the MACD line crosses below the zero line and both timeframes agree.
Both: Combines Crossover and Zero Cross signals.
Trailing Stop Loss (Optional): If enabled, a trailing stop loss is set at a specified percentage below (for long positions) or above (for short positions) the entry price. The stop-loss is automatically adjusted as the price moves favorably.
Exit Signals:
Without Trailing Stop: Positions are closed when the MACD signals reverse according to the selected "Entry Type" (e.g., a long position is closed when the MACD line crosses below the Signal line if using "Crossover" entries).
With Trailing Stop: Positions are closed if the price hits the trailing stop loss.
Backtesting and Optimization: The strategy automatically backtests on the chart's historical data, allowing you to assess its performance and optimize parameters for different assets and timeframes.
Example Use Cases:
Confirming Trend Strength: A trader on a 1-hour chart sees a bullish MACD crossover on the current timeframe. They check the MTF MACD strategy and see that the Daily MACD is also bullish, confirming the strength of the uptrend.
Filtering Noise: A trader using a 15-minute chart wants to avoid false signals from short-term volatility. They use the strategy with a 4-hour higher timeframe to filter out noise and only trade in the direction of the dominant trend.
Dynamic Risk Management: A trader enters a long position and enables the trailing stop loss. As the price rises, the trailing stop is automatically adjusted upwards, protecting profits. The trade is exited either when the MACD reverses or when the price hits the trailing stop.
Disclaimer:
The MACD is a lagging indicator and can produce false signals, especially in ranging markets. This strategy is for educational and informational purposes only and should not be considered financial advice. Backtest and optimize the strategy thoroughly, combine it with other technical analysis tools, and always implement sound risk management practices before using it with real capital. Past performance is not indicative of future results. Conduct your own due diligence and consider your risk tolerance before making any trading decisions.
Multi-Timeframe Parabolic SAR Strategy ver 1.0Multi-Timeframe Parabolic SAR Strategy (MTF PSAR) - Enhanced Trend Trading
This strategy leverages the power of the Parabolic SAR (Stop and Reverse) indicator across multiple timeframes to provide robust trend identification, precise entry/exit signals, and dynamic trailing stop management. By combining the insights of both the current chart's timeframe and a user-defined higher timeframe, this strategy aims to improve trading accuracy, reduce risk, and capture more significant market moves.
Key Features:
Dual Timeframe Analysis: Simultaneously analyzes the Parabolic SAR on the current chart and a higher timeframe (e.g., Daily PSAR on a 1-hour chart). This allows you to align your trades with the dominant trend and filter out noise from lower timeframes.
Configurable PSAR: Fine-tune the PSAR calculation with adjustable Start, Increment, and Maximum values to optimize sensitivity for your trading style and the asset's volatility.
Independent Timeframe Control: Choose to display and trade based on either or both the current timeframe PSAR and the higher timeframe PSAR. Focus on the most relevant information for your analysis.
Clear Visual Signals: Distinct colors for the current and higher timeframe PSAR dots provide a clear visual representation of potential entry and exit points.
Multiple Entry Strategies: The strategy offers flexible entry conditions, allowing you to trade based on:
Confirmation: Both current and higher timeframe PSAR signals agree and the current timeframe PSAR has just flipped direction. (Most conservative)
Current Timeframe Only: Trades based solely on the current timeframe PSAR, ideal for when the higher timeframe is less relevant or disabled.
Higher Timeframe Only: Trades based solely on the higher timeframe PSAR.
Dynamic Trailing Stop (PSAR-Based): Implements a trailing stop-loss based on the current timeframe's Parabolic SAR. This helps protect profits by automatically adjusting the stop-loss as the price moves in your favor. Exits are triggered when either the current or HTF PSAR flips.
No Repainting: Uses lookahead=barmerge.lookahead_off in the security() function to ensure that the higher timeframe data is accessed without any data leakage, preventing repainting issues.
Fully Configurable: All parameters (PSAR settings, higher timeframe, visibility, colors) are adjustable through the strategy's settings panel, allowing for extensive customization and optimization.
Suitable for Various Trading Styles: Applicable to swing trading, day trading, and trend-following strategies across various markets (stocks, forex, cryptocurrencies, etc.).
How it Works:
PSAR Calculation: The strategy calculates the standard Parabolic SAR for both the current chart's timeframe and the selected higher timeframe.
Trend Identification: The direction of the PSAR (dots below price = uptrend, dots above price = downtrend) determines the current trend for each timeframe.
Entry Signals: The strategy generates buy/sell signals based on the chosen entry strategy (Confirmation, Current Timeframe Only, or Higher Timeframe Only). The Confirmation strategy offers the highest probability signals by requiring agreement between both timeframes.
Trailing Stop Exit: Once a position is entered, the strategy uses the current timeframe PSAR as a dynamic trailing stop. The stop-loss is automatically adjusted as the PSAR dots move, helping to lock in profits and limit losses. The strategy exits when either the Current or HTF PSAR changes direction.
Backtesting and Optimization: The strategy automatically backtests on the chart's historical data, allowing you to evaluate its performance and optimize the settings for different assets and timeframes.
Example Use Cases:
Trend Confirmation: A trader on a 1-hour chart observes a bullish PSAR flip on the current timeframe. They check the MTF PSAR strategy and see that the Daily PSAR is also bullish, confirming the strength of the uptrend and providing a high-probability long entry signal.
Filtering Noise: A trader on a 5-minute chart wants to avoid whipsaws caused by short-term price fluctuations. They use the strategy with a 1-hour higher timeframe to filter out noise and only trade in the direction of the dominant trend.
Dynamic Risk Management: A trader enters a long position and uses the current timeframe PSAR as a trailing stop. As the price rises, the PSAR dots move upwards, automatically raising the stop-loss and protecting profits. The trade is exited when the current (or HTF) PSAR flips to bearish.
Disclaimer:
The Parabolic SAR is a lagging indicator and can produce false signals, particularly in ranging or choppy markets. This strategy is intended for educational and informational purposes only and should not be considered financial advice. It is essential to backtest and optimize the strategy thoroughly, use it in conjunction with other technical analysis tools, and implement sound risk management practices before using it with real capital. Past performance is not indicative of future results. Always conduct your own due diligence and consider your risk tolerance before making any trading decisions.
Rally Base Drop SND Pivots Strategy [LuxAlgo X PineIndicators]This strategy is based on the Rally Base Drop (RBD) SND Pivots indicator developed by LuxAlgo. Full credit for the concept and original indicator goes to LuxAlgo.
The Rally Base Drop SND Pivots Strategy is a non-repainting supply and demand trading system that detects pivot points based on Rally, Base, and Drop (RBD) candles. This strategy automatically identifies key market structure levels, allowing traders to:
Identify pivot-based supply and demand (SND) zones.
Use fixed criteria for trend continuation or reversals.
Filter out market noise by requiring structured price formations.
Enter trades based on breakouts of key SND pivot levels.
How the Rally Base Drop SND Pivots Strategy Works
1. Pivot Point Detection Using RBD Candles
The strategy follows a rigid market structure methodology, where pivots are detected only when:
A Rally (R) consists of multiple consecutive bullish candles.
A Drop (D) consists of multiple consecutive bearish candles.
A Base (B) is identified as a transition between Rallies and Drops, acting as a pivot point.
The pivot level is confirmed when the formation is complete.
Unlike traditional fractal-based pivots, RBD Pivots enforce stricter structural rules, ensuring that each pivot:
Has a well-defined bullish or bearish price movement.
Reduces false signals caused by single-bar fluctuations.
Provides clear supply and demand levels based on structured price movements.
These pivot levels are drawn on the chart using color-coded boxes:
Green zones represent bullish pivot levels (Rally Base formations).
Red zones represent bearish pivot levels (Drop Base formations).
Once a pivot is confirmed, the high or low of the base candle is used as the reference level for future trades.
2. Trade Entry Conditions
The strategy allows traders to select from three trading modes:
Long Only – Only takes long trades when bullish pivot breakouts occur.
Short Only – Only takes short trades when bearish pivot breakouts occur.
Long & Short – Trades in both directions based on pivot breakouts.
Trade entry signals are triggered when price breaks through a confirmed pivot level:
Long Entry:
A bullish pivot level is formed.
Price breaks above the bullish pivot level.
The strategy enters a long position.
Short Entry:
A bearish pivot level is formed.
Price breaks below the bearish pivot level.
The strategy enters a short position.
The strategy includes an optional mode to reverse long and short conditions, allowing traders to experiment with contrarian entries.
3. Exit Conditions Using ATR-Based Risk Management
This strategy uses the Average True Range (ATR) to calculate dynamic stop-loss and take-profit levels:
Stop-Loss (SL): Placed 1 ATR below entry for long trades and 1 ATR above entry for short trades.
Take-Profit (TP): Set using a Risk-Reward Ratio (RR) multiplier (default = 6x ATR).
When a trade is opened:
The entry price is recorded.
ATR is calculated at the time of entry to determine stop-loss and take-profit levels.
Trades exit automatically when either SL or TP is reached.
If reverse conditions mode is enabled, stop-loss and take-profit placements are flipped.
Visualization & Dynamic Support/Resistance Levels
1. Pivot Boxes for Market Structure
Each pivot is marked with a colored box:
Green boxes indicate bullish demand zones.
Red boxes indicate bearish supply zones.
These boxes remain on the chart to act as dynamic support and resistance levels, helping traders identify key price reaction zones.
2. Horizontal Entry, Stop-Loss, and Take-Profit Lines
When a trade is active, the strategy plots:
White line → Entry price.
Red line → Stop-loss level.
Green line → Take-profit level.
Labels display the exact entry, SL, and TP values, updating dynamically as price moves.
Customization Options
This strategy offers multiple adjustable settings to optimize performance for different market conditions:
Trade Mode Selection → Choose between Long Only, Short Only, or Long & Short.
Pivot Length → Defines the number of required Rally & Drop candles for a pivot.
ATR Exit Multiplier → Adjusts stop-loss distance based on ATR.
Risk-Reward Ratio (RR) → Modifies take-profit level relative to risk.
Historical Lookback → Limits how far back pivot zones are displayed.
Color Settings → Customize pivot box colors for bullish and bearish setups.
Considerations & Limitations
Pivot Breakouts Do Not Guarantee Reversals. Some pivot breaks may lead to continuation moves instead of trend reversals.
Not Optimized for Low Volatility Conditions. This strategy works best in trending markets with strong momentum.
ATR-Based Stop-Loss & Take-Profit May Require Optimization. Different assets may require different ATR multipliers and RR settings.
Market Noise May Still Influence Pivots. While this method filters some noise, fake breakouts can still occur.
Conclusion
The Rally Base Drop SND Pivots Strategy is a non-repainting supply and demand system that combines:
Pivot-based market structure analysis (using Rally, Base, and Drop candles).
Breakout-based trade entries at confirmed SND levels.
ATR-based dynamic risk management for stop-loss and take-profit calculation.
This strategy helps traders:
Identify high-probability supply and demand levels.
Trade based on structured market pivots.
Use a systematic approach to price action analysis.
Automatically manage risk with ATR-based exits.
The strict pivot detection rules and built-in breakout validation make this strategy ideal for traders looking to:
Trade based on market structure.
Use defined support & resistance levels.
Reduce noise compared to traditional fractals.
Implement a structured supply & demand trading model.
This strategy is fully customizable, allowing traders to adjust parameters to fit their market and trading style.
Full credit for the original concept and indicator goes to LuxAlgo.
IU BBB(Big Body Bar) StrategyDESCRIPTION
The IU BBB (Big Body Bar) Strategy is a price action-based trading strategy that identifies high-momentum candles with significantly larger body sizes compared to the average. It enters trades when a strong bullish or bearish move occurs and manages risk using an ATR-based trailing stop-loss system.
USER INPUTS:
- Big Body Threshold – Defines how many times larger the candle body should be compared to the average body ( default is 4 ).
- ATR Length – The period for the Average True Range (ATR) used in the trailing stop-loss calculation ( default is 14 ).
- ATR Factor – Multiplier for ATR to determine the trailing stop distance ( default is 2 ).
LONG CONDITION:
- The current candle’s body is greater than the average body size multiplied by the Big Body Threshold.
- The closing price is higher than the opening price (bullish candle).
SHORT CONDITION:
- The current candle’s body is greater than the average body size multiplied by the Big Body Threshold.
- The closing price is lower than the opening price (bearish candle).
LONG EXIT:
- ATR-based trailing stop-loss dynamically adjusts, locking in profits as the price moves higher.
SHORT EXIT:
- ATR-based trailing stop-loss dynamically adjusts, securing profits as the price moves lower.
WHY IT IS UNIQUE:
- Unlike traditional momentum strategies, this system adapts to volatility by filtering trades based on relative candle size.
- It incorporates an ATR-based trailing stop-loss, ensuring risk management and profit protection.
- The strategy avoids choppy market conditions by only trading when significant momentum is present.
HOW USERS CAN BENEFIT FROM IT:
- Catch Strong Price Moves – The strategy helps traders enter trades when the market shows decisive momentum.
- Effective Risk Management – The ATR-based trailing stop ensures that winning trades remain profitable.
- Works Across Markets – Can be applied to stocks, forex, crypto, and indices with proper optimization.
- Fully Customizable – Users can adjust sensitivity settings to match their trading style and time frame.
Liquidity Sweep Filter Strategy [AlgoAlpha X PineIndicators]This strategy is based on the Liquidity Sweep Filter developed by AlgoAlpha. Full credit for the concept and original indicator goes to AlgoAlpha.
The Liquidity Sweep Filter Strategy is a non-repainting trading system designed to identify liquidity sweeps, trend shifts, and high-impact price levels. It incorporates volume-based liquidation analysis, trend confirmation, and dynamic support/resistance detection to optimize trade entries and exits.
This strategy helps traders:
Detect liquidity sweeps where major market participants trigger stop losses and liquidations.
Identify trend shifts using a volatility-based moving average system.
Analyze volume distribution with a built-in volume profile visualization.
Filter noise by differentiating between major and minor liquidity sweeps.
How the Liquidity Sweep Filter Strategy Works
1. Trend Detection Using Volatility-Based Filtering
The strategy applies a volatility-adjusted moving average system to determine trend direction:
A central trend line is calculated using an EMA smoothed over a user-defined length.
Upper and lower deviation bands are created based on the average price deviation over multiple periods.
If price closes above the upper band, the strategy signals an uptrend.
If price closes below the lower band, the strategy signals a downtrend.
This approach ensures that trend shifts are confirmed only when price significantly moves beyond normal market fluctuations.
2. Liquidity Sweep Detection
Liquidity sweeps occur when price temporarily breaks key levels, triggering stop-loss liquidations or margin call events. The strategy tracks swing highs and lows, marking potential liquidity grabs:
Bearish Liquidity Sweeps – Price breaks a recent high, then reverses downward.
Bullish Liquidity Sweeps – Price breaks a recent low, then reverses upward.
Volume Integration – The strategy analyzes trading volume at each sweep to differentiate between major and minor sweeps.
Key levels where liquidity sweeps occur are plotted as color-coded horizontal lines:
Red lines indicate bearish liquidity sweeps.
Green lines indicate bullish liquidity sweeps.
Labels are displayed at each sweep, showing the volume of liquidated positions at that level.
3. Volume Profile Analysis
The strategy includes an optional volume profile visualization, displaying how trading volume is distributed across different price levels.
Features of the volume profile:
Point of Control (POC) – The price level with the highest traded volume is marked as a key area of interest.
Bounding Box – The profile is enclosed within a transparent box, helping traders visualize the price range of high trading activity.
Customizable Resolution & Scale – Traders can adjust the granularity of the profile to match their preferred time frame.
The volume profile helps identify zones of strong support and resistance, making it easier to anticipate price reactions at key levels.
Trade Entry & Exit Conditions
The strategy allows traders to configure trade direction:
Long Only – Only takes long trades.
Short Only – Only takes short trades.
Long & Short – Trades in both directions.
Entry Conditions
Long Entry:
A bullish trend shift is confirmed.
A bullish liquidity sweep occurs (price sweeps below a key level and reverses).
The trade direction setting allows long trades.
Short Entry:
A bearish trend shift is confirmed.
A bearish liquidity sweep occurs (price sweeps above a key level and reverses).
The trade direction setting allows short trades.
Exit Conditions
Closing a Long Position:
A bearish trend shift occurs.
The position is liquidated at a predefined liquidity sweep level.
Closing a Short Position:
A bullish trend shift occurs.
The position is liquidated at a predefined liquidity sweep level.
Customization Options
The strategy offers multiple adjustable settings:
Trade Mode: Choose between Long Only, Short Only, or Long & Short.
Trend Calculation Length & Multiplier: Adjust how trend signals are calculated.
Liquidity Sweep Sensitivity: Customize how aggressively the strategy identifies sweeps.
Volume Profile Display: Enable or disable the volume profile visualization.
Bounding Box & Scaling: Control the size and position of the volume profile.
Color Customization: Adjust colors for bullish and bearish signals.
Considerations & Limitations
Liquidity sweeps do not always result in reversals. Some price sweeps may continue in the same direction.
Works best in volatile markets. In low-volatility environments, liquidity sweeps may be less reliable.
Trend confirmation adds a slight delay. The strategy ensures valid signals, but this may result in slightly later entries.
Large volume imbalances may distort the volume profile. Adjusting the scale settings can help improve visualization.
Conclusion
The Liquidity Sweep Filter Strategy is a volume-integrated trading system that combines liquidity sweeps, trend analysis, and volume profile data to optimize trade execution.
By identifying key price levels where liquidations occur, this strategy provides valuable insight into market behavior, helping traders make better-informed trading decisions.
Key use cases for this strategy:
Liquidity-Based Trading – Capturing moves triggered by stop hunts and liquidations.
Volume Analysis – Using volume profile data to confirm high-activity price zones.
Trend Following – Entering trades based on confirmed trend shifts.
Support & Resistance Trading – Using liquidity sweep levels as dynamic price zones.
This strategy is fully customizable, allowing traders to adapt it to different market conditions, timeframes, and risk preferences.
Full credit for the original concept and indicator goes to AlgoAlpha.
Market Trend Levels Non-Repainting [BigBeluga X PineIndicators]This strategy is based on the Market Trend Levels Detector developed by BigBeluga. Full credit for the concept and original indicator goes to BigBeluga.
The Market Trend Levels Detector Strategy is a non-repainting trend-following strategy that identifies market trend shifts using two Exponential Moving Averages (EMA). It also detects key price levels and allows traders to apply multiple filters to refine trade entries and exits.
This strategy is designed for trend trading and enables traders to:
Identify trend direction based on EMA crossovers.
Detect significant market levels using labeled trend lines.
Use multiple filter conditions to improve trade accuracy.
Avoid false signals through non-repainting calculations.
How the Market Trend Levels Detector Strategy Works
1. Core Trend Detection Using EMA Crossovers
The strategy detects trend shifts using two EMAs:
Fast EMA (default: 12 periods) – Reacts quickly to price movements.
Slow EMA (default: 25 periods) – Provides a smoother trend confirmation.
A bullish crossover (Fast EMA crosses above Slow EMA) signals an uptrend , while a bearish crossover (Fast EMA crosses below Slow EMA) signals a downtrend .
2. Market Level Detection & Visualization
Each time an EMA crossover occurs, a trend level line is drawn:
Bullish crossover → A green line is drawn at the low of the crossover candle.
Bearish crossover → A purple line is drawn at the high of the crossover candle.
Lines can be extended to act as support and resistance zones for future price action.
Additionally, a small label (●) appears at each crossover to mark the event on the chart.
3. Trade Entry & Exit Conditions
The strategy allows users to choose between three trading modes:
Long Only – Only enters long trades.
Short Only – Only enters short trades.
Long & Short – Trades in both directions.
Entry Conditions
Long Entry:
A bullish EMA crossover occurs.
The trade direction setting allows long trades.
Filter conditions (if enabled) confirm a valid long signal.
Short Entry:
A bearish EMA crossover occurs.
The trade direction setting allows short trades.
Filter conditions (if enabled) confirm a valid short signal.
Exit Conditions
Long Exit:
A bearish EMA crossover occurs.
Exit filters (if enabled) indicate an invalid long position.
Short Exit:
A bullish EMA crossover occurs.
Exit filters (if enabled) indicate an invalid short position.
Additional Trade Filters
To improve trade accuracy, the strategy allows traders to apply up to 7 additional filters:
RSI Filter: Only trades when RSI confirms a valid trend.
MACD Filter: Ensures MACD histogram supports the trade direction.
Stochastic Filter: Requires %K line to be above/below threshold values.
Bollinger Bands Filter: Confirms price position relative to the middle BB line.
ADX Filter: Ensures the trend strength is above a set threshold.
CCI Filter: Requires CCI to indicate momentum in the right direction.
Williams %R Filter: Ensures price momentum supports the trade.
Filters can be enabled or disabled individually based on trader preference.
Dynamic Level Extension Feature
The strategy provides an optional feature to extend trend lines until price interacts with them again:
Bullish support lines extend until price revisits them.
Bearish resistance lines extend until price revisits them.
If price breaks a line, the line turns into a dotted style , indicating it has been breached.
This helps traders identify key levels where trend shifts previously occurred, providing useful support and resistance insights.
Customization Options
The strategy includes several adjustable settings :
Trade Direction: Choose between Long Only, Short Only, or Long & Short.
Trend Lengths: Adjust the Fast & Slow EMA lengths.
Market Level Extension: Decide whether to extend support/resistance lines.
Filters for Trade Confirmation: Enable/disable individual filters.
Color Settings: Customize line colors for bullish and bearish trend shifts.
Maximum Displayed Lines: Limit the number of drawn support/resistance lines.
Considerations & Limitations
Trend Lag: As with any EMA-based strategy, signals may be slightly delayed compared to price action.
Sideways Markets: This strategy works best in trending conditions; frequent crossovers in sideways markets can produce false signals.
Filter Usage: Enabling multiple filters may reduce trade frequency, but can also improve trade quality.
Line Overlap: If many crossovers occur in a short period, the chart may become cluttered with multiple trend levels. Adjusting the "Display Last" setting can help.
Conclusion
The Market Trend Levels Detector Strategy is a non-repainting trend-following system that combines EMA crossovers, market level detection, and customizable filters to improve trade accuracy.
By identifying trend shifts and key price levels, this strategy can be used for:
Trend Confirmation – Using EMA crossovers and filters to confirm trend direction.
Support & Resistance Trading – Identifying dynamic levels where price reacts.
Momentum-Based Trading – Combining EMA crossovers with additional momentum filters.
This strategy is fully customizable and can be adapted to different trading styles, timeframes, and market conditions.
Full credit for the original concept and indicator goes to BigBeluga.
RSI, Volume, MACD, EMA ComboRSI + Volume + MACD + EMA Trading System
This script combines four powerful indicators—Relative Strength Index (RSI), Volume, Moving Average Convergence Divergence (MACD), and Exponential Moving Average (EMA)—to create a comprehensive trading strategy for better trend confirmation and trade entries.
How It Works
RSI (Relative Strength Index)
Helps identify overbought and oversold conditions.
Used to confirm momentum strength before taking a trade.
Volume
Confirms the strength of price movements.
Avoids false signals by ensuring there is sufficient trading activity.
MACD (Moving Average Convergence Divergence)
Confirms trend direction and momentum shifts.
Provides buy/sell signals through MACD line crossovers.
EMA (Exponential Moving Average)
Acts as a dynamic support and resistance level.
Helps filter out trades that go against the overall trend.
Trading Logic
Buy Signal:
RSI is above 50 (bullish momentum).
MACD shows a bullish crossover.
The price is above the EMA (trend confirmation).
Volume is increasing (strong participation).
Sell Signal:
RSI is below 50 (bearish momentum).
MACD shows a bearish crossover.
The price is below the EMA (downtrend confirmation).
Volume is increasing (intense selling pressure).
Backtesting & Risk Management
The strategy is optimized for scalping on the 1-minute timeframe (adjustable for other timeframes).
Default settings use realistic commission and slippage to simulate actual trading conditions.
A stop-loss and take-profit system is integrated to manage risk effectively.
This script is designed to help traders filter out false signals, improve trend confirmation, and increase trade accuracy by combining multiple indicators in a structured way.
Maxima MAX1📌 Overview:
This strategy is a Simple Moving Average (SMA) Crossover system with an optional Relative Strength Index (RSI) filter for better trade confirmation. It allows traders to customize key parameters and backtest results within a specific date range.
📊 How It Works:
✅ Entry Conditions:
The closing price must be above both the Fast SMA and Slow SMA.
(Optional) RSI must be above a threshold (default: 50) for additional confirmation.
❌ Exit Condition:
The closing price drops below the Fast SMA, signaling an exit.
🔧 Customizable Inputs:
SMA Lengths: Adjust both Fast and Slow SMA values.
RSI Filter: Enable/disable RSI confirmation with a custom length & threshold.
Backtest Date Range: Choose a start and end date for testing historical performance.
🚀 Why Use This Strategy?
✔ Ideal for trend-following traders looking for momentum-based entries.
✔ Provides an additional RSI filter to reduce false signals.
✔ Helps traders refine their strategy by testing different parameters.
📢 How to Use:
1️⃣ Customize the SMA lengths, RSI settings, and date range.
2️⃣ Enable/Disable the RSI filter as needed.
3️⃣ Analyze historical performance and optimize for different markets.
⚠ Disclaimer:
This strategy is for educational purposes only. Always backtest thoroughly before using it in live trading.
Gradient Trend Filter STRATEGY [ChartPrime/PineIndicators]This strategy is based on the Gradient Trend Filter indicator developed by ChartPrime. Full credit for the concept and indicator goes to ChartPrime.
The Gradient Trend Filter Strategy is designed to execute trades based on the trend analysis and filtering system provided by the Gradient Trend Filter indicator. It integrates a noise-filtered trend detection system with a color-gradient visualization, helping traders identify trend strength, momentum shifts, and potential reversals.
How the Gradient Trend Filter Strategy Works
1. Noise Filtering for Smoother Trends
To reduce false signals caused by market noise, the strategy applies a three-stage smoothing function to the source price. This function ensures that trend shifts are detected more accurately, minimizing unnecessary trade entries and exits.
The filter is based on an Exponential Moving Average (EMA)-style smoothing technique.
It processes price data in three successive passes, refining the trend signal before generating trade entries.
This filtering technique helps eliminate minor fluctuations and highlights the true underlying trend.
2. Multi-Layered Trend Bands & Color-Based Trend Visualization
The Gradient Trend Filter constructs multiple trend bands around the filtered trend line, acting as dynamic support and resistance zones.
The mid-line changes color based on the trend direction:
Green for uptrends
Red for downtrends
A gradient cloud is formed around the trend line, dynamically shifting colors to provide early warning signals of trend reversals.
The outer bands function as potential support and resistance, helping traders determine stop-loss and take-profit zones.
Visualization elements used in this strategy:
Trend Filter Line → Changes color between green (bullish) and red (bearish).
Trend Cloud → Dynamically adjusts color based on trend strength.
Orange Markers → Appear when a trend shift is confirmed.
Trade Entry & Exit Conditions
This strategy automatically enters trades based on confirmed trend shifts detected by the Gradient Trend Filter.
1. Trade Entry Rules
Long Entry:
A bullish trend shift is detected (trend direction changes to green).
The filtered trend value crosses above zero, confirming upward momentum.
The strategy enters a long position.
Short Entry:
A bearish trend shift is detected (trend direction changes to red).
The filtered trend value crosses below zero, confirming downward momentum.
The strategy enters a short position.
2. Trade Exit Rules
Closing a Long Position:
If a bearish trend shift occurs, the strategy closes the long position.
Closing a Short Position:
If a bullish trend shift occurs, the strategy closes the short position.
The trend shift markers (orange diamonds) act as a confirmation signal, reinforcing the validity of trade entries and exits.
Customization Options
This strategy allows traders to adjust key parameters for flexibility in different market conditions:
Trade Direction: Choose between Long Only, Short Only, or Long & Short .
Trend Length: Modify the length of the smoothing function to adapt to different timeframes.
Line Width & Colors: Customize the visual appearance of trend lines and cloud colors.
Performance Table: Enable or disable the equity performance table that tracks historical trade results.
Performance Tracking & Reporting
A built-in performance table is included to monitor monthly and yearly trading performance.
The table calculates monthly percentage returns, displaying them in a structured format.
Color-coded values highlight profitable months (blue) and losing months (red).
Tracks yearly cumulative performance to assess long-term strategy effectiveness.
Traders can use this feature to evaluate historical performance trends and optimize their strategy settings accordingly.
How to Use This Strategy
Identify Trend Strength & Reversals:
Use the trend line and cloud color changes to assess trend strength and detect potential reversals.
Monitor Momentum Shifts:
Pay attention to gradient cloud color shifts, as they often appear before the trend line changes color.
This can indicate early momentum weakening or strengthening.
Act on Trend Shift Markers:
Use orange diamonds as confirmation signals for trend shifts and trade entry/exit points.
Utilize Cloud Bands as Support/Resistance:
The outer bands of the cloud serve as dynamic support and resistance, helping with stop-loss and take-profit placement.
Considerations & Limitations
Trend Lag: Since the strategy applies a smoothing function, entries may be slightly delayed compared to raw price action.
Volatile Market Conditions: In high-volatility markets, trend shifts may occur more frequently, leading to higher trade frequency.
Optimized for Trend Trading: This strategy is best suited for trending markets and may produce false signals in sideways (ranging) conditions.
Conclusion
The Gradient Trend Filter Strategy is a trend-following system based on the Gradient Trend Filter indicator by ChartPrime. It integrates noise filtering, trend visualization, and gradient-based color shifts to help traders identify strong market trends and potential reversals.
By combining trend filtering with a multi-layered cloud system, the strategy provides clear trade signals while minimizing noise. Traders can use this strategy for long-term trend trading, momentum shifts, and support/resistance-based decision-making.
This strategy is a fully automated system that allows traders to execute long, short, or both directions, with customizable settings to adapt to different market conditions.
Credit for the original concept and indicator goes to ChartPrime.
Simple APF Strategy Backtesting [The Quant Science]Simple backtesting strategy for the quantitative indicator Autocorrelation Price Forecasting. This is a Buy & Sell strategy that operates exclusively with long orders. It opens long positions and generates profit based on the future price forecast provided by the indicator. It's particularly suitable for trend-following trading strategies or directional markets with an established trend.
Main functions
1. Cycle Detection: Utilize autocorrelation to identify repetitive market behaviors and cycles.
2. Forecasting for Backtesting: Simulate trades and assess the profitability of various strategies based on future price predictions.
Logic
The strategy works as follow:
Entry Condition: Go long if the hypothetical gain exceeds the threshold gain (configurable by user interface).
Position Management: Sets a take-profit level based on the future price.
Position Sizing: Automatically calculates the order size as a percentage of the equity.
No Stop-Loss: this strategy doesn't includes any stop loss.
Example Use Case
A trader analyzes a dayli period using 7 historical bars for autocorrelation.
Sets a threshold gain of 20 points using a 5% of the equity for each trade.
Evaluates the effectiveness of a long-only strategy in this period to assess its profitability and risk-adjusted performance.
User Interface
Length: Set the length of the data used in the autocorrelation price forecasting model.
Thresold Gain: Minimum value to be considered for opening trades based on future price forecast.
Order Size: percentage size of the equity used for each single trade.
Strategy Limit
This strategy does not use a stop loss. If the price continues to drop and the future price forecast is incorrect, the trader may incur a loss or have their capital locked in the losing trade.
Disclaimer!
This is a simple template. Use the code as a starting point rather than a finished solution. The script does not include important parameters, so use it solely for educational purposes or as a boilerplate.
GRIM309 CallPut StrategyThis draws the 5, 10, 20, 50 and 200 EMA lines.
It creates suggestions of when to open and close call positions (GREEN) as well as open and close put positions (RED) it has a early warning system, and in case there is a spike between the last 5 positions it will signal close the position, this is optional (isWarning)
There is also a cooldown period, when set at 2 it means wait a position before initiating another, I did not like the position closing and then opening directly afterwards, you could cooldown for 3 and skip 2 candles or more etc. Set to 1 then it will open/close without cooling down.
Additionally the very bottom shows wether it is in an uptrend or downtrend currently (Yellow triangle)
Pure Price Action StrategyTest Price Action Strategy from Lux Pure Price Action Indicator
How This Strategy Works:
Recognizing Trends & Reversals:
Break of Structure (BOS): A bullish signal indicating a trend continuation.
Market Structure Shift (MSS): A bearish signal indicating a potential reversal.
Analyzing Market Momentum:
It uses recent highs and lows to confirm whether the price is making higher highs (bullish) or lower lows (bearish).
Customizing Visualization Styles:
Buy signals (BUY Signal) are plotted as green upward arrows.
Sell signals (SELL Signal) are plotted as red downward arrows.
Stop-Loss (SL) & Take-Profit (TP): Configurable via percentage input.
IU Gap Fill StrategyThe IU Gap Fill Strategy is designed to capitalize on price gaps that occur between trading sessions. It identifies gaps based on a user-defined percentage threshold and executes trades when the price fills the gap within a day. This strategy is ideal for traders looking to take advantage of market inefficiencies that arise due to overnight or session-based price movements. An ATR-based trailing stop-loss is incorporated to dynamically manage risk and lock in profits.
USER INPUTS
Percentage Difference for Valid Gap - Defines the minimum gap size in percentage terms for a valid trade setup. ( Default is 0.2 )
ATR Length - Sets the lookback period for the Average True Range (ATR) calculation. (default is 14 )
ATR Factor - Determines the multiplier for the trailing stop-loss, helping in risk management. ( Default is 2.00 )
LONG CONDITION
A gap-up occurs, meaning the current session opens above the previous session’s close.
The price initially dips below the previous session's close but then recovers and closes above it.
The gap meets the valid percentage threshold set by the user.
The bar is not the first or last bar of the session to avoid false signals.
SHORT CONDITION
A gap-down occurs, meaning the current session opens below the previous session’s close.
The price initially moves above the previous session’s close but then closes below it.
The gap meets the valid percentage threshold set by the user.
The bar is not the first or last bar of the session to avoid false signals.
LONG EXIT
An ATR-based trailing stop-loss is set below the entry price and dynamically adjusts upwards as the price moves in favor of the trade.
The position is closed when the trailing stop-loss is hit.
SHORT EXIT
An ATR-based trailing stop-loss is set above the entry price and dynamically adjusts downwards as the price moves in favor of the trade.
The position is closed when the trailing stop-loss is hit.
WHY IT IS UNIQUE
Precision in Identifying Gaps - The strategy focuses on real price gaps rather than minor fluctuations.
Dynamic Risk Management - Uses ATR-based trailing stop-loss to secure profits while allowing the trade to run.
Versatility - Works on stocks, indices, forex, and any market that experiences session-based gaps.
Optimized Entry Conditions - Ensures entries are taken only when the price attempts to fill the gap, reducing false signals.
HOW USERS CAN BENEFIT FROM IT
Enhance Trade Timing - Captures high-probability trade setups based on market inefficiencies caused by gaps.
Minimize Risk - The ATR trailing stop-loss helps protect gains and limit losses.
Works in Different Market Conditions - Whether markets are trending or consolidating, the strategy adapts to potential gap fill opportunities.
Fully Customizable - Users can fine-tune gap percentage, ATR settings, and stop-loss parameters to match their trading style.
Fibonacci-Only Strategy V2Fibonacci-Only Strategy V2
This strategy combines Fibonacci retracement levels with pattern recognition and statistical confirmation to identify high-probability trading opportunities across multiple timeframes.
Core Strategy Components:
Fibonacci Levels: Uses key Fibonacci retracement levels (19% and 82.56%) to identify potential reversal zones
Pattern Recognition: Analyzes recent price patterns to find similar historical formations
Statistical Confirmation: Incorporates statistical analysis to validate entry signals
Risk Management: Includes customizable stop loss (fixed or ATR-based) and trailing stop features
Entry Signals:
Long entries occur when price touches or breaks the 19% Fibonacci level with bullish confirmation
Short entries require Fibonacci level interaction, bearish confirmation, and statistical validation
All signals are visually displayed with color-coded markers and dashboard
Trading Method:
When a triangle signal appears, open a position on the next candle
Alternatively, after seeing a signal on a higher timeframe, you can switch to a lower timeframe to find a more precise entry point
Entry signals are clearly marked with visual indicators for easy identification
Risk Management Features:
Adjustable stop loss (percentage-based or ATR-based)
Optional trailing stops for protecting profits
Multiple take-profit levels for strategic position exit
Customization Options:
Timeframe selection (1m to Daily)
Pattern length and similarity threshold adjustment
Statistical period and weight configuration
Risk parameters including stop loss and trailing stop settings
This strategy is particularly well-suited for cryptocurrency markets due to their tendency to respect Fibonacci levels and technical patterns. Crypto's volatility is effectively managed through the customizable stop-loss and trailing-stop mechanisms, making it an ideal tool for traders in digital asset markets.
For optimal performance, this strategy works best on higher timeframes (30m, 1h and above) and is not recommended for low timeframe scalping. The Fibonacci pattern recognition requires sufficient price movement to generate reliable signals, which is more consistently available in medium to higher timeframes.
Users should avoid trading during sideways market conditions, as the strategy performs best during trending markets with clear directional movement. The statistical confirmation component helps filter out some sideways market signals, but it's recommended to manually avoid ranging markets for best results.
Vortex Sniper XVortex Sniper X – Trend-Following Strategy
🔹 Purpose
Vortex Sniper X is a trend-following strategy designed to identify strong market trends and enter trades in the direction of momentum. By combining multiple technical indicators, this strategy helps traders filter out false signals and only take trades with high confidence.
🔹 Indicator Breakdown
1️⃣ Vortex Indicator (Trend Direction & Strength)
Identifies the trend direction based on the relationship between VI+ and VI-.
Bullish Signal: VI+ crosses above VI-.
Bearish Signal: VI- crosses above VI+.
The wider the gap between VI+ and VI-, the stronger the trend’s momentum.
2️⃣ Relative Momentum Index (RMI – Momentum Confirmation)
Confirms whether price momentum supports the trend direction.
Long confirmation: RMI is rising and above the threshold.
Short confirmation: RMI is falling and below the threshold.
Filters out weak trends that lack sufficient momentum.
3️⃣ McGinley Dynamic (Trend Baseline Filter)
A dynamic moving average that adjusts to market volatility for smoother trend identification.
Long trades only if price is above the McGinley Dynamic.
Short trades only if price is below the McGinley Dynamic.
Prevents trading in choppy or sideways markets.
🔹 Strategy Logic & Trade Execution
✅ Entry Conditions
A trade is executed only when all three indicators confirm alignment:
Trend Confirmation: McGinley Dynamic defines the trend direction.
Vortex Signal: VI+ > VI- (bullish) or VI- > VI+ (bearish).
Momentum Confirmation: RMI must agree with the trend direction.
✅ Exit Conditions
Trend Reversal: If the opposite trade condition is met, the current position is closed.
Trend Weakness: If the trend weakens (detected via trend shifts), the position is exited.
🔹 Take-Profit System
The strategy follows a multi-stage profit-taking approach to secure gains:
Take Profit 1 (TP1): 50% of the position is closed at the first target.
Take Profit 2 (TP2): The remaining 50% is closed at the second target.
🔹 Risk Management (Important Notice)
🔴 This strategy does NOT include a stop-loss by default.
Trades rely on trend reversals or early exits to close positions.
Users should manually configure a stop-loss if risk management is required.
💡 Suggested risk management options:
Set a stop-loss at a recent swing high/low or an important support/resistance level.
Adjust position sizing according to personal risk tolerance.
🔹 Default Backtest Settings
To ensure realistic backtesting, the following settings are used:
Initial Capital: $1,000
Position Sizing: 10% of equity per trade
Commission: 0.05%
Slippage: 1 pip
Date Range: Can be adjusted for different market conditions
🔹 How to Use This Strategy
📌 To get the best results, follow these steps:
Apply the strategy to any TradingView chart.
Backtest before using it in live conditions.
Adjust the indicator settings as needed.
Set a manual stop-loss if required for your trading style.
Use this strategy in trending markets—avoid sideways conditions.
⚠️ Disclaimer
🚨 Trading involves risk. This strategy is for educational purposes only and should not be considered financial advice.
Past performance does not guarantee future results.
Users are responsible for managing their own risk.
Always backtest strategies before applying them in live trading.
🚀 Final Notes
Vortex Sniper X provides a structured approach to trend-following trading, ensuring:
✔ Multi-indicator confirmation for higher accuracy.
✔ Momentum-backed entries to avoid weak trends.
✔ Take-profit targets to secure gains.
✔ No repainting—historical performance aligns with live execution.
This strategy does not include a stop-loss, so users must apply their own risk management methods.
Optimized Auto-Detect Strategy (MA, ATR, Trend, RSI) Overview
This script is designed for traders seeking a trend-following approach that adapts to different currency pairs (e.g., EURUSD, NZDUSD, XAUUSD). It combines moving average crossovers with ATR-based stops, optional trend filters, and RSI filters to help reduce false signals and capture larger moves.
Key Features
1. Auto-Detect Logic
- Automatically applies different moving average periods and ATR multipliers based on the symbol (e.g., XAUUSD, EURUSD, NZDUSD).
- Makes it easy to switch charts without manually adjusting parameters each time.
2. ATR-Based Stop
- Uses the Average True Range (ATR) to set dynamic stop-loss levels, adapting to each market’s volatility.
3. Optional Trend Filter
- Filters out trades if price is below the 200 SMA for longs (and above for shorts), aiming to avoid choppy, range-bound markets.
4. Optional RSI Filter
- Only enters long if RSI is above a certain threshold (e.g., 50), or short if below another threshold, reducing entries during low momentum.
5. Partial Exit & Trailing/Break-Even
- Locks in partial profit at a chosen R:R (e.g., 1:1), then either trails the remaining position or moves the stop to break-even.
- This helps capture additional gains if the trend extends beyond the initial target.
6. Customizable Parameters
- You can toggle on/off each filter (Trend, RSI) and adjust the ATR multiplier, MA periods, partial exit levels, etc.
- Allows easy optimization for different pairs or timeframes.
How to Use
1. Add to Chart: Click “Add to chart” in the Pine Editor.
2. Configure Inputs: In the script’s settings, toggle the filters you want (Trend Filter, RSI Filter, etc.) and set your desired ATR multiplier, RSI thresholds, partial exit ratio, etc.
3. Strategy Tester: Check the performance under the “Strategy Tester” tab. Adjust parameters if needed.
4. Realistic Settings: Consider adding spreads/commissions in the “Properties” tab for more accurate backtests, especially if you trade pairs with higher spreads (like XAUUSD).
Disclaimer
No Guarantee: This script does not guarantee profits. Markets are unpredictable, and results may vary with market conditions.
For Educational Purposes: Always do your own research and forward testing. Past performance does not indicate future results.
Long-Only MTF EMA Cloud StrategyOverview:
The Long-Only EMA Cloud Strategy is a powerful trend-following strategy designed to help traders identify and capitalize on bullish market conditions. By utilizing an Exponential Moving Average (EMA) Cloud, this strategy provides clear and reliable signals for entering long positions when the market trend is favorable. The EMA cloud acts as a visual representation of the trend, making it easier for traders to make informed decisions. This strategy is ideal for traders who prefer to trade in the direction of the trend and focus exclusively on long positions.
Key Features:
EMA Cloud:
The strategy uses two EMAs (short and long) to create a dynamic cloud.
The cloud is bullish when the short EMA is above the long EMA, indicating a strong upward trend.
The cloud is bearish when the short EMA is below the long EMA, indicating a downward trend or consolidation.
Long Entry Signals:
A long position is opened when the EMA cloud turns bullish, which occurs when the short EMA crosses above the long EMA.
This crossover signals a potential shift in market sentiment from bearish to bullish, providing an opportunity to enter a long trade.
Adjustable Timeframe:
The EMA cloud can be calculated on the same timeframe as the chart or on a higher/lower timeframe for multi-timeframe analysis.
This flexibility allows traders to adapt the strategy to their preferred trading style and time horizon.
Risk Management:
The strategy includes adjustable stop loss and take profit levels to help traders manage risk and lock in profits.
Stop loss and take profit levels are calculated as a percentage of the entry price, ensuring consistency across different assets and market conditions.
Alerts:
Built-in alerts notify you when a long entry signal is generated, ensuring you never miss a trading opportunity.
Alerts can be customized to suit your preferences, providing real-time notifications for potential trades.
Visualization:
The EMA cloud is plotted on the chart, providing a clear visual representation of the trend.
Buy signals are marked with a green label below the price bar, making it easy to identify entry points.
How to Use:
Add the Script:
Add the script to your chart in TradingView.
Set EMA Lengths:
Adjust the Short EMA Length and Long EMA Length in the settings to suit your trading style.
For example, you might use a shorter EMA (e.g., 21) for more responsive signals or a longer EMA (e.g., 50) for smoother signals.
Choose EMA Cloud Resolution:
Select the EMA Cloud Resolution (timeframe) for the cloud calculation.
You can choose the same timeframe as the chart or a different timeframe (higher or lower) for multi-timeframe analysis.
Adjust Risk Management:
Set the Stop Loss (%) and Take Profit (%) levels according to your risk tolerance and trading goals.
For example, you might use a 1% stop loss and a 2% take profit for a 1:2 risk-reward ratio.
Enable Alerts:
Enable alerts to receive notifications for long entry signals.
Alerts can be configured to send notifications via email, SMS, or other preferred methods.
Monitor and Trade:
Monitor the chart for buy signals and execute trades accordingly.
Use the EMA cloud as a visual guide to confirm the trend direction before entering a trade.
Ideal For:
Trend-Following Traders: This strategy is perfect for traders who prefer to trade in the direction of the trend and capitalize on sustained price movements.
Long-Only Traders: If you prefer to focus exclusively on long positions, this strategy provides a clear and systematic approach to identifying bullish opportunities.
Multi-Timeframe Analysts: The adjustable EMA cloud resolution allows you to analyze trends across different timeframes, making it suitable for both short-term and long-term traders.
Risk-Averse Traders: The inclusion of stop loss and take profit levels helps manage risk and protect your capital.
3Commas Multicoin Scalper LITE [SwissAlgo]
Introduction
Are you tired of tracking cryptocurrency charts and placing orders manually on your Exchange?
The 3Commas Multicoin Scalper LITE is an automated trading system designed to identify and execute potential trading setups on multiple cryptocurrencies ( simultaneously ) on your preferred Exchange (Binance, Bybit, OKX, Gate.io, Bitget) via 3Commas integration.
It analyzes price action, volume, momentum, volatility, and trend patterns across two categories of USDT Perpetual coins: the 'Top Major Coins' category (11 established cryptocurrencies) and your Custom Category (up to 10 coins of your choice).
The indicator sends real-time trading signals directly to your 3Commas bots for automated execution, identifying both trend-following and contrarian trading opportunities in all market conditions.
Trade automatically all coins of one or more selected categories:
----------------------------------------------
What it Does
The 3Commas Multicoin Scalper LITE is a technical analysis tool that monitors multiple cryptocurrency pairs simultaneously and connects with 3Commas for signal delivery and execution.
Here's how the strategy works:
🔶 Technical Analysis : Analyzes price action, volume, momentum, volatility, and trend patterns across USDT Perpetual Futures contracts simultaneously.
🔶 Pattern Detection : Identifies specific candle patterns and technical confluences that suggest potential trading setups across USDT.P contracts of the selected category.
🔶 Signal Generation : When technical criteria are met at bar close, the indicator creates deal-start signals for the relevant pairs.
🔶 3Commas Integration : Packages these signals and delivers them to 3Commas through TradingView alerts, allowing 3Commas bots to receive specific pair information ('Deal-Start' signals).
🔶 Category Management : Each TradingView alert monitors an entire category, allowing selective activation of different crypto categories.
🔶 Visual Feedback : Provides color-coded candles and backgrounds to visualize technical conditions, with optional pivot points and trend visualization.
Candle types
Signals
----------------------------------------------
Quick Start Guide
1. Setup 3Commas Bots : Configure two DCA bots in 3Commas (All USDT pairs) - one for LONG positions and one for SHORT positions.
2. Define Trading Parameters : Set your budget for each trade and adjust your preferred sensitivity within the indicator settings.
3. Create Category Alerts : Set up one TradingView alert for each crypto category you want to trade.
That's it! Once configured, the system automatically sends signals to your 3Commas bots when predefined trading setups are detected across coins in your selected/activated categories. The indicator scans all coins at bar close (for example, every hour on the 1H timeframe) and triggers trade execution only for those showing technical confluences.
Important : Consider your total capital when enabling categories. More details about the setup process are provided below (see paragraph "Detailed Setup & Configuration").
----------------------------------------------
Built-in Backtesting
The 3Commas Multicoin Scalper LITE includes backtesting visualization for each coin. When viewing any USDT Perpetual pair on your chart, you can visualize how the strategy would have performed historically on that specific asset.
Color-coded candles and signal markers show past trading setups, helping you evaluate which coins responded best to the strategy. This built-in backtesting capability can support your selection of assets/categories to trade before deploying real capital.
As backtesting results are hypothetical and do not guarantee future performance, your research and analysis are essential for selecting the crypto categories/coins to trade.
The default strategy settings are: Start Capital 1,000$, leverage 10X, Commissions 0.1% (average Taker Fee on Exchanges for average users), Order Amount 200$ for Longs/Shorts, Slippage 4
Example of backtesting view
----------------------------------------------
Key Features
🔶 Multi-Exchange Support : Compatible with BINANCE, BYBIT, BITGET, GATEIO, and OKX USDT Perpetual markets (USDT.P)
🔶 Category Options : Analyze cryptocurrencies in the Top Major Coins category or create your custom watchlist
🔶 Custom Category Option : Create your watchlist with up to 10 custom USDT Perpetual pairs
🔶 3Commas Integration : Seamlessly connects with 3Commas bots to automate trade entries and exits
🔶 Dual Strategy Approach : Identifies both "trend following" and "contrarian" potential setups
🔶 Confluence-Based Signals : Uses a combination of multiple technical factors - price spikes, price momentum, volume spikes, volume momentum, trend analysis, and volatility spikes - to generate potential trading setups
🔶 Risk Management : Adjustable sensitivity/risk levels, leverage settings, and budget allocation for each trade
🔶 Visual Indicators : Color-coded candles and trading signals provide visual feedback on market conditions
🔶 Trend Indication : Background colors showing ongoing uptrends/downtrends
🔶 Pivot Points & Daily Open : Optional display of pivot points and daily open price for additional context
🔶 Liquidity Analysis : Optional display of high/low liquidity timeframes throughout the trading week
🔶 Trade Control : Configurable limit for the maximum number of signals sent to 3Commas for execution (per bar close and category)
5 Available Exchanges
Pick coins/tokens and defined your Custom Category
----------------------------------------------
Methodology
The 3Commas Multicoin Scalper LITE utilizes a multi-faceted approach to identify potential trading setups:
1. Price Action Analysis : Detects abnormal price movements by comparing the current candle's range to historical averages and standard deviations, helping identify potential "pump and dump" scenarios or new-trends start
2. Price Momentum : Evaluates the relative strength of bullish vs. bearish price movements over time, indicating the build-up of buying or selling pressure.
3. Volume Analysis: Identifies unusual volume spikes by comparing current volume to historical averages, signaling strong market interest in a particular direction.
4. Volume Momentum : Measures the ratio of bullish to bearish volume, revealing the dominance of buyers or sellers over time.
5. Trend Analysis : Combines EMA slopes, RSI, and Stochastic RSI to determine overall trend direction and strength.
6. Volatility : Monitors the ATR (Average True Range) to detect periods of increased market volatility, which may indicate potential breakouts or reversals
7. Candle Wick Analysis : Evaluates upper and lower wick percentages to detect potential rejection patterns and reversals.
8. Pivot Point Analysis : Uses pivot points (PP, R1-R3, S1-S3) for identifying key support/resistance areas and potential breakout/breakdown levels.
9. Daily Open Reference: Analyzes price action relative to the daily open for potential setups related to price movement vs. the opening price
10. Market Timing/Liquidity : Evaluates high/low liquidity periods, specific days/times of heightened risk, and potential market manipulation timeframes.
11. Boost Factors : Applies additional weight to certain confluence patterns to adjust global scores
These factors are combined into a "Global Score" ranging from -1 to +1 , applied at bar close to the newly formed candles.
Scores above predefined thresholds (configurable via the Sensitivity Settings) indicate strong bullish or bearish conditions and trigger signals based on predefined patterns. The indicator then applies additional filters to generate specific "Trend Following" and "Contrarian" trading signals. The identified signals are packaged and sent to 3Commas for execution.
Pivot Points
Trend Background
----------------------------------------------
Who This Strategy Is For
The 3Commas Multicoin Scalper LITE may benefit:
Crypto Traders seeking to automate their trading across multiple coins simultaneously
3Commas Users looking to enhance their bot performance with technical signals
Busy Traders who want to monitor market opportunities without constant chart-watching
Multi-strategy traders interested in both trend-following and reversal trading approaches
Traders of Various Experience Levels from intermediate traders wanting to save time to advanced traders seeking to optimize their operations
Perpetual Futures Traders on major exchanges (Binance, Bybit, OKX, Gate.io, Bitget)
Swing and Scalp Traders seeking to identify short to medium-term profit opportunities
----------------------------------------------
Visual Indicators
The indicator provides visual feedback through:
1. Candlestick Colors :
* Lime: Strong bullish candle (High positive score)
* Blue: Moderate bullish candle (Medium positive score)
* Red: Strong bearish candle (High negative score)
* Purple: Moderate bearish candle (Medium negative score)
* Pale Green/Red: Mild bullish/bearish candle
2. Signal Markers :
* ↗: Trend following Long signal
* ↘: Trend following Short signal
* ⤴: Contrarian Long signal
* ⤵: Contrarian Short signal
3. Optional Elements :
* Pivot Points: Daily support/resistance levels (R1-R3, S1-S3, PP)
* Daily Open: Reference price level for the current trading day
* Trend Background: Color-coded background suggesting potential ongoing uptrend/downtrend
* Liquidity Highlighting: Background colors indicating typical high/low market liquidity periods
4. TradingView Strategy Plots and Backtesting Data : Standard performance metrics showing entry/exit points, equity curves, and trade statistics, based on the signals generated by the script.
----------------------------------------------
Detailed Setup & Configuration
The indicator features a user-friendly input panel organized in sequential steps to guide you through the complete setup process. Tooltips for each step provide additional information to help you understand the actions required to get the strategy running.
Informative tables provide additional details and instructions for critical setup steps such as 3Commas bot configuration and TradingView alert creation (to activate trading on specific categories).
1. Choose Exchange, Crypto Category & Sensitivity
* Select your USDT Perpetual Exchange (BINANCE, BYBIT, BITGET, GATEIO, or OKX) - i.e. the same Exchange connected in your 3Commas account
* Choose your preferred crypto category, or define your watchlist
* Choose from three sensitivity levels: Default, Aggressive, or Test Mode (test mode is designed to generate more signals, a potentially helpful feature when you are testing the indicator and alerts)
2. Setup 3Commas Bots and integrate them with the algo
* Create both LONG and SHORT DCA Bots in 3Commas
* Configure bots to accept signals for 'All USDT Pairs' with "TradingView Custom Signal" as deal start condition
* Enter your Bot IDs and Email Token in the indicator settings
* Set a maximum budget for LONG and SHORT trades
* Choose whether to allow LONG trades, SHORT trades, or both, according to your preference and market analysis
* Set maximum trades per bar/category (i.e. the max. number of simultaneous signals that the algo may send to your 3Commas bots for execution at every bar close - every hour if you set the 1H timeframe)
* Access the detailed setup guide table for step-by-step 3Commas configuration instructions
3Commas integration
3. Choose Visuals
* Toggle various optional visual elements to add to the chart: category metrics, fired alerts, coin metrics, daily open, pivot points
* Select a color theme: Dark or Light
4. Activate Trading via Alerts
* Create TradingView alerts for each category you want to trade
* Set alert condition to "3Commas Multicoin Scalper" with "Any alert() function call"
* Set the content of the message field to: {{Message}}, deleting the default content shown in this text field, to enable proper 3Commas integration (any other text than {{Message}}, would break the delivery trading signals from Tradingview to 3Commas)
* View the alerts setup instruction table for visual guidance on this critical step
Alerts
Fired Alerts (example at a single bar)
Fired Alerts (frequency)
Important Configuration Notes
Ensure that the TradingView chart's exchange matches your selected exchange in the indicator settings and your 3Commas bot settings.
You must configure the same leverage in both the script and your 3Commas bots
Your 3Commas bots must be configured for All USDT pairs
You must enter the exact Bot IDs and Email Token from 3Commas (these remain confidential - no one, including us, has access to them)
If you activate multiple categories without sufficient capital, 3Commas will display " insufficient funds " errors - align your available capital with the number of categories you activate (each deal will use the budget amount specified in user inputs)
You are free to set your Take Profit % / trailing on 3Commas
We recommend not to use DCA orders (i.e. set the number of DCA orders at zero)
Legend of symbols and plots on the chart
----------------------------------------------
FAQs
General Questions
❓ Q: What features are included in this indicator? A: This indicator provides access to the "Top Major Coins" category and a custom category option where you can define up to 10 pairs of your choice. It includes multi-exchange support, 3Commas integration, a dual strategy approach, visual indicators, trade controls, and comprehensive backtesting capabilities. The indicator is optimized to manage up to 2 trades per hour/category with leverage up to 10x and trade sizes up to 500 USDT - everything needed for traders looking to automate their crypto trading across multiple pairs simultaneously.
❓ Q: What is Global Score? A: The Global Score serves as a foundation for signal generation. When a candle's score exceeds certain thresholds (defined by your Risk Level setting), it becomes a candidate for signal generation. However, not all high-scoring candles generate trading signals - the indicator applies additional pattern recognition and contextual filters. For example, a strongly positive score (lime candle) in an established uptrend may trigger a "Trend Following" signal, while a strongly negative score (red candle) in a downtrend might generate a "Trend following Short" signal. Similarly, contrarian signals are generated when specific reversal patterns occur alongside appropriate Global Score values, often involving wick analysis and pivot point interactions. This multi-layer approach helps filter out false positives and identify higher-probability trading setups.
❓ Q: What's the difference between "Trend following" and "Contrarian" signals in the script? A: "Trend Following" signals follow the identified trends while "Contrarian" signals anticipate potential trend reversals.
❓ Q: Why don't I see any signals on my chart? A: Make sure you're viewing a USDT Perpetual pair from your selected exchange that belongs to the crypto category you've chosen to analyze. For example, if you've selected the "Top Major Coins" category with Binance as your exchange, you need to view a chart of one of those specific pairs (like BINANCE:BTCUSDT.P) to see signals. If you switch exchanges, for example from Binance to Bybit, you need to pull a Bybit pair on the chart to see backtesting data and signals.
❓ Q: Does this indicator guarantee profits? A: No. Trading cryptocurrencies involves significant risk, and past performance is not indicative of future results. This indicator is a tool to help you identify potential trading setups, but it does not and cannot guarantee profits.
❓ Q: Does this indicator repaint or use lookahead bias? A: No. All trading signals generated by this indicator are based only on completed price data and do not repaint. The system is designed to ensure that backtesting results reflect as closely as possible what you should experience in live trading.
While reference levels like pivot points are kept stable throughout the day using lookahead on, the actual buy and sell signals are calculated using only historical data (lookahead off) that would have been available at that moment in time. This ensures reliability and consistency between backtesting and real-time trading performance.
Technical Setup
❓ Q: What exchanges are supported? A: The strategy supports BINANCE, BYBIT, BITGET, GATEIO, and OKX USDT Perpetual markets (i.e. all the Exchanges you can connect to your 3Commas account for USDT Perpetual trading, excluding Coinbase Perpetual that offers USDC pairs, instead of USDT).
❓ Q: What timeframe should I use? A: The indicator is optimized for the 1-hour (1H) timeframe but may run on any timeframe.
❓ Q: How many coins can I trade at once? A: You can trade all coins within the selected category. You can activate categories by setting up alerts.
❓ Q: How many alerts do I need to set up? A: You need to set up one alert for each crypto category you want to trade. We recommend starting with one category, testing the results carefully, monitoring performance daily, and perhaps activating additional categories in a second stage.
❓ Q: Are there any specific risk management features built into the indicator? A: Yes, the indicator includes risk management features: adjustable maximum trades per hour/category, the ability to enable/disable long or short signals depending on market conditions, customizable trade size for both long and short positions, and different sensitivity/risk level settings.
❓ Q: What happens if 3Commas can't execute a signal? A: If 3Commas cannot execute a signal (due to insufficient funds, bot offline, etc.), the trade will be skipped. The indicator will continue sending signals for other valid setups, but it doesn't retry failed signals.
❓ Q: Can I run this indicator on multiple charts at once? A: Yes, but it's not necessary. The indicator analyzes all coins in your selected categories regardless of which chart you apply it to. For optimal resource usage, apply it to a single chart of a USDT Perpetual pair from your selected exchange. To stop trading a category, simply delete the alert created for that category.
❓ Q: How frequently does the indicator scan for new signals? A: The indicator scans all coins in your selected categories at the close of each bar (every hour if you selected the 1H timeframe).
----------------------------------------------
⚠️
Disclaimer
This indicator is for informational and educational purposes only and does not constitute financial advice. Trading cryptocurrencies involves significant risk, including the potential loss of all invested capital, and past performance is not indicative of future results.
Always conduct your own thorough research (DYOR) and understand the risks involved before making any trading decisions. Trading with leverage significantly amplifies both potential profits and losses - exercise extreme caution when using leverage and never risk more than you can afford to lose.
The Bot ID and Email Token information are transmitted directly from TradingView to 3Commas via secure connections. No third party or entity will ever have access to this data (including the Author). Do not share your 3Commas credentials with anyone.
This indicator is not affiliated with, endorsed by, or sponsored by TradingView or 3Commas.
3Commas Multicoin Scalper PRO [SwissAlgo]Introduction
Are you tired of tracking dozens of cryptocurrency charts and placing orders manually on your Exchange?
The 3Commas Multicoin Scalper PRO is an automated trading system designed to simultaneously identify and execute potential trading setups on multiple cryptocurrencies on your preferred Exchange (Binance, Bybit, OKX, Gate.io, Bitget) via 3Commas integration.
It analyzes price action, volume, momentum, volatility, and trend patterns across 180+ USDT Perpetual coins divided into 17 crypto categories , providing real-time signals directly to your 3Commas bots for automated trade execution. This indicator aims to identify potential trend-following and contrarian setups in both bull and bear markets.
-------------------------------------
What it Does
The 3Commas Multicoin Scalper PRO is a technical analysis tool that monitors multiple cryptocurrency pairs simultaneously and connects with 3Commas for signal delivery and execution.
Here's how the strategy works:
🔶 Technical Analysis : Analyzes price action, volume, momentum, volatility, and trend patterns across multiple USDT Perpetual Futures contracts simultaneously.
🔶 Pattern Detection : Identifies specific candle patterns and technical confluences that suggest potential trading setups across all USDT.P contracts of the selected categories
🔶 Signal Generation : When technical criteria are met at bar close, the indicator creates deal-start signals for the relevant pairs.
🔶 3Commas Integration : Packages these signals and delivers them to 3Commas through TradingView alerts, allowing 3Commas bots to receive specific pair information ('Deal-Start' signals).
🔶 Category Management : Each TradingView alert monitors an entire category (approximately 11 pairs), allowing selective activation of different crypto categories.
🔶 Visual Feedback : Provides color-coded candles and backgrounds to visualize technical conditions, with optional pivot points and trend visualization.
Candle types:
Signals:
-------------------------------------
Quick Start Guide
1. Setup 3Commas Bots : Configure two DCA bots in 3Commas (All USDT pairs) - one for LONG positions and one for SHORT positions.
2. Define Trading Parameters : Set your budget for each trade and adjust your preferred sensitivity within the indicator settings.
3. Create Category Alerts : Set up one TradingView alert for each crypto category you want to trade.
That's it! Once configured, the system automatically sends signals to your 3Commas bots when predefined trading setups are detected across coins in your selected/activated categories. The indicator scans all coins at bar close (for example, every hour on the 1H timeframe) and triggers trade execution only for those showing technical confluences.
Important : The more categories you activate by setting TradingView alerts, the more signals your 3Commas bots will receive. Consider your total capital when enabling multiple categories. More details about the setup process are provided below (see paragraph "Detailed Setup & Configuration")
-------------------------------------
Built-in Backtesting
The 3Commas Multicoin Scalper PRO includes backtesting visualization for each coin. When viewing any USDT Perpetual pair on your chart, you can visualize how the strategy would have performed historically on that specific asset.
Color-coded candles and signal markers show past trading setups, helping you evaluate which coins responded best to the strategy. This built-in backtesting capability can support your selection of assets/categories to trade before deploying real capital.
As backtesting results are hypothetical and do not guarantee future performance, your research and analysis are essential for selecting the crypto categories/coins to trade.
The default strategy settings are: Start Capital 1.000$, leverage 25X, Commissions 0.1% (average Taker Fee on Exchanges for average users), Order Amount 200$ for Longs/150$ for Shorts, Slippage 4
-------------------------------------
Key Features
🔶 Multi-Exchange Support : Compatible with BINANCE, BYBIT, BITGET, GATEIO, and OKX USDT Perpetual markets (USDT.P)
🔶 Wide Asset Coverage : Simultaneously analyzes 180+ cryptocurrencies across 17 specialized crypto categories
🔶 Custom Category Option : Create your watchlist with up to 10 custom USDT Perpetual pairs
🔶 3Commas Integration : Seamlessly connects with 3Commas bots to automate trade entries and exits
🔶 Dual Strategy Approach : Identifies both "trend following" and "contrarian" potential setups
🔶 Confluence-Based Signals : Uses a combination of multiple technical factors - price spikes, price momentum, volume spikes, volume momentum, trend analysis, and volatility spikes - to generate potential trading setups
🔶 Risk Management : Adjustable sensitivity/risk levels, leverage settings, and budget allocation for each trade
🔶 Visual Indicators : Color-coded candles and trading signals provide visual feedback on market conditions
🔶 Trend Indication : Background colors showing ongoing uptrends/downtrends
🔶 Pivot Points & Daily Open : Optional display of pivot points and daily open price for additional context
🔶 Liquidity Analysis : Optional display of high/low liquidity timeframes throughout the trading week
🔶 Trade Control : Configurable limit for the maximum number of signals sent to 3Commas for execution (per bar close and category)
Available Exchanges
Categories
Custom Category
Trend following/contrarian signals
-------------------------------------
Methodology
The 3Commas Multicoin Scalper PRO utilizes a multi-faceted approach to identify potential trading setups:
1. Price Action Analysis : Detects abnormal price movements by comparing the current candle's range to historical averages and standard deviations, helping identify potential "pump and dump" scenarios or new-trends start
2. Price Momentum : Evaluates the relative strength of bullish vs. bearish price movements over time, indicating the build-up of buying or selling pressure.
3. Volume Analysis: Identifies unusual volume spikes by comparing current volume to historical averages, signaling strong market interest in a particular direction.
4. Volume Momentum : Measures the ratio of bullish to bearish volume, revealing the dominance of buyers or sellers over time.
5. Trend Analysis : Combines EMA slopes, RSI, and Stochastic RSI to determine overall trend direction and strength.
6. Volatility : Monitors the ATR (Average True Range) to detect periods of increased market volatility, which may indicate potential breakouts or reversals
7. Candle Wick Analysis : Evaluates upper and lower wick percentages to detect potential rejection patterns and reversals.
8. Pivot Point Analysis : Uses pivot points (PP, R1-R3, S1-S3) for identifying key support/resistance areas and potential breakout/breakdown levels.
9. Daily Open Reference: Analyzes price action relative to the daily open for potential setups related to price movement vs. the opening price
10. Market Timing/Liquidity : Evaluates high/low liquidity periods, specific days/times of heightened risk, and potential market manipulation timeframes.
11. Boost Factors : Applies additional weight to certain confluence patterns to adjust global scores
These factors are combined into a "Global Score" ranging from -1 to +1 , applied at bar close to the newly formed candles.
Scores above predefined thresholds (configurable via the Sensitivity Settings) indicate strong bullish or bearish conditions and trigger signals based on predefined patterns. The indicator then applies additional filters to generate specific "Trend Following" and "Contrarian" trading signals. The identified signals are packaged and sent to 3Commas for execution.
Pivot Points
Daily open
Market Trend
Liquidity patterns by weekday
-------------------------------------
Who This Strategy Is For?
The 3Commas Multicoin Scalper PRO may benefit:
Crypto Traders seeking to automate their trading across multiple coins simultaneously
3Commas Users looking to enhance their bot performance with advanced technical signals
Busy Traders who want to monitor many market opportunities without constant chart-watching
Multi-strategy traders interested in both trend-following and reversal trading approaches
Traders of Various Experience Levels from intermediate traders wanting to save time to advanced traders seeking to scale their operations
Perpetual Futures Traders on major exchanges (Binance, Bybit, OKX, Gate.io, Bitget)
Swing and Scalp Traders seeking to identify short to medium-term profit opportunities
-------------------------------------
Visual Indicators
The indicator provides visual feedback through:
1. Candlestick Colors :
* Lime: Strong bullish candle (High positive score)
* Blue: Moderate bullish candle (Medium positive score)
* Red: Strong bearish candle (High negative score)
* Purple: Moderate bearish candle (Medium negative score)
* Pale Green/Red: Mild bullish/bearish candle
2. Signal Markers :
* ↗: Trend Following Long signal
* ↘: Trend Following Short signal
* ⤴: Contrarian Long signal
* ⤵: Contrarian Short signal
3. Optional Elements :
* Pivot Points: Daily support/resistance levels (R1-R3, S1-S3, PP)
* Daily Open: Reference price level for the current trading day
* Trend Background: Color-coded background suggesting potential ongoing uptrend/downtrend
* Liquidity Highlighting: Background colors indicating typical high/low market liquidity periods
4. TradingView Strategy Plots and Backtesting Data : Standard performance metrics showing entry/exit points, equity curves, and trade statistics, based on the signals generated by the script.
-------------------------------------
Detailed Setup & Configuration
The indicator features a user-friendly input panel organized in sequential steps to guide you through the complete setup process. Tooltips for each step provide additional information to help you understand the actions required to get the strategy running.
Informative tables provide additional details and instructions for critical setup steps such as 3Commas bot configuration and TradingView alert creation (to activate trading on specific categories).
1. Choose Exchange, Crypto Category & Sensitivity
* Select your USDT Perpetual Exchange (BINANCE, BYBIT, BITGET, GATEIO, or OKX) - i.e. the same Exchange connected in your 3Commas account
* Browse and choose your preferred crypto category, or define your watchlist
* Choose from three sensitivity levels: Default, Aggressive, or Test Mode (test mode is designed to generate way more signals, a potentially helpful feature when you are testing the indicator and alerts)
2. Setup 3Commas Bots and integrate them with the algo
* Create both LONG and SHORT DCA Bots in 3Commas
* Configure bots to accept signals for 'All USDT Pairs' with "TradingView Custom Signal" as deal start condition
* Enter your Bot IDs and Email Token in the indicator settings
* Set a maximum budget for LONG and SHORT trades
* Choose whether to allow LONG trades, SHORT trades, or both, according to your preference and market analysis
* Set maximum trades per bar/category (i.e. the max. number of simultaneous signals that the algo may send to your 3Commas bots for execution at every bar close - every hour if you set the 1H timeframe)
* Access the detailed setup guide table for step-by-step 3Commas configuration instructions
3Commas integration
3. Choose Visuals
* Toggle various optional visual elements to add to the chart: category metrics, fired alerts, coin metrics, daily open, pivot points
* Select a color theme: Dark or Light
4. Activate Trading via Alerts
* Create TradingView alerts for each category you want to trade
* Set alert condition to "3Commas Multicoin Scalper" with "Any alert() function call"
* Set the content of the message filed to: {{Message}}, deleting the default content shown in this text field, to enable proper 3Commas integration (any other text than {{Message}}, would break the delivery trading signals from Tradingview to 3Commas)
* View the alerts setup instruction table for visual guidance on this critical step
Alerts
Fired Alerts
Important Configuration Notes
Ensure that the TradingView chart's exchange matches your selected exchange in the indicator settings and your 3Commas bot settings.
You must configure the same leverage in both the script and your 3Commas bots
Your 3Commas bots must be configured for All USDT pairs
You must enter the exact Bot IDs and Email Token from 3Commas (these remain confidential - no one, including us, has access to them)
If you activate multiple categories without sufficient capital, 3Commas will display " insufficient funds " errors - align your available capital with the number of categories you activate (each deal will use the budget amount specified in user inputs)
You are free to set your Take Profit % / trailing on 3Commas
We recommend not to use DCA orders (i.e. set the number of DCA orders at zero)
Legend of symbols
-------------------------------------
FAQs
General Questions
❓ Q: What is Global Score? A: The Global Score serves as a foundation for signal generation. When a candle's score exceeds certain thresholds (defined by your Risk Level setting), it becomes a candidate for signal generation. However, not all high-scoring candles generate trading signals - the indicator applies additional pattern recognition and contextual filters. For example, a strongly positive score (lime candle) in an established uptrend may trigger a "Trend Following" signal, while a strongly negative score (red candle) in a downtrend might generate a "Trend Following Short" signal. Similarly, contrarian signals are generated when specific reversal patterns occur alongside appropriate Global Score values, often involving wick analysis and pivot point interactions. This multi-layer approach helps filter out false positives and identify higher-probability trading setups.
❓ Q: What's the difference between "Trend following" and "Contrarian" signals in the script? A: "Trend Following" signals follow the identified trends while "Contrarian" signals anticipate potential trend reversals.
❓ Q: Why can't I configure all the parameters? A: We've designed the solution to be plug-and-play to prevent users from getting lost in endless configurations. The preset values have been tested against their trade-offs in terms of financial performance, average trade duration, and risk levels.
❓ Q: Why don't I see any signals on my chart? A: Make sure you're viewing a USDT Perpetual pair from your selected exchange that belongs to the crypto category you've chosen to analyze. For example, if you've selected the "Top Major Coins" category with Binance as your exchange, you need to view a chart of one of those specific pairs (like BINANCE:BTCUSDT.P) to see signals. If you switch exchanges, for example from Binance to Bybit, you need to pull a Bybit pair on the chart to see backtesting data and signals.
❓ Q: Does this indicator guarantee profits? A: No. Trading cryptocurrencies involves significant risk, and past performance is not indicative of future results. This indicator is a tool to help you identify potential trading setups, but it does not and cannot guarantee profits.
❓ Q: Does this indicator repaint or use lookahead bias? A: No. All trading signals generated by this indicator are based only on completed price data and do not repaint. The system is designed to ensure that backtesting results reflect as closely as possible what you should experience in live trading.
While reference levels like pivot points are kept stable throughout the day using lookahead on, the actual buy and sell signals are calculated using only historical data (lookahead off) that would have been available at that moment in time. This ensures reliability and consistency between backtesting and real-time trading performance.
Technical Setup
❓ Q: What exchanges are supported? A: The strategy supports BINANCE, BYBIT, BITGET, GATEIO, and OKX USDT Perpetual markets (i.e. all the Exchanges you can connect to your 3Commas account for USDT Perpetual trading, excluding Coinbase Perpetual that offers UDSC pairs, instead of USDT).
❓ Q: What timeframe should I use? A: The indicator is optimized for the 1-hour (1H) timeframe but may run on any timeframe.
❓ Q: How many coins can I trade at once? A: You can trade all coins within each selected category (up to 11 coins per category in standard categories). You can activate multiple categories by setting up multiple alerts.
❓ Q: How many alerts do I need to set up? A: You need to set up one alert for each crypto category you want to trade. For example, if you want to trade both the "Top Major Coins" and the "DeFi" categories, you'll need to create two separate alerts, one for each category. We recommend starting with one category, testing the results carefully, monitoring performance daily, and perhaps activating additional categories in a second stage.
❓ Q: Are there any specific risk management features built into the indicator? A: Yes, the indicator includes risk management features: adjustable maximum trades per hour/category, the ability to enable/disable long or short signals depending on market conditions, customizable trade size for both long and short positions, and different sensitivity/risk level settings.
❓ Q: What happens if 3Commas can't execute a signal? A: If 3Commas cannot execute a signal (due to insufficient funds, bot offline, etc.), the trade will be skipped. The indicator will continue sending signals for other valid setups, but it doesn't retry failed signals.
❓ Q: Can I run this indicator on multiple charts at once? A: Yes, but it's not necessary. The indicator analyzes all coins in your selected categories regardless of which chart you apply it to. For optimal resource usage, apply it to a single chart of a USDT Perpetual pair from your selected exchange. To stop trading a category delete the alert created for that category.
❓ Q: How frequently does the indicator scan for new signals? A: The indicator scans all coins in your selected categories at the close of each bar (every hour if you selected the 1H timeframe).
3Commas Integration
❓ Q: Do I need a 3Commas account? A: Yes, a 3Commas account with active DCA bots (both LONG and SHORT) is required for automated trade execution. A paid subscription is needed, as multipair Bots and multiple simultaneous deals are involved.
❓ Q: How do I set the leverage? A: Set the leverage identically in both the indicator settings and your 3Commas DCA bots (the max supported leverage is 50x). Always be careful about leverage, as it amplifies both profits and losses.
❓ Q: Where do I find my 3Commas Bot IDs and Email Token? A: Open your 3Commas DCA bot and scroll to the "Messages" section. You'll find the Bot ID and Email Token within any message (e.g., "Start Deal").
Display Settings
❓ Q: What does the Sensitivity setting do? A: It adjusts the sensitivity of signal generation. "Default" provides a balanced approach with moderate signal frequency. "Aggressive" lowers the thresholds for signal generation, potentially increasing trade frequency but may include more noise. "Test Mode" is the most sensitive setting, useful for testing alert configurations but not recommended for live trading. Higher risk levels may generate more signals but with potentially lower average quality, while lower risk levels produce fewer but potentially better signals.
❓ Q: What does "Show fired alerts" do? A: The "Show fired alerts" option displays a label on your chart showing which signals have been fired and sent to 3Commas during the most recent candle closes. This visual indicator helps you confirm that your alerts are working properly and shows which coins from your selected category have triggered signals. It's useful when setting up and testing the system, allowing you to verify that signals are being sent to 3Commas as expected and their frequency over time.
❓ Q: What does "Show coin/token metrics" do? A: This toggle displays detailed technical metrics for the specific coin/token currently shown on your chart. When enabled, it shows statistics for the last closed candle for that coin.
❓ Q: What does "Show most liquid days/times" do? A: This toggle displays color-coded background highlighting to indicate periods of varying market liquidity throughout the trading week. Green backgrounds show generally higher liquidity periods (typically weekday trading hours), yellow highlights potentially manipulative periods (often Sunday/Monday overnight), and gray indicates low liquidity periods (when major markets are closed or during late hours).
⚠️ Disclaimer
This indicator is for informational and educational purposes only and does not constitute financial advice. Trading cryptocurrencies involves significant risk, including the potential loss of all invested capital, and past performance is not indicative of future results.
Always conduct your own thorough research (DYOR) and understand the risks involved before making any trading decisions. Trading with leverage significantly amplifies both potential profits and losses - exercise extreme caution when using leverage and never risk more than you can afford to lose.
The Bot ID and Email Token information are transmitted directly from TradingView to 3Commas via secure connections. No third party or entity will ever have access to this data (including the Author). Do not share your 3Commas credentials with anyone.
This indicator is not affiliated with, endorsed by, or sponsored by TradingView or 3Commas.
MACD Crossover Strategy MACD Crossover Strategy:
This strategy is based on the Moving Average Convergence Divergence (MACD) indicator, a popular tool used in technical analysis to identify potential trend changes and momentum in price movements. The strategy focuses on MACD crossovers within a specific "important zone" to generate trading signals.
Key Components:
1. MACD Calculation: The strategy uses customizable parameters for fast length (default 12), slow length (default 26), and signal length (default 9) to calculate the MACD line and signal line.
2. Important Zone: Defined by upper and lower thresholds (default 0.5 and -0.5), this zone helps filter out potentially less significant crossovers.
3. Entry Conditions:
- Long (Buy) Entry: When the MACD line crosses above the signal line within the important zone.
- Short (Sell) Entry: When the MACD line crosses below the signal line within the important zone.
4. Exit Conditions: The strategy closes positions on opposite crossover signals. Long positions are closed on bearish crossovers, and short positions on bullish crossovers.
5. Visualization:
- MACD line (blue) and signal line (orange) are plotted.
- The zero line, upper threshold, and lower threshold are displayed for reference.
- Buy signals are represented by green triangles at the bottom of the chart.
- Sell signals are shown as red triangles at the top of the chart.
This strategy aims to capture trend changes while filtering out potentially false signals that occur when the MACD is at extreme values. By focusing on crossovers within the important zone, the strategy attempts to identify more reliable trading opportunities.
Traders can adjust the MACD parameters and the important zone thresholds to fine-tune the strategy for different assets or timeframes. As with any trading strategy, it's crucial to thoroughly backtest and consider risk management before using it in live trading.
Dual SuperTrend w VIX Filter - Strategy [presentTrading]Hey everyone! Haven't been here for a long time. Been so busy again in the past 2 months. I recently started working on analyzing the combination of trend strategy and VIX, but didn't get outstanding results after a few tries. Sharing this tool with all of you in case you have better insights.
█ Introduction and How it is Different
The Dual SuperTrend with VIX Filter Strategy combines traditional trend following with market volatility analysis. Unlike conventional SuperTrend strategies that focus solely on price action, this experimental system incorporates VIX (Volatility Index) as an adaptive filter to create a more context-aware trading approach. By analyzing where current volatility stands relative to historical norms, the strategy adjusts to different market environments rather than applying uniform logic across all conditions.
BTCUSD 6hr Long Short Performance
█ Strategy, How it Works: Detailed Explanation
🔶 Dual SuperTrend Core
The strategy uses two SuperTrend indicators with different sensitivity settings:
- SuperTrend 1: Length = 13, Multiplier = 3.5
- SuperTrend 2: Length = 8, Multiplier = 5.0
The SuperTrend calculation follows this process:
1. ATR = Average of max(High-Low, |High-PreviousClose|, |Low-PreviousClose|) over 'length' periods
2. UpperBand = (High+Low)/2 - (Multiplier * ATR)
3. LowerBand = (High+Low)/2 + (Multiplier * ATR)
Trend direction is determined by:
- If Close > previous LowerBand, Trend = Bullish (1)
- If Close < previous UpperBand, Trend = Bearish (-1)
- Otherwise, Trend = previous Trend
🔶 VIX Analysis Framework
The core innovation lies in the VIX analysis system:
1. Statistical Analysis:
- VIX Mean = SMA(VIX, 252)
- VIX Standard Deviation = StdDev(VIX, 252)
- VIX Z-Score = (Current VIX - VIX Mean) / VIX StdDev
2. **Volatility Bands:
- Upper Band 1 = VIX Mean + (2 * VIX StdDev)
- Upper Band 2 = VIX Mean + (3 * VIX StdDev)
- Lower Band 1 = VIX Mean - (2 * VIX StdDev)
- Lower Band 2 = VIX Mean - (3 * VIX StdDev)
3. Volatility Regimes:
- "Very Low Volatility": VIX < Lower Band 1
- "Low Volatility": Lower Band 1 ≤ VIX < Mean
- "Normal Volatility": Mean ≤ VIX < Upper Band 1
- "High Volatility": Upper Band 1 ≤ VIX < Upper Band 2
- "Extreme Volatility": VIX ≥ Upper Band 2
4. VIX Trend Detection:
- VIX EMA = EMA(VIX, 10)
- VIX Rising = VIX > VIX EMA
- VIX Falling = VIX < VIX EMA
Local performance:
🔶 Entry Logic Integration
The strategy combines trend signals with volatility filtering:
Long Entry Condition:
- Both SuperTrend 1 AND SuperTrend 2 must be bullish (trend = 1)
- AND selected VIX filter condition must be satisfied
Short Entry Condition:
- Both SuperTrend 1 AND SuperTrend 2 must be bearish (trend = -1)
- AND selected VIX filter condition must be satisfied
Available VIX filter rules include:
- "Below Mean + SD": VIX < Lower Band 1
- "Below Mean": VIX < VIX Mean
- "Above Mean": VIX > VIX Mean
- "Above Mean + SD": VIX > Upper Band 1
- "Falling VIX": VIX < VIX EMA
- "Rising VIX": VIX > VIX EMA
- "Any": No VIX filtering
█ Trade Direction
The strategy allows testing in three modes:
1. **Long Only:** Test volatility effects on uptrends only
2. **Short Only:** Examine volatility's impact on downtrends only
3. **Both (Default):** Compare how volatility affects both trend directions
This enables comparative analysis of how volatility regimes impact bullish versus bearish markets differently.
█ Usage
Use this strategy as an experimental framework:
1. Form a hypothesis about how volatility affects trend reliability
2. Configure VIX filters to test your specific hypothesis
3. Analyze performance across different volatility regimes
4. Compare results between uptrends and downtrends
5. Refine your volatility filtering approach based on results
6. Share your findings with the trading community
This framework allows you to investigate questions like:
- Are uptrends more reliable during rising or falling volatility?
- Do downtrends perform better when volatility is above or below its historical average?
- Should different volatility filters be applied to long vs. short positions?
█ Default Settings
The default settings serve as a starting point for exploration:
SuperTrend Parameters:
- SuperTrend 1 (Length=13, Multiplier=3.5): More responsive to trend changes
- SuperTrend 2 (Length=8, Multiplier=5.0): More selective filter requiring stronger trends
VIX Analysis Settings:
- Lookback Period = 252: Establishes a full market cycle for volatility context
- Standard Deviation Bands = 2 and 3 SD: Creates statistically significant regime boundaries
- VIX Trend Period = 10: Balances responsiveness with noise reduction
Default VIX Filter Selection:
- Long Entry: "Above Mean" - Tests if uptrends perform better during above-average volatility
- Short Entry: "Rising VIX" - Tests if downtrends accelerate when volatility is increasing
Feel Free to share your insight below!!!