B4100 - NW Trend Ribbon StrategyB4100 - NW Trend Ribbon Strategy: Adaptive Trend Following with Kernel Smoothing
This strategy is a sophisticated trend-following system designed to identify and capitalize on sustained market trends. It combines a ribbon of custom-built moving averages with multiple layers of filtering and confirmation to generate high-probability entry and exit signals. It's highly customizable, allowing you to fine-tune its sensitivity and responsiveness to adapt to various market conditions and timeframes.
What the Strategy Does:
The NW Trend Ribbon Strategy aims to:
Identify the prevailing trend: It uses a ribbon of five moving averages (MAs), each with configurable length and smoothing type, to visually represent and quantify the current market trend.
Filter out noise and false signals: It employs several filters, including an RSI filter, a trend strength filter (based on the RSI of a selected MA), and a trend confirmation period, to reduce the likelihood of entering trades based on short-term fluctuations.
Generate precise entry signals: Entry signals are triggered only when a specified number of MA crossovers occur, the RSI filter (optional) is satisfied, the trend strength filter (optional) is met, and the trend conditions have persisted for a user-defined confirmation period.
Manage risk and protect profits: The strategy includes multiple exit options:
Percentage Trailing Stop: A classic trailing stop that activates at a specified percentage profit and trails the price by a defined offset.
ATR Trailing Stop: A volatility-based trailing stop that uses the Average True Range (ATR) to dynamically adjust the stop level.
ATR Take Profit: A volatility-based take profit that uses the ATR to set a profit target.
Hard Stop Loss: A fixed stop loss, either percentage-based or ATR-based, for maximum risk control.
Control Trade Direction : Allow the user to decide whether they want to enter Long trades, short trades, or both.
How It Works:
The strategy's core logic revolves around these key components:
Kernel-Smoothed Moving Averages: Instead of standard moving averages (SMA, EMA, etc.), this strategy uses *kernel smoothing*. This allows for more flexible and adaptive smoothing than traditional MAs. You can choose from three kernel types:
Beta Kernel: This is the most versatile option. It allows you to control *positive* and *negative* lag independently using the `alpha` and `beta` parameters. This means you can make the MA react slower to price increases and faster to price decreases (or vice versa), which can be particularly useful in trending markets.
Gaussian Kernel: A classic smoothing kernel that creates a bell-shaped weighting. The `bandwidth` parameter controls the width of the bell curve; a smaller bandwidth makes the MA more responsive.
Epanechnikov Kernel: Similar to the Gaussian kernel, but with a slightly different shape. It also uses a `bandwidth` parameter.
MA Ribbon: The five MAs form a "ribbon" on the chart. The alignment and relative positions of the MAs provide a visual indication of trend strength and direction.
Crossover Detection: The strategy monitors the crossovers between consecutive MAs in the ribbon. You can specify how many crossovers are required to generate a potential signal.
RSI Filter (Optional): This filter helps avoid entries during overextended market conditions. For long entries, the RSI must be below the oversold level; for short entries, it must be above the overbought level.
Trend Strength Filter (Optional): This unique filter uses the RSI of one of the moving averages (you choose which one) to measure the *strength* of the trend. This helps to ensure that you're entering trades in the direction of a strong, established trend.
Trend Confirmation: To further reduce false signals, the strategy requires that the entry conditions (MA crossovers, RSI, and trend strength) be met for a specified number of consecutive bars before a trade is actually triggered.
Exit Logic: The strategy prioritizes exits in the following order: Hard Stop Loss, Trailing Stop (Percentage or ATR-based), and Take Profit (ATR-based). This ensures that losses are minimized and profits are protected.
What Makes It Unique:
This strategy stands out from other indicators and strategies due to several key features:
Highly Customizable Kernel Smoothing: The use of kernel smoothing, especially the Beta kernel, provides a level of control over MA responsiveness that is not available with standard MAs. This allows for a much more adaptive and nuanced approach to trend following.
Combined Trend Strength and Confirmation: The combination of the trend strength filter (using the RSI of an MA) and the trend confirmation period provides a robust filtering mechanism that goes beyond simple MA crossovers or RSI readings. This helps to filter out weak trends and whipsaws.
Multiple, Prioritized Exit Options: The strategy's exit logic is sophisticated, offering a combination of fixed and dynamic stops and take profit levels. The prioritization ensures that the most conservative exit (hard stop) is triggered first, followed by the trailing stops, and finally the take profit.
Comprehensive Input Grouping: All inputs have been sorted into groups that control certain aspects of the strategy. This allows users to easily and quickly locate and adjust inputs as they see fit.
Trade Direction Control : Unlike many strategies, this one lets you independently enable or disable long and short trades.
All-in-one trend system: This indicator combines multiple aspects needed for trading: entry signals, stop loss calculations, take profit calculations.
In summary, the NW Trend Ribbon Strategy is a powerful and flexible trend-following system that combines the visual clarity of a moving average ribbon with the advanced filtering and risk management capabilities of kernel smoothing, RSI, trend strength, and multiple exit options. It's designed for traders who want a customizable and robust tool for identifying and trading sustained market trends.
تحليل الاتجاه
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.
1 Min Gold Heikin Ashi StrategyThis mash up of previously published indicators now turned into a Strategy reflects a very effective Gold 1 min Scalping Strategy. When utilised with two other Indicators that I cannot combine. These two other indicators are
- Future Trend Channel by Chart Prime
- Machine Learning: Lorentzian Classification: JDEHorty
The imbedded scripts within this indicator are
- Chandelier Exit by Everget
- STK a better MACD by Shayankm
- Supertrend by Everget
- EMA is the stock indicator provided by TradingView.
The settings should be a followed
Chandelier Exit
ATR Length: 1
ATR Multiplier: 1
Extremums: on
EMA: 150
STC
Length: 5
FastLength: 30
Slow: Length: 50
EMA and STC should be applied as filters.
Lorentzian the settings should be as standard. Confirmation of a Buy/Sell signal should be by the Future Trend Channel by ChartPrime if Bullish Market is being shown on the chart by Future Trend Channel then only Buys should be placed. The reverse should be applied for Sells. Final Confirmation should be from the Lorentzian Classification. Both in candle colour and the candle classification number. If the classification for Buys should be equal or greater than 6 and the candle colour is green then the trade can be placed. For Sells if the classification should be equal of less than -6 and the candle colour should be red then the Sell trade can be placed.
This Strategy has been implemented to use SL and TP in the number of pips required for XAUUSD. I am using a target of TP 8-9 pis and SL at 25 pips.
Combined BB & New SuperTrend StrategyExplanation
Bollinger Bands Section:
A customizable moving average (with multiple options) calculates the basis, upper, and lower bands. These are plotted on the chart with a filled area between them.
New SuperTrend Section:
The new SuperTrend code is integrated after renaming its variables (prefixed with st_) to avoid conflicts. This section calculates ATR-based stop levels, determines the trend direction, and generates buy/sell signals when the trend reverses. Optional labels and visual fills are also provided.
Trading Logic:
When a bullish SuperTrend signal occurs (transition from bearish to bullish), the script closes any short position and enters a long position. Conversely, when a bearish signal occurs, it closes the long position and enters a short. Additionally, if the price touches the Bollinger Bands (upper for longs, lower for shorts), the respective positions are exited.
This combined script should now compile without errors and use your new SuperTrend indicator for trade signals while retaining the Bollinger Bands exit conditions. Let me know if you need further modifications or explanations!
Süper Trend Tarzı AL-SATVadeli işlemler ve normal spot işlemler için hata payı çok düşük olan indikatörüm.
Süper trend'i örnek alarak geliştirilmiştir.
İz süren stoplar mevcuttur alımlar buna göre stop-loss eklenerek karlı alım satımlar yapılabilir.
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.
Vinay StrategyCondition Met Action
MACD > Signal + Price above SAR + Supertrend Green ✅ Enter Long
Price stays above SAR but MACD fluctuates Hold Long
MACD < Signal (Bearish) but Price still above SAR Hold Long
MACD < Signal + Price closes below SAR ❌ Exit Long
MACD < Signal + Price below SAR + Supertrend Red ✅ Enter Short
Price stays below SAR but MACD fluctuates Hold Short
MACD > Signal (Bullish) but Price still below SAR Hold Short
MACD > Signal + Price closes above SAR ❌ Exit Short
Prism Confluence SystemPrism Confluence System: Strategy Overview
The Prism Confluence System is a multi-factor trading strategy that combines trend analysis, price action patterns, volume confirmation, and volatility management to generate high-probability signals. Below is a detailed breakdown of its components and customizable inputs:
________________________________________
Core Components
1. Trend Identification
o Dual EMA crossover system (short/long-term EMAs)
o ADX filter to confirm trending markets
2. Price Action Signals
o Engulfing patterns (bullish/bearish)
o Hammer/Inverted Hammer with trend alignment
o Fair Value Gaps (FVGs) with fill detection
3. Volume Validation
o Volume spikes relative to moving average
4. Risk Management
o ATR-based dynamic stop-loss (SL) and take-profit (TP)
o Separate thresholds for strong/weak signals
________________________________________
User-Adjustable Inputs
(Accessible via strategy settings UI)
1. Trend Identification
Parameter Default Description
Short EMA Length 20 Period for fast EMA (trend direction)
Long EMA Length 50 Period for slow EMA (trend confirmation)
ADX Trend Filter Length 14 ADX period to filter non-trending markets
Adjustment Tips:
• Increase EMA lengths for slower trend response
• Lower ADX threshold (default 20) to allow weaker trends
________________________________________
2. Support/Resistance
Parameter Default Description
Support/Resistance Length 14 Lookback for pivot highs/lows
Adjustment Tips:
• Shorter lengths = more reactive S/R levels
• Longer lengths = broader price zones
________________________________________
3. Fair Value Gaps (FVG)
Parameter Default Description
FVG Lookback 10 Bars back to check for gap formation
FVG Fill Window 5 Max bars allowed to fill a gap (hardcoded)
Adjustment Tips:
• Increase lookback for larger timeframes
• Reduce fill window for quicker gap closures
________________________________________
4. Volume Analysis
Parameter Default Description
Volume Spike Multiplier 1.5 Current volume vs MA threshold
Secondary Volume Threshold 1.2 Previous bar volume confirmation
Adjustment Tips:
• Increase multipliers for stricter volume confirmation
• Lower to 1.0-1.1 for active markets
________________________________________
5. Volatility Management
Parameter Default Description
ATR Length 14 Period for Average True Range
ATR Stop-Loss Multiplier 2 SL distance (ATR × multiplier)
ATR Take-Profit Multiplier 3 TP distance (ATR × multiplier)
Adjustment Tips:
• Increase SL multiplier for wider stops in volatile markets
• Adjust TP ratio (default 1:1.5 risk/reward)
________________________________________
6. Signal Priority
(Hardcoded but adjustable via logic)
• Strong Signals: Require FVG + Engulfing + Volume + Trend
• Weak Signals: Require Pattern + Volume + S/R Break
Customization Example:
Pinescript:
// Modify in Signal Logic section
strongBuy = (fvgBull and fvgBullFilled) and (engulfingBull or hammer) // Add more patterns
________________________________________
Visual Customization
(Non-input but code-modifiable)
1. Support/Resistance Style:
o Change plot.style_circles to plot.style_line for solid lines
2. Signal Markers:
o Adjust size.large/size.small values
o Modify RGB colors in color.new(#00FF00, 0)
________________________________________
Optimization Guidelines
1. Gold/XAU-Specific Defaults:
o Works best with 15M-4H timeframes
o Default ATR multipliers calibrated for 10-20 pip volatility
2. Equities/Forex Adaptation:
o Reduce ATR multipliers for lower volatility assets
o Increase volume thresholds for liquid markets
________________________________________
Unique Features
• Anti-Repainting S/R: Uses confirmed historical pivots
• Adaptive FVG Tracking: Gap fills expire after 5 bars
• Tiered Signals: Differentiates conviction levels via size/color
This system allows deep customization while maintaining a structured approach to balancing trend, momentum, and risk. Defaults are optimized for trending commodities but can be adapted to any market via the modular input system.
Extreme Points + 100 EMA StrategyThis strategy uses extreme points to give signal buy and sells. it also uses a 100ema to assist with the trading position. In backtesting it performs well in Ethereum/ tetherUS on the 5 minute timeframe. feel free to adjust the setting to see how it works. changing the CCI to volume works best. I am going to paper test the strategy and will update results.
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!!!
Moving Average + SuperTrend Strategy
---
### **1. Concept of EMA 200:**
- **EMA 200** is an exponential moving average that represents the average closing price over the last 200 candles. It is widely used to identify the long-term trend.
- If the price is above the EMA 200 line, the market is considered to be in a long-term uptrend.
- If the price is below the EMA 200 line, the market is considered to be in a long-term downtrend.
---
### **2. Combining EMA 200 with SuperTrend:**
#### **Indicator Settings:**
1. **EMA 200:**
- Use EMA 200 as the primary reference for identifying the long-term trend.
2. **SuperTrend:**
- Set the **ATR (Average True Range)** period to **10**.
- Set the **Multiplier** to **3**.
#### **How to Use Both Indicators:**
- **EMA 200:** Determines the overall trend (long-term direction).
- **SuperTrend:** Provides precise entry and exit signals based on volatility.
---
### **3. Entry and Exit Rules:**
#### **Buy Signal:**
1. The price must be above the EMA 200 line (indicating a long-term uptrend).
2. The SuperTrend indicator must turn **green** (confirming a short-term uptrend).
3. The entry point is when the price breaks above the SuperTrend line.
4. **Stop Loss:**
- Place it below the nearest support level or below the lowest point of the SuperTrend line.
5. **Take Profit:**
- Use a risk-to-reward ratio (e.g., 1:2). For example, if your stop loss is 50 pips, aim for a 100-pip profit.
- Alternatively, target the next significant resistance level.
#### **Sell Signal:**
1. The price must be below the EMA 200 line (indicating a long-term downtrend).
2. The SuperTrend indicator must turn **red** (confirming a short-term downtrend).
3. The entry point is when the price breaks below the SuperTrend line.
4. **Stop Loss:**
- Place it above the nearest resistance level or above the highest point of the SuperTrend line.
5. **Take Profit:**
- Use a risk-to-reward ratio (e.g., 1:2). For example, if your stop loss is 50 pips, aim for a 100-pip profit.
- Alternatively, target the next significant support level.
---
### **4. Practical Example on USD/JPY:**
#### **Trend Analysis Using EMA 200:**
- If the price is above the EMA 200 line, the market is in a long-term uptrend.
- If the price is below the EMA 200 line, the market is in a long-term downtrend.
#### **Signal Confirmation Using SuperTrend:**
- If the SuperTrend is green and the price is above the EMA 200, this reinforces a **buy signal**.
- If the SuperTrend is red and the price is below the EMA 200, this reinforces a **sell signal**.
#### **Trade Management:**
- Always place a stop loss carefully to avoid large losses.
- Aim for a minimum risk-to-reward ratio of **1:2** (e.g., risking 50 pips to gain 100 pips).
---
### **5. Additional Tips:**
1. **Monitor Economic News:**
- The USD/JPY pair is highly sensitive to economic news such as U.S. Non-Farm Payroll (NFP) data, Bank of Japan monetary policy decisions, and geopolitical events.
2. **Use Additional Indicators:**
- You can add indicators like **RSI** or **MACD** to confirm signals and reduce false signals.
3. **Practice on a Demo Account:**
- Before trading with real money, test the strategy on a demo account to evaluate its performance and ensure it aligns with your trading style.
---
### **6. Summary of the Strategy:**
- **EMA 200:** Identifies the long-term trend (uptrend or downtrend).
- **SuperTrend:** Provides precise entry and exit signals based on volatility.
- **Timeframe:** H2 (2-hour).
- **Currency Pair:** USD/JPY.
---
### **Conclusion:**
This strategy combines the power of **EMA 200** for long-term trend identification and **SuperTrend** for precise entry and exit signals. When applied to the **H2 timeframe** for the **USD/JPY** pair, it can be highly effective if executed with discipline and proper risk management.
**Final Answer:**
$$
\boxed{\text{The strategy combines EMA 200 for long-term trend analysis and SuperTrend for precise entry/exit signals on the H2 timeframe for USD/JPY.}}
$$
Adaptive Trend Continuation StrategyStrategy Explanation: This is a Trend continuation Strategy that uses directional measures to inform trade decisions.
Trend Identification: The ADX indicator measures trend strength. An ADX value above 25 signifies a strong trend, aligning with research indicating that trends, once established, tend to continue.
Entry Criteria: The strategy detects bullish flag patterns, which are known to have a high success rate in predicting upward continuations.
STRIKE.MONEY (www.strike.money)
A breakout from this pattern, confirmed by higher-than-average volume, serves as the entry signal.
Risk Management: The ATR is employed to set dynamic stop-loss levels, adjusting for market volatility. Position sizing is calculated based on a fixed percentage of capital at risk per trade, ensuring consistent risk management.
Exit Strategy: A stop-loss is placed at 1.5 times the ATR below the entry price, and a take-profit is set at 3 times the ATR above the entry price, establishing a 2:1 reward-to-risk ratio.
5. Known Limitations and Edge Cases:
False Breakouts: Not all breakouts lead to sustained trends. The volume confirmation filter aims to mitigate this risk, but false signals can still occur.
Market Conditions: The strategy may underperform in choppy or sideways markets where clear trends are absent.
Pattern Recognition: The simplified detection of bullish flag patterns may not capture all valid patterns or might identify false ones.
OB-MSS-FVG StrategyStrategy Explanation:
Identify the Order Block
Look for the last bearish (red) candle before a sustained rally. This candle represents the Order Block, signaling institutional buying/selling activity.
Confirm the Order Block is validated by a liquidity sweep (price briefly wicks into a prior swing high/low to trigger stop orders before reversing).
Confirm Market Structure Shift (MSS)
A ChoCh (Change of Character) occurs when price breaks a prior swing high in a downtrend (or low in an uptrend).
Validate with upward displacement: A strong bullish candle closing above the Order Block, confirming trend reversal.
Locate High-Probability FVGs
FVG Definition: A 3-candle pattern where the middle candle gaps above/below adjacent candles (e.g., bullish FVG in a downtrend).
Conditions for FVG:
a. Unmitigated: Price hasn’t retested the FVG zone.
b. No close below: If tested, price should not close below the FVG (bullish confirmation).
c. Confluence: FVG aligns with a key level (e.g., trendline, Order Block, or Fibonacci retracement).
d. Prioritize farthest FVG: The earliest FVG after the ChoCh is stronger (less likely to be a retracement trap).
e. Fibonacci Filter: Draw Fib (0–100%) from the swing low to high of the rally. Strong FVGs lie between 0–50%; avoid those above 50%.
f. BOS/ChoCH Confirmation: FVG must form after a Break of Structure (BOS) or ChoCh, alongside a liquidity sweep (e.g., stop runs).
Entry, Stop Loss, and Take Profit
Entry: Enter long when price retests the FVG (preferably in the 0–50% Fib zone) and shows rejection (e.g., bullish pin bar, engulfing).
Stop Loss: Place below the FVG’s low or the Order Block’s low, whichever is lower.
Take Profit: Target the next liquidity zone (prior swing high) or use a trailing stop after a BOS.
Example Scenario
Downtrend: Price sweeps liquidity below a swing low.
MSS: Price rallies, breaks the prior swing high (ChoCh).
FVG Formation: A bullish FVG appears during the rally.
Fib Confluence: FVG lies between 0–50% of the rally’s Fib retracement.
Entry: Price retraces to FVG, bounces with a bullish candle.
Exit: Profit at next swing high or liquidity pool.
TMA StrategyThe **TMA Strategy** is a trend-following strategy that leverages **Smoothed Moving Averages (SMMA)** and **candlestick patterns** to identify high-probability trading opportunities. It is designed for traders who want to capture strong trends while minimizing noise from short-term fluctuations.
**Key Features:**
✔ **Multiple Smoothed Moving Averages (SMMA):** Uses 21, 50, 100, and 200-period SMMAs to identify market trends and key support/resistance zones.
✔ **Candlestick Pattern Confirmation:** Incorporates **3-line strike** and **engulfing candle** patterns to confirm trade entries.
✔ **Dynamic Trend Filter:** A **2-period EMA** ensures that trades align with the dominant trend, reducing false signals.
✔ **Customizable Session Filter:** Allows users to enable/disable trading within specific market sessions (New York, London, Tokyo, etc.), ensuring trades are executed only during high-liquidity hours.
✔ **Risk Management:** Uses predefined exit conditions based on EMA/SMMA crossovers to lock in profits and minimize losses.
**Trading Logic:**
📌 **Long Entry:**
- Bullish Engulfing or 3-Line Strike pattern appears.
- Price is above the 200 SMMA.
- 2 EMA confirms an uptrend.
- Trade executes if session filter allows.
📌 **Short Entry:**
- Bearish Engulfing or 3-Line Strike pattern appears.
- Price is below the 200 SMMA.
- 2 EMA confirms a downtrend.
- Trade executes if session filter allows.
📌 **Exit Conditions:**
- Long trades exit when EMA(2) crosses **below** SMMA(200).
- Short trades exit when EMA(2) crosses **above** SMMA(200).
**Ideal Markets & Timeframes:**
✅ Best suited for **Forex, Stocks, and Crypto** markets.
✅ Works well on **higher timeframes (15m, 1H, 4H, Daily)** for stronger trend confirmation.
📢 **Disclaimer:**
This strategy is for educational purposes only. Backtest results do not guarantee future performance. Always use proper risk management and test in a demo account before live trading.
🚀 **Try the TMA Strategy now and enhance your trend-following approach!**
Non-Repainting Renko Emulation Strategy [PineIndicators]Introduction: The Repainting Problem in Renko Strategies
Renko charts are widely used in technical analysis for their ability to filter out market noise and emphasize price trends. Unlike traditional candlestick charts, which are based on fixed time intervals, Renko charts construct bricks only when price moves by a predefined amount. This makes them useful for trend identification while reducing small fluctuations.
However, Renko-based trading strategies often fail in live trading due to a fundamental issue: repainting .
Why Do Renko Strategies Repaint?
Most trading platforms, including TradingView, generate Renko charts retrospectively based on historical price data. This leads to the following issues:
Renko bricks can change or disappear when new data arrives.
Backtesting results do not reflect real market conditions. Strategies may appear highly profitable in backtests because historical data is recalculated with hindsight.
Live trading produces different results than backtesting. Traders cannot know in advance whether a new Renko brick will form until price moves far enough.
Objective of the Renko Emulator
This script simulates Renko behavior on a standard time-based chart without repainting. Instead of using TradingView’s built-in Renko charting, which recalculates past bricks, this approach ensures that once a Renko brick is formed, it remains unchanged .
Key benefits:
No past bricks are recalculated or removed.
Trading strategies can execute reliably without false signals.
Renko-based logic can be applied on a time-based chart.
How the Renko Emulator Works
1. Parameter Configuration & Initialization
The script defines key user inputs and variables:
brickSize : Defines the Renko brick size in price points, adjustable by the user.
renkoPrice : Stores the closing price of the last completed Renko brick.
prevRenkoPrice : Stores the price level of the previous Renko brick.
brickDir : Tracks the direction of Renko bricks (1 = up, -1 = down).
newBrick : A boolean flag that indicates whether a new Renko brick has been formed.
brickStart : Stores the bar index at which the current Renko brick started.
2. Identifying Renko Brick Formation Without Repainting
To ensure that the strategy does not repaint, Renko calculations are performed only on confirmed bars.
The script calculates the difference between the current price and the last Renko brick level.
If the absolute price difference meets or exceeds the brick size, a new Renko brick is formed.
The new Renko price level is updated based on the number of bricks that would fit within the price movement.
The direction (brickDir) is updated , and a flag ( newBrick ) is set to indicate that a new brick has been formed.
3. Visualizing Renko Bricks on a Time-Based Chart
Since TradingView does not support live Renko charts without repainting, the script uses graphical elements to draw Renko-style bricks on a standard chart.
Each time a new Renko brick forms, a colored rectangle (box) is drawn:
Green boxes → Represent bullish Renko bricks.
Red boxes → Represent bearish Renko bricks.
This allows traders to see Renko-like formations on a time-based chart, while ensuring that past bricks do not change.
Trading Strategy Implementation
Since the Renko emulator provides a stable price structure, it is possible to apply a consistent trading strategy that would otherwise fail on a traditional Renko chart.
1. Entry Conditions
A long trade is entered when:
The previous Renko brick was bearish .
The new Renko brick confirms an upward trend .
There is no existing long position .
A short trade is entered when:
The previous Renko brick was bullish .
The new Renko brick confirms a downward trend .
There is no existing short position .
2. Exit Conditions
Trades are closed when a trend reversal is detected:
Long trades are closed when a new bearish brick forms.
Short trades are closed when a new bullish brick forms.
Key Characteristics of This Approach
1. No Historical Recalculation
Once a Renko brick forms, it remains fixed and does not change.
Past price action does not shift based on future data.
2. Trading Strategies Operate Consistently
Since the Renko structure is stable, strategies can execute without unexpected changes in signals.
Live trading results align more closely with backtesting performance.
3. Allows Renko Analysis Without Switching Chart Types
Traders can apply Renko logic without leaving a standard time-based chart.
This enables integration with indicators that normally cannot be used on traditional Renko charts.
Considerations When Using This Strategy
Trade execution may be delayed compared to standard Renko charts. Since new bricks are only confirmed on closed bars, entries may occur slightly later.
Brick size selection is important. A smaller brickSize results in more frequent trades, while a larger brickSize reduces signals.
Conclusion
This Renko Emulation Strategy provides a method for using Renko-based trading strategies on a time-based chart without repainting. By ensuring that bricks do not change once formed, it allows traders to use stable Renko logic while avoiding the issues associated with traditional Renko charts.
This approach enables accurate backtesting and reliable live execution, making it suitable for trend-following and swing trading strategies that rely on Renko price action.
[3Commas] Turtle StrategyTurtle Strategy
🔷 What it does: This indicator implements a modernized version of the Turtle Trading Strategy, designed for trend-following and automated trading with webhook integration. It identifies breakout opportunities using Donchian channels, providing entry and exit signals.
Channel 1: Detects short-term breakouts using the highest highs and lowest lows over a set period (default 20).
Channel 2: Acts as a confirmation filter by applying an offset to the same period, reducing false signals.
Exit Channel: Functions as a dynamic stop-loss (wait for candle close), adjusting based on market structure (default 10 periods).
Additionally, traders can enable a fixed Take Profit level, ensuring a systematic approach to profit-taking.
🔷 Who is it for:
Trend Traders: Those looking to capture long-term market moves.
Bot Users: Traders seeking to automate entries and exits with bot integration.
Rule-Based Traders: Operators who prefer a structured, systematic trading approach.
🔷 How does it work: The strategy generates buy and sell signals using a dual-channel confirmation system.
Long Entry: A buy signal is generated when the close price crosses above the previous high of Channel 1 and is confirmed by Channel 2.
Short Entry: A sell signal occurs when the close price falls below the previous low of Channel 1, with confirmation from Channel 2.
Exit Management: The Exit Channel acts as a trailing stop, dynamically adjusting to price movements. To exit the trade, wait for a full bar close.
Optional Take Profit (%): Closes trades at a predefined %.
🔷 Why it’s unique:
Modern Adaptation: Updates the classic Turtle Trading Strategy, with the possibility of using a second channel with an offset to filter the signals.
Dynamic Risk Management: Utilizes a trailing Exit Channel to help protect gains as trades move favorably.
Bot Integration: Automates trade execution through direct JSON signal communication with your DCA Bots.
🔷 Considerations Before Using the Indicator:
Market & Timeframe: Best suited for trending markets; higher timeframes (e.g., H4, D1) are recommended to minimize noise.
Sideways Markets: In choppy conditions, breakouts may lead to false signals—consider using additional filters.
Backtesting & Demo Testing: It is crucial to thoroughly backtest the strategy and run it on a demo account before risking real capital.
Parameter Adjustments: Ensure that commissions, slippage, and position sizes are set accurately to reflect real trading conditions.
🔷 STRATEGY PROPERTIES
Symbol: BINANCE:ETHUSDT (Spot).
Timeframe: 4h.
Test Period: All historical data available.
Initial Capital: 10000 USDT.
Order Size per Trade: 1% of Capital, you can use a higher value e.g. 5%, be cautious that the Max Drawdown does not exceed 10%, as it would indicate a very risky trading approach.
Commission: Binance commission 0.1%, adjust according to the exchange being used, lower numbers will generate unrealistic results. By using low values e.g. 5%, it allows us to adapt over time and check the functioning of the strategy.
Slippage: 5 ticks, for pairs with low liquidity or very large orders, this number should be increased as the order may not be filled at the desired level.
Margin for Long and Short Positions: 100%.
Indicator Settings: Default Configuration.
Period Channel 1: 20.
Period Channel 2: 20.
Period Channel 2 Offset: 20.
Period Exit: 10.
Take Profit %: Disable.
Strategy: Long & Short.
🔷 STRATEGY RESULTS
⚠️Remember, past results do not guarantee future performance.
Net Profit: +516.87 USDT (+5.17%).
Max Drawdown: -100.28 USDT (-0.95%).
Total Closed Trades: 281.
Percent Profitable: 40.21%.
Profit Factor: 1.704.
Average Trade: +1.84 USDT (+1.80%).
Average # Bars in Trades: 29.
🔷 How to Use It:
🔸 Adjust Settings:
Select your asset and timeframe suited for trend trading.
Adjust the periods for Channel 1, Channel 2, and the Exit Channel to align with the asset’s historical behavior. You can visualize these channels by going to the Style tab and enabling them.
For example, if you set Channel 2 to 40 with an offset of 40, signals will take longer to appear but will aim for a more defined trend.
Experiment with different values, a possible exit configuration is using 20 as well. Compare the results and adjust accordingly.
Enable the Take Profit (%) option if needed.
🔸Results Review:
It is important to check the Max Drawdown. This value should ideally not exceed 10% of your capital. Consider adjusting the trade size to ensure this threshold is not surpassed.
Remember to include the correct values for commission and slippage according to the symbol and exchange where you are conducting the tests. Otherwise, the results will not be realistic.
If you are satisfied with the results, you may consider automating your trades. However, it is strongly recommended to use a small amount of capital or a demo account to test proper execution before committing real funds.
🔸Create alerts to trigger the DCA Bot:
Verify Messages: Ensure the message matches the one specified by the DCA Bot.
Multi-Pair Configuration: For multi-pair setups, enable the option to add the symbol in the correct format.
Signal Settings: Enable the option to receive long or short signals (Entry | TP | SL), copy and paste the messages for the DCA Bots configured.
Alert Setup:
When creating an alert, set the condition to the indicator and choose "alert() function call only".
Enter any desired Alert Name.
Open the Notifications tab, enable Webhook URL, and paste the Webhook URL.
For more details, refer to the section: "How to use TradingView Custom Signals".
Finalize Alerts: Click Create, you're done! Alerts will now be sent automatically in the correct format.
🔷 INDICATOR SETTINGS
Period Channel 1: Period of highs and lows to trigger signals
Period Channel 2: Period of highs and lows to filter signals
Offset: Move Channel 2 to the right x bars to try to filter out the favorable signals.
Period Exit: It is the period of the Donchian channel that is used as trailing for the exits.
Strategy: Order Type direction in which trades are executed.
Take Profit %: When activated, the entered value will be used as the Take Profit in percentage from the entry price level.
Use Custom Test Period: When enabled signals only works in the selected time window. If disabled it will use all historical data available on the chart.
Test Start and End: Once the Custom Test Period is enabled, here you select the start and end date that you want to analyze.
Check Messages: Check Messages: Enable this option to review the messages that will be sent to the bot.
Entry | TP | SL: Enable this options to send Buy Entry, Take Profit (TP), and Stop Loss (SL) signals.
Deal Entry and Deal Exit: Copy and paste the message for the deal start signal and close order at Market Price of the DCA Bot. This is the message that will be sent with the alert to the Bot, you must verify that it is the same as the bot so that it can process properly.
DCA Bot Multi-Pair: You must activate it if you want to use the signals in a DCA Bot Multi-pair in the text box you must enter (using the correct format) the symbol in which you are creating the alert, you can check the format of each symbol when you create the bot.
👨🏻💻💭 We hope this tool helps enhance your trading. Your feedback is invaluable, so feel free to share any suggestions for improvements or new features you'd like to see implemented.
__
The information and publications within the 3Commas TradingView account are not meant to be and do not constitute financial, investment, trading, or other types of advice or recommendations supplied or endorsed by 3Commas and any of the parties acting on behalf of 3Commas, including its employees, contractors, ambassadors, etc.
Strategy SuperTrend SDI WebhookThis Pine Script™ strategy is designed for automated trading in TradingView. It combines the SuperTrend indicator and Smoothed Directional Indicator (SDI) to generate buy and sell signals, with additional risk management features like stop loss, take profit, and trailing stop. The script also includes settings for leverage trading, equity-based position sizing, and webhook integration.
Key Features
1. Date-based Trade Execution
The strategy is active only between the start and end dates set by the user.
times ensures that trades occur only within this predefined time range.
2. Position Sizing and Leverage
Uses leverage trading to adjust position size dynamically based on initial equity.
The user can set leverage (leverage) and percentage of equity (usdprcnt).
The position size is calculated dynamically (initial_capital) based on account performance.
3. Take Profit, Stop Loss, and Trailing Stop
Take Profit (tp): Defines the target profit percentage.
Stop Loss (sl): Defines the maximum allowable loss per trade.
Trailing Stop (tr): Adjusts dynamically based on trade performance to lock in profits.
4. SuperTrend Indicator
SuperTrend (ta.supertrend) is used to determine the market trend.
If the price is above the SuperTrend line, it indicates an uptrend (bullish).
If the price is below the SuperTrend line, it signals a downtrend (bearish).
Plots visual indicators (green/red lines and circles) to show trend changes.
5. Smoothed Directional Indicator (SDI)
SDI helps to identify trend strength and momentum.
It calculates +DI (bullish strength) and -DI (bearish strength).
If +DI is higher than -DI, the market is considered bullish.
If -DI is higher than +DI, the market is considered bearish.
The background color changes based on the SDI signal.
6. Buy & Sell Conditions
Long Entry (Buy) Conditions:
SDI confirms an uptrend (+DI > -DI).
SuperTrend confirms an uptrend (price crosses above the SuperTrend line).
Short Entry (Sell) Conditions:
SDI confirms a downtrend (+DI < -DI).
SuperTrend confirms a downtrend (price crosses below the SuperTrend line).
Optionally, trades can be filtered using crossovers (occrs option).
7. Trade Execution and Exits
Market entries:
Long (strategy.entry("Long")) when conditions match.
Short (strategy.entry("Short")) when bearish conditions are met.
Trade exits:
Uses predefined take profit, stop loss, and trailing stop levels.
Positions are closed if the strategy is out of the valid time range.
Usage
Automated Trading Strategy:
Can be integrated with webhooks for automated execution on supported trading platforms.
Trend-Following Strategy:
Uses SuperTrend & SDI to identify trend direction and strength.
Risk-Managed Leverage Trading:
Supports position sizing, stop losses, and trailing stops.
Backtesting & Optimization:
Can be used for historical performance analysis before deploying live.
Conclusion
This strategy is suitable for traders who want to automate their trading using SuperTrend and SDI indicators. It incorporates risk management tools like stop loss, take profit, and trailing stop, making it adaptable for leverage trading. Traders can customize settings, conduct backtests, and integrate it with webhooks for real-time trade execution. 🚀
Important Note:
This script is provided for educational and template purposes and does not constitute financial advice. Traders and investors should conduct their research and analysis before making any trading decisions.
is_strategyCorrection-Adaptive Trend Strategy (Open-Source)
Core Advantage: Designed specifically for the is_correction indicator, with full transparency and customization options.
Key Features:
Open-Source Code:
✅ Full access to the strategy logic – study how every trade signal is generated.
✅ Freedom to customize – modify entry/exit rules, risk parameters, or add new indicators.
✅ No black boxes – understand and trust every decision the strategy makes.
Built for is_correction:
Filters out false signals during market noise.
Works only in confirmed trends (is_correction = false).
Adaptable for Your Needs:
Change Take Profit/Stop Loss ratios directly in the code.
Add alerts, notifications, or integrate with other tools (e.g., Volume Profile).
For Developers/Traders:
Use the code as a template for your own strategies.
Test modifications risk-free on historical data.
How the Strategy Works:
Main Goal:
Automatically buys when the price starts rising and sells when it starts falling, but only during confirmed trends (ignoring temporary pullbacks).
What You See on the Chart:
📈 Up arrows ▼ (below the candle) = Buy signal.
📉 Down arrows ▲ (above the candle) = Sell signal.
Gray background = Market is in a correction (no trades).
Key Mechanics:
Buy Condition:
Price closes higher than the previous candle + is_correction confirms the main trend (not a pullback).
Example: Red candle → green candle → ▼ arrow → buy.
Sell Condition:
Price closes lower than the previous candle + is_correction confirms the trend (optional: turn off short-selling in settings).
Exit Rules:
Closes trades automatically at:
+0.5% profit (adjustable in settings).
-0.5% loss (adjustable).
Or if a reverse signal appears (e.g., sell signal after a buy).
User-Friendly Settings:
Sell – On (default: ON):
ON → Allows short-selling (selling when price falls).
OFF → Strategy only buys and closes positions.
Revers (default: OFF):
ON → Inverts signals (▼ = sell, ▲ = buy).
%Profit & %Loss:
Adjust these values (0-30%) to increase/decrease profit targets and risk.
Example Scenario:
Buy Signal:
Price rises for 3 days → green ▼ arrow → strategy buys.
Stop loss set 0.5% below entry price.
If price keeps rising → trade closes at +0.5% profit.
Correction Phase:
After a rally, price drops for 1 day → gray background → strategy ignores the drop (no action).
Stop Loss Trigger:
If price drops 0.5% from entry → trade closes automatically.
Key Features:
Correction Filter (is_correction):
Acts as a “noise filter” → avoids trades during temporary pullbacks.
Flexibility:
Disable short-selling, flip signals, or tweak profit/loss levels in seconds.
Transparency:
Open-source code → see exactly how every signal is generated (click “Source” in TradingView).
Tips for Beginners:
Test First:
Run the strategy on historical data (click the “Chart” icon in TradingView).
See how it performed in the past.
Customize It:
Increase %Profit to 2-3% for volatile assets like crypto.
Turn off Sell – On if short-selling confuses you.
Trust the Stop Loss:
Even if you think the price will rebound, the strategy will close at -0.5% to protect your capital.
Where to Find Settings:
Click the strategy name on the top-left of your chart → adjust sliders/toggles in the menu.
Русская Версия
Трендовая стратегия с открытым кодом
Главное преимущество: Полная прозрачность логики и адаптация под ваши нужды.
Особенности:
Открытый исходный код:
✅ Видите всю «кухню» стратегии – как формируются сигналы, когда открываются сделки.
✅ Меняйте правила – корректируйте тейк-профит, стоп-лосс или добавляйте новые условия.
✅ Никаких секретов – вы контролируете каждое правило.
Заточка под is_correction:
Игнорирует ложные сигналы в коррекциях.
Работает только в сильных трендах (is_correction = false).
Гибкая настройка:
Подстройте параметры под свой риск-менеджмент.
Добавьте свои индикаторы или условия для входа.
Для трейдеров и разработчиков:
Используйте код как основу для своих стратегий.
Тестируйте изменения на истории перед реальной торговлей.
Простыми словами:
Почему это удобно:
Открытый код = полный контроль. Вы можете:
Увидеть, как именно стратегия решает купить или продать.
Изменить правила закрытия сделок (например, поставить TP=2% вместо 1.5%).
Добавить новые условия (например, торговать только при высоком объёме).
Примеры кастомизации:
Новички: Меняйте только TP/SL в настройках (без кодинга).
Продвинутые: Добавьте RSI-фильтр, чтобы избегать перекупленности.
Разработчики: Встройте стратегию в свою торговую систему.
Как начать:
Скачайте код из TradingView.
Изучите логику в разделе strategy.entry/exit.
Меняйте параметры в блоке input.* (безопасно!).
Тестируйте изменения и оптимизируйте под свои цели.
Как работает стратегия:
Главная задача:
Автоматически покупает, когда цена начинает расти, и продаёт, когда падает. Но делает это «умно» — только когда рынок в основном тренде, а не во временном откате (коррекции).
Что видно на графике:
📈 Стрелки вверх ▼ (под свечой) — сигнал на покупку.
📉 Стрелки вниз ▲ (над свечой) — сигнал на продажу.
Серый фон — рынок в коррекции (не торгуем).
Как это работает:
Когда покупаем:
Если цена закрылась выше предыдущей и индикатор is_correction показывает «основной тренд» (не коррекция).
Пример: Была красная свеча → стала зелёная → появилась стрелка ▼ → покупаем.
Когда продаём:
Если цена закрылась ниже предыдущей и is_correction подтверждает тренд (опционально, можно отключить в настройках).
Когда закрываем сделку:
Автоматически при достижении:
+0.5% прибыли (можно изменить в настройках).
-0.5% убытка (можно изменить).
Или если появился противоположный сигнал (например, после покупки пришла стрелка продажи).
Настройки для чайников:
«Sell – On» (включено по умолчанию):
Если включено → стратегия будет продавать в шорт.
Если выключено → только покупки и закрытие позиций.
«Revers» (выключено по умолчанию):
Если включить → стратегия будет работать наоборот (стрелки ▼ = продажа, ▲ = покупка).
«%Profit» и «%Loss»:
Меняйте эти цифры (от 0 до 30), чтобы увеличить/уменьшить прибыль и риски.
Пример работы:
Сигнал на покупку:
Цена 3 дня растет → появляется зелёная стрелка ▼ → стратегия покупает.
Стоп-лосс ставится на 0.5% ниже цены входа.
Если цена продолжает расти → сделка закрывается при +0.5% прибыли.
Коррекция:
После роста цена падает на 1 день → фон становится серым → стратегия игнорирует это падение (не закрывает сделку).
Стоп-лосс:
Если цена упала на 0.5% от точки входа → сделка закрывается автоматически.
Важные особенности:
Фильтр коррекций (is_correction):
Это «защита от шума» — стратегия не реагирует на мелкие откаты, работая только в сильных трендах.
Гибкие настройки:
Можно запретить шорты, перевернуть сигналы или изменить уровни прибыли/убытка за 2 клика.
Прозрачность:
Весь код открыт → вы можете увидеть, как формируется каждый сигнал (меню «Исходник» в TradingView).
Советы для новичков:
Начните с теста:
Запустите стратегию на исторических данных (кнопка «Свеча» в окне TradingView).
Посмотрите, как она работала в прошлом.
Настройте под себя:
Увеличьте %Profit до 2-3%, если торгуете валюты.
Отключите «Sell – On», если не понимаете шорты.
Доверяйте стоп-лоссу:
Даже если кажется, что цена развернётся — стратегия закроет сделку при -0.5%, защитив ваш депозит.
Где найти настройки:
Кликните на название стратегии в верхнем левом углу графика → откроется меню с ползунками и переключателями.
Важно: Стратегия предоставляет «рыбу» – чтобы она стала «уловистой», адаптируйте её под свой стиль торговли!
Breakouts With Timefilter Strategy [LuciTech]This strategy captures breakout opportunities using pivot high/low breakouts while managing risk through dynamic stop-loss placement and position sizing. It includes a time filter to limit trades to specific sessions.
How It Works
A long trade is triggered when price closes above a pivot high, and a short trade when price closes below a pivot low.
Stop-loss can be set using ATR, prior candle high/low, or a fixed point value. Take-profit is based on a risk-reward multiplier.
Position size adjusts based on the percentage of equity risked.
Breakout signals are marked with triangles, and entry, stop-loss, and take-profit levels are plotted.
moving average filter: Bullish breakouts only trigger above the MA, bearish breakouts below.
The time filter shades the background during active trading hours.
Customization:
Adjustable pivot length for breakout sensitivity.
Risk settings: percentage risked, risk-reward ratio, and stop-loss type.
ATR settings: length, smoothing method (RMA, SMA, EMA, WMA).
Moving average filter (SMA, EMA, WMA, VWMA, HMA) to confirm breakouts.
Trend Vanguard StrategyHow to Use:
Trend Vanguard Strategy is a multi-feature Pine Script strategy designed to identify market pivots, draw dynamic support/resistance, and generate trade signals via ZigZag breakouts. Here’s how it works and how to use it:
ZigZag Detection & Pivot Points
The script locates significant swing highs and lows using configurable Depth, Deviation, and Backstep values.
It then connects these pivots with lines (ZigZag) to highlight directional changes and prints labels (“Buy,” “Sell,” etc.) at key turning points.
Support & Resistance Trendlines
Pivot highs and lows are used to draw dashed S/R lines in real-time.
When price crosses these lines, the script triggers a breakout signal (long or short).
EMA Overlays
Up to four EMAs (with customizable lengths and colors) can be overlaid on the chart for added trend confirmation.
Enable/disable each EMA independently via the settings.
Repaint Option
Turning on “Smooth Indicator Lines” (repaint) uses future data to refine past pivots.
This can make historical signals look cleaner but does not reflect true historical conditions.
Turning it off ensures signals remain fixed once they appear.
Strategy Entries & Exits
On each new ZigZag “Buy” or “Sell” signal, the script closes any open position and flips to the opposite side (if desired).
Works with the built-in TradingView Strategy engine for backtesting.
Additional Inputs (Placeholders)
Volume Filter and RSI Filter settings exist but are not fully implemented in the current code. Future versions may incorporate these filters more directly.
How to Use
Add to Chart: Click “Indicators” → “Invite-Only Scripts” (or “My Scripts”) and select “Trend Vanguard Strategy.”
Configure Settings:
Adjust ZigZag Depth, Deviation, and Backstep to fine-tune pivot sensitivity.
Enable or disable each EMA to see how it aligns with market trends.
Toggle “Smooth Indicator Lines” on or off depending on whether you want repainting.
Backtest and Forward Test:
Use TradingView’s “Strategy Tester” tab to review hypothetical performance.
Remember that repainting can alter past signals if enabled.
Monitor Live:
Watch for breakout triangles or ZigZag labels to identify potential reversal or breakout trades in real time.
Disclaimer: This script is purely educational and not financial advice. Always combine it with sound risk management and thorough analysis. Enjoy exploring the script, and feel free to experiment with the different settings to match your trading style!
Neon Momentum Waves StrategyIntroduction
The Neon Momentum Waves Strategy is a momentum-based indicator designed to help traders visualize potential shifts in market direction. It builds upon a MACD-style calculation while incorporating an enhanced visual representation of momentum waves. This approach may assist traders in identifying areas of increasing or decreasing momentum, potentially aligning with market trends or reversals.
How It Works
This strategy is based on a modified MACD (Moving Average Convergence Divergence) method, calculating the difference between two Exponential Moving Averages (EMAs). The momentum wave represents this difference, while an additional smoothing line (signal line) helps highlight potential momentum shifts.
Key Components:
Momentum Calculation:
Uses a fast EMA (12-period) and a slow EMA (26-period) to measure short-term and long-term momentum.
A signal line (20-period EMA of the MACD difference) smooths fluctuations.
The histogram (momentum wave) represents the divergence between the MACD value and the signal line.
Interpreting Momentum Changes:
Momentum Increasing: When the histogram rises above the zero line, it may indicate strengthening upward movement.
Momentum Decreasing: When the histogram moves below the zero line, it may signal a weakening trend or downward momentum.
Potential Exhaustion Points: Users can define custom threshold levels (default: ±10) to highlight when momentum is significantly strong or weak.
Visual Enhancements:
The neon glow effect is created by layering multiple plots with decreasing opacity, enhancing the clarity of momentum shifts.
Aqua-colored waves highlight upward momentum, while purple waves represent downward momentum.
Horizontal reference lines mark the zero line and user-defined thresholds to improve interpretability.
How It Differs from Traditional Indicators
Improved Visualization: Unlike standard MACD histograms, this approach provides clearer visual cues using a neon-style wave format.
Customizable Thresholds: Rather than relying solely on MACD crossovers, users can adjust sensitivity settings to better suit their trading style.
Momentum-Based Approach: The strategy is focused on visualizing shifts in momentum strength, rather than predicting price movements.
Potential Use Cases
Momentum Trend Awareness: Helps traders identify periods where momentum appears to be strengthening or fading.
Market Structure Analysis: May complement other indicators to assess whether price action aligns with momentum changes.
Flexible Timeframe Application: Can be used across different timeframes, depending on the trader’s strategy.
Important Considerations
This strategy is purely momentum-based and does not incorporate volume, fundamental factors, or price action confirmation.
Momentum shifts do not guarantee price direction changes—they should be considered alongside broader market context.
The strategy may perform differently in trending vs. ranging markets, so adjustments in sensitivity may be needed.
Risk management is essential—traders should apply proper stop-losses and position sizing techniques in line with their risk tolerance.
Conclusion
The Neon Momentum Waves Strategy provides a visually enhanced method of tracking momentum, allowing traders to observe potential changes in market strength. While not a predictive tool, it serves as a complementary indicator that may help traders in momentum-based decision-making. As with any technical tool, it should be used as part of a broader strategy that considers multiple factors in market analysis.