RCI Strategy [PineIndicators]RCI Strategy
This strategy leverages the Rank Correlation Index (RCI) — a statistical oscillator that measures the relationship between time and price rank — combined with a configurable moving average filter. It offers clean, rule-based entries and exits, and visually enhanced trade tracking via labeled markers and boxes on the chart.
The RCI Strategy is well-suited for momentum traders looking to capture directional shifts with confirmation through RCI smoothing.
Core Logic
1. Rank Correlation Index (RCI)
Measures how closely price changes correlate with time rankings.
Values range between -100 and +100.
Thresholds at ±80 help identify potential reversals or extremes.
2. RCI Smoothing via Moving Average
A moving average (MA) is applied to the RCI to smooth out fluctuations.
Supported MA types:
SMA
EMA
SMMA (RMA)
WMA
VWMA
Users can disable the smoothing by selecting "None".
Trade Entry Logic
Long Entry: RCI crosses above the selected moving average.
Short Entry: RCI crosses below the moving average.
Entries are restricted by trade direction settings:
Long Only
Short Only
Long & Short
Visual Features
RCI Panel Display
Plots RCI line and its moving average in a separate pane.
Horizontal guide lines at 0, +80, and -80 help visualize signal zones.
Trade Labels on Chart
Buy Label: Plotted when a long entry is executed.
Close Label: Plotted when any position is closed.
Triangle markers for visual emphasis on direction change.
Trade Visualization Boxes
A colored box is drawn between entry and exit prices.
Green = profitable trade; Red = losing trade.
Two horizontal lines connect entry and exit prices for reference.
Customization Parameters
RCI Source: Select input price for the RCI (default: close).
RCI Length: Set sensitivity of the oscillator.
MA Type and Length: Choose and configure the smoothing filter.
Trade Direction Mode: Define whether to allow Long, Short, or both.
Use Cases
Swing traders who want to trade directional reversals with statistical backing.
Traders seeking a clean and visual strategy based on rank momentum.
Environments where both trend and range dynamics occur.
Conclusion
The RCI Strategy is a non-repainting, rule-based trading model that combines rank correlation momentum with smoothed trend logic. Its clean visual markers, labeled trades, and flexible MA filters make it a valuable tool for discretionary and systematic traders alike.
מתנדים
Dskyz (DAFE) GENESIS Dskyz (DAFE) GENESIS: Adaptive Quant, Real Regime Power
Let’s be honest: Most published strategies on TradingView look nearly identical—copy-paste “open-source quant,” generic “adaptive” buzzwords, the same shallow explanations. I’ve even fallen into this trap with my own previously posted strategies. Not this time.
What Makes This Unique
GENESIS is not a black-box mashup or a pre-built template. It’s the culmination of DAFE’s own adaptive, multi-factor, regime-aware quant engine—built to outperform, survive, and visualize live edge in anything from NQ/MNQ to stocks and crypto.
True multi-factor core: Volume/price imbalances, trend shifts, volatility compression/expansion, and RSI all interlock for signal creation.
Adaptive regime logic: Trades only in healthy, actionable conditions—no “one-size-fits-all” signals.
Momentum normalization: Uses rolling, percentile-based fast/slow EMA differentials, ALWAYS normalized, ALWAYS relevant—no “is it working?” ambiguity.
Position sizing that adapts: Not fixed-lot, not naive—not a loophole for revenge trading.
No hidden DCA or pyramiding—what you see is what you trade.
Dashboard and visual system: Directly connected to internal logic. If it’s shown, it’s used—and nothing cosmetic is presented on your chart that isn’t quantifiable.
📊 Inputs and What They Mean (Read Carefully)
Maximum Raw Score: How many distinct factors can contribute to regime/trade confidence (default 4). If you extend the quant logic, increase this.
RSI Length / Min RSI for Shorts / Max RSI for Longs: Fine-tunes how “overbought/oversold” matters; increase the length for smoother swings, tighten floors/ceilings for more extreme signals.
⚡ Regime & Momentum Gates
Min Normed Momentum/Score (Conf): Raise to demand only the strongest trends—your filter to avoid algorithmic chop.
🕒 Volatility & Session
ATR Lookback, ATR Low/High Percentile: These control your system’s awareness of when the market is dead or ultra-volatile. All sizing and filter logic adapts in real time.
Trading Session (hours): Easy filter for when entries are allowed; default is regular trading hours—no surprise overnight fills.
📊 Sizing & Risk
Max Dollar Risk / Base-Max Contracts: All sizing is adaptive, based on live regime and volatility state—never static or “just 1 contract.” Control your max exposures and real $ risk. ATR will effect losses in high volatility times.
🔄 Exits & Scaling
Stop/Trail/Scale multipliers: You choose how dynamic/flexible risk controls and profit-taking need to be. ATR-based, so everything auto-adjusts to the current market mode.
Visuals That Actually Matter
Dashboard (Top Right): Shows only live, relevant stats: scoring, status, position size, win %, win streak, total wins—all from actual trade engine state (not “simulated”).
Watermark (Bottom Right): Momentum bar visual is always-on, regime-aware, reflecting live regime confidence and momentum normalization. If the bar is empty, you’re truly in no-momentum. If it glows lime, you’re riding the strongest possible edge.
*No cosmetics, no hidden code distractions.
Backtest Settings
Initial capital: $10,000
Commission: Conservative, realistic roundtrip cost:
15–20 per contract (including slippage per side) I set this to $25
Slippage: 3 ticks per trade
Symbol: CME_MINI:NQ1!
Timeframe: 1 min (but works on all timeframes)
Order size: Adaptive, 1–3 contracts
No pyramiding, no hidden DCA
Why these settings?
These settings are intentionally strict and realistic, reflecting the true costs and risks of live trading. The 10,000 account size is accessible for most retail traders. 25/contract including 3 ticks of slippage are on the high side for NQ, ensuring the strategy is not curve-fit to perfect fills. If it works here, it will work in real conditions.
Why It Wins
While others put out “AI-powered” strategies with little logic or soul, GENESIS is ruthlessly practical. It is built around what keeps traders alive:
- Context-aware signals, not just patterns
- Tight, transparent risk
- Inputs that adapt, not confuse
- Visuals that clarify, not distract
- Code that runs clean, efficient, and with minimal overfitting risk (try it on QQQ, AMD, SOL, etc. out of the box)
Disclaimer (for TradingView compliance):
Trading is risky. Futures, stocks, and crypto can result in significant losses. Do not trade with funds you cannot afford to lose. This is for educational and informational purposes only. Use in simulation/backtest mode before live trading. No past performance is indicative of future results. Always understand your risk and ownership of your trades.
This will not be my last—my goal is to keep raising the bar until DAFE is a brand or I’m forced to take this private.
Use with discipline, use with clarity, and always trade smarter.
— Dskyz , powered by DAFE Trading Systems.
Moving Average Shift WaveTrend StrategyMoving Average Shift WaveTrend Strategy
🧭 Overview
The Moving Average Shift WaveTrend Strategy is a trend-following and momentum-based trading system designed to be overlayed on TradingView charts. It executes trades based on the confluence of multiple technical conditions—volatility, session timing, trend direction, and oscillator momentum—to deliver logical and systematic trade entries and exits.
🎯 Strategy Objectives
Enter trades aligned with the prevailing long-term trend
Exit trades on confirmed momentum reversals
Avoid false signals using session timing and volatility filters
Apply structured risk management with automatic TP, SL, and trailing stops
⚙️ Key Features
Selectable MA types: SMA, EMA, SMMA (RMA), WMA, VWMA
Dual-filter logic using a custom oscillator and moving averages
Session and volatility filters to eliminate low-quality setups
Trailing stop, configurable Take Profit / Stop Loss logic
“In-wave flag” prevents overtrading within the same trend wave
Visual clarity with color-shifting candles and entry/exit markers
📈 Trading Rules
✅ Long Entry Conditions:
Price is above the selected MA
Oscillator is positive and rising
200-period EMA indicates an uptrend
ATR exceeds its median value (sufficient volatility)
Entry occurs between 09:00–17:00 (exchange time)
Not currently in an active wave
🔻 Short Entry Conditions:
Price is below the selected MA
Oscillator is negative and falling
200-period EMA indicates a downtrend
All other long-entry conditions are inverted
❌ Exit Conditions:
Take Profit or Stop Loss is hit
Opposing signals from oscillator and MA
Trailing stop is triggered
🛡️ Risk Management Parameters
Pair: ETH/USD
Timeframe: 4H
Starting Capital: $3,000
Commission: 0.02%
Slippage: 2 pips
Risk per Trade: 2% of account equity (adjustable)
Total Trades: 224
Backtest Period: May 24, 2016 — April 7, 2025
Note: Risk parameters are fully customizable to suit your trading style and broker conditions.
🔧 Trading Parameters & Filters
Time Filter: Trades allowed only between 09:00–17:00 (exchange time)
Volatility Filter: ATR must be above its median value
Trend Filter: Long-term 200-period EMA
📊 Technical Settings
Moving Average
Type: SMA
Length: 40
Source: hl2
Oscillator
Length: 15
Threshold: 0.5
Risk Management
Take Profit: 1.5%
Stop Loss: 1.0%
Trailing Stop: 1.0%
👁️ Visual Support
MA and oscillator color changes indicate directional bias
Clear chart markers show entry and exit points
Trailing stops and risk controls are transparently managed
🚀 Strategy Improvements & Uniqueness
In-wave flag avoids repeated entries within the same trend phase
Filtering based on time, volatility, and trend ensures higher-quality trades
Dynamic high/low tracking allows precise trailing stop placement
Fully rule-based execution reduces emotional decision-making
💡 Inspirations & Attribution
This strategy is inspired by the excellent concept from:
ChartPrime – “Moving Average Shift”
It expands on the original idea with advanced trade filters and trailing logic.
Source reference:
📌 Summary
The Moving Average Shift WaveTrend Strategy offers a rule-based, reliable approach to trend trading. By combining trend and momentum filters with robust risk controls, it provides a consistent framework suitable for various market conditions and trading styles.
⚠️ Disclaimer
This script is for educational purposes only. Trading involves risk. Always use proper backtesting and risk evaluation before applying in live markets.
BTC 3m Long Profit Strategy [TIAMATCRYPTO]# BITCOIN Long profit Strategy
This strategy combines multiple technical indicators to identify potential swing trading opportunities in trending markets. It uses a comprehensive approach by analyzing price action through different lenses.
## Strategy Overview
The Multi-Indicator Swing Strategy analyzes market trends through multiple technical indicators to generate entry and exit signals. When several indicators align in the same direction, a trade signal is generated.
## Indicators Used
- **EMA Crossover**: Fast EMA (20) and Slow EMA (80) to identify trend direction
- **RSI**: Confirms trend strength while avoiding overbought/oversold extremes (35-70 range)
- **Supertrend**: Provides dynamic support/resistance levels
- **ADX**: Ensures trades are taken only in strong trending markets (ADX > 27)
- **MACD**: Optional momentum indicator (disabled by default)
- **PSAR**: Optional trend reversal indicator (disabled by default)
- **Liquidity Delta**: Optional volume-based indicator (disabled by default)
## Entry Logic
Long entries occur when:
- Fast EMA is above Slow EMA (if enabled)
- RSI is between 35-70 (if enabled)
- Supertrend is bullish (if enabled)
- ADX indicates a strong trend (if enabled)
- Other optional indicators confirm bullish momentum
Short entries follow the opposite conditions.
## Default Parameters
- Initial capital: $10,000
- Position size: 100% of equity
- Backtesting period: January 1, 2024 to present
- No fixed take-profit or stop-loss (uses indicator reversals as exit signals)
## Risk Management
This strategy uses 100% of equity for position sizing. For real trading, consider reducing this to 5-10% of your account per trade to manage risk effectively. You may also want to implement stop-loss orders based on your risk tolerance.
## Best Usage
- Timeframes: H4, Daily, and Weekly charts
- Market types: Most effective in trending markets (verify with ADX)
- Instruments: Can be applied to forex, stocks, crypto, and commodities
## Customization
You can enable/disable specific indicators and adjust their parameters to match your trading style and risk tolerance. This flexibility allows the strategy to be adapted for different market conditions.
## DISCLAIMER
This script is for educational and informational purposes only. Past performance is not indicative of future results. Trading involves risk; never risk more than you can afford to lose. Always use proper risk management and consider implementing stop-losses.
---
This description and the added code comments should help you comply with TradingView's publishing rules. It clearly explains the strategy, its default settings, and provides important risk management information.
Arena trend v2Arena Trend Strategy v2 is a multi-timeframe trend-following system that combines reliability with clear, intuitive visuals. It was designed for traders who want a strategy that is both effective and easy to understand—whether you’re scalping, day trading, or swing trading.
Overview
This strategy blends two RSI indicators (on separate timeframes), two dynamically weighted EMAs, a Supertrend filter, and an ATR-based visual cloud. Together, they provide an advanced trading environment with automatic SL/TP management and real-time trend cues on the chart.
How It Works
Two RSIs run in parallel: one on the current chart’s timeframe, and one on a higher timeframe you can select. These values are not shown on the chart but are actively used in the background to filter entries and avoid noise.
When all these conditions align, the trend line turns green on the chart – signaling a potential long entry. In bearish conditions, it turns red for a potential short. These color-coded signals can be customized or hidden completely.
SL and TP are handled automatically using your defined percentage values. Entry and exit arrows (blue, red, purple) appear directly on the chart.
Visual Elements
EMA Color Transitions
EMAs automatically change to green or red based on the trend direction. This offers instant visual feedback on market bias.
ATR-Based Dynamic Cloud
A layered “cloud” adapts based on volatility. Color gradients highlight market zones and directional movement. Soft border lines on top and bottom of the cloud reflect support and resistance without cluttering the chart.
Darker colors = strong trend (long or short)
Lighter colors = weak trend or sideways action
All cloud colors, transparencies, and layers are customizable.
Supertrend & ARTEMA
The classic Supertrend is enhanced with dynamic coloring based on direction and ATR movement. ARTEMA (Average Range Trend EMA) is a custom-built indicator using ATR logic to adapt EMA smoothing. It’s not visible on the chart, but crucial for the strategy’s responsiveness.
Filtering Logic
Volume Filter
Ensures trades only occur when a minimum volume threshold is met – reducing false signals during low liquidity.
Time-Based Filters
Lets you disable trading during specific time ranges (e.g., avoid high volatility or off-market hours).
Market Session Filters
Trade only during selected sessions – Asia, London, or New York.
Input Settings
SL / TP
Both are percentage-based and customizable per trade.
RSI Settings
RSI Source (e.g. close, hl2, etc.)
RSI1 Timeframe (e.g. chart timeframe)
RSI2 Timeframe (e.g. 4H, 1D)
Length individually adjustable for both
EMA Settings
EMA1 & EMA2 Length: Traditional periods, but their behavior is dynamically weighted
Weighting Factor: Controls responsiveness to ATR, ADX, and Volume
⚠️ The weighting factor significantly impacts performance – adjust carefully.
Cloud Display
Show/hide cloud, layers, centerline, and borders
Fully customizable colors and opacities
Trend Strength & Volatility
ADX measures trend strength (used internally for weighting, not visible)
Volume weighting helps ignore fake signals during low-activity candles
Volume Threshold
Set differently per asset – increasing the threshold gives stronger, more reliable entries
Low-volume candles will be marked with a red background
Session Filters
You can disable trading during the Asian session (or any time block)
Red background marks non-trading periods
Custom time-based blocks also available (e.g., skip New York open volatility)
Entry & Exit Logic
A trade is entered when the long/short conditions are met, and the direction is enabled (via “Only LONG?” or “Only SHORT?” toggles).
Positions are closed upon reaching SL or TP.
💡 Practical Use Cases
Scalping: Chart: 5min
RSI1: 5m, RSI2: 15m
Quick entries and fast TP (1–2%)
Day Trading: Chart: 15m or 1h
RSI2: 2H or 4H
SL: 2%, TP: 4% – emoji signals add confirmation
Swing Trading: Chart: 4H or 1D
RSI2: Weekly
Wider SL/TP, longer holds
⚠️ These are just examples – proper optimization is essential for each asset.
Behind the Scenes
This isn’t just a mash-up of indicators. Every part of the system is interconnected:
EMAs are dynamically weighted based on ATR, ADX, and Volume
The cloud + visual overlays help you spot strong vs weak signals instantly
The engine adapts to market speed – fast reactions in volatile moves, slower pace in sideways markets
Final Thoughts
Arena Trend Strategy v2 is not a magic wand – but it is a smart, adaptive technical system.
If you take time to understand what you’re seeing, it can help you make better, more confident trading decisions.
It’s beginner-friendly for those willing to learn, and powerful enough for advanced traders who appreciate the balance between automation and control.
📌 Note: Past performance does not guarantee future results.
ボラティリティ統計裁定取引本版本为测试版本
免费使用1周
本版本必须有授权,请联系作者谢谢
完整中文版需付费
月费 50USD
年费 504USD(立减16%)
This version is a test version
Free to use for 1 week
This version requires authorization; please contact the author, thank you.
The complete Chinese version requires payment:
Monthly fee: 50 USD
Annual fee: 504 USD (16% discount)
Intraday Momentum Nifty & Sensex ( DeepanIndia)Intraday Momentum Nifty & Sensex (Deepan India) is a Pine Script indicator designed to track short-term momentum in Nifty 50 and Sensex. It helps intraday traders spot trend shifts and strength with visual cues. The script is customizable and optimized for quick decision-making in volatile markets.
[SM-004-v2.4] PSAR StrategyThis trend-following strategy combines Heikin Ashi candlestick analysis, the Parabolic SAR, RSI, and a 200-period EMA channel to identify breakout entries and manage exits. It aims to capture momentum-driven moves by entering trades on strong directional signals and exiting on trend reversals or weakening conditions.
Key Points
✅ Heikin Ashi candles filter noise and identify clean trend structures
✅ No lower/upper wick signals strength in trend direction (used as entry trigger)
✅ PSAR position confirms trend direction (below price for long, above for short)
✅ RSI filter ensures momentum alignment (>50 for longs, <50 for shorts)
✅ EMA channel prevents trades in sideways markets by requiring breakout
✅ Exits are triggered on PSAR flips or weakening candle structures
✅ Supports custom timeframe and date range filters
✅ Fully configurable for long/short, indicator parameters, and resolution
Parabolic RSI Strategy [ChartPrime × PineIndicators]This strategy combines the strengths of the Relative Strength Index (RSI) with a Parabolic SAR logic applied directly to RSI values.
Full credit to ChartPrime for the original concept and indicator, licensed under the MPL 2.0.
It provides clear momentum-based trade signals using an innovative method that tracks RSI trend reversals via a customized Parabolic SAR, enhancing traditional oscillator strategies with dynamic trend confirmation.
How It Works
The system overlays a Parabolic SAR on the RSI, detecting trend shifts in RSI itself rather than on price, offering early reversal insight with visual and algorithmic clarity.
Core Components
1. RSI-Based Trend Detection
Calculates RSI using a customizable length (default: 14).
Uses upper and lower thresholds (default: 70/30) for overbought/oversold zones.
2. Parabolic SAR Applied to RSI
A custom Parabolic SAR function tracks momentum within the RSI, not price.
This allows the system to capture RSI trend reversals more responsively.
Configurable SAR parameters: Start, Increment, and Maximum acceleration.
3. Signal Generation
Long Entry: Triggered when the SAR flips below the RSI line.
Short Entry: Triggered when the SAR flips above the RSI line.
Optional RSI filter ensures that:
Long entries only occur above a minimum RSI (e.g. 50).
Short entries only occur below a maximum RSI.
Built-in logic prevents new positions from being opened against trend without prior exit.
Trade Modes & Controls
Choose from:
Long Only
Short Only
Long & Short
Optional setting to reverse positions on opposite signal (instead of waiting for a flat close).
Visual Features
1. RSI Plotting with Thresholds
RSI is displayed in a dedicated pane with overbought/oversold fill zones.
Custom horizontal lines mark threshold boundaries.
2. Parabolic SAR Overlay on RSI
SAR dots color-coded for trend direction.
Visible only when enabled by user input.
3. Entry & Exit Markers
Diamonds: Mark entry points (above for shorts, below for longs).
Crosses: Mark exit points.
Strategy Strengths
Provides early momentum reversal entries without relying on price candles.
Combines oscillator and trend logic without repainting.
Works well in both trending and mean-reverting markets.
Easy to configure with fine-tuned filter options.
Recommended Use Cases
Intraday or swing traders who want to catch RSI-based reversals early.
Traders seeking smoother signals than price-based Parabolic SAR entries.
Users of RSI looking to reduce false positives via trend tracking.
Customization Options
RSI Length and Thresholds.
SAR Start, Increment, and Maximum values.
Trade Direction Mode (Long, Short, Both).
Optional RSI filter and reverse-on-signal settings.
SAR dot color customization.
Conclusion
The Parabolic RSI Strategy is an innovative, non-repainting momentum strategy that enhances RSI-based systems with trend-confirming logic using Parabolic SAR. By applying SAR logic to RSI values, this strategy offers early, visualized, and filtered entries and exits that adapt to market dynamics.
Credit to ChartPrime for the original methodology, published under MPL-2.0.
RSI + Bollinger Bands Pro (No Repaint) v5📘 RSI + Bollinger Bands Pro (No Repaint) v5
🧠 Overview
The RSI + Bollinger Bands (No Repaint) v5 strategy combines two classic technical indicators — the Relative Strength Index (RSI) and Bollinger Bands — to identify high-probability reversal zones. The strategy only generates signals when both indicators align in overbought or oversold conditions, providing a powerful confluence filter.
It opens a long position when:
RSI crosses above the 50 line (momentum shift upward), and
Price crosses up through the lower Bollinger Band.
It opens a short position when:
RSI crosses below the 50 line (momentum shift downward), and
Price crosses down through the upper Bollinger Band.
All signals are based on confirmed bar closes (using the previous candle), ensuring that no repainting occurs after a bar is finalized.
⚙️ Inputs
Parameter Description
Momentum Length RSI period used to detect momentum shifts (default: 6)
Bands Length Period of the central moving average for Bollinger Bands (default: 200)
Bands Width Multiplier Standard deviation multiplier for band width (default: 2.0)
Highlight Candles? Colors the candles green or red on valid signals
Background Tint? Adds a soft background color on signal zones
📊 Visual Guide
Orange Line: central moving average of the Bollinger Bands (neutral zone)
Purple Channel: dynamic volatility envelope (standard deviation bands)
Green/Red Candles: confirmed long or short signals
Purple Fill: high-probability reversal area
✅ Key Benefits
100% Non-Repainting: Signals are locked in after candle close — no false entries.
Clean & Intuitive Display: Highlights only meaningful, high-confluence signals.
Dual Condition Filtering: RSI and Bollinger Band triggers must align.
Multi-Indicator Swing [TIAMATCRYPTO]v6# Strategy Description:
## Multi-Indicator Swing
This strategy is designed for swing trading across various markets by combining multiple technical indicators to identify high-probability trading opportunities. The system focuses on trend strength confirmation and volume analysis to generate precise entry and exit signals.
### Core Components:
- **Supertrend Indicator**: Acts as the primary trend direction filter with optimized settings (Factor: 3.0, ATR Period: 10) to balance responsiveness and reliability.
- **ADX (Average Directional Index)**: Confirms the strength of the prevailing trend, filtering out sideways or choppy market conditions where the strategy avoids taking positions.
- **Liquidity Delta**: A volume-based indicator that analyzes buying and selling pressure imbalances to validate trend direction and potential reversals.
- **PSAR (Optional)**: Can be enabled to add additional confirmation for trend changes, turned off by default to reduce signal filtering.
### Key Features:
- **Flexible Direction Trading**: Choose between long-only, short-only, or bidirectional trading to adapt to market conditions or account restrictions.
- **Conservative Risk Management**: Implements fixed percentage-based stop losses (default 2%) and take profits (default 4%) for a positive risk-reward ratio.
- **Realistic Backtesting Parameters**: Includes commission (0.1%) and slippage (2 points) to reflect real-world trading conditions.
- **Visual Signals**: Clear buy/sell arrows with customizable sizes for easy identification on the chart.
- **Information Panel**: Dynamic display showing active indicators and current risk settings.
### Best Used On:
Daily timeframes for cryptocurrencies, forex, or stock indices. The strategy performs optimally on assets with clear trending behavior and sufficient volatility.
### Default Settings:
Optimized for conservative position sizing (5% of equity per trade) with an initial capital of $10,000. The backtesting period (2021-2023) provides a statistically significant sample of varied market conditions.
Buy/Sell-R-AlgoAIDisclaimer:
// This script is for educational and informational purposes only.
// It does not constitute financial or investment advice.
// Trading involves substantial risk and may not be suitable for all investors.
// Always do your own research or consult with a licensed financial advisor
// before making any trading or investment decisions.
// The author is not responsible for any losses incurred using this script
Key Changes:
Buy at High of the Signal Candle:
The strategy.entry("Buy", strategy.long, limit=high, comment="Buy at High of Signal Candle") line places a buy order at the high of the candle that triggered the signal (i.e., the candle where the RSI crosses above the SMA).
How it works:
When the RSI crosses above the SMA and the buy condition is true, the strategy will place a buy order at the high of that candle.
Exit:
The strategy will exit the position if the RSI crosses below the SMA as usual using strategy.close("Buy").
Example:
If the RSI crosses above the SMA at a specific candle, the strategy will enter a buy order at the high of that candle.
When the RSI crosses below the SMA, it will close the long position.
This should now execute a buy order at the high of the signal candle when the RSI crosses above the SMA, as requested.
3 days ago
Release Notes
Disclaimer:
// This script is for educational and informational purposes only.
// It does not constitute financial or investment advice.
// Trading involves substantial risk and may not be suitable for all investors.
// Always do your own research or consult with a licensed financial advisor
// before making any trading or investment decisions.
// The author is not responsible for any losses incurred using this script
Key Changes:
Buy at High of the Signal Candle:
The strategy.entry("Buy", strategy.long, limit=high, comment="Buy at High of Signal Candle") line places a buy order at the high of the candle that triggered the signal (i.e., the candle where the RSI crosses above the SMA).
How it works:
When the RSI crosses above the SMA and the buy condition is true, the strategy will place a buy order at the high of that candle.
Exit:
The strategy will exit the position if the RSI crosses below the SMA as usual using strategy.close("Buy").
Example:
If the RSI crosses above the SMA at a specific candle, the strategy will enter a buy order at the high of that candle.
When the RSI crosses below the SMA, it will close the long position.
This should now execute a buy order at the high of the signal candle when the RSI crosses above the SMA, as requested.
Pivot Reversal StrategyPIVOT REVERSAL STRATAGY has a little bit of noise but i use HEIKEN ASHI 1 HOUR CANDLES for best results
SwingTrade VWAP Strategy[TiamatCrypto]V1.1This Pine Script® code creates a trading strategy called "SwingTrade VWAP Strategy V1.1." This strategy incorporates various trading tools, such as VWAP (Volume Weighted Average Price), ADX (Average Directional Index), and volume signals. Below is an explanation of the components and logic within the script:
### Overview of Features
- **VWAP:** A volume-weighted moving average that assesses price trends relative to the VWAP level.
- **ADX:** A trend strength indicator that helps confirm the strength of bullish or bearish trends.
- **Volume Analysis:** Leverages volume data to gauge momentum and identify volume-weighted buy/sell conditions.
- **Dynamic Entry/Exit Signals:** Combines the above indicators to produce actionable buy/sell or exit signals.
- **Customizable Inputs:** Inputs for tuning parameters like VWAP period, ADX thresholds, and volume sensitivity.
---
### **Code Breakdown**
#### **Input Parameters**
The script begins by defining several user-configurable variables under groups. These include indicators' on/off switches (`showVWAP`, `enableADX`, `enableVolume`) and input parameters for VWAP, ADX thresholds, and volume sensitivity:
- **VWAP Period and Threshold:** Controls sensitivity for VWAP signal generation.
- **ADX Settings:** Allows users to configure the ADX period and strength threshold.
- **Volume Ratio:** Detects bullish/bearish conditions based on relative volume patterns.
---
#### **VWAP Calculation**
The script calculates VWAP using the formula:
\
Where `P` is the typical price (`(high + low + close)/3`) and `V` is the volume.
- It resets cumulative values (`sumPV` and `sumV`) at the start of each day.
- Delta percentage (`deltaPercent`) is calculated as the percentage difference between the close price and the VWAP.
---
#### **Indicators and Signals**
1. **VWAP Trend Signals:**
- Identifies bullish/bearish conditions based on price movement (`aboveVWAP`, `belowVWAP`) and whether the price is crossing the VWAP level (`crossingUp`, `crossingDown`).
- Also detects rising/falling delta changes based on the VWAP threshold.
2. **ADX Calculation:**
- Calculates the directional movement (`PlusDM`, `MinusDM`) and smoothed values for `PlusDI`, `MinusDI`, and `ADX`.
- Confirms strong bullish/bearish trends when ADX crosses the defined threshold.
3. **Volume-Based Signals:**
- Evaluates the ratio of bullish volume (when `close > VWAP`) to bearish volume (when `close < VWAP`) over a specified lookback period.
---
#### **Trade Signals**
The buy and sell signals are determined by combining conditions from the VWAP, ADX, and volume signals:
- **Buy Signal:** Triggered when price upward crossover VWAP, delta rises above the threshold, ADX indicates a strong bullish trend, and volume confirms bullish momentum.
- **Sell Signal:** Triggered under inverse conditions.
- Additionally, exit conditions (`exitLong` and `exitShort`) are based on VWAP crossovers combined with the reversal of delta values.
---
#### **Plotting and Display**
The strategy plots VWAP on the chart and adds signal markers for:
- **Buy/Long Entry:** Green triangle below bars.
- **Sell/Short Entry:** Red triangle above bars.
- **Exit Signals:** Lime or orange "X" shapes for exits from long/short positions.
- Additionally, optional text labels are displayed to indicate the type of signal.
---
#### **Trading Logic**
The script's trading logic executes as follows:
- **Entries:**
- Executes long trades when the `buySignal` condition is true.
- Executes short trades when the `sellSignal` condition is true.
- **Exits:**
- Closes long positions upon `exitLong` conditions.
- Closes short positions upon `exitShort` conditions.
- The strategy calculates profits and visualizes the trade entry, exit, and running profit within the chart.
---
#### **Alerts**
Alerts are set up to notify traders via custom signals for buy and sell trades.
---
### **Use Case**
This script is suitable for day traders, swing traders, or algorithmic traders who rely on confluence signals from VWAP, ADX, and volume momentum. Its modular structure (e.g., the ability to enable/disable specific indicators) makes it highly customizable for various trading styles and financial instruments.
#### **Customizability**
- Adjust VWAP, ADX, and volume sensitivity levels to fit unique market conditions or asset classes.
- Turn off specific criteria to focus only on VWAP or ADX signals if desired.
#### **Caution**
As with all trading strategies, this script should be used for backtesting and analysis before live implementation. It's essential to validate its performance on historical data while considering factors like slippage and transaction costs.
Bitcoin Relative Strength IndexThis script leverages on the original RSI indicator to create a naive strategy based on weekly RSI in order to trade bitcoin cycles.
Users can configure the thresholds at which buy low and sell high to backtest it against a pure buy and hold strategy.
Performance is better than buy and hold for several scenarios.
TLCproTLCpro Trading Strategy
Description
TLCpro is a multi-timeframe trend-following strategy that combines EMA crossovers, MACD filtering, RSI confirmation, and VWAP/Trend EMA as dynamic support/resistance levels. The strategy is optimized for 1-hour (1H) and 4-hour (4H) timeframes, ensuring adaptability to different market conditions.
Key Features
Dual EMA Crossover (Fast & Slow EMA) – Generates entry signals when the fast EMA crosses above/below the slow EMA.
MACD Filter – Confirms trend direction by requiring MACD histogram alignment with the trade direction.
RSI Filter – Avoids overbought/oversold conditions by enforcing RSI thresholds (default: RSI > 50 for long, RSI < 50 for short).
Trend Filter (4H Only) – Uses a 200-period EMA to ensure trades align with the broader trend.
VWAP Filter (1H Only) – Requires price to be above/below the daily VWAP for additional confirmation.
Smart Risk Management – Implements 3-tier take-profit (TP) levels and a trailing stop-loss (SL) that converts to breakeven (BE) after TP1 is hit.
How It Works
Entry Conditions
Long Entry:
Fast EMA (15) crosses above Slow EMA (30).
MACD histogram is positive.
RSI > 50 (configurable).
On 1H: Price above daily VWAP.
On 4H: Price above 200-period Trend EMA.
Short Entry:
Fast EMA (15) crosses below Slow EMA (30).
MACD histogram is negative.
RSI < 50 (configurable).
On 1H: Price below daily VWAP.
On 4H: Price below 200-period Trend EMA.
Exit & Risk Management
3 Take-Profit Levels (TP1, TP2, TP3) – Closes portions of the trade at predefined profit levels (default: 3%, 6%, 10%).
Dynamic Stop-Loss (SL) & Breakeven (BE) Logic:
Initial SL: Fixed at 3% from entry.
After TP1 is hit: SL moves to breakeven (entry price).
After TP2 is hit: SL moves to TP1 level, locking in partial profits.
Visual SL/TP Lines – Drawn on the chart for easy tracking.
Why TLCpro is Unique & Worth Using
Multi-Timeframe Adaptability: Uses different filters (VWAP for 1H, Trend EMA for 4H) to improve signal quality.
Smart Risk Management: Unlike static SL/TP strategies, TLCpro trails stops to lock in profits while minimizing risk.
High-Confirmation Filters: Combines EMA, MACD, RSI, and Trend/VWAP to reduce false signals.
Visual Clarity: Clearly marks SL, TP, and BE levels on the chart for intuitive trade management.
Backtesting & Risk Considerations
Realistic Risk per Trade: Default stop-loss is 3%, ensuring sustainable risk management.
Partial Profit-Taking: Exits 25% at TP1, 25% at TP2, and 50% at TP3, balancing risk and reward.
Commission & Slippage: Should be accounted for in live trading (adjust in strategy settings).
Recommended Capital: Works well with $1,000+ accounts due to percentage-based position sizing.
How to Use
Apply to 1H or 4H charts (optimized for these timeframes).
Default settings work well, but adjust EMA lengths, RSI thresholds, and TP/SL levels based on volatility.
Monitor SL/TP lines – The strategy auto-updates them as price moves.
Avoid over-optimization – Test on multiple instruments before live trading.
Final Notes
TLCpro is designed for swing traders and trend followers who want a systematic, rules-based approach with clear risk management. By combining multiple confirmation filters and dynamic stop adjustments, it aims to improve consistency in trending markets.
Praetor Sentinel V11.2 NOLOOSE BETA📈 Praetor Sentinel V11.2 – "NOLOOSE BETA"
Algorithmic Trading Strategy for Trend Markets with Adaptive Risk Management
Praetor Sentinel V11.2 is an advanced algorithmic trading strategy for TradingView, specifically designed to operate in strong trend conditions. It combines multiple technical systems—including dynamic trend filters, multi-layer EMA structures, ADX-based volatility control, and adaptive trailing stops—into a powerful and automated trading framework.
🔧 Core Features
Multi-EMA Trend Detection: Two EMA pairs (short/long) to identify and confirm directional trends.
XO-EMA Breakout Logic: Fast EMA crossover to detect breakout opportunities.
ADX Trend Filter: Trades only during strong market trends (above custom ADX threshold).
HTF Filter: Optional higher timeframe trend confirmation (e.g. Daily 50 EMA).
VWAP Validation: Ensures entries aren't taken against the volumetric average.
RSI Filter: Adds a momentum filter (e.g. RSI > 50 for long trades).
🎯 Entry Signals
The strategy uses two entry types:
Breakout Entries: Based on XO-EMA cross and multi-EMA trend alignment.
Pullback Entries: Configurable via various methods such as EMA21 reentry, RSI reversal, engulfing candles, or VWAP reclaim.
All entries can be delayed via confirmation candle logic, requiring a bullish or bearish follow-up bar.
🛡️ Risk Management & Exit Logic
Dynamic ATR Trailing Stop: Adjusts stop distance according to market volatility with optional swing high/low protection.
Break-Even Logic: Locks in trades at breakeven once a defined profit is reached.
Hard Stop-Loss: Caps potential loss per trade with a fixed % (e.g. 1%).
Safe Mode ("NOLOOSE"): Exits early if price moves too far against the position — ideal for automated bots that must avoid drawdowns.
🤖 Automation & Alerts
This strategy is fully automatable with services like 3Commas using built-in alert messages for entries and exits.
All parameters are fully configurable to adapt to different assets, timeframes, and trading styles.
⚙️ Additional Features
Configurable leverage & position sizing
Time-based trading window
Built-in Anchored VWAP
Modular design for easy extension
📌 Summary
Praetor Sentinel V11.2 is a professional-grade tool for trend traders who want rule-based entry/exit logic, adaptive stop systems, and robust protection features. When paired with automation tools, it offers a reliable, low-maintenance setup that emphasizes safety, structure, and scalability.
🛠 How to Use Praetor Sentinel V11.2 – NOLOOSE BETA
🔍 1. Basic Configuration (Required)
Setting Description
Enable Long Trades Enables long (buy) positions.
Enable Short Trades Enables short (sell) positions.
Leverage Used for position sizing calculations.
Position Size % Defines % of capital to be used per trade.
⏰ 2. Time Filter (Optional)
Restricts trading to a defined time range.
Setting Description
Start Date Start date for strategy to be active.
End Date End date for strategy to stop.
Time Zone Time zone for above settings.
📊 3. Trend Setup (Essential for Entry Signals)
Setting Description
MA Type Type of moving average: EMA or SMA.
EMA1/2 Short & Long Two EMA-based systems to determine trend.
Fast/Slow EMA (XO) Used for crossover breakout detection.
HTF Filter Uses higher timeframe trend for additional confirmation.
RSI Filter Confirms entries only if momentum (RSI) supports it.
ADX Threshold Ensures trades only occur during strong trends.
🎯 4. Entry Logic
Setting Description
Pullback Entry Type Enables optional entry setups:
"Off"
"EMA21"
"RSI"
"Engulfing"
"VWAP"
| Use Confirmation Candle | Entry is delayed until a confirmation bar appears. |
| VWAP Confirmation | Trade only if price is above/below the VWAP (based on direction). |
Note: You can combine breakout + pullback signals. Only one has to trigger.
🧯 5. Risk Control & Exit Settings
Setting Description
Trailing Stop Mode
"Standard": Classic trailing stop
"Dynamic ATR": Adjusts to current volatility
"Dynamic ATR + Swing": Adds swing high/low buffer
| Enable Break-Even | Moves SL to breakeven once a target % gain is reached. |
| Enable Hard Stop-Loss | Fixed stop-loss (e.g. 1%) to cap trade risk. |
| Enable Safe Mode | Exits trade early if price moves against it beyond defined % (e.g. 0.3%). |
🔔 6. Alerts & Bot Automation
Setting Description
Entry Long/Short Msg Text message sent via alert when a position opens.
Exit Long/Short Msg Alert message for stop-loss/exit logic.
How to automate with 3Commas:
Load the strategy on your chart.
Manually create alerts using "Create Alert" in TradingView.
Use the built-in alert_message values for bot integration.
✅ Recommended Settings (Example for BTC/ETH on 1H)
Long & Short: ✅ Enabled
Leverage: 2.0
Timeframe: 1H
Pullback Entry: "EMA21"
MA Type: EMA
HTF Filter: Enabled (Daily EMA50)
RSI Filter: Enabled
VWAP Filter: Enabled
Break-Even: On at 0.5%
Hard SL: 1.0%
Safe Mode: On at -0.3%
Trailing Stop: "Dynamic ATR + Swing"
📘 Pro Tips for Testing & Customization
Use the Strategy Tester in TradingView to analyze performance over different assets.
Experiment with timeframes and entry modes.
Ideal for trending assets like BTC, ETH, SOL, etc.
You can expand it with take-profit logic, fixed TPs, indicator exits, etc.
Funding Rate Strategy IndicatorDescription
Funding Rate Backtest Strategy uses smoothed funding‐rate dynamics to trigger long/short trades, enhanced by volume, session and daily‐limit filters, plus configurable profit-taking, stop-loss and trailing stops. It is designed for perpetual‐swap markets (e.g. BTCUSDT) where funding costs reflect market sentiment.
1. Strategy Logic & Components
Funding Rate Source
External: real exchange funding rate (e.g. Binance funding).
Custom: manual override value.
Simulate: sine‐wave test data between –3 and +3 to validate behavior.
Entry Conditions
LONG when fundingRate ≤ Long Threshold (default –2.0)
SHORT when fundingRate ≥ Short Threshold (default +2.0)
Volume Filter: requires a ≥ 5% increase vs prior bar.
4H Session Filter: only triggers on new 4-hour bars (optional).
Daily Cap: max 5 signals per calendar day (prevents overtrading).
Weekend Trading: on/off toggle for Saturday–Sunday.
Exit Conditions
Funding Normalization: exit LONG when fundingRate > –0.5; exit SHORT when fundingRate < +0.5.
Profit-Taking & Stop-Loss: default TP = 5%, SL = 3% of entry price.
Trailing Stop: optional 2% trailing (togglable).
2. Default Settings & Backtest Parameters
Account Size: $10,000
Position Sizing: 10% of equity per trade
Commission: 0.10% per side
Slippage: 0.05% per trade
Instrument & Timeframe: BTCUSDT perpetual, 1H bars, Jan 1 2022 – Dec 31 2023
Volume Increase: 5%
Session Filter: 4-hour bars only
Max Signals/Day: 5
Weekend Trading: Enabled
3. Backtest Results (Jan 2022–Dec 2023)
Total Trades: 142
Win Rate: 55.6%
Average R/R: 1 : 1.4
Max Drawdown: 14.8%
Net Return: +22.3%
These results assume realistic commission (0.1%) and slippage (0.05%). Past performance is not indicative of future results.
4. Default Properties Explained
Property Default Description
rateSourceChoice External Select funding‐rate data source
fundingRateLongThreshold –2.0 Funding ≤ –2% → LONG condition
fundingRateShortThreshold +2.0 Funding ≥ +2% → SHORT condition
volumeIncreasePercent 5.0 Min % volume increase vs prior bar
enableFourHourFilter true Only trigger on new 4H sessions
maxSignalsPerDay 5 Daily cap on entries
exitLongThreshold –0.5 Funding > –0.5% → exit LONG
exitShortThreshold +0.5 Funding < +0.5% → exit SHORT
takeProfitPercent 5.0 Fixed profit target in %
stopLossPercent 3.0 Fixed stop‐loss in %
useTrailingStop false Toggle trailing stop
trailingStopPercent 2.0 Trailing stop distance in %
allowWeekendTrading true Allow entries on Sat/Sun
5. How to Use
Add to Chart → search “Funding Rate Backtest.”
Configure Inputs → choose your funding‐rate feed, adjust thresholds, volume and session filters.
Position Sizing → defaults to 10% equity; adjust if desired.
Monitor Table & Signals → on‐chart shapes mark entries/exits; status table shows open P&L and signals count.
Risk Management → always verify commission/slippage settings; limit risk to sustainable levels (≤ 10% equity per trade).
6. Warnings & Disclaimer
This strategy is for educational purposes only. Real funding rates may differ—replace simulation or custom inputs with actual data. Always apply your own analysis and risk management. Past backtest performance does not guarantee future results.
EXODUS EXODUS by (DAFE) Trading Systems
EXODUS is a sophisticated trading algorithm built by Dskyz (DAFE) Trading Systems for competitive and competition purposes, designed to identify high-probability trades with robust risk management. this strategy leverages a multi-signal voting system, combining three core components—SPR, VWMO, and VEI—alongside ADX, choppiness filters, and ATR-based volatility gates to ensure trades are taken only in favorable market conditions. the algo uses a take-profit to stop-loss ratio, dynamic position sizing, and a strict voting mechanism requiring all signals to align before entering a trade.
EXODUS was not overfitted for any specific symbol. instead, it uses a generic tuned setting, making it versatile across various markets. while it can trade futures, it’s not currently set up for it but has the potential to do more with further development. visuals are intentionally minimal due to its competition focus, prioritizing performance over aesthetics. a more visually stunning version may be released in the future with enhanced graphics.
The Unique Core Components Developed for EXODUS
SPR (Session Price Recalibration)
SPR measures momentum during regular trading hours (RTH, 0930-1600, America/New_York) to catch session-specific trends.
spr_lookback = input.int(15, "SPR Lookback") this sets how many bars back SPR looks to calculate momentum (default 15 bars). it compares the current session’s price-volume score to the score 15 bars ago to gauge momentum strength.
how it works: a longer lookback smooths out the signal, focusing on bigger trends. a shorter one makes SPR more sensitive to recent moves.
how to adjust: on a 1-hour chart, 15 bars is 15 hours (about 2 trading days). if you’re on a shorter timeframe like 5 minutes, 15 bars is just 75 minutes, so you might want to increase it to 50 or 100 to capture more meaningful trends. if you’re trading a choppy stock, a shorter lookback (like 5) can help catch quick moves, but it might give more false signals.
spr_threshold = input.float (0.7, "SPR Threshold")
this is the cutoff for SPR to vote for a trade (default 0.7). if SPR’s normalized value is above 0.7, it votes for a long; below -0.7, it votes for a short.
how it works: SPR normalizes its momentum score by ATR, so this threshold ensures only strong moves count. a higher threshold means fewer trades but higher conviction.
how to adjust: if you’re getting too few trades, lower it to 0.5 to let more signals through. if you’re seeing too many false entries, raise it to 1.0 for stricter filtering. test on your chart to find a balance.
spr_atr_length = input.int(21, "SPR ATR Length") this sets the ATR period (default 21 bars) used to normalize SPR’s momentum score. ATR measures volatility, so this makes SPR’s signal relative to market conditions.
how it works: a longer ATR period (like 21) smooths out volatility, making SPR less jumpy. a shorter one makes it more reactive.
how to adjust: if you’re trading a volatile stock like TSLA, a longer period (30 or 50) can help avoid noise. for a calmer stock, try 10 to make SPR more responsive. match this to your timeframe—shorter timeframes might need a shorter ATR.
rth_session = input.session("0930-1600","SPR: RTH Sess.") rth_timezone = "America/New_York" this defines the session SPR uses (0930-1600, New York time). SPR only calculates momentum during these hours to focus on RTH activity.
how it works: it ignores pre-market or after-hours noise, ensuring SPR captures the main market action.
how to adjust: if you trade a different session (like London hours, 0300-1200 EST), change the session to match. you can also adjust the timezone if you’re in a different region, like "Europe/London". just make sure your chart’s timezone aligns with this setting.
VWMO (Volume-Weighted Momentum Oscillator)
VWMO measures momentum weighted by volume to spot sustained, high-conviction moves.
vwmo_momlen = input.int(21, "VWMO Momentum Length") this sets how many bars back VWMO looks to calculate price momentum (default 21 bars). it takes the price change (close minus close 21 bars ago).
how it works: a longer period captures bigger trends, while a shorter one reacts to recent swings.
how to adjust: on a daily chart, 21 bars is about a month—good for trend trading. on a 5-minute chart, it’s just 105 minutes, so you might bump it to 50 or 100 for more meaningful moves. if you want faster signals, drop it to 10, but expect more noise.
vwmo_volback = input.int(30, "VWMO Volume Lookback") this sets the period for calculating average volume (default 30 bars). VWMO weights momentum by volume divided by this average.
how it works: it compares current volume to the average to see if a move has strong participation. a longer lookback smooths the average, while a shorter one makes it more sensitive.
how to adjust: for stocks with spiky volume (like NVDA on earnings), a longer lookback (50 or 100) avoids overreacting to one-off spikes. for steady volume stocks, try 20. match this to your timeframe—shorter timeframes might need a shorter lookback.
vwmo_smooth = input.int(9, "VWMO Smoothing")
this sets the SMA period to smooth VWMO’s raw momentum (default 9 bars).
how it works: smoothing reduces noise in the signal, making VWMO more reliable for voting. a longer smoothing period cuts more noise but adds lag.
how to adjust: if VWMO is too jumpy (lots of false votes), increase to 15. if it’s too slow and missing trades, drop to 5. test on your chart to see what keeps the signal clean but responsive.
vwmo_threshold = input.float(10, "VWMO Threshold") this is the cutoff for VWMO to vote for a trade (default 10). above 10, it votes for a long; below -10, a short.
how it works: it ensures only strong momentum signals count. a higher threshold means fewer but stronger trades.
how to adjust: if you want more trades, lower it to 5. if you’re getting too many weak signals, raise it to 15. this depends on your market—volatile stocks might need a higher threshold to filter noise.
VEI (Velocity Efficiency Index)
VEI measures market efficiency and velocity to filter out choppy moves and focus on strong trends.
vei_eflen = input.int(14, "VEI Efficiency Smoothing") this sets the EMA period for smoothing VEI’s efficiency calc (bar range / volume, default 14 bars).
how it works: efficiency is how much price moves per unit of volume. smoothing it with an EMA reduces noise, focusing on consistent efficiency. a longer period smooths more but adds lag.
how to adjust: for choppy markets, increase to 20 to filter out noise. for faster markets, drop to 10 for quicker signals. this should match your timeframe—shorter timeframes might need a shorter period.
vei_momlen = input.int(8, "VEI Momentum Length") this sets how many bars back VEI looks to calculate momentum in efficiency (default 8 bars).
how it works: it measures the change in smoothed efficiency over 8 bars, then adjusts for inertia (volume-to-range). a longer period captures bigger shifts, while a shorter one reacts faster.
how to adjust: if VEI is missing quick reversals, drop to 5. if it’s too noisy, raise to 12. test on your chart to see what catches the right moves without too many false signals.
vei_threshold = input.float(4.5, "VEI Threshold") this is the cutoff for VEI to vote for a trade (default 4.5). above 4.5, it votes for a long; below -4.5, a short.
how it works: it ensures only strong, efficient moves count. a higher threshold means fewer trades but higher quality.
how to adjust: if you’re not getting enough trades, lower to 3. if you’re seeing too many false entries, raise to 6. this depends on your market—fast stocks like NQ1 might need a lower threshold.
Features
Multi-Signal Voting: requires all three signals (SPR, VWMO, VEI) to align for a trade, ensuring high-probability setups.
Risk Management: uses ATR-based stops (2.1x) and take-profits (4.1x), with dynamic position sizing based on a risk percentage (default 0.4%).
Market Filters: ADX (default 27) ensures trending conditions, choppiness index (default 54.5) avoids sideways markets, and ATR expansion (default 1.12) confirms volatility.
Dashboard: provides real-time stats like SPR, VWMO, VEI values, net P/L, win rate, and streak, with a clean, functional design.
Visuals
EXODUS prioritizes performance over visuals, as it was built for competitive and competition purposes. entry/exit signals are marked with simple labels and shapes, and a basic heatmap highlights market regimes. a more visually stunning update may be released later, with enhanced graphics and overlays.
Usage
EXODUS is designed for stocks and ETFs but can be adapted for futures with adjustments. it performs best in trending markets with sufficient volatility, as confirmed by its generic tuning across symbols like TSLA, AMD, NVDA, and NQ1. adjust inputs like SPR threshold, VWMO smoothing, or VEI momentum length to suit specific assets or timeframes.
Setting I used: (Again, these are a generic setting, each security needs to be fine tuned)
SPR LB = 19 SPR TH = 0.5 SPR ATR L= 21 SPR RTH Sess: 9:30 – 16:00
VWMO L = 21 VWMO LB = 18 VWMO S = 6 VWMO T = 8
VEI ES = 14 VEI ML = 21 VEI T = 4
R % = 0.4
ATR L = 21 ATR M (S) =1.1 TP Multi = 2.1 ATR min mult = 0.8 ATR Expansion = 1.02
ADX L = 21 Min ADX = 25
Choppiness Index = 14 Chop. Max T = 55.5
Backtesting: TSLA
Frame: Jan 02, 2018, 08:00 — May 01, 2025, 09:00
Slippage: 3
Commission .01
Disclaimer
this strategy is for educational purposes. past performance is not indicative of future results. trading involves significant risk, and you should only trade with capital you can afford to lose. always backtest and validate any strategy before using it in live markets.
(This publishing will most likely be taken down do to some miscellaneous rule about properly displaying charting symbols, or whatever. Once I've identified what part of the publishing they want to pick on, I'll adjust and repost.)
About the Author
Dskyz (DAFE) Trading Systems is dedicated to building high-performance trading algorithms. EXODUS is a product of rigorous research and development, aimed at delivering consistent, and data-driven trading solutions.
Use it with discipline. Use it with clarity. Trade smarter.
**I will continue to release incredible strategies and indicators until I turn this into a brand or until someone offers me a contract.
2025 Created by Dskyz, powered by DAFE Trading Systems. Trade smart, trade bold.
RTB - Momentum Breakout Strategy V3
📈 RTB - Momentum Breakout Strategy V3 is a directional breakout strategy based on momentum. It combines exponential moving averages (EMAs), RSI, and recent support/resistance levels to detect breakout entries with trend confirmation. The system includes dynamic risk management using ATR-based stop-loss and trailing stop levels. Webhook alerts are supported for external automated trading integrations.
🔎 The strategy was backtested using default parameters on BTCUSDT Futures (Bybit) with 4-hour timeframe and a 0.05% commission per trade.
⚠️ This script is for educational purposes only and does not constitute financial advice. Always do your own research before trading.
Express Generator StrategyExpress Generator Strategy
Pine Script™ v6
The Express Generator Strategy is an algorithmic trading system that harnesses confluence from multiple technical indicators to optimize trade entries and dynamic risk management. Developed in Pine Script v6, it is designed to operate within a user-defined backtesting period—ensuring that trades are executed only during chosen historical windows for targeted analysis.
How It Works:
- Entry Conditions:
The strategy relies on a dual confirmation approach:- A moving average crossover system where a fast (default 9-period SMA) crossing above or below a slower (default 21-period SMA) average signals a potential trend reversal.
- MACD confirmation; trades are only initiated when the MACD line crosses its signal line in the direction of the moving average signal.
- An RSI filter refines these signals by preventing entries when the market might be overextended—ensuring that long entries only occur when the RSI is below an overbought level (default 70) and short entries when above an oversold level (default 30).
- Risk Management & Dynamic Position Sizing:
The strategy takes a calculated approach to risk by enabling the adjustment of position sizes using:- A pre-defined percentage of equity risk per trade (default 1%, adjustable between 0.5% to 3%).
- A stop-loss set in pips (default 100 pips, with customizable ranges), which is then adjusted by market volatility measured through the ATR.
- Trailing stops (default 50 pips) to help protect profits as the market moves favorably.
This combination of volatility-adjusted risk and equity-based position sizing aims to harmonize trade exposure with prevailing market conditions.
- Backtest Period Flexibility:
Users can define the start and end dates for backtesting (e.g., January 1, 2020 to December 31, 2025). This ensures that the strategy only opens trades within the intended analysis window. Moreover, if the strategy is still holding a position outside this period, it automatically closes all trades to prevent unwanted exposure.
- Visual Insights:
For clarity, the strategy plots the fast (blue) and slow (red) moving averages directly on the chart, allowing for visual confirmation of crossovers and trend shifts.
By integrating multiple technical indicators with robust risk management and adaptable position sizing, the Express Generator Strategy provides a comprehensive framework for capturing trending moves while prudently managing downside risk. It’s ideally suited for traders looking to combine systematic entries with a disciplined and dynamic risk approach.
RSI Divergence Strategy - AliferCryptoStrategy Overview
The RSI Divergence Strategy is designed to identify potential reversals by detecting regular bullish and bearish divergences between price action and the Relative Strength Index (RSI). It automatically enters positions when a divergence is confirmed and manages risk with configurable stop-loss and take-profit levels.
Key Features
Automatic Divergence Detection: Scans for RSI pivot lows/highs vs. price pivots using user-defined lookback windows and bar ranges.
Dual SL/TP Methods:
- Swing-based: Stops placed a configurable percentage beyond the most recent swing high/low.
- ATR-based: Stops placed at a multiple of Average True Range, with a separate risk/reward multiplier.
Long and Short Entries: Buys on bullish divergences; sells short on bearish divergences.
Fully Customizable: Input groups for RSI, divergence, swing, ATR, and general SL/TP settings.
Visual Plotting: Marks divergences on chart and plots stop-loss (red) and take-profit (green) lines for active trades.
Alerts: Built-in alert conditions for both bullish and bearish RSI divergences.
Detailed Logic
RSI Calculation: Computes RSI of chosen source over a specified period.
Pivot Detection:
- Identifies RSI pivot lows/highs by scanning a lookback window to the left and right.
- Uses ta.barssince to ensure pivots are separated by a minimum/maximum number of bars.
Divergence Confirmation:
- Bullish: Price makes a lower low while RSI makes a higher low.
- Bearish: Price makes a higher high while RSI makes a lower high.
Entry:
- Opens a Long position when bullish divergence is true.
- Opens a Short position when bearish divergence is true.
Stop-Loss & Take-Profit:
- Swing Method: Computes the recent swing high/low then adjusts by a percentage margin.
- ATR Method: Uses the current ATR × multiplier applied to the entry price.
- Take-Profit: Calculated as entry price ± (risk × R/R ratio).
Exit Orders: Uses strategy.exit to place bracket orders (stop + limit) for both long and short positions.
Inputs and Configuration
RSI Settings: Length & price source for the RSI.
Divergence Settings: Pivot lookback parameters and valid bar ranges.
SL/TP Settings: Choice between Swing or ATR method.
Swing Settings: Swing lookback length, margin (%), and risk/reward ratio.
ATR Settings: ATR length, stop multiplier, and risk/reward ratio.
Usage Notes
Adjust the Pivot Lookback and Range values to suit the volatility and timeframe of your market.
Use higher ATR multipliers for wider stops in choppy conditions, or tighten swing margins in trending markets.
Backtest different R/R ratios to find the balance between win rate and reward.
Disclaimer
This script is for educational purposes only and does not constitute financial advice. Trading carries significant risk and you may lose more than your initial investment. Always conduct your own research and consider consulting a professional before making any trading decisions.
Cyclical CALL/PUT StrategyThis script identifies optimal CALL (long) and PUT (short) entries using a cyclical price wave modeled from a sine function and confirmed with trend direction via a 200 EMA.
Strategy Highlights:
Cycle-Based Signal: Detects market rhythm with a smoothed sinusoidal wave.
Trend Confirmation: Filters entries using a customizable EMA (default: 200).
Auto-Scaling: Wave height adjusts dynamically to price action volatility.
Risk Parameters:
Take Profit: Default 5% (customizable)
Stop Loss: Default 2% (customizable)
Signal Triggers:
CALL Entry: Price crosses above the scaled wave and in an uptrend
PUT Entry: Price crosses below the scaled wave and in a downtrend
Inputs:
Cycle Length
Smoothing
Wave Height
EMA Trend Length
Take Profit %
Stop Loss %
Visuals:
Gray line = Scaled Cycle Wave
Orange line = 200 EMA Trend Filter
Best For: Traders looking to make 1–2 high-probability trades per week on SPY or other highly liquid assets.
Timeframes: Works well on 2-min, 15-min, and daily charts.
Arena-Hub-DC-Strategy V3.1This script must be individually configured for each cryptocurrency. After monitoring several coins, I’ve realized that each one requires its own unique setup. There's no “one-size-fits-all” — and different timeframes require different configurations as well.
⚠️ Risk management is essential.
If you're not familiar with proper risk management, please do not use this script. Make sure to configure your commission and slippage settings appropriately, as these are critical for realistic backtesting results. The Stop Loss and Take Profit levels are not automated — they must be adjusted by the user.
This script is not a financial advisor. It won't make risk or profit-related decisions for you. It's a tool designed to help identify potential entries, trends, and exit opportunities — but all final decisions must be made by the trader.
The default settings are only examples. You’ll need to customize them for each crypto asset and timeframe to make the strategy truly work for your style and market conditions.
The script evaluates:
The positioning of two RSIs relative to each other
Their alignment with a customizable RSI-EMA
The values of EMAs and the ATR (volatility)
A custom weighting system using ADR and VOLUME, which strongly affects trade signals. The weights can be adjusted in 0.1 increments, and even small changes can have a big impact — so fine-tuning is important!
These indicators were chosen because they complement each other:
RSI and its EMA help identify momentum shifts
ATR gauges volatility to confirm market conditions
ADR and VOLUME help filter weak signals and fine-tune entries and exits
🔍 Important: Only use this script if you understand how RSI, EMA, ATR, ADR, and VOLUME indicators work, and are comfortable making your own trading decisions.
The backtest results are based on historical data — the script cannot see the future, not even guess it. Please use it responsibly.
This script is an advanced trend-following strategy that dynamically combines RSI, SMA, EMA, ATR, ADX, and volume indicators using a unique weighting and filtering mechanism. Instead of simply combining traditional indicators, it applies them in a unique way:
✅ Dual RSI Comparison: The strategy utilizes two RSI indicators, analyzing their relative movement to filter out false signals and provide more precise entry points.
✅ Custom Entry and Exit Rules: EMA crossovers alone do not generate signals; instead, they go through a dynamic RSI filter that takes market volatility into account using ATR and ADX.
✅ Intelligent Trend Identification: Instead of standard moving averages, a uniquely weighted SMA/EMA system is used to assess trend strength and stability.
✅ ATR, ADX & Volume-Based Weighting: The EMA length is dynamically adjusted based on ATR, ADX, and volume, allowing moving averages to react faster in strong trends while smoothing out in choppy markets.
Advanced Dynamic EMA Zone
This is not your typical EMA indicator. It's an enhanced, dynamically adaptive trend zone that:
✅ Applies gradient shading – The zone between EMAs is divided into four layers, highlighting trend strength through smooth color transitions.
✅ Visualizes trend intensity – The strongest trends appear in the darkest shades, while weaker moves fade into lighter tones.
✅ Brings moving averages to life – Instead of static lines, it creates a visually intuitive trend channel.
✅ Differentiates bullish & bearish phases – The cloud fades from dark green to light green during an uptrend and from dark red to light red in a downtrend.
✅ Filters out market noise – Weakening trends appear more transparent, instantly revealing when momentum starts to fade.
✅ Enhances decision-making – Crossovers alone are not trading signals, but the visual representation helps identify market conditions at a glance.
➡️ What makes it unique?
Traditional moving average indicators rely on basic lines, but this is a full-fledged trend visualization system, helping traders filter noise and better understand price momentum.
🔄 Improved Custom EMA Smoothing Control
We’ve enhanced the weighting factor input for better user control! Previously, the EMA smoothing factor (ema1_smooth_factor) had a fixed step size that limited precision. Now, users can fine-tune it in 0.1 increments for greater flexibility.
✅ What’s new?
More precise control over EMA smoothing with adjustable step size (step=0.1).
Better adaptability to different market conditions.
Smoother trend visualization for traders who prefer fine-tuned settings.
This update ensures our custom EMA visualization remains superior to standard indicators. 🎯🔥