Aura Trail Bitcoin H1 StrategyAuraTrail Bitcoin H1 Strategy is a meticulously crafted trend-following system designed for the Bitcoin H1 timeframe. It leverages powerful candlestick patterns and robust trailing stop logic to identify and capitalize on sustained market movements, while actively managing risk.
Strategy Logic
Signal Identification: The strategy's core is based on classic reversal candlestick patterns: the Hammer for bullish entry signals and the Shooting Star for bearish signals. It waits for the confirmation of these patterns on the previous bar.
Long Entry: A long trade is initiated when a confirmed Hammer pattern appears. The entry is placed as a pending order at the high of the previous day, aiming to enter the trade only if the bullish momentum continues.
Short Entry: A short trade is triggered upon a confirmed Shooting Star pattern. The entry is a pending order at the low of the previous day, designed to capture further downside movement.
Risk Management: The initial stop-loss is calculated based on the previous day's open and bar range. The strategy then uses a dynamic Trailing Stop based on a combination of short-term (45-period) and long-term (95-period) Average True Range (ATR) to lock in profits as the trade moves favorably.
Money Management: Position size is dynamically adjusted based on a configurable multiplier, which can be tailored to manage pyramiding or scaling into a position, ensuring controlled risk exposure.
Parameters
Initial Lots: Defines the starting position size for the first trade.
Lot Multiplier: Adjusts position size for subsequent entries in a pyramiding sequence.
Trailing Stop Coefficient: A multiplier for ATR to set the trailing stop distance.
Trailing Activation Coefficient: A multiplier for ATR to determine when the trailing stop becomes active.
Profit Target %: Defines a percentage gain for profit-taking.
Setup
Timeframe: 1-Hour (H1)
Asset: Bitcoin, also suitable for other volatile assets with clear candlestick patterns and trending behavior.
Göstergeler ve stratejiler
Valid H/L Strategy Tester with MFE/MAE Analytics
## Overview
A data-driven trading indicator that identifies valid high/low price levels and provides statistical insights through Maximum Favorable Excursion (MFE) and Maximum Adverse Excursion (MAE) analytics. Make informed trading decisions based on historical price behavior rather than guesswork.
## Key Features
### 🎯 Smart Pattern Recognition
- Automatically detects valid highs and lows with confirmation system
- Color-coded candles and lines for clear visual identification
- Inside/Outside print filtering for higher probability setups
### 📊 Statistical Analytics
- Analyzes up to 500 historical setups for MFE/MAE calculations
- 1-hour and 3-hour timeframe data with percentile-based targets (20th, 50th, 80th)
- Real-time performance tracking with comprehensive statistics table
### ⚙️ Flexible Strategy Options
**Entry Methods:** Confirmation-based or MAE percentile entries
**Take Profit:** MFE-based, fixed points, percentage, or R:R ratio targets
**Risk Management:** Multiple stop loss types with position sizing controls
### 🕐 Advanced Time Filtering
- Session filters (Asia, London, New York)
- Individual hourly controls (24-hour precision in ET)
- Pre-configured for optimal NY trading hours (9 AM - 2 PM)
### 📈 Visual Dashboard
- MFE target lines (blue) and MAE risk lines (orange)
- Customizable colors, styles, and line weights
- Statistics table showing daily/hourly/weekly performance breakdowns
## How It Works
1. **Pattern Detection** - Scans for valid high/low formations using price structure and gap behavior
2. **Statistical Analysis** - Calculates historical MFE/MAE percentiles from past setups
3. **Trade Framework** - Executes entries/exits based on your configuration with real-time performance tracking
## Ideal For
- **Day/Swing Traders** seeking data-driven entry/exit levels
- **Risk Managers** wanting historical drawdown data for stop placement
- **Performance Trackers** needing detailed analytics across timeframes and sessions
- **Flexible Strategies** - adapts to scalping, day trading, or swing trading styles
## Quick Setup
1. Select analysis timeframe (default: 5-minute)
2. Choose entry method and exit strategy
3. Enable MFE/MAE analytics display
4. Apply session/hourly filters
5. Customize visual elements and table settings
Transform your trading from guesswork to statistical precision with historical price behavior insights.
OKX Contract Martin SAR + RSI +MA Signal判断多空
longSignal := (long and scma) or (goldenCross and rsicm30 ) or (crossUp and rsicm30) // Long signal when SAR switches to uptrend
shortSignal := (short and lcma) or (deathCross and rsicm70 ) or (crossunder and rsicm70)//and scma // Short signal when SAR switches to downtrend
多:sar在下方和200日均线上方 ;金叉和rsi小于50 ;上穿和rsi小于50
空:sar在上方和200日均线下方 ;死叉和rsi大于50 ;下穿和rsi大于50
这个策略是马丁的信号策略
Three-Step 9:30 Range Scalping# Three-Step 9:30 Range Scalping Strategy Rules
## Step 1: Mark the Levels (9:30 AM)
- Wait for the **first 5-minute candle** starting at 9:30 AM EST to close
- Mark the **HIGH** and **LOW** of this candle
- Switch to **1-minute chart** for trading
## Step 2: Find Your Entry (Trade for 1 hour only: 9:30-10:30 AM)
### BREAK Entry
- Need: **Fair Value Gap (FVG)** + **ANY** of the 3 FVG candles closes outside the range
- FVG = Gap between candle wicks (3-candle pattern)
### TRAP Entry
- Need: Break outside range → Retest back inside → Close back outside again
### REVERSAL Entry
- Need: Failed break in one direction → Opposite FVG back into the range
## Step 3: Trade Management
### Stop Loss:
- **Break/Trap**: Low/High of first candle that closed outside the range
- **Reversal**: Low/High of first candle in the FVG pattern
### Take Profit:
- **Always 2:1 risk-to-reward ratio**
- If you risk $100, you make $200
## Key Rules:
- ✅ **Body close** outside range (not just wicks)
- ✅ Trade on **1-minute chart** only
- ✅ Only trade **first hour** (9:30-10:30 AM EST)
- ✅ **Fixed 2:1** take profit every time
- ✅ One strategy, stay consistent
**That's it. No complicated indicators, no higher timeframe bias, no guesswork.**
Supertrend Strategy with ATR TP and SLSupertrend Strategy with ATR TP and SL
Overview
The Supertrend strategy is a trend-following trading system that utilizes the Average True Range (ATR) to determine the market's volatility and to set dynamic support and resistance levels. This strategy employs the Supertrend indicator to identify entry and exit points for trades, specifically focusing on long and short positions in the market.
Key Components
Inputs
ATR Period: This defines the lookback period for calculating the ATR, which helps in understanding market volatility. The default value is set to 10.
Supertrend Multiplier: This multiplier adjusts the sensitivity of the Supertrend indicator. A value of 3 is used, affecting the upper and lower bands of the Supertrend calculation.
TP (Take Profit) ATR Multiplier: This multiplier is used to calculate the take profit level based on the ATR (default value is 3).
SL (Stop Loss) ATR Multiplier: This multiplier dictates the stop loss distance from the entry point concerning the ATR, set to a value of 1.5.
Number of Bars to Use for Backtest: This setting determines how many bars are analyzed during testing, set to a default of 240.
Trading Mode: Options are provided to choose whether to take only long positions or only short positions.
ATR Calculation
The ATR is computed using a specified period, allowing traders to gauge market volatility effectively. This is crucial for setting appropriate stop loss and take profit levels.
Supertrend Calculation
The Supertrend indicator is calculated using the ATR and the multiplier to derive upper and lower bands. The current market price is compared against these bands to determine the trend direction.
Trade Signals
Buy Signal: Generated when the price closes above the Supertrend line, indicating a potential upward trend.
Sell Signal: Generated when the price closes below the Supertrend line, indicating a potential downward trend.
Entry and Exit Strategies
When a buy signal is triggered, the strategy will enter a long position while setting the take profit and stop loss based on the ATR values.
Conversely, if a sell signal occurs, a short position is opened with respective take profit and stop loss levels.
Alert Conditions
Alerts are set up for both buy and sell signals, allowing users to be notified when trade opportunities arise.
Visualization
The Supertrend line is plotted on the chart, along with take profit and stop loss levels for each trade. Labels indicate entry points to facilitate easy tracking of trades.
Conclusion
This Supertrend strategy is designed to simplify trading decisions by automating the entry and exit points based on well-defined market conditions. By utilizing the ATR for dynamic risk management, traders can adapt their approach according to market volatility. This strategy is suitable for many trading styles and can be backtested to assess its performance across different market conditions.
Usage
To use this strategy, simply apply the script in TradingView and adjust the input parameters based on your trading preferences. The strategy can be modified further to enhance its performance according to specific market scenarios.
NEW ETH Futures Auto Buyer with Auto Fib by Govindthis script is on the bases of fb retracements . and also showing signal on chart
ROPSON AI Ultra 3.27 How It Takes a Long (Buy) Position
The code will only enter a long position when two conditions are met simultaneously. Both must be true for a buy signal to be generated:
The current candle's close price crosses above the previous candle's high. This is the breakout signal. It indicates strong upward momentum.
The current candle's close price is above the 200 EMA. This is the trend filter. The 200 EMA (Exponential Moving Average) is a widely used indicator for long-term trend. If the price is above it, the market is considered to be in an uptrend.
By requiring both conditions, the strategy aims to enter trades that have both short-term momentum (the breakout) and long-term trend confirmation (the EMA filter).
How It Takes a Short (Sell) Position
Similarly, a short position is only entered when both of these conditions are true at the same time:
The current candle's close price crosses below the previous candle's low. This is the breakdown signal, indicating strong downward momentum.
The current candle's close price is below the 200 EMA. This confirms that the market is in a downtrend.
Scalping Line Strategy📌 Scalping Line Strategy – A Precision Crossover System
🔎 Overview
The Scalping Line Strategy is a short-term trading system built around the concept of momentum-driven crossovers between a smoothed moving average filter and a fast signal line. It is designed for scalpers and intraday traders who seek clear entry signals, minimal lag, and adaptive filtering to fit volatile market conditions.
At its core, the strategy uses a custom signal line ("Scalping Line"), which is derived from the difference between a double-smoothed moving average and a shorter-period signal line. Trade entries are triggered when this Scalping Line crosses above or below zero, providing a clean and rules-based framework for both long and short setups.
⚙️ Core Logic
Main Trend Filter – A double-smoothed moving average is calculated over a configurable period (default 100). This reduces noise and provides a more robust backbone for scalping signals.
Percent-Based Filter – To avoid false signals, a customizable percentage filter adjusts how closely the system “respects” price deviations from the moving average. This helps filter out insignificant fluctuations.
Signal Line – A shorter-period simple moving average (default 7) provides faster responsiveness to recent price action.
Scalping Line (SLI) – Calculated as the difference between the fast signal line and the smoothed moving average. When the SLI crosses zero, it signals a potential momentum shift.
SLI > 0 → Momentum bias is bullish.
SLI < 0 → Momentum bias is bearish.
🎯 Trade Direction & Flexibility
Trade Direction Control:
Choose between Long Only, Short Only, or Both to tailor the system to your trading style.
Signal Flip Option:
By default, long entries occur when the SLI crosses below zero, and shorts when it crosses above zero. This orientation can be flipped, allowing for alternative interpretations of the signals depending on how you want to capture momentum in your market.
🕒 Time Window Filtering
For intraday traders, a time filter can be enabled to restrict signals to specific trading sessions (e.g., 9 AM – 4 PM EST). This is particularly useful when trading assets such as equities or futures that have strong intraday volatility windows.
📈 Visuals & Clarity
Scalping Line Plot: Displayed as a dynamic oscillator around a zero baseline.
Histogram Fill: Green when above zero (bullish bias), red when below zero (bearish bias).
Signal Markers: Clear arrows mark long and short entries at crossover points.
Zero Line Reference: A flat gray line at zero assists in visually gauging momentum shifts.
🚀 Strategy Execution
Long Entry: Triggered when SLI crosses below zero (or above zero if flip is enabled) within allowed session hours.
Short Entry: Triggered when SLI crosses above zero (or below zero if flip is enabled) within allowed session hours.
Built-in Signal Cancels: Pending entries are canceled if conditions are no longer valid, ensuring no stale trades remain active.
✅ Best Use Cases
Markets: Works across equities, forex, crypto, and futures with sufficient intraday volatility.
Timeframes: Most effective on 1m to 15m charts for scalping setups, but adaptable to higher frames for swing trading.
Style: Traders who appreciate simple, rules-based momentum crossovers will find this system easy to follow and highly adaptable.
⚠️ Risk Management Note
This strategy is strictly an entry signal framework. Position sizing, stop-loss, and take-profit rules must be overlaid based on your risk management style. Always validate results with backtesting and forward testing before applying to live trading accounts.
📜 Final Thoughts
The Scalping Line Strategy offers a refined, easy-to-interpret approach to intraday trading. By combining smoothed moving averages, adaptive filtering, and flexible signal options, it helps traders identify short-term momentum shifts with clarity and confidence, making it a highly configurable tool for scalping-focused strategies.
FlowStateTrader FlowState Trader - Advanced Time-Filtered Strategy
## Overview
FlowState Trader is a sophisticated algorithmic trading strategy that combines precision entry signals with intelligent time-based filtering and adaptive risk management. Built for traders seeking to achieve their optimal performance state, FlowState identifies high-probability trading opportunities within user-defined time windows while employing dynamic trailing stops and partial position management.
## Core Strategy Philosophy
FlowState Trader operates on the principle that peak trading performance occurs when three elements align: **Focus** (precise entry signals), **Flow** (optimal time windows), and **State** (intelligent position management). This strategy excels at finding reversal opportunities at key support and resistance levels while filtering out suboptimal trading periods to keep traders in their optimal flow state.
## Key Features
### 🎯 Focus Entry System
**Support/Resistance Zone Trading**:
- Dynamic identification of key price levels using configurable lookback periods
- Entry signals triggered when price interacts with these critical zones
- Volume confirmation ensures genuine breakout/reversal momentum
- Trend filter alignment prevents counter-trend disasters
**Entry Conditions**:
- **Long Signals**: Price closes above support buffer, touches support level, with above-average volume
- **Short Signals**: Price closes below resistance buffer, touches resistance level, with above-average volume
- Optional trend filter using EMA or SMA for directional bias confirmation
### ⏰ FlowState Time Filtering System
**Comprehensive Time Controls**:
- **12-Hour Format Trading Windows**: User-friendly AM/PM time selection
- **Multi-Timezone Support**: UTC, EST, PST, CST with automatic conversion
- **Day-of-Week Filtering**: Trade only weekdays, weekends, or both
- **Lunch Hour Avoidance**: Automatically skips low-volume lunch periods (12-1 PM)
- **Visual Time Indicators**: Background coloring shows active/inactive trading periods
**Smart Time Features**:
- Handles overnight trading sessions seamlessly
- Prevents trades during historically poor performance periods
- Customizable trading hours for different market sessions
- Real-time trading window status in dashboard
### 🛡️ Adaptive Risk Management
**Multi-Level Take Profit System**:
- **TP1**: First profit target with optional partial position closure
- **TP2**: Final profit target for remaining position
- **Flexible Scaling**: Choose number of contracts to close at each level
**Dynamic Trailing Stop Technology**:
- **Three Operating Modes**:
- **Conservative**: Earlier activation, tighter trailing (protect profits)
- **Balanced**: Optimal risk/reward balance (recommended)
- **Aggressive**: Later activation, wider trailing (let winners run)
- **ATR-Based Calculations**: Adapts to current market volatility
- **Automatic Activation**: Engages when position reaches profitability threshold
### 📊 Intelligent Position Sizing
**Contract-Based Management**:
- Configurable entry quantity (1-1000 contracts)
- Partial close quantities for profit-taking
- Clear position tracking and P&L monitoring
- Real-time position status updates
### 🎨 Professional Visualization
**Enhanced Chart Elements**:
- **Entry Zone Highlighting**: Clear visual identification of trading opportunities
- **Dynamic Risk/Reward Lines**: Real-time TP and SL levels with price labels
- **Trailing Stop Visualization**: Live tracking of adaptive stop levels
- **Support/Resistance Lines**: Key level identification
- **Time Window Background**: Visual confirmation of active trading periods
**Dual Dashboard System**:
- **Strategy Dashboard**: Real-time position info, settings status, and current levels
- **Performance Scorecard**: Live P&L tracking, win rates, and trade statistics
- **Customizable Sizing**: Small, Medium, or Large display options
### ⚙️ Comprehensive Customization
**Core Strategy Settings**:
- **Lookback Period**: Support/resistance calculation period (5-100 bars)
- **ATR Configuration**: Period and multipliers for stops/targets
- **Reward-to-Risk Ratios**: Customizable profit target calculations
- **Trend Filter Options**: EMA/SMA selection with adjustable periods
**Time Filter Controls**:
- **Trading Hours**: Start/end times in 12-hour format
- **Timezone Selection**: Four major timezone options
- **Day Restrictions**: Weekend-only, weekday-only, or unrestricted
- **Session Management**: Lunch hour avoidance and custom periods
**Risk Management Options**:
- **Trailing Stop Modes**: Conservative/Balanced/Aggressive presets
- **Partial Close Settings**: Enable/disable with custom quantities
- **Alert System**: Comprehensive notifications for all trade events
### 📈 Performance Tracking
**Real-Time Metrics**:
- Net profit/loss calculation
- Win rate percentage
- Profit factor analysis
- Maximum drawdown tracking
- Total trade count and breakdown
- Current position P&L
**Trade Analytics**:
- Winner/loser ratio tracking
- Real-time performance scorecard
- Strategy effectiveness monitoring
- Risk-adjusted return metrics
### 🔔 Alert System
**Comprehensive Notifications**:
- Entry signal alerts with price and quantity
- Take profit level hits (TP1 and TP2)
- Stop loss activations
- Trailing stop engagements
- Position closure notifications
## Strategy Logic Deep Dive
### Entry Signal Generation
The strategy identifies high-probability reversal points by combining multiple confirmation factors:
1. **Price Action**: Looks for price interaction with key support/resistance levels
2. **Volume Confirmation**: Ensures sufficient market interest and liquidity
3. **Trend Alignment**: Optional filter prevents counter-trend positions
4. **Time Validation**: Only trades during user-defined optimal periods
5. **Zone Analysis**: Entry occurs within calculated buffer zones around key levels
### Risk Management Philosophy
FlowState Trader employs a three-tier risk management approach:
1. **Initial Protection**: ATR-based stop losses set at strategy entry
2. **Profit Preservation**: Trailing stops activate once position becomes profitable
3. **Scaled Exit**: Partial profit-taking allows for both security and potential
### Time-Based Edge
The time filtering system recognizes that not all trading hours are equal:
- Avoids low-volume, high-spread periods
- Focuses on optimal liquidity windows
- Prevents trading during news events (lunch hours)
- Allows customization for different market sessions
## Best Practices and Optimization
### Recommended Settings
**For Scalping (1-5 minute charts)**:
- Lookback Period: 10-20
- ATR Period: 14
- Trailing Stop: Conservative mode
- Time Filter: Major session hours only
**For Day Trading (15-60 minute charts)**:
- Lookback Period: 20-30
- ATR Period: 14-21
- Trailing Stop: Balanced mode
- Time Filter: Extended trading hours
**For Swing Trading (4H+ charts)**:
- Lookback Period: 30-50
- ATR Period: 21+
- Trailing Stop: Aggressive mode
- Time Filter: Disabled or very broad
### Market Compatibility
- **Forex**: Excellent for major pairs during active sessions
- **Stocks**: Ideal for liquid stocks during market hours
- **Futures**: Perfect for index and commodity futures
- **Crypto**: Effective on major cryptocurrencies (24/7 capability)
### Risk Considerations
- **Market Conditions**: Performance varies with volatility regimes
- **Timeframe Selection**: Lower timeframes require tighter risk management
- **Position Sizing**: Never risk more than 1-2% of account per trade
- **Backtesting**: Always test on historical data before live implementation
## Educational Value
FlowState serves as an excellent learning tool for:
- Understanding support/resistance trading
- Learning proper time-based filtering
- Mastering trailing stop techniques
- Developing systematic trading approaches
- Risk management best practices
## Disclaimer
This strategy is for educational and informational purposes only. Past performance does not guarantee future results. Trading involves substantial risk of loss and is not suitable for all investors. Users should thoroughly backtest the strategy and understand all risks before live trading. Always use proper position sizing and never risk more than you can afford to lose.
---
*FlowState Trader represents the evolution of systematic trading - combining classical technical analysis with modern risk management and intelligent time filtering to help traders achieve their optimal performance state through systematic, disciplined execution.*
Vesperis v8.1 by JaeheeVesperis v8.1 by Jaehee
Overview
This script is a short-side trading strategy designed for trend-following conditions where bearish momentum aligns across multiple independent filters. It does not aim to predict tops or bottoms. Instead, it waits for confirmation that the market has entered a strong downtrend and then manages trades with structured risk controls.
Core Components
The strategy combines several classical concepts but applies them in a multi-filter consensus framework to reduce false signals:
• SSL Hybrid Filter → Defines directional bias using an EMA-based signal line
• MOBO Bands (modified Bollinger framework) → Measures volatility compression and breakout expansion
• EMA 20/50/100 Alignment → Confirms bearish structure when shorter averages remain under longer ones
• ADX Strength Gate → Trades are permitted only when trend strength (Wilder’s ADX) is above a chosen threshold
• Heikin Ashi Smoothing → Provides visual clarity and reduces noise in trend recognition
• Cooldown Rule → After a losing trade, the system waits a configurable number of bars before re-entry to enforce discipline
Risk Management
• Take-Profit (TP) and Stop-Loss (SL) are dynamically attached to each entry
• TP and SL are ratio-based relative to the entry price
• Cooldown logic prevents immediate re-entries after losses
• Position sizing is based on percentage of equity, with commissions factored in for realistic simulation
Visualization
• EMA 20/50/100 ribbon with soft gradient colors
• MOBO band plotted with contrasting tones for clarity
• SSL baseline overlay
• ADX values displayed every 10 bars for contextual strength
• Background shading highlights bullish vs bearish trend regimes
• Heikin Ashi candle coloring for directional bias emphasis
Why This Combination?
Each component addresses a different market dimension:
• Direction (SSL, EMA alignment)
• Volatility & Breakout Context (MOBO Bands)
• Strength (ADX filter)
• Trade Discipline (Cooldown rule)
When layered together, they reduce the chance of acting on a single misleading condition. For example, a close under MOBO support is acted upon only if ADX confirms strong momentum and EMA structure validates a broader bearish regime. This multi-gate approach balances selectivity with responsiveness, aiming for consistent entries during trending phases rather than over-trading in sideways conditions.
Important Notes
• This script is a strategy, not just an indicator. It performs backtestable entries and exits within TradingView’s framework
• Default properties include realistic assumptions: commission, slippage approximation, and percentage-based position sizing
• Results will vary by market and timeframe; this tool does not guarantee outcomes and should be combined with independent risk management
• Invite-only access ensures controlled distribution
Compliance with TradingView House Rules
• No external links, promotions, or contact information
• Clear explanation of what, how, and why without revealing full code logic
• Highlights originality: consensus-based filter design with combined ADX, SSL, MOBO, EMA gating
• Provides conceptual and educational value to traders while remaining distinct from classic single-element scripts
Imbalance RSI Divergence Strategy# Imbalance RSI Divergence Strategy - User Guide
## What is This Strategy?
This strategy identifies **imbalance** zones in the market and combines them with **RSI divergence** to generate trading signals. It aims to capitalize on price gaps left by institutional investors and large volume movements.
### Main Settings
- **RSI Period (14)**: Period used for RSI calculation. Lower values = more sensitive, higher values = more stable signals.
- **ATR Period (10)**: Period for volatility measurement using Average True Range.
- **ATR Stop Loss Multiplier (2.0)**: How many ATR units to use for stop loss calculation.
- **Risk:Reward Ratio (4.0)**: Risk-reward ratio. 2.0 = 2 units of reward for 1 unit of risk.
- **Use RSI Divergence Filter (true)**: Enables/disables the RSI divergence filter.
### Imbalance Filters
- **Minimum Imbalance Size (ATR) (0.3)**: Minimum imbalance size in ATR units to filter out small imbalances.
- **Enable Lookback Limit (false)**: Activates historical lookback limitations.
- **Maximum Lookback Bars (300)**: Maximum number of bars to look back.
### Visual Settings
- **Show Imbalance Size**: Displays imbalance size in ATR units.
- **Show RSI Divergence Lines**: Shows/hides divergence lines.
- **Divergence Line Colors**: Colors for bullish/bearish divergence lines.
### Volatility-Based Adjustments
- **Low volatility markets**:
- Minimum Imbalance Size: 0.2-0.4 ATR
- ATR Stop Loss Multiplier: 1.5-2.0
- **High volatility markets**:
- Minimum Imbalance Size: 0.5-1.0 ATR
- ATR Stop Loss Multiplier: 2.5-3.5
### Risk Tolerance
- **Conservative approach**:
- Risk:Reward Ratio: 2.0-3.0
- RSI Divergence Filter: Enabled
- Minimum Imbalance Size: Higher (0.5+ ATR)
- **Aggressive approach**:
- Risk:Reward Ratio: 4.0-6.0
- Minimum Imbalance Size: Lower (0.2-0.3 ATR)
###Market Conditions
- **Trending markets**: Higher RSI Period (21-28)
- **Sideways markets**: Lower RSI Period (10-14)
- **Volatile markets**: Higher ATR Multiplier
## Recommended Testing Procedure
1. **Start with default settings** and backtest on 3-6 months of historical data
2. **Adjust RSI Period** to see which value produces better results
3. **Optimize ATR Multiplier** for stop loss levels
4. **Test different Risk:Reward ratios** comparatively
5. **Fine-tune Minimum Imbalance Size** to improve signal quality
## Important Considerations
- **False positive signals**: Imbalances may be less reliable during low volatility periods
- **Market openings**: First hours often produce more imbalances but can be riskier
- **News events**: Consider disabling strategy during major news releases
- **Backtesting**: Test across different market conditions (trending, sideways, volatile)
## Recommended Settings for Beginners
**Safe settings for new users:**
- RSI Period: 14
- ATR Period: 14
- ATR Stop Loss Multiplier: 2.5
- Risk:Reward Ratio: 3.0
- Minimum Imbalance Size: 0.5 ATR
- RSI Divergence Filter: Enabled
## Advanced Tips
### Signal Quality Improvement
- **Combine with market structure**: Look for imbalances near key support/resistance levels
- **Volume confirmation**: Higher volume during imbalance formation increases reliability
- **Multiple timeframe analysis**: Confirm signals on higher timeframes
### Risk Management
- **Position sizing**: Never risk more than 1-2% of account per trade
- **Maximum drawdown**: Set overall stop loss for the strategy
- **Market hours**: Consider avoiding low liquidity periods
### Performance Monitoring
- **Win rate**: Track percentage of profitable trades
- **Average R:R**: Monitor actual risk-reward achieved vs. target
- **Maximum consecutive losses**: Set alerts for strategy review
This strategy works best when combined with proper risk management and market analysis. Always backtest thoroughly before using real money and adjust parameters based on your specific market and trading style.
ANDROMEDA - TrendSync [Strategy]ANDROMEDA - TrendSync
Pedro Canto - Portfolio Manager | CGA/CGE
IMPORTANT NOTES
1. This script is the strategy version of the original indicador "ANDROMEDA - TrendSync "
2. This strategy is designed to trigger entries precisely when the price crosses the moving averages. However, TradingView has an important limitation for backtesting: it does not allow intrabar entries. As a result, all trades in backtests are delayed, being executed only at candle close instead of the exact moment the price crosses the moving averages. This significantly affects the accuracy of backtest results and may lead to a substantial deviation from real market performance.
---
OVERVIEW
Trend Sync is a multi-layered trend-following indicator designed to help traders identify high-probability trend continuation setups while avoiding low-quality entries caused by overbought or oversold market conditions.
This indicator combines the power of Moving Averages (MA), MACD , and a visual RSI-based filter to validate both trend direction and timing for entries. It's goal is simple: filter out noise and highlight only the most technically relevant buy and sell signals based on objective momentum and trend criteria.
---
WALKTHROUGH
This indicator is built for traders seeking to operate in the direction of established trends. It's core principle is to identify and validate current trend conditions, and then signal entry opportunities during pullbacks to key moving averages.
Trend identification is achieved through the alignment of two moving averages. When these MAs are crossed and angled in the same direction, they confirm that a trend is in progress. To double-confirm trend direction, the MACD histogram is used—only. When both the MAs and MACD are aligned in the same direction, then the trend is considered valid.
Once all trend criteria are met, a dynamic coloring system is activated to visually reinforce the trend across the candles and moving averages.
To avoid poor entries during market exhaustion, an RSI-based filter is used. This short-term RSI highlights overbought or oversold zones, helping traders filter trades in extreme price conditions.
Only when the trend is validated and price pulls back to one of the MAs will a buy/sell signal be triggered, aligning momentum, price action and timing into a single actionable setup.
This combination ensures that each component plays a specific role:
i) Moving Averages define the trend
ii) MACD validates it
iii) RSI filters noise
iv) Intrabar price action triggers entries
This synchronism helps improve decision-making and entry timing, especially for swing and intraday traders.
---
USE CASES
- Identifying trend continuation setups
- Filtering false signals during consolidation phases
- Avoiding trades in overbought or oversold zones
- Enhancing entry timing for both swing and intraday strategies
- Providing visual confirmation of trend strength and momentum alignment
---
KEY FEATURES
1. Dual Moving Average Setup
The indicator allows full customization of two moving averages (MA1 and MA2), supporting both EMA and SMA types. The slope of the longer MA (MA2) acts as an essential trend filter, ensuring signals are only generated when the market shows clear directional bias.
2. MACD Histogram Trend Confirmation
A classic MACD Histogram calculation is used to validate the momentum of the prevailing trend.
- Bullish Trend: Histogram > 0
- Bearish Trend: Histogram < 0
This step filters out counter-trend signals and ensures trades are aligned with momentum.
3. Intrabar Price Trigger
Unlike standard crossover systems, this indicator waits for intrabar price action to trigger entries:
- Buy Signal: Price crosses below one of the MAs during an uptrend (dip-buy logic)
- Sell Signal: Price crosses above one of the MAs during a downtrend (rally-sell logic)
This intrabar trigger improves entry timing and helps capture retracement-based opportunities.
4. RSI Visual Filter
A short-term RSI is plotted and color-coded to visually highlight overbought and oversold conditions, acting as a discretionary filter for users to avoid low-probability trades during exhaustion points.
5. Dynamic Coloring System
Bar Colors:
- Blue: Bullish trend
- Red: Bearish trend
- Orange: RSI Overbought/Oversold zones
MA Colors:
- Blue for bullish conditions
- Red for bearish conditions
- Gray for neutral/no-trend phases
6. Signal Markers and Alerts
Clear visual buy and sell markers are plotted directly on the chart.
Additionally, the indicator includes real-time alerts for both Buy and Sell signals, helping traders stay informed even when away from the screen.
---
INPUTS AND CUSTOMIZATION OPTIONS
- Moving Average Types: EMA or SMA for both MA1 and MA2.
- MACD Settings: Customizable fast, slow, and signal periods.
- RSI Settings: Source, length, and overbought/oversold levels fully adjustable.
- Color Customization: Adjust RSI zone colors to suit your chart theme.
---
DISCLAIMER
This indicator is a technical analysis tool designed for educational and informational purposes only. It should not be used as a standalone trading system. Always combine it with sound risk management, price action analysis, and, where applicable, fundamental context.
Past performance does not guarantee future results.
OKX Contract Martin SAR SignalDescription:
This script combines the Parabolic SAR indicator with a Martingale trading strategy for OKX contracts, optimized for high-frequency trading on lower timeframes (e.g., 45-minute charts). It automatically identifies trend reversals, generates buy and sell signals, and provides real-time alerts for entry and exit points. Key features include:
Trend Reversal Detection: Automatically detects changes between uptrends and downtrends using SAR values.
Martingale Strategy: Incorporates a customizable acceleration factor for adapting to market volatility.
Real-Time Alerts: Sends JSON-formatted webhook alerts for automation and includes detailed signal labels on the chart.
Customizable Parameters: Fully adjustable SAR settings (start, increment, and maximum factors) for different trading styles.
This strategy is ideal for traders seeking precise contract signals with high-frequency execution. However, use caution and conduct thorough backtesting before deploying in live markets, especially for ultra-high-frequency trading.
Panda's Orb StrategyORB strategy I created using ChatGBT!
Please message me for any bugs or recomendations!
2 Reds -> 2 Greens Strategy with Custom TP/SLcustom candle configuration with a 61 percent win rate in the strategy tester user can configure take profit and stop loss to suit
Amiya's Crude Oil Alligator RSI StrategyCrude Oil Futures with the following conditions:
15 minutes candle.
Indicators: William Alligator and RSI- both default setting.
Buy signal to be generated when following conditions are met:
1. Candle closes above Lips.
2. Lips is above teeth
3. Teeth is above jaws
4. RSI is above 55.
Stop loss when either of the following conditions are met:
1. RSI is below 50 or
2. Candle close crosses below Teeth or
3. Lips is lower than teeth.
Take Profit Signal to be generated when the current price is 25 rupees above the entry price.
Sell signal to be generated when following conditions are met:
1. Candle closes below lips.
5. Lips is below teeth
6. Teeth is below jaws
7. RSI is below 45.
Stop loss when either of the following conditions are met:
2. RSI is above 50 or
3. Candle close crosses above Teeth or
4. Lips is higher than teeth.
Take Profit Signal to be generated when the current price is 25 rupees lower than the entry price.
In cases of Buy Signal, Sell Signal, Stop Loss and Take Profit, alerts should be generated and also, alerts should be shown on the chart, mentioning Buy Signal, Sell Signal, Stop Loss and Take Profit.
Mutanabby_AI | ATR+ | Trend-Following StrategyThis document presents the Mutanabby_AI | ATR+ Pine Script strategy, a systematic approach designed for trend identification and risk-managed position entry in financial markets. The strategy is engineered for long-only positions and integrates volatility-adjusted components to enhance signal robustness and trade management.
Strategic Design and Methodological Basis
The Mutanabby_AI | ATR+ strategy is constructed upon a foundation of established technical analysis principles, with a focus on objective signal generation and realistic trade execution.
Heikin Ashi for Trend Filtering: The core price data is processed via Heikin Ashi (HA) methodology to mitigate transient market noise and accentuate underlying trend direction. The script offers three distinct HA calculation modes, allowing for comparative analysis and validation:
Manual Calculation: Provides a transparent and deterministic computation of HA values.
ticker.heikinashi(): Utilizes TradingView's built-in function, employing confirmed historical bars to prevent repainting artifacts.
Regular Candles: Allows for direct comparison with standard OHLC price action.
This multi-methodological approach to trend smoothing is critical for robust signal generation.
Adaptive ATR Trailing Stop: A key component is the Average True Range (ATR)-based trailing stop. ATR serves as a dynamic measure of market volatility. The strategy incorporates user-defined parameters (
Key Value and ATR Period) to calibrate the sensitivity of this trailing stop, enabling adaptation to varying market volatility regimes. This mechanism is designed to provide a dynamic exit point, preserving capital and locking in gains as a trend progresses.
EMA Crossover for Signal Generation: Entry and exit signals are derived from the interaction between the Heikin Ashi derived price source and an Exponential Moving Average (EMA). A crossover event between these two components is utilized to objectively identify shifts in momentum, signaling potential long entry or exit points.
Rigorous Stop Loss Implementation: A critical feature for risk mitigation, the strategy includes an optional stop loss. This stop loss can be configured as a percentage or fixed point deviation from the entry price. Importantly, stop loss execution is based on real market prices, not the synthetic Heikin Ashi values. This design choice ensures that risk management is grounded in actual market liquidity and price levels, providing a more accurate representation of potential drawdowns during backtesting and live operation.
Backtesting Protocol: The strategy is configured for realistic backtesting, employing fill_orders_on_standard_ohlc=true to simulate order execution at standard OHLC prices. A configurable Date Filter is included to define specific historical periods for performance evaluation.
Data Visualization and Metrics: The script provides on-chart visual overlays for buy/sell signals, the ATR trailing stop, and the stop loss level. An integrated information table displays real-time strategy parameters, current position status, trend direction, and key price levels, facilitating immediate quantitative assessment.
Applicability
The Mutanabby_AI | ATR+ strategy is particularly suited for:
Cryptocurrency Markets: The inherent volatility of assets such as #Bitcoin and #Ethereum makes the ATR-based trailing stop a relevant tool for dynamic risk management.
Systematic Trend Following: Individuals employing systematic methodologies for trend capture will find the objective signal generation and rule-based execution aligned with their approach.
Pine Script Developers and Quants: The transparent code structure and emphasis on realistic backtesting provide a valuable framework for further analysis, modification, and integration into broader quantitative models.
Automated Trading Systems: The clear, deterministic entry and exit conditions facilitate integration into automated trading environments.
Implementation and Evaluation
To evaluate the Mutanabby_AI | ATR+ strategy, apply the script to your chosen chart on TradingView. Adjust the input parameters (Key Value, ATR Period, Heikin Ashi Method, Stop Loss Settings) to observe performance across various asset classes and timeframes. Comprehensive backtesting is recommended to assess the strategy's historical performance characteristics, including profitability, drawdown, and risk-adjusted returns.
I'd love to hear your thoughts, feedback, and any optimizations you discover! Drop a comment below, give it a like if you find it useful, and share your results.
Amiya's NaturalGas Futures StrategyNaturalGas Futures- current month, 15 minutes candle, Indicators: William Alligator and RSI- both default setting. Buy signal to be generated when Candle closes above Lips and Lips is above teeth and teeth is above jaws and RSI is above 55. Stop loss when RSI is below 50 or candle close crosses below Teeth or lips is lower than teeth. Sell Signal to be generated when candle closes below lips and lips is below teeth and teeth is below Jaws and RSI is below 45. Stop loss when candle closes above teeth or RSI is above 50. For Buy and Sell signal, Alert should be generated.
Keltner Alım Stratejisi v6 (10, 0.5)sadece keltner kanal girdilerinin değiştirilmesiyle oluşturulmuş bir göstergedir
The Barking Rat LiteMomentum & FVG Reversion Strategy
The Barking Rat Lite is a disciplined, short-term mean-reversion strategy that combines RSI momentum filtering, EMA bands, and Fair Value Gap (FVG) detection to identify short-term reversal points. Designed for practical use on volatile markets, it focuses on precise entries and ATR-based take profit management to balance opportunity and risk.
Core Concept
This strategy seeks potential reversals when short-term price action shows exhaustion outside an EMA band, confirmed by momentum and FVG signals:
EMA Bands:
Parameters used: A 20-period EMA (fast) and 100-period EMA (slow).
Why chosen:
- The 20 EMA is sensitive to short-term moves and reflects immediate momentum.
- The 100 EMA provides a slower, structural anchor.
When price trades outside both bands, it often signals overextension relative to both short-term and medium-term trends.
Application in strategy:
- Long entries are only considered when price dips below both EMAs, identifying potential undervaluation.
- Short entries are only considered when price rises above both EMAs, identifying potential overvaluation.
This dual-band filter avoids counter-trend signals that would occur if only a single EMA was used, making entries more selective..
Fair Value Gap Detection (FVG):
Parameters used: The script checks for dislocations using a 12-bar lookback (i.e. comparing current highs/lows with values 12 candles back).
Why chosen:
- A 12-bar displacement highlights significant inefficiencies in price structure while filtering out micro-gaps that appear every few bars in high-volatility markets.
- By aligning FVG signals with candle direction (bullish = close > open, bearish = close < open), the strategy avoids random gaps and instead targets ones that suggest exhaustion.
Application in strategy:
- Bullish FVGs form when earlier lows sit above current highs, hinting at downward over-extension.
- Bearish FVGs form when earlier highs sit below current lows, hinting at upward over-extension.
This gives the strategy a structural filter beyond simple oscillators, ensuring signals have price-dislocation context.
RSI Momentum Filter:
Parameters used: 14-period RSI with thresholds of 80 (overbought) and 20 (oversold).
Why chosen:
- RSI(14) is a widely recognized momentum measure that balances responsiveness with stability.
- The thresholds are intentionally extreme (80/20 vs. the more common 70/30), so the strategy only engages at genuine exhaustion points rather than frequent minor corrections.
Application in strategy:
- Longs trigger when RSI < 20, suggesting oversold exhaustion.
- Shorts trigger when RSI > 80, suggesting overbought exhaustion.
This ensures entries are not just technically valid but also backed by momentum extremes, raising conviction.
ATR-Based Take Profit:
Parameters used: 14-period ATR, with a default multiplier of 4.
Why chosen:
- ATR(14) reflects the prevailing volatility environment without reacting too much to outliers.
- A multiplier of 4 is a pragmatic compromise: wide enough to let trades breathe in volatile conditions, but tight enough to enforce disciplined exits before mean reversion fades.
Application in strategy:
- At entry, a fixed target is set = Entry Price ± (ATR × 4).
- This target scales automatically with volatility: narrower in calm periods, wider in explosive markets.
By avoiding discretionary exits, the system maintains rule-based discipline.
Visual Signals on Chart
Blue “▲” below candle: Potential long entry
Orange/Yellow “▼” above candle: Potential short entry
Green “✔️”: Trade closed at ATR take profit
Blue (20 EMA) & Orange (100 EMA) lines: Dynamic channel reference
⚙️Strategy report properties
Position size: 25% equity per trade
Initial capital: 10,000.00 USDT
Pyramiding: 10 entries per direction
Slippage: 2 ticks
Commission: 0.055% per side
Backtest timeframe: 1-minute
Backtest instrument: HYPEUSDT
Backtesting range: Jul 28, 2025 — Aug 17, 2025
Note on Sample Size:
You’ll notice the report displays fewer than the ideal 100 trades in the strategy report above. This is intentional. The goal of the script is to isolate high-quality, short-term reversal opportunities while filtering out low-conviction setups. This means that the Barking Rat Lite strategy is very selective, filtering out over 90% of market noise. The brief timeframe shown in the strategy report here illustrates its filtering logic over a short window — not its full capabilities. As a result, even on lower timeframes like the 1-minute chart, signals are deliberately sparse — each one must pass all criteria before triggering.
For a larger dataset:
Once the strategy is applied to your chart, users are encouraged to expand the lookback range or apply the strategy to other volatile pairs to view a full sample.
💡Why 25% Equity Per Trade?
While it's always best to size positions based on personal risk tolerance, we defaulted to 25% equity per trade in the backtesting data — and here’s why:
Backtests using this sizing show manageable drawdowns even under volatile periods.
The strategy generates a sizeable number of trades, reducing reliance on a single outcome.
Combined with conservative filters, the 25% setting offers a balance between aggression and control.
Users are strongly encouraged to customize this to suit their risk profile.
What makes Barking Rat Lite valuable
Combines multiple layers of confirmation: EMA bands + FVG + RSI
Adaptive to volatility: ATR-based exits scale with market conditions
Clear, actionable visuals: Easy to monitor and manage trades
MomentumThe strategy uses EMA200, ADX/DMI, RSI, and volume. Pivot levels and Heikin-Ashi ensure safe entries, while cooldowns and opposite-locks prevent overtrading. Exits are managed with ATR trailing stops and trend-reversal signals.
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.
Crypto Gann Channel Strategy (Long Bias, fixed)This is Gann Strategy Cody with Long Bias. Please try and let me know if can be improved.