DRAGONFLY 2.0 Strategy🐉 DRAGONFLY 2.0 — Strategy Guide
DRAGONFLY 2.0 is a precision-built trading system designed for adaptive trend-based entries, dynamic scaling, and calculated exits. It introduces a unique multi-ladder logic and a reactive take-profit engine, ideal for intraday or swing trading.
🧭 Strategy Concept
Proprietary trigger engine that detects trend shifts using directional logic
Ladder entry system that adds size during structured pullbacks
Take profit targets are assigned to each ladder with dynamic average entry updates
A fallback global take profit is used when no ladders are active
Stop loss is managed at a structural level
This system is built for traders who prefer rules over emotions
⚙️ Input Sections
🪜 Ladder Entry Settings
Set percentage distance between ladder steps
Define the first entry size
Assign additional size for each ladder step
Allows flexible scaling into positions with controlled risk
🎯 Take Profit Settings
Set global take profit for longs and shorts before any ladders are filled
Define individual take profit levels for each ladder
Only one take profit is active at a time depending on ladder status
🛡️ Stop Loss Settings
Set percentage stop loss below or above average entry for long and short trades
Designed to exit when market structure is broken
Optional and fully customizable
📐 Trend Engine Settings
Adjust upper and lower trend filters to control signal sensitivity
Change signal length to smooth the trend detection
Choose source input for trend logic like close or hl2
Fine-tune to reduce false signals or increase confirmation strength
🔁 Strategy Flow
📍 Entry and Ladder Progression
Trade begins when the trend breakout is confirmed
Initial base position is entered
As price moves deeper, ladder entries are triggered
Each ladder entry recalculates the average price
Old take profit is disabled and new one is assigned
This creates a fluid and responsive position builder
💰 Take Profit Logic
A global take profit is used if no ladders are filled
When ladder one is triggered, global take profit is disabled
New take profit is tied to the updated average price
Each ladder step updates the take profit accordingly
Visual markers and alerts are shown when targets are hit
🛑 Stop Loss Logic
Stop loss is calculated relative to the average entry
Only triggered if structural breakdown occurs
Can be turned off or adjusted based on risk preference
📊 Visual Chart Aids
🟢 Green circles show active ladder take profits for long trades
🟠 Orange circles show active ladder take profits for short trades
🔵 Blue circles show global take profit level
🔺 Trend bands act as entry zone and direction filters
💡 Strategy Tips
Use wider ladder spacing in volatile markets like BTC or ETH
Smaller take profits are better for scalping
Increase trend filter range if you’re getting too many false signals
Enable or disable long and short entries based on market conditions
📢 ALERT SYSTEM — DMT Autobot Dragonfly Edition
This strategy works seamlessly with TradingView alerts and automation systems
Every entry, ladder, take profit, and stop can trigger real-time alerts for bots or webhooks
🔔 Types of Alerts
lentry and SEntry trigger long and short entries
ADD1 to ADD4 are sent as ladder steps are activated
TP alerts are triggered when targets are reached
close_all signals full exit from the position
🧠 How It Works
Alerts are generated based on logic inside the strategy
You can create alerts in TradingView and connect them to bots or external platforms
⚙️ Recommended Alert Settings
Entry alerts should be set to once per bar close
Ladder adds should be set to once per bar
Take profits should be set to once per bar for better timing
Stop loss or exit alerts should be once per bar close
Once per bar is more responsive and helps avoid missing take profit hits
📈 Entry and Exit Logic
Each ladder or take profit follows strict logic
Alerts are only sent when exact trade conditions are met
Helps automate clean and reliable execution
🔄 Ladder System and Alerts
Every ladder step has a dedicated alert
Take profit is recalculated each time a ladder fills
The system supports full automation with dynamic trade logic
Bots can follow each step as price evolves
⚠️ Leveraged Trading Considerations
If using leverage, check that your ladder spacing and size is appropriate
Make sure your account can handle full position build
Strategy can recover positions using precision, but leverage increases risk
🧭 Final Note
DRAGONFLY 2.0 supports full automation and is compatible with most trading bots
For access, contact me directly on TradingView chat
Stay focused and trade smart with DRAGONFLY 2.0
Penunjuk dan strategi
Divergence Strategy [Trendoscope®]🎲 Overview
The Divergence Strategy is a sophisticated TradingView strategy that enhances the Divergence Screener by adding automated trade signal generation, risk management, and trade visualization. It leverages the screener’s robust divergence detection to identify bullish, bearish, regular, and hidden divergences, then executes trades with precise entry, stop-loss, and take-profit levels. Designed for traders seeking automated trading solutions, this strategy offers customizable trade parameters and visual feedback to optimize performance across various markets and timeframes.
For core divergence detection features, including oscillator options, trend detection methods, zigzag pivot analysis, and visualization, refer to the Divergence Screener documentation. This description focuses on the strategy-specific enhancements for automated trading and risk management.
🎲 Strategy Features
🎯Automated Trade Signal Generation
Trade Direction Control : Restrict trades to long-only or short-only to align with market bias or strategy goals, preventing conflicting orders.
Divergence Type Selection : Choose to trade regular divergences (bullish/bearish), hidden divergences, or both, targeting reversals or trend continuations.
Entry Type Options :
Cautious : Enters conservatively at pivot points and exits quickly to minimize risk exposure.
Confident : Enters aggressively at the latest price and holds longer to capture larger moves.
Mixed : Combines conservative entries with delayed exits for a balanced approach.
Market vs. Stop Orders: Opt for market orders for instant execution or stop orders for precise price entry.
🎯 Enhanced Risk Management
Risk/Reward Ratio : Define a risk-reward ratio (default: 2.0) to set profit targets relative to stop-loss levels, ensuring consistent trade sizing.
Bracket Orders : Trades include entry, stop-loss, and take-profit levels calculated from divergence pivot points, tailored to the entry type and risk-reward settings.
Stop-Loss Placement : Stops are strategically set (e.g., at recent pivot or last price point) based on entry type, balancing risk and trade validity.
Order Cancellation : Optionally cancel pending orders when a divergence is broken (e.g., price moves past the pivot in the wrong direction), reducing invalid trades. This feature is toggleable for flexibility.
🎯 Trade Visualization
Target and Stop Boxes : Displays take-profit (lime) and stop-loss (orange) levels as boxes on the price chart, extending 10 bars forward for clear visibility.
Dynamic Trade Updates : Trade visualizations are added, updated, or removed as trades are executed, canceled, or invalidated, ensuring accurate feedback.
Overlay Integration : Trade levels overlay the price chart, complementing the screener’s oscillator-based divergence lines and labels.
🎯 Strategy Default Configuration
Capital and Sizing : Set initial capital (default: $1,000,000) and position size (default: 20% of equity) for realistic backtesting.
Pyramiding : Allows up to 4 concurrent trades, enabling multiple divergence-based entries in trending markets.
Commission and Margin : Accounts for commission (default: 0.01%) and margin (100% for long/short) to reflect trading costs.
Performance Optimization : Processes up to 5,000 bars dynamically, balancing historical analysis and real-time execution.
🎲 Inputs and Configuration
🎯Trade Settings
Direction : Select Long or Short (default: Long).
Divergence : Trade Regular, Hidden, or Both divergence types (default: Both).
Entry/Exit Type : Choose Cautious, Confident, or Mixed (default: Cautious).
Risk/Reward : Set the risk-reward ratio for profit targets (default: 2.0).
Use Market Order : Enable market orders for immediate entry (default: false, uses limit orders).
Cancel On Break : Cancel pending orders when divergence is broken (default: true).
🎯Inherited Settings
The strategy inherits all inputs from the Divergence Screener, including:
Oscillator Settings : Oscillator type (e.g., RSI, CCI), length, and external oscillator option.
Trend Settings : Trend detection method (Zigzag, MA Difference, External), MA type, and length.
Zigzag Settings : Zigzag length (fixed repaint = true).
🎲 Entry/Exit Types for Divergence Scenarios
The Divergence Strategy offers three Entry/Exit Type options—Cautious, Confident, and Mixed—which determine how trades are entered and exited based on divergence pivot points. This section explains how these settings apply to different divergence scenarios, with placeholders for screenshots to illustrate each case.
The divergence pattern forms after 3 pivots. The stop and entry levels are formed on one of these levels based on Entry/Exit types.
🎯Bullish Divergence (Reversal)
A bullish divergence occurs when price forms a lower low, but the oscillator forms a higher low, signaling a potential upward reversal.
💎 Cautious:
Entry : At the pivot high point for a conservative entry.
Exit : Stop-loss at the last pivot point (previous low that is higher than the current pivot low); take-profit at risk-reward ratio. Canceled if price breaks below the pivot (if Cancel On Break is enabled).
Behavior : Enters after confirmation and exits quickly to limit downside risk.
💎Confident:
Entry : At the last pivot low, (previous low which is higher than the current pivot low) for an aggressive entry.
Exit : Stop-loss at recent pivot low, which is the lowest point; take-profit at risk-reward ratio. Canceled if price breaks below the pivot. (lazy exit)
Behavior : Enters early to capture trend continuation, holding longer for gains.
💎Mixed:
Entry : At the pivot high point (conservative).
Exit : Stop-loss at the recent pivot point that has resulted in lower low (lazy exit). Canceled if price breaks below the pivot.
Behavior : Balances entry caution with extended holding for trend continuation.
🎯Bearish Divergence (Reversal)
A bearish divergence occurs when price forms a higher high, but the oscillator forms a lower high, indicating a potential downward reversal.
💎Cautious:
Entry : At the pivot low point (lower high) for a conservative short entry.
Exit : Stop-loss at the previous pivot high point (previous high); take-profit at risk-reward ratio. Canceled if price breaks above the pivot (if Cancel On Break is enabled).
Behavior : Enters conservatively and exits quickly to minimize risk.
💎Confident:
Entry : At the last price point (previous high) for an aggressive short entry.
Exit : Stop-loss at the pivot point; take-profit at risk-reward ratio. Canceled if price breaks above the pivot.
Behavior : Enters early to maximize trend continuation, holding longer.
💎Mixed:
Entry : At the previous piot high point (conservative).
Exit : Stop-loss at the last price point (delayed exit). Canceled if price breaks above the pivot.
Behavior : Combines conservative entry with extended holding for downtrend gains.
🎯Bullish Hidden Divergence (Continuation)
A bullish hidden divergence occurs when price forms a higher low, but the oscillator forms a lower low, suggesting uptrend continuation. In case of Hidden bullish divergence, b]Entry is always on the previous pivot high (unless it is a market order)
💎Cautious:
Exit : Stop-loss at the recent pivot low point (higher than previous pivot low); take-profit at risk-reward ratio. Canceled if price breaks below the pivot (if Cancel On Break is enabled).
Behavior : Enters after confirmation and exits quickly to limit downside risk.
💎Confident:
Exit : Stop-loss at previous pivot low, which is the lowest point; take-profit at risk-reward ratio. Canceled if price breaks below the pivot. (lazy exit)
Behavior : Enters early to capture trend continuation, holding longer for gains.
🎯Bearish Hidden Divergence (Continuation)
A bearish hidden divergence occurs when price forms a lower high, but the oscillator forms a higher high, suggesting downtrend continuation. In case of Hidden Bearish divergence, b]Entry is always on the previous pivot low (unless it is a market order)
💎Cautious:
Exit : Stop-loss at the latest pivot high point (which is a lower high); take-profit at risk-reward ratio. Canceled if price breaks above the pivot (if Cancel On Break is enabled).
Behavior : Enters conservatively and exits quickly to minimize risk.
💎Confident/Mixed:
Exit : Stop-loss at the previous pivot high point; take-profit at risk-reward ratio. Canceled if price breaks above the pivot.
Behavior : Uses the late exit point to hold longer.
🎲 Usage Instructions
🎯Add to Chart:
Add the Divergence Strategy to your TradingView chart.
The oscillator and divergence signals appear in a separate pane, with trade levels (target/stop boxes) overlaid on the price chart.
🎯Configure Settings:
Adjust trade settings (direction, divergence type, entry type, risk-reward, market orders, cancel on break).
Modify inherited Divergence Screener settings (oscillator, trend method, zigzag length) as needed.
Enable/disable alerts for divergence notifications.
🎯Interpret Signals:
Long Trades: Triggered on bullish or bullish hidden divergences (if allowed), shown with green/lime lines and labels.
Short Trades: Triggered on bearish or bearish hidden divergences (if allowed), shown with red/orange lines and labels.
Monitor lime (target) and orange (stop) boxes for trade levels.
Review strategy performance metrics (e.g., profit/loss, win rate) in the strategy tester.
🎯Backtest and Optimize:
Use TradingView’s strategy tester to evaluate performance on historical data.
Fine-tune risk-reward, entry type, position sizing, and cancellation settings to suit your market and timeframe.
For questions, suggestions, or support, contact Trendoscope via TradingView or official support channels. Stay tuned for updates and enhancements to the Divergence Strategy!
EDGE PRO XAUUSD Multi-Asset PoC Scalping.
SPX - XAUUSD - ETHUSD - BTCUSD
Accepts more assets. Check WinRate.
TF: 1M - M2 - M5 - 1H. (Check best percentage in TFs)
If we have a macro analysis, we use a macro trend/signal and look for entries following the signal from our macro-counter system.
---------------------------------------------------------------------------------
PoC SCALPNG MULTI-ACTIVO.
SPX - XAUUSD - ETHUSD - BTCUSD
ACEPTA MAS ACTIVOS. VERIFICAR WINRATE.
TF : 1M - M2 - M5 - 1H. ( VERIFICAR MEJOR PORCENTAJE EN TF'S )
SI TENEMOS ANALISIS MACRO - USAMOS TENDENCIA MACRO / SEÑAL MACRO Y BUSCAMOS ENTRADAS SIGUIENDO LA SEÑAL DE NUESTRO SISTEMA MACROCOT.
SMA Pullback Strategy with ADX Filter
This is WIP tested strategy for nearly 2 years data(limitation of my essential Plan. This involves combination of various SMAs(9-200) on various timeframes and Haltrend(by Everget Sir) along integration with custom various slope calculation and ADX Calculation defined by Mentor Mr Gautam Mazumdar (X- @gautam_icma). Based on all conditions the buy and sell Alerts are to be generated intended with reducing trades(recommended use on daily charts) with maximizing Profit). Users Feedback are welcome. Making this Indicator public for the benefit of small and medium rated TradingView users in line with TradingView philosophy of helping small Traders.
Short_Timeframe_Bottom_TradingUse RSI, trend, and volume analysis to determine bottom and risk areas, and ultimately assign a score.
A score above 6 is considered a medium-strength bottom, and segmented opening positions are executed.
When the risk score is greater than or equal to 4, the current comprehensive level is considered to have reached the closing threshold.
Due to TradingView's backtesting limitations, use multi-segment opening positions and close all positions at once. The optimal solution should be segmented opening and closing positions.
Features:
Comprehensive consideration of RSI oversold/overbought conditions;
Potential institutional accumulation/distribution;
Volume peaks;
RSI divergence;
Moving average index filtering;
Translated with DeepL.com (free version)
SMA Pullback Strategy with ADX FilterThis is tested strategy for nearly 2 years data(limitation of my essential Plan. This involves combination of various SMAs(9-200) on various timeframes along with HalfTrend(Trend Following Indicator by Everget Sir) integrated with custom various slope calclulation and ADX Calculation defined by Mentor Mr Gautam Mazumdar (X- @gautam_icma). Based on all conditions the buy and sell Alerts are generated intended with reducing trades(recommended use on daily charts) with maximizing Profit). Users Feedback are welcome. Making this Indicator public for the benefit of small and medium rated TradingView users in line with TradingView philosophy of helping small Traders.
Variance and Moving Averages StrategyThe Variance and Moving Averages Strategy is a long-only trend-following system that combines volatility filtering with classic moving-average signals. It computes 5-, 15-, and 30-period simple moving averages (MA5, MA15, MA30) to identify a clear uptrend (MA5 > MA15 > MA30) and only enters when recent price variance (measured over the past 30 bars as the variance of (high–low)/close) is very low—avoiding choppy or noisy conditions. Once in a position, it employs a dual exit: a trend-based stop-loss (closing when MA5 falls below MA30) and a volatility-based take-profit (exiting when variance spikes above a high threshold), thus “buying low-volatility breakouts” and “selling on trend reversal or volatility expansion.”
5-Indicator Swing StrategyCustom 5-Indicator Swing Strategy for 4H Chart
---
Key Features:
1. Price Uptrend Detection
Uses 50-period EMA as trend filter
Only takes long positions when price is above EMA
2. RSI Momentum Confirmation
RSI must be above 40 and rising (3-bar confirmation)
Includes overbought exit at RSI > 70
3. MACD Bullish Crossover
Detects when MACD line crosses above signal line
Uses standard 12/26/9 settings (customizable)
4. Volume Spike Detection
Identifies volume spikes 1.5x above 20-period average
Confirms breakout strength
5. Fibonacci Retracement Levels
Calculates dynamic Fibonacci levels from recent swing high/low
Enters when price is near 38.2% to 61.8% support levels
Additional Features:
Risk Management: Stop Loss: 2 x ATR below entry price / Take Profit: 3 x ATR above entry price
ATR Length: 14 periods
Visual Indicators: Clear entry/exit signals with shapes
Information Table: Real-time status of all 5 conditions
Multi-Panel Display: RSI, MACD, and Volume in separate panels
Customizable Parameters: All inputs can be adjusted
Alert System: Built-in alerts for entry and exit signals
Black-Scholes + Smart Money StrategyAn AI Test script.
The Black-Scholes option pricing model to extract institutional sentiment and implied volatility signals, empowering Smart Money-style entries.
SIWONK V11The SIWONK V11 indicator was designed to help traders identify key market zones based on Support & Resistance (S&R) principles, along with Crossing analysis. The SIWONK V11 indicator is suitable for scalping, particularly in the Gold (XAUUSD) and Bitcoin (BTC) markets on lower timeframes like M1 and M5. It can also be used on all timeframes.
BTCUSD Strategy %TP/%SL + Leverage with AlertsFuture segment alerts on BUY and SELL - Entry/Exit Levels Alerts for BTCUSD updated on 12/07/2025
JWs Algo📈 JWs Algo — 8/21 EMA Crossover Strategy with Take Profit and Stop Loss
JWs Algo is a momentum-based trading strategy that uses a classic 8/21 Exponential Moving Average (EMA) crossover to identify trend reversals and generate long and short trade signals. It includes built-in take profit and stop loss parameters to manage risk and lock in profits automatically.
🔍 Core Logic
Long Entry: When the 8 EMA crosses above the 21 EMA (bullish signal)
Short Entry: When the 8 EMA crosses below the 21 EMA (bearish signal)
Exit: Each position is exited automatically upon hitting either:
A take profit, defined as a percentage gain from entry
A stop loss, defined as a percentage loss from entry
✅ Key Features
Supports both long and short trades
Configurable take profit (%) and stop loss (%)
Prevents overlapping trades — the strategy waits for one trade to fully close before opening another
Clean visualization with:
Buy and sell signal markers
Plotted 8 EMA and 21 EMA for trend context
Compatible with any symbol and timeframe
⚙️ Recommended Use
This strategy works best on trending markets and can be adapted for:
Crypto
Forex
Stocks
Indices
Tune the TP/SL values and timeframe based on asset volatility for best results. Backtest thoroughly.
My strategyThe Combination 1 strategy is a precision-based breakout and retest setup designed for the EUR/USD 2-minute chart, operating during the Asia and London sessions (UTC-4). It identifies a unique consolidation zone where price, the 20-period SMA, and the 200-period SMA all align within a tight 2-pip range, signaling potential buildup. Once price breaks 10 to 15 pips above this consolidation area, the strategy waits for a retest—specifically, a wick that touches the zone, followed by a bullish close. This confirms buyer strength and triggers a BUY alert, with the take profit set at the breakout high and the stop loss at the recent swing low. This strategy filters for clean trends and disciplined breakouts, minimizing noise and maximizing precision.
BTCUSD 3min LA Timezone | USdailyTrade.com### 📈 BTCUSD 3-Minute Opening Range Breakout Strategy (One Trade Per Day – LA Timezone)
This strategy is a **3-minute Opening Range Breakout (ORB)** system designed specifically for **BTCUSD**, optimized for the **Los Angeles trading session**.
It captures early volatility and momentum by identifying the **first 5-minute range** after the market opens (LA time). The system enters:
- 📈 A **long trade** when price breaks above the high of the range
- 📉 A **short trade** when price breaks below the low
(based on clean breakout price action)
---
### 🔑 Key Features:
- ⏱ **Time-based filter**
Trades only during a specific time window (first **30 minutes** after session opens)
- 🎯 **Dynamic Stop-Loss and Take-Profit**
Targets are calculated based on **range size** and **ATR**, adapting to volatility
- 🚫 **One Trade Per Day**
Limits execution to just one high-probability trade per day – no overtrading
- 🔔 **Built-in Buy/Sell Alerts**
Alerts are automatically triggered when a valid **BUY** or **SELL** signal appears
- ⚡ **Built for volatility**
Optimized for the sharp, directional moves commonly seen in BTCUSD during LA open
---
### 👤 Who Is It For?
This script is ideal for **active intraday traders** who want to trade the **BTCUSD opening breakout** with:
- Predefined risk
- Clear entry/exit logic
- **One high-quality signal per day**
- **Real-time alert notifications**
- Automated trade management
---
> 📌 Created by (www.USdailyTrade.com)
> 💡 AI-powered strategies for **Forex**, **U.S. Stocks**, and **Gold**
FFI-Trend Rider ProFFI-Trend Rider Pro is a trend-following strategy designed to help traders make more structured and disciplined entries.
It uses a crossover between the 11 EMA and 21 SMA to detect potential trend shifts, while avoiding premature entries by checking how far the price is from the moving averages. If the price is extended, it waits for a pullback — just like professional traders do.
The indicator also includes:
Auto stoploss based on 21 SMA
Visual background colors based on RSI to help gauge trend strength
A built-in trade info table showing current trade type, entry price, stoploss, and trailing SL
Strategy-enabled functionality for easy backtesting
🔍 Ideal For:
Intraday & Swing Traders
Traders who want fewer, high-quality trades
Anyone looking to reduce emotional decision-making
⚠️ Disclaimer:
This script is for educational purposes only and does not constitute financial advice. Always do your own analysis before making any trading decisions. Past performance is not indicative of future results.
Friedrich's Ichimoku & EMA Strategy📈 Friedrich's Ichimoku & EMA Strategy
This strategy combines the strength of the Ichimoku Cloud with the long-term trend confirmation of the 200 EMA to identify high-probability long entries.
🧠 Strategy Logic
Entry Conditions:
- Price is above the Ichimoku Cloud (bullish confirmation).
- Price is above the 200 EMA (long-term trend is up).
Exit Conditions:
- Price falls below the Ichimoku Cloud, or
- Price drops below the 200 EMA while in an open position.
📊 Visual Features
Plots Lead Line 1 & 2 of the Ichimoku Cloud.
Fills the cloud area for clear visual trend recognition.
Plots the 200 EMA to show long-term trend alignment.
🔔 Alerts
Long Entry Signal: When all conditions align for a long.
Close Signal: When price invalidates the setup.
🕒 Recommended Use
Best used on the 6H (6-hour) timeframe.
Optimized for Bitcoin (BTC/USD), but adaptable to other trending assets.
💡 Use Case
This strategy is designed for traders who want to:
Ride strong trends.
Use a rule-based approach with clear visual guidance.
You can customize the Ichimoku or EMA settings to fit your asset or time frame.
Pullback Pro Dow Strategy v7 (ADX Filter)
### **Strategy Description (For TradingView)**
#### **Title:** Pullback Pro: Dow Theory & ADX Strategy
---
#### **1. Summary**
This strategy is designed to identify and trade pullbacks within an established trend, based on the core principles of Dow Theory. It uses market structure (pivot highs and lows) to determine the trend direction and an Exponential Moving Average (EMA) to pinpoint pullback entry opportunities.
To enhance trade quality and avoid ranging markets, an ADX (Average Directional Index) filter is integrated to ensure that entries are only taken when the trend has sufficient momentum.
---
#### **2. Core Logic: How It Works**
The strategy's logic is broken down into three main steps:
**Step 1: Trend Determination (Dow Theory)**
* The primary trend is identified by analyzing recent pivot points.
* An **Uptrend** is confirmed when the script detects a pattern of higher highs and higher lows (HH/HL).
* A **Downtrend** is confirmed by a pattern of lower highs and lower lows (LH/LL).
* If neither pattern is present, the strategy considers the market to be in a range and will not seek trades.
**Step 2: Entry Signal (Pullback to EMA)**
* Once a clear trend is established, the strategy waits for a price correction.
* **Long Entry:** In a confirmed uptrend, a long position is initiated when the price pulls back and crosses *under* the specified EMA.
* **Short Entry:** In a confirmed downtrend, a short position is initiated when the price rallies and crosses *over* the EMA.
**Step 3: Confirmation & Risk Management**
* **ADX Filter:** To ensure the trend is strong enough to trade, an entry signal is only validated if the ADX value is above a user-defined threshold (e.g., 25). This helps filter out weak signals during choppy or consolidating markets.
* **Stop Loss:** The initial Stop Loss is automatically and logically placed at the last market structure point:
* For long trades, it's placed at the `lastPivotLow`.
* For short trades, it's placed at the `lastPivotHigh`.
* **Take Profit:** Two Take Profit levels are calculated based on user-defined Risk-to-Reward (R:R) ratios. The strategy allows for partial profit-taking at the first target (TP1), moving the remainder of the position to the second target (TP2).
---
#### **3. Input Settings Explained**
**① Dow Theory Settings**
* **Pivot Lookback Period:** Determines the sensitivity for detecting pivot highs and lows. A smaller number makes it more sensitive to recent price swings; a larger number focuses on more significant, longer-term pivots.
**② Entry Logic (Pullback)**
* **Pullback EMA Length:** Sets the period for the Exponential Moving Average used to identify pullback entries.
**③ Risk & Exit Management**
* **Take Profit 1 R:R:** Sets the Risk-to-Reward ratio for the first take-profit target.
* **Take Profit 1 (%):** The percentage of the position to be closed when TP1 is hit.
* **Take Profit 2 R:R:** Sets the Risk-to-Reward ratio for the final take-profit target.
**④ Filters**
* **Use ADX Trend Filter:** A master switch to enable or disable the ADX filter.
* **ADX Length:** The lookback period for the ADX calculation.
* **ADX Threshold:** The minimum ADX value required to confirm a trade signal. Trades will only be placed if the ADX is above this level.
---
#### **4. Best Practices & Recommendations**
* This is a trend-following system. It is designed to perform best in markets that exhibit clear, sustained trending behavior.
* It may underperform in choppy, sideways, or strongly ranging markets. The ADX filter is designed to help mitigate this, but no filter is perfect.
* **Crucially, you must backtest this strategy thoroughly** on your preferred financial instrument and timeframe before considering any live application.
* Experiment with the `Pivot Lookback Period`, `Pullback EMA Length`, and `ADX Threshold` to optimize performance for a specific market's characteristics.
---
#### **DISCLAIMER**
This script is provided for educational and informational purposes only. It does not constitute financial advice. All trading involves a high level of risk, and past performance is not indicative of future results. You are solely responsible for your own trading decisions. The author assumes no liability for any financial losses you may incur from using this strategy. Always conduct your own research and due diligence.
The Price ModelOpening Range Breakout
Focuses on taking advantage of the New York Opening High volatility
Main goal is to catch simple and straight forward trades with Strict rules
Recommend Targeting 1:1 first, and then setting stop to breakeven after 1:1 is hit
Can use 5 Min ORB 1:1 as a second TP after entering on the prior 1min ORB.
Momentum Trading StrategyThis is a Trend Following Momentum Strategy, where i used EMA, ADX, RSI, VWAP to take trade with Trend and initiate trade when Momentum builds up.
The Default target is 1:2
RSI Bullish Divergence TraderThis RSI Divergence Buy strategy identifies bullish divergence by detecting confirmed swing lows where the price forms a lower low compared to the previous swing low, but the RSI indicator shows a higher low, signaling weakening downward momentum often in oversold conditions. It enters a long position upon confirmation of these criteria, with the entry visualized by a green upward triangle below the pivot bar. Positions are exited either when the RSI crosses above a specified mean-reversion level (like 55) for profit-taking or hits a dynamic stop-loss set a percentage below the pivot low to manage risk.
RSI Divergence Buy v4 - More TradesThis RSI Divergence Buy strategy identifies bullish divergence by detecting confirmed swing lows where the price forms a lower low compared to the previous swing low, but the RSI indicator shows a higher low, signaling weakening downward momentum often in oversold conditions. It enters a long position upon confirmation of these criteria, with the entry visualized by a green upward triangle below the pivot bar. Positions are exited either when the RSI crosses above a specified mean-reversion level (like 55) for profit-taking or hits a dynamic stop-loss set a percentage below the pivot low to manage risk.
Simple DCA Strategy----
### 📌 **Simple DCA Strategy with Backtest Date Filter**
This strategy implements a **Dollar-Cost Averaging (DCA)** approach for long positions, including:
* ✅ **Base Order Entry:** Starts a position with a fixed dollar amount when no position is open.
* 🔁 **Safety Orders:** Buys additional positions when the price drops by a defined percentage, increasing position size with each new entry using a multiplier.
* 🎯 **Take Profit Exit:** Closes all positions when the price reaches a profit target (in % above average entry).
* 🗓️ **Backtest Date Range:** Allows users to specify a custom start and optional end date to run the strategy only within that time window.
* 📊 **Plots:** Visualizes average entry, take profit level, and safety order trigger line.
#### ⚙️ Customizable Inputs:
* Base Order Size (\$)
* Price Deviation for Safety Orders (%)
* Maximum Safety Orders
* Order Size Multiplier
* Take Profit Target (%)
* Start and End Dates for Backtesting
This is a **long-only strategy** and is best used for backtesting performance of DCA-style accumulation under different market conditions.
----