Profit Trailing BBandsProfit Trailing Trend BBands v4.7.5 with Double Trailing SL
A TradingView Pine Script Strategy
Created by Kevin Bourn and refined with the help of Grok 3 (xAI)
Overview
Welcome to Profit Trailing Trend BBands v4.7.5, a dynamic trading strategy designed to ride trends and lock in profits with a unique double trailing stop-loss mechanism. Built for TradingView’s Pine Script v6, this strategy combines Bollinger Bands for trend detection with a smart trailing system that doubles down on profit protection. Whether you’re trading XRP or any other asset, this tool aims to maximize gains while keeping risk in check—all with a clean, visual interface.
What It Does
Identifies Trends: Uses Bollinger Bands to spot uptrends (price crossing above the upper band) and downtrends (price crossing below the lower band).
Enters Positions: Opens long or short trades based on trend signals, with customizable position sizing and leverage.
Trails Profits: Employs a two-stage trailing stop-loss:
Initial Trailing SL: Acts as a take-profit level, set as a percentage (%) or dollar ($) distance from the entry price.
Tightened Trailing SL: Once the initial profit target is hit, the stop-loss tightens to half the initial distance, locking in gains as the trend continues.
Manages Risk: Includes a margin call feature to exit losing positions before they blow up your account.
Visualizes Everything: Plots Bollinger Bands (blue upper, orange lower) and a red stepped trailing stop-loss line for easy tracking.
Why Built It?
Captures Trends: Bollinger Bands are a proven way to catch momentum, and we tuned them for responsiveness (short length, moderate multiplier).
Secures Profits: Traditional trailing stops often leave money on the table or exit too early. The double trailing SL first takes a chunk of profit, then tightens up to ride the rest of the move.
Stays Flexible: Traders can tweak price sources, stop-loss types (% or $), and position sizing to fit their style.
Looks Good: Clear visuals help you see the strategy in action without cluttering your chart.
Originally refined for XRP, it’s versatile enough for most markets — crypto, forex, stocks, you name it.
How It Works
Core Components
Bollinger Bands:
Calculated using a simple moving average (SMA) and standard deviation.
Default settings: 6-period length, 1.66 multiplier.
Upper Band (blue): SMA + (1.66 × StdDev).
Lower Band (orange): SMA - (1.66 × StdDev).
Trend signals: Price crossing above the upper band triggers a long, below the lower band triggers a short.
Double Trailing Stop-Loss:
Initial SL: Set via "Trailing Stop-Loss Value" (default 6% or $6). Trails the price at this distance and doubles as the first profit target.
Tightened SL: Once price hits the initial SL distance in profit (e.g., +6%), the SL tightens to half (e.g., 3%) and continues trailing, locking in gains.
Visualized as a red stepped line, only visible during active positions.
Position Sizing:
Choose "% of Equity" (default 30%) or "Amount in $" to set trade size.
Leverage (default 10x) amplifies positions, capped by available equity to avoid overexposure.
Margin Call:
Exits positions if drawdown exceeds the "Margin %" (default 10%) to protect your account.
Backtesting Filter:
Starts trading after a user-defined date (default: Jan 1, 2020) for focused historical analysis.
Trade Logic
Long Entry: Price crosses above the upper Bollinger Band → Closes any short position, opens a long.
Short Entry: Price crosses below the lower Bollinger Band → Closes any long position, opens a short.
Exit: Position closes when price hits the trailing stop-loss or triggers a margin call.
How to Use It
Setup
Add to TradingView:
Open TradingView, go to the Pine Editor, paste the script, and click "Add to Chart."
Ensure you’re using Pine Script v6 (the script includes @version=6).
Configure Inputs:
Start Date for Backtesting: Set the date to begin historical testing (default: Jan 1, 2020).
BB Length & Mult: Adjust Bollinger Band sensitivity (default: 6, 1.66).
BB Price Source: Choose the price for BBands (default: Close).
Trend Price Source: Choose the price for trend detection (default: Close).
Trailing Stop-Loss Type: Pick "%" or "$" (default: Trailing SL %).
Trailing Stop-Loss Value: Set the initial SL distance (default: 6).
Margin %: Define the max drawdown before exit (default: 10%).
Order Size Type & Value: Set position size as % of equity (default: 30%) or $ amount.
Leverage: Adjust leverage (default: 10x).
Run It:
Use the Strategy Tester tab to backtest on your chosen asset and timeframe.
Watch the chart for blue/orange Bollinger Bands and the red trailing SL line.
Tips for Traders
Timeframes: Works on any timeframe, but test 1H or 4H for XRP—great balance of signals and noise.
Assets: Optimized for XRP, but tweak slValue and mult for other markets (e.g., tighter SL for low-volatility pairs).
Risk Management: Keep marginPercent low (5-10%) for volatile assets; adjust leverage based on your risk tolerance.
Visuals: The red stepped SL line shows only during trades—zoom in to see its tightening in action.
Visuals on the Chart
Blue Line: Upper Bollinger Band (trend entry for longs).
Orange Line: Lower Bollinger Band (trend entry for shorts).
Red Stepped Line: Trailing Stop-Loss (shifts tighter after the first profit target).
Order Labels: Short tags like "OL" (Open Long), "CS" (Close Short), "LSL" (Long Stop-Loss), etc., mark trades.
Disclaimer
Trading involves risk. This strategy is for educational and experimental use—backtest thoroughly and use at your own risk. Past performance doesn’t guarantee future results. Not financial advice—just a tool from traders, for traders.
Indicatori e strategie
IBAC Strategy - ZygoraIBAC - Intrinsic Binary Averaging based Contrarian
A contrarian scalping strategy in the futures market, designed to stabilize market efficiency by capitalizing on price reversals. The strategy has no stop loss, instead employing a cascading approach—adding to the position size each time the price moves in the wrong direction—and closes the full position when the target profit is reached. Without delving into intricate details, the strategy adheres to the following basic rules:
Position sizing is determined by a customized indicator based on cumulative reversal probability, which also contributes to identifying the signal’s direction.
Direction is determined by the Moving Average: price above the Moving Average signals a Short position, while price below it signals a Long position.
The threshold for entries and exits is adjusted based on the range between extremes (highest high minus lowest low) over the past 100 historical bars.
The next limit entry is placed at a distance equal to the threshold length below (for Long) or above (for Short) the current average price.
The next target profit is set at a distance equal to the threshold length above (for Long) or below (for Short) the current average price.
A signal is triggered when there is a sudden price movement detected by the RSI (Relative Strength Index).
When a signal is identified, the strategy starts with a risk-reward ratio (RR) of 1:1. However, the RR worsens as the cascading steps—referred to as inventory I—increase, because the average entry price shifts unfavorably with each new position added. To mitigate the risk of liquidation, the strategy aims to hold a smaller inventory amount over time. This is achieved by using a multiple threshold multiplier: when a specified inventory limit is reached, the threshold for the next entry increases, and the threshold for the next target profit decreases. As a result, with higher inventory levels, the strategy accepts a lower RR but increases the likelihood of hitting the target profit.
The target profit is always set above the average entry price (for Long) or below it (for Short), ensuring that the strategy eventually closes at a profit. This leads to a 100% win rate but comes with relatively high drawdowns due to the absence of a stop loss and the cascading nature of the positions. The strategy performs best in a consolidation market in 1 minute timeframe, where price tends to oscillate within a range, allowing the contrarian approach to capitalize on reversals. The strategy’s name is derived from its customized indicator for position sizing, which leverages cumulative reversal probability to optimize position sizes and assist in determining the signal’s direction.
StrategyTemplate-Pro-v1# TrendScope Pro – Adaptive Trend-Following Strategy
### 🔍 Overview
TrendScope Pro is a highly adaptable and professional Pine Script strategy template designed for disciplined, trend-based trading. Built using Pine Script v6, it supports modular configuration, risk control, and flexible exit management to meet both beginner and advanced trader needs.
---
### 📐 Core Logic
The strategy focuses on confirming strong trend entries using a combination of:
- **EMA Crossovers**: Short-term trend detection
- **Higher Timeframe EMA**: Confirms overall market direction
- **MACD**: Measures momentum of price movement
- **RSI & ADX Filters** *(optional)*: Adds further confirmation
- **ATR**: Used to dynamically set profit targets, stop losses, and trailing logic
---
### 📊 Entry Rules
#### 🟢 Buy Entry:
- Price is above EMA from higher timeframe (or custom long EMA)
- Fast EMA > Slow EMA (bullish crossover)
- MACD Line > Signal Line (positive momentum)
- Candle is bullish and strong (body/candle ratio threshold)
- RSI not in overbought zone *(if enabled)*
- ADX above threshold *(if enabled)*
- Cooldown period (X bars) passed since last trade
#### 🔴 Sell Entry:
- Price below EMA200 or long EMA
- Fast EMA < Slow EMA
- MACD Line < Signal Line
- Bearish candle with sufficient strength
- RSI not in oversold zone *(if enabled)*
- ADX confirms trend strength *(if enabled)*
---
### 🔁 Exit Options
1. **Fixed TP/SL** using ATR multipliers
2. **Trailing Stop** with adjustable ATR-based logic
3. **Partial Exit** at intermediate profit target (e.g., ATR * 1.5), remaining position uses trailing
4. **Profit Lock**: Closes trade early if sufficient profit is reached and the candle shows reversal behavior
5. **Max Loss Limit** per trade to protect capital
---
### ⚙️ Customization
| Module | Description |
|--------|-------------|
| RSI / ADX | Enable or disable as filters |
| EMA Source | Use custom or higher timeframe |
| Dynamic Size | Increase size when signal is strong |
| Trailing Stop | Replace fixed SL with trailing logic |
| Partial Exit | Take partial profits earlier |
| Profit Lock | Exit trades early on reversal signs |
| Alerts | Get real-time alerts on entry |
---
### 📦 Use Cases
- A ready-to-use base for trend-following strategies
- Can be expanded with custom indicators
- Perfect for traders who value logic, safety, and modularity
- Suitable for scalping or swing trading depending on timeframe
---
### 👨💻 Author
Published by: **emad_alwan**
Pine Script v6 | License: Open Use | Fully Commented & Modular
Cycle Biologique Strategy // (\_/)
// ( •.•)
// (")_(")
//@fr33domz
Experimental Research: Cycle Biologique Strategy
Overview
The "Cycle Biologique Strategy" is an experimental trading algorithm designed to leverage periodic cycles in price movements by utilizing a sinusoidal function. This strategy aims to identify potential buy and sell signals based on the behavior of a custom-defined biological cycle.
Key Parameters
Cycle Length: This parameter defines the duration of the cycle, set by default to 30 periods. The user can adjust this value to optimize the strategy for different asset classes or market conditions.
Amplitude: The amplitude of the cycle influences the scale of the sinusoidal wave, allowing for customization in the sensitivity of buy and sell signals.
Offset: The offset parameter introduces phase shifts to the cycle, adjustable within a range of -360 to 360 degrees. This flexibility allows the strategy to align with various market rhythms.
Methodology
The core of the strategy lies in the calculation of a periodic cycle using a sinusoidal function.
Trading Signals
Buy Signal: A buy signal is generated when the cycle value crosses above zero, indicating a potential upward momentum.
Sell Signal: Conversely, a sell signal is triggered when the cycle value crosses below zero, suggesting a potential downtrend.
Execution
The strategy executes trades based on these signals:
Upon receiving a buy signal, the algorithm enters a long position.
When a sell signal occurs, the strategy closes the long position.
Visualization
To enhance user experience, the periodic cycle is plotted visually on the chart in blue, allowing traders to observe the cyclical nature of the strategy and its alignment with market movements.
Super Smart Trend SystemHow the System Works
The Super Smart Trend System combines 6 technical indicators (SuperTrend, Hull MA, ADX, VWAP, RSI, and WaveTrend) into an intelligent voting mechanism. The system calculates a voting percentage from these indicators to determine the prevailing trend direction. It uses ATR (Average True Range) to dynamically set stop-loss and profit targets, while providing early signals for trend reversals through RSI divergence and WaveTrend pattern analysis.
Using the Market Status Dashboard
Market Status: Displayed at the top of the dashboard with star rating (⭐⭐⭐) and percentage showing signal strength. Look for STRONG BUY or STRONG SELL signals with multiple stars.
Recommendation: Follow the displayed recommendation (Full Position Entry, 75% Position Entry, Wait) to determine your action. This tells you exactly what position size to use based on signal strength.
Risk/Reward Ratio: Ensure the ratio is greater than 1:2 for good trades, and greater than 1:3 for excellent trades. This shows the potential profit compared to your risk.
Suggested Stop & Target Levels: Use these pre-calculated values to set your stop-loss and take-profit orders. These are based on recent price action and ATR volatility.
Primary Trend: Ensure your trades align with the primary market trend for best results. Trading with the trend increases probability of success.
For optimal results, only enter trades when you see a strong signal (⭐⭐⭐) with a good risk/reward ratio, and follow the provided recommendations regarding position size, stop-loss, and profit target levels. The dashboard removes guesswork and emotions by providing clear, objective trading decisions.
Equity SurgeFor Blue Chip Stocks & Crypto: Equity Surge is the key to unlocking reliable entry points in established markets. Capture consistent gains with a strategy engineered for precision and designed to capitalize on predictable patterns within blue-chip stocks and cryptocurrencies.
Great strategy to add to basket of others
Works on 1H,4H and 8H
Click on strategy report for backtest results
Likes and boosts get trial to backtest, DM once liked and I will respond asap
EMA Dynamics Crossover R:R=1:1.5EMA Dynamics Crossover R:R=1:1.5 📊
The EMA Dynamics Crossover R:R=1:1.5 strategy is designed to identify high-probability long entry signals based on the WaveTrend Indicator and the Exponential Moving Average (EMA) crossover. This tool is optimized for trend-following traders who aim to capture upward market movements while maintaining a defined risk/reward ratio.
Key Features:
Entry Signal (Long Position):
A long position is triggered when the WaveTrend Indicator (wt1) crosses above the smoothed WaveTrend (wt2), indicating potential upward momentum.
The entry is only considered if the wt1 is below a user-defined limit value, preventing entries when the market is overbought.
Risk-to-Reward Ratio:
The strategy uses a 1:1.5 risk-to-reward ratio (R:R) to balance risk and reward on each trade.
Stop-Loss (SL) is set at the lowest point of the last three bars, dynamically adjusting based on price action.
Take-Profit (TP) is calculated based on the average entry price and the set R:R ratio, ensuring profitable exits when the market moves in favor of the trade.
Stop-Loss and Take-Profit Visualization:
Stop-Loss and Take-Profit levels are plotted on the chart for easy visualization.
Stop-Loss is shown in red, and Take-Profit is shown in green, providing clear reference points for traders.
The entry price is marked in silver for tracking the trade's position in real time.
Backtesting Capability:
The script is fully backtestable, enabling traders to evaluate the performance of the EMA crossover strategy under different historical market conditions.
This feature allows for thorough testing and optimization, ensuring that traders can refine their approach before using it in live markets.
How It Works:
The WaveTrend Indicator is used to detect market momentum, while the EMA crossover (wt1 crossing above wt2) triggers the long entry signal.
The limit value for wt1 ensures that the trade is not entered when the market is considered overbought, thereby filtering out false signals during extended price rallies.
Risk management is handled by the dynamic stop-loss and take-profit levels, based on the market's current price action and the defined 1:1.5 risk/reward ratio.
TP SyncerTake Profit Multi-Timeframe 📈
This indicator is designed to provide efficient risk management with an integrated take-profit system . It allows users to set take-profit levels in two ways: as a percentage of the entry price or based on resistance levels on higher timeframes – or even a combination of both🔄.
The strategy uses the Wave Trend Indicator as a reference to identify optimal entry points and potential profit targets 🎯. With a multi-timeframe approach, the take-profit targets can be adjusted across different timeframes for more accurate and informed trading decisions.
Ideal for traders seeking to fine-tune risk management strategies and adjust take-profit levels flexibly, this tool helps manage trades effectively while maximizing potential profits💰.
Multi-Strategy Framework v3Multi Strategy Framework: 38 Strategies ensemble with Risk Management on top.
This trading system integrates over 38 independent strategies into a single, powerful strategy. Each strategy contributes its unique market perspective, culminating in a holistic view of the asset. The framework is further enhanced with sophisticated risk management and position sizing techniques.
Key Strategies Include:
• Moving average analysis
• Market structure evaluation
• Percentage rank calculations
• Sine wave correlation
• Fourier Frequency Transform (FFT) for signal composition analysis
• Bayesian statistical methods
• Seasonality patterns
• Signal-to-noise ratio assessment
• Horizontal, Resistance & Indecision levels identification
• Trendlines and Channels recognition
• Oscillators
• Open interest and funding rates analysis
• Volume and volatility measurements
• Divergence and Convergence
Two-Tiered Approach:
1. Market Regime Identification Layer: The combined output of all strategies determines the market regime, visually represented by a color-coded background.
2. Risk Management & Execution Layer: Based on the identified regime, the system applies different entry and exit rules, employing trend-following in bull markets and mean reversion in bear markets. This layer includes entry and exit filters, position sizing rules, take profits parameters and risk managment.
This framework is optimized for cryptocurrencies, offering a robust solution for trading in these volatile markets. It's intention is to serve as a safer way to invest in crypto assets, ensuring you:
Never miss strong upside trends and exit in time to avoid major drawdowns
Market Regime Optimization and Implementation:
• Each Market Regime strategy is designed for easy optimization, with a maximum of 4 parameters.
• All strategies produce consistent signal types, which are aggregated for final market direction decisions.
• Individual optimization of each strategy is performed using the Zorro Platform, a professional C++ based tool.
• All strategies are tested to work by themselves with Walk-Forward back testing
• Strategies that don't enhance market regime definition are not excluded enhancing robustness
Risk Management & Execution Optimization and Implementation:
• The strategy has different exits depending on the market regime, and its rules and parameters are optimized with full data minus simulation to obtain robust parameters.
• The strategy makes sure it never loses a big % of unrealized profits, and has always stop losess for the entries making sure % of losses are controlled.
• Take profits and position sizing are based on oscillators and strategy conditions.
• The methods used to trade in each market regimes are fully studied and tested to work in out of sample environments.
• This layer has options to see results in inverse trading conditions, long & short or 1 direction only, the performance of each market regime, and an option to display each market regime strategy individually. Also it can show backtest and out of sample results together or individually.
The following show results for this strategy optimized for different pairs.
The strategy for aech pair come pre-configured with optimized parameters by default, so there's no need to make any adjustments. However, it’s important to use the timeframes, exchanges, and max bar number for each pair. A Premium account with 20.000 bars is wanted but not fully needed. To get access to each strategy get in touch with me thorugh the platform.
Free Month for Testing:
You are eligible for a free one-month trial to test the strategy before committing. This allows you to fully explore its capabilities without any immediate cost.
If you are interested in automating the strategy, I recommend using a tool like Autoview. The strategy is fully compatible with automated trading and many 3rd party providers; contact me directly to write down the syntax at an extra cost.
This invitation-only TradingView script represents a culmination of extensive research and optimization, designed to provide serious traders with a powerful tool for navigating the complex cryptocurrency markets it is not shared publicaly or freely.
❓FAQ
Q: Can I use it for scalping?
A: This system is better suited for swing or trendholding periods, so no.
Q: Does it repaint?
A: No, all signals are calculated on confirmed bars only.
Q: Can I use it on stocks or forex?
A: It's optimized for crypto, but you can test it on other assets — results may vary.
Q: Can I automate it with TradingView alerts?
A: Yes, it supports full automation with platforms like Autoview. You’ll need signal syntax, available upon request.
Q: Can I use it on a free TradingView account?
A: Yes but results will not be as good and it might incur in losses check the backtest first and do a simulation period if needed.
Q: Does the startegy works in out of sample?
A: Yes all strategy pairs have already a period of outsample where you can check the results.
Q: Which coins are available?
A: I only use coins with at least 6 years of data and sufficient volume on exchanges. Pairs include: BTC, ETH, LTC, XRP, BNB, LINK, ADA, DOGE, XLM, ATOM, S, POL and a few others.
Q: Can it be used on Forex, stocks, or indices?
A: It is optimized for crypto, but it may work on other markets. Results on non-crypto assets should be manually tested, and performance is not guaranteed outside crypto.
Q: Can I cancel anytime?
A: Yes, subscriptions are month-to-month and can be stopped anytime without penalties.
Q: Can I access the settings?
A: Yes, all key settings are visible. However, default parameters are pre-optimized for each pair and shouldn't require changes for best performance.
Q: How often is the script updated?
A: The framework is actively maintained. Updates are pushed when improvements, optimizations, or new strategies are added. Parameter optimizations are done yearly.
2:45 AM Candle High/Low Crossing Bars2:45 AM Candle High/Low Crossing Bars is an indicator that focuses on the trading view 2:45am NY TIME high and low indicating green for buy and red bars for sell, with the 2:45am new york time highlight/ If the next candle sweeps the low we buy while if it sweeps the high we sell, all time zoon must be the new York UTC time.
Supertrend + MACD CrossoverKey Elements of the Template:
Supertrend Settings:
supertrendFactor: Adjustable to control the sensitivity of the Supertrend.
supertrendATRLength: ATR length used for Supertrend calculation.
MACD Settings:
macdFastLength, macdSlowLength, macdSignalSmoothing: These settings allow you to fine-tune the MACD for better results.
Risk Management:
Stop-Loss: The stop-loss is based on the ATR (Average True Range), a volatility-based indicator.
Take-Profit: The take-profit is based on the risk-reward ratio (set to 3x by default).
Both stop-loss and take-profit are dynamic, based on ATR, which adjusts according to market volatility.
Buy and Sell Signals:
Buy Signal: Supertrend is bullish, and MACD line crosses above the Signal line.
Sell Signal: Supertrend is bearish, and MACD line crosses below the Signal line.
Visual Elements:
The Supertrend line is plotted in green (bullish) and red (bearish).
Buy and Sell signals are shown with green and red triangles on the chart.
Next Steps for Optimization:
Backtesting:
Run backtests on BTC in the 5-minute timeframe and adjust parameters (Supertrend factor, MACD settings, risk-reward ratio) to find the optimal configuration for the 60% win ratio.
Fine-Tuning Parameters:
Adjust supertrendFactor and macdFastLength to find more optimal values based on BTC's market behavior.
Tweak the risk-reward ratio to maximize profitability while maintaining a good win ratio.
Evaluate Market Conditions:
The performance of the strategy can vary based on market volatility. It may be helpful to evaluate performance in different market conditions or pair it with a filter like RSI or volume.
Let me know if you'd like further tweaks or explanations!
Box Chart Overlay StrategyExploring the Box Chart Overlay Strategy with RSI & Bollinger Confirmation
The “Box Chart Overlay Strategy by BD” is a sophisticated TradingView strategy script written in Pine Script (version 5). It combines a box charting method with two widely used technical indicators—Relative Strength Index (RSI) and Bollinger Bands—to generate trade entries. In this article, we break down the strategy’s components, its logic, and how it visually represents trading signals on the chart.
1. Strategy Setup and User Inputs
Strategy Declaration
At the top of the script, the strategy is declared with key parameters:
Overlay: The indicator is plotted directly on the price chart.
Initial Capital & Position Sizing: It uses a simulated trading account with an initial capital of 10,000 and positions sized as a percentage of equity (10% by default).
Commission: A commission of 0.1% is factored into trades.
Input Parameters
The strategy is highly customizable. Users can adjust various inputs such as:
Box Settings:
Box Size (RSboxSize): Defines the size of each price “box.”
Box Options: Choose from three modes:
Standard: Boxes are calculated continuously from the start of the chart.
Anchored: The first box is fixed at a specified time and price.
Daily Reset: The boxes reset each day based on a defined session time.
Color Customizations:
Options to customize the appearance of boxes, borders, labels, and even repainting the candles based on the current price’s relation to box levels.
RSI Settings:
Length, overbought, and oversold levels are set to filter trades.
Bollinger Bands Settings:
Users can set the length of the moving average and the multiplier for standard deviation, which will be used to compute the upper and lower bands.
2. The Box Chart Mechanism
Box Construction
The core idea of a box chart is to group price movement into discrete blocks—or boxes—of a fixed size. In this strategy:
Standard Mode:
The script calculates boxes starting at a rounded price level. When the price moves sufficiently above or below the current box’s boundaries, a new box is drawn.
Anchored and Daily Reset Modes:
These modes allow traders to control where the box calculations begin or to reset them during a specific intraday session.
Visual Elements
Several custom functions handle the visual components:
drawBoxUp() and drawBoxDn():
These functions create boxes in bullish or bearish directions respectively, based on whether the price has exceeded the current box’s high or low.
drawLines() and drawLabels():
Lines are drawn to extend the current box levels, and labels are updated to display key levels or the “remainder” (the difference needed to trigger a new box).
Projected Boxes:
A “projected” box is drawn to indicate potential upcoming box levels, providing an additional visual cue about the price action.
3. Integrating RSI and Bollinger Bands for Trade Confirmation
RSI Integration
The strategy computes the RSI using a user-defined length. It then uses the following conditions to validate entries:
Long Trades (Box Up):
The strategy waits for the RSI to be at or below the oversold level before considering a long entry.
Short Trades (Box Down):
It requires the RSI to be at or above the overbought level before triggering a short entry.
Bollinger Bands Confirmation
In addition to the RSI filter:
For Long Entries:
The price must be at or below the lower Bollinger Band.
For Short Entries:
The price must be at or above the upper Bollinger Band.
By combining these filters with the box breakout logic, the strategy aims to enhance the quality of its trade signals.
4. Dynamic Trade Entries and Alerts
Box Logic and Entry Functions
Two key functions—BoxUpFunc() and BoxDownFunc()—handle the creation of new boxes and also check if trade conditions are met:
When a new box is drawn, the script evaluates if the RSI and Bollinger conditions align.
If conditions are satisfied, the script places an entry order:
Long Entry: Initiated when the price moves upward, RSI indicates oversold, and the price touches or falls below the lower Bollinger Band.
Short Entry: Triggered when the price falls downward, RSI signals overbought, and the price touches or exceeds the upper Bollinger Band.
Alerts
Built-in alert functions notify traders when a new box level is reached. Users can set custom alert messages to ensure they are aware of potential trade opportunities as soon as the conditions are met.
5. Visual Enhancements and Candle Repainting
The script also includes options for repainting candles based on their relation to the current box’s boundaries:
Above, Below, or Within the Box:
Candles are color-coded using user-defined colors, making it easier to visually assess where the price is in relation to the box levels.
Labels and Lines:
These continuously update to reflect current levels and provide an immediate visual reference for potential breakout points.
Conclusion
The Box Chart Overlay Strategy by BD is a multi-faceted approach that marries the traditional box chart technique with modern technical indicators—RSI and Bollinger Bands—to refine entry signals. By offering various customization options for box creation, visual styling, and confirmation criteria, the strategy allows traders to adapt it to different market conditions and personal trading styles. Whether you prefer a continuously running “Standard” mode or a more controlled “Anchored” or “Daily Reset” approach, this strategy provides a robust framework for integrating price action with momentum and volatility measures.
FusionXcel Signal TestTrend-based Demand & Supply with Trendlines:
Demand Zones: Areas where buying pressure is high (price tends to rise).
Supply Zones: Areas where selling pressure is high (price tends to fall).
Trendlines: Lines drawn to connect higher lows (uptrend) or lower highs (downtrend), helping to identify the overall market direction.
Psychological analytics
NISHITThis strategy is equal to the very popular "ANN Strategy" coded by sirolf2009 but without the Artificial Neural Network (ANN// Main difference besides stripping out the ANN is that I use close prices instead of OHLC4 prices
Morning & Evening Star Strategy (1% TP, 0.5% SL)Morning star and evening star indicator which allows you to identify the trader basis on this price action pattern. It is only for education purpose and nothing else
VOLGHAN STGForex Robots: A Comprehensive Guide for Traders
Introduction
In the dynamic world of Forex trading, various tools exist to assist traders in making decisions and executing trades. One popular yet controversial tool is the Forex Robot, also known as an Expert Advisor (EA). These robots are software programs designed to automatically execute trades based on a predefined set of rules and algorithms.
What is a Forex Robot and How Does It Work?
A Forex robot is a computer program that connects directly to your trading platform (like MetaTrader 4 or 5). These robots are designed to analyze currency price movements. They use technical indicators, price patterns, or custom trading strategies to identify buy or sell signals.
When a signal matching the robot's programmed rules is detected, the robot can automatically open or close a trade in your account without human intervention. The primary goal of using robots is to automate the trading process and eliminate the need for constant market monitoring.
Advantages of Using Forex Robots:
Automated & 24/7 Trading: Robots can analyze the market and trade continuously, even while you are asleep or busy with other activities.
High Execution Speed: Robots can react to market changes and execute trades in fractions of a second, much faster than a human can.
Emotionless Trading: One of the biggest challenges for traders is overcoming emotions like fear and greed. Robots operate purely based on logic and programmed rules, unaffected by emotions.
Backtesting: Most robots offer the ability to test their strategy on historical market data. This allows you to evaluate the robot's potential performance before using real money.
Strategy Adherence: Robots strictly and consistently follow the defined trading strategy without deviating from the rules.
Disadvantages and Risks of Using Forex Robots:
No Profit Guarantee: No Forex robot can guarantee profits. Past performance is not indicative of future results, as market conditions are constantly changing.
Need for Optimization: Strategies that work today may not work tomorrow. Robots require periodic monitoring, adjustments, and optimization to adapt to new market conditions.
Risk of Scams: The market is flooded with robots sold with unrealistic promises of huge profits. Many of these robots are either ineffective or outright scams.
Technical Issues: Robots require a stable internet connection and an active trading platform to function correctly. Internet outages or server problems can lead to missed trades or incorrect execution. Using a Virtual Private Server (VPS) is often recommended.
Curve Fitting: Some robots might be overly optimized to perform well on specific historical data (curve fitting), leading to poor performance in live, real-time market conditions.
Things to Consider Before Using a Forex Robot:
Thorough Research: Before buying or using any robot, research it extensively. Look for independent reviews, verified performance results (e.g., via sites like Myfxbook), and feedback from other users.
Understand the Strategy: Try to understand the logic and trading strategy behind the robot. Not knowing how the robot works makes risk management difficult.
Demo Account Testing: Always test the robot extensively on a demo account before using it with real money to familiarize yourself with its performance and settings.
Risk Management: Even when using a robot, risk management principles are crucial. Carefully set parameters for trade size (lot size), stop-loss, and take-profit.
Realistic Expectations: Remember that robots are tools to aid trading, not magical money-making machines. There is always a risk of losing capital.
Conclusion
Forex robots can be powerful tools for automating trades and capitalizing on market opportunities, especially for those who lack the time or inclination for constant market analysis. However, their use is not without risk. Success with Forex robots requires careful selection, proper understanding, thorough testing, appropriate risk management, and realistic expectations. Never risk money you cannot afford to lose, whether trading manually or using a robot.
Volume Footprint Approx + Trend Filter v6I tried to use volume footprint data with trend, it is not a bad idea but it can be better I will make it better
Smart Scalper WR+ Momentum + Trailing StopThis is an aggressive scalping strategy designed to capture short-term momentum moves with high-frequency signals. It uses RSI-based reversal logic combined with candle momentum and a fixed take-profit/stop-loss setup for fast in-and-out trades. BINANCE:BTCUSDT
Smart Trade By Amit RoyVersion 1.0
An indicator trend refers to the directional movement of a technical indicator over time, helping traders and analysts interpret market momentum, strength, and potential reversals. Indicator trends are commonly used in financial markets to confirm price trends, detect overbought or oversold conditions, and identify divergence patterns.
EMA + RSI + MACD + Support & Resistance Combined StrategyThis Pine Script strategy combines **EMA, RSI, MACD, and Support/Resistance levels** to identify high-probability trading opportunities.
- **EMA (Exponential Moving Averages)**: Determines trend direction using EMAs (5, 20, 50, 100, 200).
- **RSI (Relative Strength Index)**: Filters trades, confirming bullish (above 50 but below 70) and bearish (below 50 but above 30) momentum.
- **MACD (Moving Average Convergence Divergence)**: Confirms momentum shifts using MACD line crossover with the signal line.
- **Support & Resistance**: Detects breakout and breakdown levels based on the highest high and lowest low over a set period.
- **Trade Execution**:
- **Buy**: When all bullish conditions align, and the price breaks above resistance.
- **Sell**: When all bearish conditions align, and the price breaks below support.
- **Risk Management**: Uses ATR (Average True Range) to set dynamic stop-loss and take-profit levels.
This strategy helps traders capitalize on strong trends while managing risks effectively. 🚀
Triangular Hull Moving Average [BigBeluga X PineIndicators]This strategy is based on the original Triangular Hull Moving Average (THMA) + Volatility indicator by BigBeluga. Full credit for the concept and design goes to BigBeluga.
The strategy blends smoothed trend-following logic using a Triangular Hull Moving Average with dynamic volatility overlays, providing actionable trade signals with responsive visual feedback. It's designed for traders who want a non-lagging trend filter while also monitoring market volatility in real time.
How the Strategy Works
1. Triangular Hull Moving Average (THMA) Core
At its core, the strategy uses a Triangular Hull Moving Average (THMA) — a variation of the traditional Hull Moving Average with triple-smoothing logic:
It combines multiple weighted moving averages (WMAs) to create a faster and smoother trend line.
This reduces lag without compromising trend accuracy.
The THMA reacts more responsively to price movements than classic MAs.
THMA Formula:
thma(_src, _length) =>
ta.wma(ta.wma(_src,_length / 3) * 3 - ta.wma(_src, _length / 2) - ta.wma(_src, _length), _length)
This logic filters out short-term noise while still being sensitive to genuine trend shifts.
2. Volatility-Enhanced Candle Plotting
An optional volatility mode overlays the chart with custom candles that incorporate volatility bands:
Wicks expand and contract dynamically based on market volatility.
The volatility value is computed using a HMA of high-low range over a user-defined length.
The candle bodies reflect THMA values, while the wicks reflect the current volatility spread.
This feature allows traders to visually gauge the strength of price moves and anticipate possible breakouts or slowdowns.
3. Trend Reversal Signal Detection
The strategy identifies trend reversals when the THMA line crosses over/under its own past value:
A bullish signal is triggered when THMA crosses above its value from two bars ago.
A bearish signal is triggered when THMA crosses below its value from two bars ago.
These shifts are marked on the chart with triangle-shaped signals for clear visibility.
This logic helps detect momentum shifts early and enables reactive trade entries.
Trade Entry & Exit Logic
Trade Modes Supported
Users can choose between:
Only Long – Enters long trades only.
Only Short – Enters short trades only.
Long & Short – Enables both directions.
Entry Conditions
Long Entry:
Triggered when a bullish crossover is detected.
Active only if the strategy mode allows long trades.
Short Entry:
Triggered when a bearish crossover is detected.
Active only if the strategy mode allows short trades.
Exit Conditions
In Only Long mode, the strategy closes long positions when a bearish signal appears.
In Only Short mode, the strategy closes short positions when a bullish signal appears.
In Long & Short mode, the strategy does not auto-close positions — instead, it opens new positions on each confirmed signal.
Dashboard Visualization
In the bottom-right corner of the chart, a live dashboard displays:
The current trend direction (🢁 for bullish, 🢃 for bearish).
The current volatility level as a percentage.
This helps traders quickly assess market status and adjust their decisions accordingly.
Customization Options
THMA Length: Adjust how smooth or reactive the trend detection should be.
Volatility Toggle & Length: Enable or disable volatility visualization and set sensitivity.
Color Settings: Choose colors for up/down trend visualization.
Trade Direction Mode: Limit the strategy to long, short, or both types of trades.
Use Cases & Strategy Strengths
1. Trend Following
Use the THMA-based candles and triangle signals to enter with momentum. The indicator adapts quickly, reducing lag and improving trade timing.
2. Volatility Monitoring
Visualize the strength of the trend with volatility wicks. Use expanding bands to confirm breakouts and contracting ones to detect weakening moves.
3. Signal Confirmation
Combine this tool with other indicators or use the trend shift triangles as confirmations for manual entries.
Conclusion
The THMA + Volatility Strategy is a non-repainting trend-following system that integrates:
Triangular Hull MA for advanced trend detection.
Real-time volatility visualization.
Clear entry signals based on trend reversals.
Configurable trade direction settings.
It is ideal for traders who:
Prefer smoothed price analysis.
Want to follow trends with precision.
Value visual volatility feedback for breakout detection.
Full credit for the original concept and indicator goes to BigBeluga.
Litecoin Trailing-Stop StrategyAltcoins Trailing-Stop Strategy
This strategy is based on a momentum breakout approach using PKAMA (Powered Kaufman Adaptive Moving Average) as a trend filter, and a delayed trailing stop mechanism to manage risk effectively.
It has been designed and fine-tuned Altcoins, which historically shows consistent volatility patterns and clean trend structures, especially on intraday timeframes like 15m and 30m.
Strategy Logic:
Entry Conditions:
Long when PKAMA indicates an upward move
Short when PKAMA detects a downward trend
Minimum spacing of 30 bars between trades to avoid overtrading
Trailing Stop:
Activated only after a customizable delay (delayBars)
User can set trailing stop % and delay independently
Helps avoid premature exits due to short-term volatility
Customizable Parameters:
This strategy uses a custom implementation of PKAMA (Powered Kaufman Adaptive Moving Average), inspired by the work of alexgrover
PKAMA is a volatility-aware moving average that adjusts dynamically to market conditions, making it ideal for altcoins where trend strength and direction change frequently.
This script is for educational and experimental purposes only. It is not financial advice. Please test thoroughly before using it in live conditions, and always adapt parameters to your specific asset and time frame.
Feedback is welcome! Feel free to clone and adapt it for your own trading style.
Hypersonic MAIN Intersection StrategyStrategy that shows the intersection point of two Items of Interest. Backtesting showed the best was Candle (close) & EMA 9.
1. I added 2 auxiliary EMA's that you can view or hide because I know some people like to see the EMA 200.
2. You select the First and Second Item of Interest and it'll plot it in the background. First EMA and Second EMA correspond to whether you select them or not. The BWMA stuff is near the bottom. And in the middle is how you can show/hide the data table in the top-right. If you choose "candle" then it'll use the close of the candle for plotting.
3. you can show/hide different lines in the Style section.
4. on the Style tab of Settings, you can turn off the whole table as well as the Trades, just the signal of the trade, or just the quantity of the trade.
Beyond TrackBeyond Track is a powerful tool designed to assist traders in identifying key market trends, entry and exit points, and potential reversals. This indicator combines to provide clear and actionable signals for both novice and experienced traders.