Supertrend - PineConnectorThis strategy uses the Supertrend indicator to identify trend-based buy and sell opportunities. A trade is entered when the price crosses over or under the Supertrend line:
Buy Entry: Triggered when the price crosses above the Supertrend line.
Sell Entry: Triggered when the price crosses below the Supertrend line.
Exit Conditions: Opposite crossover signals indicate a potential trend reversal and are used to close positions.
Göstergeler ve stratejiler
Custom Strategy//@version=5
strategy("Custom Strategy", overlay=true, margin_long=100, margin_short=100, process_orders_on_close=true)
// 参数设置
point_value = input.float(0.0001, title="点值(例如:0.0001代表1个点)")
backtest_date_start = input.time(title="回测开始日期", defval=timestamp("2020-01-01T00:00:00"))
// 多单逻辑变量
var float long_ref_open = na
var float long_ref_high = na
var bool long_condition1 = false
var bool long_condition2 = false
var int long_phase = 0
// 空单逻辑变量
var float short_ref_open = na
var float short_ref_high = na
var bool short_condition1 = false
var bool short_condition2 = false
var int short_phase = 0
// 多单条件检查
if time >= backtest_date_start
// 多单第一条件检查
if not long_condition1 and not long_condition2
if high - open >= 300 * point_value
if low <= high - 50 * point_value
strategy.entry("Long", strategy.long)
else
long_ref_open := open
long_ref_high := high
long_phase := 1
else if close - open < 300 * point_value
long_phase := 2
// 多单第二条件检查
if long_phase == 1
if low <= long_ref_open + 250 * point_value
strategy.entry("Long", strategy.long)
long_phase := 0
if long_phase == 2
if high - close >= 300 * point_value
if low <= high - 50 * point_value
strategy.entry("Long", strategy.long)
long_phase := 0
else
long_phase := 3
else
long_phase := 0
if long_phase == 3
if low <= open + 250 * point_value
strategy.entry("Long", strategy.long)
long_phase := 0
// 空单条件检查(反向逻辑)
if time >= backtest_date_start
// 空单第一条件检查
if not short_condition1 and not short_condition2
if open - low >= 300 * point_value
if high >= low + 50 * point_value
strategy.entry("Short", strategy.short)
else
short_ref_open := open
short_ref_high := low
short_phase := 1
else if open - close < 300 * point_value
short_phase := 2
// 空单第二条件检查
if short_phase == 1
if high >= short_ref_open - 250 * point_value
strategy.entry("Short", strategy.short)
short_phase := 0
if short_phase == 2
if close - low >= 300 * point_value
if high >= low + 50 * point_value
strategy.entry("Short", strategy.short)
short_phase := 0
else
short_phase := 3
else
short_phase := 0
if short_phase == 3
if high >= open - 250 * point_value
strategy.entry("Short", strategy.short)
short_phase := 0
// 止损止盈逻辑
if strategy.position_size > 0
strategy.exit("Long Exit", "Long", stop = strategy.position_avg_price - 301 * point_value,limit = close + 301 * point_value)
if strategy.position_size < 0
strategy.exit("Short Exit", "Short",stop = strategy.position_avg_price + 301 * point_value, limit = close - 301 * point_value)
ES/MES Confluence Strategy with Mid-Left Dashboard📈 Trend & Momentum (Core Directional Bias)
200 EMA – Bullish if price is above, bearish if below. The backbone.
50 EMA – For micro-trend confirmation and potential pullback plays.
MACD Histogram + Signal Cross – Momentum confirmation. Use histogram direction and crossovers.
RSI (14) – Momentum overbought/oversold. Look for divergences around 70/30 levels.
ADX (14) – Only trade when above 20–25 to confirm strong trend.
🎯 Price Action & Volatility
VWAP – Institutional volume anchor. Longs above, shorts below.
Opening Range Breakout (ORB) – High/low from first 5-15 min. Breaks give strong continuation.
Previous Day High/Low & Close – For S/R context. Price rejection or break confirms conviction.
ATR (Average True Range) – For setting dynamic stop-losses and target zones based on volatility.
🔁 Reversal or Continuation Signals
Stochastic RSI – Catch reversal or continuation within trend. Useful with divergence.
Volume Spike Detector – Unusual volume confirms breakout/breakdown. Use relative volume or OBV slope.
✅ What It Includes:
11 indicator confluence system — Entry triggers when 7 or more align
Buy/Sell visual labels on chart
Auto-drawn 15-minute Opening Range box each morning
Dynamic stop loss and profit target box using ATR
Visual checklist panel shades green/red based on indicator alignment
Tetrahedriad PrismPulse© AlgoATTENTION!! Please read risk disclaimer in FULL terms before using any algorithm for trading consideration.
Designed for futures, specifically MNQ1! and NQ1!
This algo is NOT for beginners.
Renko* charts **ONLY** , best fitted for the 1-second chart to avoid price action slippage.
*TradingView would not allow me to post Renko charts, so they are in candles.
This is an algorithm that uses Price Action, EMAs, and RSI, the Price Action analysis is universal, tweak the EMA and RSI settings to your liking, ensure you are on a Renko chart with a 1-second interval.
DO NOT take any signals emitted by this algorithm as professional financial advice, this is to help analyze price action for manual trading confidence, although can be automated, it is highly recommended beforehand.
RISK DISCLAIMER:
1. Risks Involved
Futures trading, especially using algorithms like Tetrahedriad PrismPulse, can lead to substantial financial losses. Research suggests that you could lose all or more than your initial investment due to market volatility and leverage, which can amplify both gains and losses. It's crucial to only use money you can afford to lose.
2. Past Performance and Advice
It seems likely that past results from the algorithm won't predict future outcomes, as market conditions change. The algorithm is not a substitute for professional advice—consider consulting an independent financial advisor, especially if you're unsure about the risks.
3. User Responsibility
The evidence leans toward users needing to fully understand how the Tetrahedriad PrismPulse© works, including its limitations, before using it. You're responsible for all trading decisions, and technical issues like internet failures could impact its performance.
© theperson1234
v2
Live Repainting Swing Strategy (Trendlines + EMA)🔍 How It Works
Swing High/Low Detection (Repainting):
Detects unconfirmed, live swing highs and lows using a user-defined lookback length. These pivots repaint, updating as the chart evolves — just like a discretionary trader would.
Buy Entry:
New swing low appears
No recent signal in the last X bars (cooldown)
Entry is placed at the swing low
Sell Entry:
New swing high appears
Cooldown condition met
Entry is placed at the swing high
Exit Logic:
Configurable Take Profit and Stop Loss percentages
A marker is plotted when TP is hit (green for longs, orange for shorts)
✳️ Visual Elements
Marker Meaning
🔺 Green Buy signal at swing low
🔻 Red Sell signal at swing high
🟢 Lime Circle TP hit on a long
🟠 Orange Circle TP hit on a short
🔶 EMA Line Trend context (default: 50 EMA)
📏 Trendlines Repainting lines from last swing high/low to current price
⚙️ Configurable Inputs
Swing Length: Sensitivity of pivot detection
Cooldown: Min bars between signals to prevent overtrading
SL % and TP %: Risk-reward settings
EMA Length: Dynamic trend filter overlay
🚦 Designed For
5-minute to 1-hour charts
Price action traders
Real-time analysis and visual confirmation
Use with alerts or manual scalping
Liquidity Sniper + VWAP ProfileVWAP: Daily recalculated anchored VWAP.
Volume Profile POC: The most-traded price zone (basic profile using volume bins).
Trade Logic: Executes trades when price deviates from VWAP and POC, supported by high volume and RSI confirmation.
Plots: VWAP, POC, and signal markers help you visually confirm logic.
Live Repainting Swing Strategy (Trendlines + EMA)🔍 How It Works
Swing High/Low Detection (Repainting):
Detects unconfirmed, live swing highs and lows using a user-defined lookback length. These pivots repaint, updating as the chart evolves — just like a discretionary trader would.
Buy Entry:
New swing low appears
No recent signal in the last X bars (cooldown)
Entry is placed at the swing low
Sell Entry:
New swing high appears
Cooldown condition met
Entry is placed at the swing high
Exit Logic:
Configurable Take Profit and Stop Loss percentages
A marker is plotted when TP is hit (green for longs, orange for shorts)
✳️ Visual Elements
Marker Meaning
🔺 Green Buy signal at swing low
🔻 Red Sell signal at swing high
🟢 Lime Circle TP hit on a long
🟠 Orange Circle TP hit on a short
🔶 EMA Line Trend context (default: 50 EMA)
📏 Trendlines Repainting lines from last swing high/low to current price
⚙️ Configurable Inputs
Swing Length: Sensitivity of pivot detection
Cooldown: Min bars between signals to prevent overtrading
SL % and TP %: Risk-reward settings
EMA Length: Dynamic trend filter overlay
🚦 Designed For
5-minute to 1-hour charts
Price action traders
Real-time analysis and visual confirmation
Use with alerts or manual scalping
₿ober XM v1.3# ₿ober XM v1.3 Trading Bot Documentation
## Overview
The ₿ober XM v1.3 is an advanced dual-channel trading bot. It integrates multiple technical indicators, customizable risk management, and advanced order execution via webhook for automated trading. The bot's distinctive feature is its separate channel systems for long and short positions, allowing for asymmetric trade strategies that adapt to different market conditions.
### Key Features
- **Dual-Channel System**: Independent indicator settings for long and short positions
- **Multiple Entry Strategies**: Breakout, Pullback, and Mean Reversion options
- **Machine Learning Integration**: Predictive MLMA (Machine Learning Moving Average) for enhanced trend detection
- **Comprehensive Filtering**: Combines momentum, volatility, volume, and trend filters
- **Advanced Risk Management**: Dynamic position sizing, multiple stop-loss types, and trailing stops
- **Webhook Integration**: Direct connectivity to exchanges or third-party platforms
- **Configurable OBV MA Types**: Choose from multiple moving average types for OBV calculations
### General Settings
| Setting | Description | Default Value |
|---------|-------------|---------------|
| **Long Positions** | Enable or disable long trades | Enabled |
| **Short Positions** | Enable or disable short trades | Enabled |
| **Risk/Reward Area** | Visual display of stop-loss and take-profit zones | Enabled |
| **Long Entry Source** | Price data used for long entry signals | hl2 (High+Low/2) |
| **Short Entry Source** | Price data used for short entry signals | hl2 (High+Low/2) |
The bot allows you to trade long positions, short positions, or both simultaneously. Each direction has its own set of parameters, allowing for fine-tuned strategies that recognize the asymmetric nature of market movements.
### Webhook Configuration
| Setting | Description | Default Value |
|---------|-------------|---------------|
| **Long Entry Comment** | Webhook message for long entries | "ENTER-LONG" |
| **Short Entry Comment** | Webhook message for short entries | "ENTER-SHORT" |
| **Exit Comment** | Webhook message for position exits | "EXIT-ALL" |
| **Leverage** | Position size multiplier | 1.0 |
| **Reduce Only** | Restrict orders to reducing positions | Enabled |
| **Exchange Conditional Orders** | Place SL/TP directly on exchange | Disabled |
The webhook system allows for seamless integration with exchanges or third-party platforms:
- **Benefits**:
- Automated trade execution without manual intervention
- Immediate response to market conditions
- Consistent execution of your strategy
- **Implementation Notes**:
- Requires proper webhook configuration on your exchange or platform
- Test thoroughly with small position sizes before full deployment
- Consider latency between signal generation and execution
### Backtesting Period
Define a specific historical period to evaluate the bot's performance:
| Setting | Description | Default Value |
|---------|-------------|---------------|
| **Start Date** | Beginning of backtest period | January 1, 2025 |
| **End Date** | End of backtest period | December 31, 2026 |
- **Best Practice**: Test across different market conditions (bull markets, bear markets, sideways markets)
- **Limitation**: Past performance doesn't guarantee future results
## Entry and Exit Strategies
### Dual-Channel System
A key innovation of the Bober XM is its dual-channel approach:
- **Independent Parameters**: Each trade direction has its own channel settings
- **Asymmetric Trading**: Recognizes that markets often behave differently in uptrends versus downtrends
- **Optimized Performance**: Fine-tune settings for both bullish and bearish conditions
This approach allows the bot to adapt to the natural asymmetry of markets, where uptrends often develop gradually while downtrends can be sharp and sudden.
### Channel Types
#### 1. Keltner Channels
Traditional volatility-based channels using EMA and ATR:
| Setting | Long Default | Short Default |
|---------|--------------|---------------|
| **EMA Length** | 37 | 20 |
| **ATR Length** | 13 | 17 |
| **Multiplier** | 1.4 | 1.9 |
| **Source** | low | high |
- **Strengths**:
- Reliable in trending markets
- Less prone to whipsaws than Bollinger Bands
- Clear visual representation of volatility
- **Weaknesses**:
- Can lag during rapid market changes
- Less effective in choppy, non-trending markets
#### 2. Machine Learning Moving Average (MLMA)
Advanced predictive model using kernel regression (RBF kernel):
| Setting | Long Default | Short Default |
|---------|--------------|---------------|
| **Window Size** | 16 | 16 |
| **Forecast Length** | 3 | 3 |
| **Noise Parameter** | 0.43 | 0.44 |
| **Band Multiplier** | 0.6 | 0.5 |
| **Source** | low | high |
- **Strengths**:
- Predictive rather than reactive
- Adapts quickly to changing market conditions
- Better at identifying trend reversals early
- **Weaknesses**:
- More computationally intensive
- Requires careful parameter tuning
- Can be sensitive to input data quality
### Entry Strategies
| Strategy | Description | Ideal Market Conditions |
|----------|-------------|-------------------------|
| **Breakout** | Enters when price breaks through channel bands, indicating strong momentum | High volatility, emerging trends |
| **Pullback** | Enters when price retraces to the middle band after testing extremes | Established trends with regular pullbacks |
| **Mean Reversion** | Enters at channel extremes, betting on a return to the mean | Range-bound or oscillating markets |
#### Breakout Strategy (Default)
- **Implementation**: Enters long when price crosses above the upper band, short when price crosses below the lower band
- **Strengths**: Captures strong momentum moves, performs well in trending markets
- **Weaknesses**: Can lead to late entries, higher risk of false breakouts
- **Optimization Tips**:
- Increase channel multiplier for fewer but more reliable signals
- Combine with volume confirmation for better accuracy
#### Pullback Strategy
- **Implementation**: Enters long when price pulls back to middle band during uptrend, short during downtrend pullbacks
- **Strengths**: Better entry prices, lower risk, higher probability setups
- **Weaknesses**: Misses some strong moves, requires clear trend identification
- **Optimization Tips**:
- Use with trend filters to confirm overall direction
- Adjust middle band calculation for market volatility
#### Mean Reversion Strategy
- **Implementation**: Enters long at lower band, short at upper band, expecting price to revert to the mean
- **Strengths**: Excellent entry prices, works well in ranging markets
- **Weaknesses**: Dangerous in strong trends, can lead to fighting the trend
- **Optimization Tips**:
- Implement strong trend filters to avoid counter-trend trades
- Use smaller position sizes due to higher risk nature
### Confirmation Indicators
#### Pivot Point SuperTrend
Combines pivot points with ATR-based SuperTrend for trend confirmation:
| Setting | Default Value |
|---------|---------------|
| **Pivot Period** | 25 |
| **ATR Factor** | 2.2 |
| **ATR Period** | 41 |
- **Function**: Identifies significant market turning points and confirms trend direction
- **Implementation**: Requires price to respect the SuperTrend line for trade confirmation
#### Weighted Moving Average (WMA)
Provides additional confirmation layer for entries:
| Setting | Default Value |
|---------|---------------|
| **Period** | 15 |
| **Source** | ohlc4 (average of Open, High, Low, Close) |
- **Function**: Confirms trend direction and filters out low-quality signals
- **Implementation**: Price must be above WMA for longs, below for shorts
### Exit Strategies
#### On-Balance Volume (OBV) Based Exits
Uses volume flow to identify potential reversals:
| Setting | Default Value |
|---------|---------------|
| **Source** | ohlc4 |
| **MA Type** | HMA (Options: SMA, EMA, WMA, RMA, VWMA, HMA) |
| **Period** | 22 |
- **Function**: Identifies divergences between price and volume to exit before reversals
- **Implementation**: Exits when OBV crosses its moving average in the opposite direction
- **Customizable MA Type**: Different MA types provide varying sensitivity to OBV changes:
- **SMA**: Traditional simple average, equal weight to all periods
- **EMA**: More weight to recent data, responds faster to price changes
- **WMA**: Weighted by recency, smoother than EMA
- **RMA**: Similar to EMA but smoother, reduces noise
- **VWMA**: Factors in volume, helpful for OBV confirmation
- **HMA**: Reduces lag while maintaining smoothness (default)
#### ADX Exit Confirmation
Uses Average Directional Index to confirm trend exhaustion:
| Setting | Default Value |
|---------|---------------|
| **ADX Threshold** | 35 |
| **ADX Smoothing** | 60 |
| **DI Length** | 60 |
- **Function**: Confirms trend weakness before exiting positions
- **Implementation**: Requires ADX to drop below threshold or DI lines to cross
## Risk Management System
### Position Sizing
Automatically calculates position size based on account equity and risk parameters:
| Setting | Default Value |
|---------|---------------|
| **Risk % of Equity** | 50% |
- **Implementation**:
- Position size = (Account equity × Risk %) ÷ (Entry price × Stop loss distance)
- Adjusts automatically based on volatility and stop placement
- **Best Practices**:
- Start with lower risk percentages (1-2%) until strategy is proven
- Consider reducing risk during high volatility periods
### Stop-Loss Methods
Multiple stop-loss calculation methods with separate configurations for long and short positions:
| Method | Description | Configuration |
|--------|-------------|---------------|
| **ATR-Based** | Dynamic stops based on volatility | ATR Period: 14, Multiplier: 2.0 |
| **Percentage** | Fixed percentage from entry | Long: 1.5%, Short: 1.5% |
| **PIP-Based** | Fixed currency unit distance | 10.0 pips |
- **Implementation Notes**:
- ATR-based stops adapt to changing market volatility
- Percentage stops maintain consistent risk exposure
- PIP-based stops provide precise control in stable markets
### Trailing Stops
Locks in profits by adjusting stop-loss levels as price moves favorably:
| Setting | Default Value |
|---------|---------------|
| **Stop-Loss %** | 1.5% |
| **Activation Threshold** | 2.1% |
| **Trailing Distance** | 1.4% |
- **Implementation**:
- Initial stop remains fixed until profit reaches activation threshold
- Once activated, stop follows price at specified distance
- Locks in profit while allowing room for normal price fluctuations
### Risk-Reward Parameters
Defines the relationship between risk and potential reward:
| Setting | Default Value |
|---------|---------------|
| **Risk-Reward Ratio** | 1.4 |
| **Take Profit %** | 2.4% |
| **Stop-Loss %** | 1.5% |
- **Implementation**:
- Take profit distance = Stop loss distance × Risk-reward ratio
- Higher ratios require fewer winning trades for profitability
- Lower ratios increase win rate but reduce average profit
## Advanced Filtering System
### Momentum & Trend Filters
#### ADX Based Momentum Filter
| Setting | Default Value |
|---------|---------------|
| **Use Filter** | Enabled |
| **Apply D+/D- Check** | Enabled |
| **ADX Smoothing** | 34 |
| **DI Length** | 28 |
| **ADX Threshold** | 19 |
- **Function**: Ensures trades are taken only in strong trending conditions
- **Implementation**: Requires ADX above threshold for trade entry
#### RSI Filter
Uses Relative Strength Index to avoid overbought/oversold conditions:
| Setting | Default Value | Status |
|---------|---------------|--------|
| **RSI Period** | 14 | Disabled |
| **Overbought Level** | 70 | |
| **Oversold Level** | 30 | |
- **Function**: Prevents entries in potentially exhausted market conditions
- **Implementation**: Blocks long entries when RSI > 70, short entries when RSI < 30
### Volatility Filter
Controls trading during excessive market volatility:
| Setting | Default Value |
|---------|---------------|
| **Measure** | ATR |
| **Period** | 8 |
| **Threshold** | 1.3 |
| **Source** | ohlc4 |
- **Function**: Prevents trading during unpredictable market conditions
- **Implementation**: Blocks trades when current volatility exceeds threshold × average volatility
### Volume Filter
Ensures adequate market liquidity for trades:
| Setting | Default Value |
|---------|---------------|
| **Threshold** | 1.1× average |
| **Average Period** | 4 |
| **Smoothing Period** | 18 |
- **Function**: Prevents trading during low liquidity conditions
- **Implementation**: Requires current volume to exceed threshold × average volume
### Filter Combinations
The bot allows for simultaneous application of multiple filters:
- **Recommended Combinations**:
- Trending markets: ADX + Volume filters
- Ranging markets: Volatility + RSI filters
- All markets: Volume filter as minimum requirement
- **Performance Impact**:
- Each additional filter reduces the number of trades
- Quality of remaining trades typically improves
- Optimal combination depends on market conditions and timeframe
## Visual Indicators and Chart Analysis
The bot provides comprehensive visual feedback on the chart:
- **Channel Bands**: Keltner or MLMA bands showing potential support/resistance
- **Pivot SuperTrend**: Colored line showing trend direction and potential reversal points
- **Entry/Exit Markers**: Annotations showing actual trade entries and exits
- **Risk/Reward Zones**: Visual representation of stop-loss and take-profit levels
These visual elements allow for:
- Real-time strategy assessment
- Post-trade analysis and optimization
- Educational understanding of the strategy logic
## Implementation Guide
### TradingView Setup
1. Load the script in TradingView Pine Editor
2. Apply to your preferred chart and timeframe
3. Adjust parameters based on your trading preferences
4. Enable alerts for webhook integration
### Webhook Integration
1. Configure webhook URL in TradingView alerts
2. Set up receiving endpoint on your trading platform
3. Define message format matching the bot's output
4. Test with small position sizes before full deployment
### Optimization Process
1. Backtest across different market conditions
2. Identify parameter sensitivity through multiple tests
3. Focus on risk management parameters first
4. Fine-tune entry/exit conditions based on performance metrics
5. Validate with out-of-sample testing
## Performance Considerations
### Strengths
- Adaptability to different market conditions through dual channels
- Multiple layers of confirmation reducing false signals
- Comprehensive risk management protecting capital
- Machine learning integration for predictive edge
### Limitations
- Complex parameter set requiring careful optimization
- Potential over-optimization risk with so many variables
- Computational intensity of MLMA calculations
- Dependency on proper webhook configuration for execution
### Best Practices
- Start with conservative risk settings (1-2% of equity)
- Test thoroughly in demo environment before live trading
- Monitor performance regularly and adjust parameters
- Consider market regime changes when evaluating results
## Conclusion
The ₿ober XM v1.3 represents a sophisticated trading system combining traditional technical analysis with machine learning elements. Its dual-channel approach and comprehensive filtering system make it adaptable to various market conditions, while its risk management features help protect capital during adverse movements.
The addition of selectable OBV MA types in v1.3 provides further customization, allowing traders to fine-tune the exit strategy sensitivity according to market conditions and personal preferences. This enhancement offers more control over exit signals, potentially improving trade outcome profitability.
The bot is designed for traders who understand that no system is perfect, but that edge can be found through careful optimization and disciplined execution. With proper setup and realistic expectations, it provides a framework for systematic cryptocurrency trading across various market conditions.
2025 - Licensed under Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International
Swing Strategy with TP Signal, RSI, EMA, Alerts📘 Swing High/Low Strategy with RSI, EMA Filters & TP Signal
This strategy detects swing highs and swing lows in real time and executes trades at key turning points — enhanced by momentum and trend filters.
It’s ideal for traders who prefer to:
Enter near market extremes
Use simple price action + indicator confluence
See clear visual confirmations for entry and take profit
🔍 How It Works
Swing Detection: Uses a custom swing high/low algorithm that spaces signals to avoid clutter.
Buy Setup:
A new swing low is detected
RSI is below a user-defined threshold (default 40 = oversold)
Price is above the EMA (confirming trend support)
Sell Setup:
A new swing high is detected
RSI is above a threshold (default 60 = overbought)
Price is below the EMA (confirming downtrend pressure)
When all conditions are met, the strategy places a market order with:
Stop Loss: % below/above entry (user defined)
Take Profit: % above/below entry
💰 Take Profit Signals
When a trade hits TP, a green or red circle is plotted on the chart to show the exit point
This helps visually confirm that the strategy hit its goal and managed risk correctly
⚙️ Fully Configurable
Swing Length: Number of bars to consider for swing points
Min Bars Between Swings: Avoid overlapping signals
RSI Length and thresholds
EMA Length for trend filtering
TP/SL %: Adjustable per instrument
📈 Great For
Scalping or swing trading
Trend pullback traders
Anyone who likes clean signals with stop/target logic
🔔 Includes Alerts
Real-time alerts for both BUY and SELL setups
GetTrendStrategy v6 - PineConnector Ready🧠 GetTrendStrategy v6 – Not Ready - DO NOT USE! REPAINTING ISSUES!
Description:
GetTrendStrategy v6 is a high-performance algorithmic trading system tailored for EUR/USD on the 1-minute timeframe, fully compatible with PineConnector for external trade execution. It combines a multi-timeframe signal structure with advanced filters, KNN-based machine learning, and a real-time dashboard for execution clarity.
⚙️ Key Features:
Multi-Timeframe Logic:
Uses HTF1 (signal timeframe) and HTF2 (confirmation timeframe).
Signals are generated from HTF1 and confirmed only after HTF2 closes, reducing false positives.
KNN Prediction Engine:
Applies K-Nearest Neighbors classification using historical RSI, MACD, volume, and trend data.
Predicts the probability of success based on similarity to past setups.
Advanced Filtering System:
R² filter ensures signals align with a strong linear trend.
ATR filter avoids trades in low-volatility environments.
RSI filter limits trades to favorable overbought/oversold zones.
Custom Partial Take Profits (TP1, TP2, TP3):
Take profit levels are fully configurable and managed individually.
Graphical lines and labels track TP status in real-time.
Trailing Stop (in development):
The static and dynamic stop losses have been removed.
A trailing stop-loss system will replace them to better lock in profits after TP1 is reached (implementation upcoming).
Real-Time Trade Dashboard:
Displays current position (LONG / SHORT / FLAT).
Tracks TP progress with ✅ or ⏳ indicators.
Shows the number of predicted and confirmed signals and the confirmation percentage.
Visual Signal Labels:
“🔎 Possible LONG/SHORT” → early KNN + HTF1 signal.
“✅ LONG/SHORT Confirmed” → HTF2 confirmation.
“👻 Ghost Long/Short” → signals invalidated after position closes.
PineConnector Alerts Integration:
Sends formatted alerts for entries and exits for seamless automation via PineConnector.
📈 Recommended Setup:
Execution Timeframe: 1-minute
HTF1 (Signal Timeframe): 10 minutes
HTF2 (Confirmation Timeframe): 1 minute
Designed for scalping with flexible profit-taking.
Trendline Break + Retest + Fibonacci Filter🔍 How It Works
Repainting Trendlines
Draws dynamic trendlines from the most recent swing highs and swing lows.
These trendlines adjust in real time (repainting) as new pivots appear.
Breakout Detection
Identifies when price breaks above resistance or below support.
Retest Confirmation
Waits for price to pull back to the broken trendline (within a defined tolerance).
Fibonacci Confluence
Only enters a trade if the retest also lands within a Fibonacci retracement zone (default: 38.2% to 61.8%).
This improves setup quality by requiring price to retrace to a known level of interest.
🎯 Trade Conditions
Setup Requirements
Long Break above resistance → retest → price inside 38–61% Fib pullback zone
Short Break below support → retest → price inside 38–61% Fib pullback zone
Trades are entered at market once all conditions are met, with:
Configurable Take Profit and Stop Loss based on % distance
Fully displayed entry points on the chart (Buy/Sell labels)
⚙️ Custom Settings
Swing Length: Defines how far back to look for swing highs/lows.
Retest Tolerance: How close price must come to trendline after breakout.
Fibonacci Min/Max: Range of acceptable Fib retracement zone (e.g., 0.382 to 0.618).
Stop Loss / Take Profit: Simple R/R configuration.
📈 Best For:
Intraday traders on 5m/15m charts
Trend continuation traders
Anyone who uses confluence (trendlines + Fib levels)
Trendline Break & Retest Strategy + Filters1. Swing High & Swing Low Detection
The script looks for pivot points:
A swing high is when a high is higher than surrounding candles.
A swing low is when a low is lower than surrounding candles.
These points act as anchor points for trendlines.
2. Simulated Trendlines
Since Pine Script can’t draw truly dynamic trendlines, it mathematically simulates:
A downward resistance trendline from the last swing high.
An upward support trendline from the last swing low.
These lines estimate where resistance or support would exist if you were manually drawing trendlines.
3. Breakout Detection
The strategy checks:
If price breaks above the resistance trendline (bullish breakout).
If price breaks below the support trendline (bearish breakout).
It looks for a clean break with candle close beyond the line, not just a wick.
4. Retest Confirmation
To avoid chasing breakouts, the strategy waits for a retest:
After a breakout, price must come back close to the broken trendline (within a % tolerance).
This simulates the classic "break → retest → go" pattern.
Only after a valid retest will the strategy consider entering.
5. Technical Filters (for Better Accuracy)
Once a valid breakout + retest is detected, the strategy applies filters:
✅ RSI Filter
Go long only if RSI > 50 (bullish momentum).
Go short only if RSI < 50 (bearish momentum).
✅ Volume Filter
Only enter trades when current volume is greater than the 20-period average, ensuring market participation.
✅ EMA Trend Filter
Long trades only if price is above the 50 EMA (uptrend).
Short trades only if price is below the 50 EMA (downtrend).
This avoids going against the dominant trend.
TLCproTLCpro - is an advanced multi-timeframe trading strategy designed for crypto and forex markets, combining EMA crossovers, MACD, RSI, and trend filters to generate high-probability trade signals. The strategy features dynamic stop-loss (SL) and take-profit (TP) management, including Breakeven (BE) adjustments after hitting partial profit targets.
📌 Key Features:
✅ Multi-Timeframe Analysis – Works on 1H & 4H charts, with trend confirmation on higher timeframes
✅ Smart Entry Conditions – Uses EMA crossover + MACD + RSI to filter high-quality trades
✅ Risk Management – Implements 3-tier take-profit (TP1, TP2, TP3) and trailing stop-loss (BE adjustment)
✅ Telegram Alerts – Real-time notifications for entries, exits, SL, TP, and BE levels
✅ Monthly Performance Reports – Tracks win rate, profit/loss, and trade statistics
✅ Visual SL/TP Lines – Dynamic price levels displayed on the chart for easy tracking
📊 Strategy Logic:
Long Entry: Fast EMA crosses above Slow EMA + MACD histogram > 0 + RSI > 50 + Price > VWAP (1H) / Trend EMA (4H)
Short Entry: Fast EMA crosses below Slow EMA + MACD histogram < 0 + RSI < 50 + Price < VWAP (1H) / Trend EMA (4H)
Exits: 25% at TP1, 25% at TP2, and 50% at TP3. SL moves to BE after TP1 is hit
🚀 Perfect for:
Crypto & Forex pairs
Traders who prefer automated alerts & structured exits
TLCpro – это продвинутая многотаймфреймовая торговая стратегия для криптовалют и форекса, сочетающая пересечение EMA, MACD, RSI и трендовые фильтры для генерации высоковероятных сигналов. Стратегия включает динамический стоп-лосс (SL) и тейк-профит (TP) с автоматическим переводом в безубыток (BE) после достижения частичных целей.
📌 Основные особенности:
✅ Анализ нескольких таймфреймов – Работает на 1H и 4H, с подтверждением тренда на старших периодах
✅ Умные условия входа – Комбинация EMA + MACD + RSI для фильтрации ложных сигналов
✅ Управление рисками – 3 уровня тейк-профита (TP1, TP2, TP3) и подвижный стоп-лосс (BE)
✅ Telegram-оповещения – Уведомления о входах, выходах, SL, TP и BE в реальном времени
✅ Ежемесячная статистика – Отчеты по процентной прибыли, количеству сделок и их результативности
✅ Графические уровни – SL, TP и BE отображаются на графике для удобства
📊 Логика стратегии:
Лонг: Быстрая EMA пересекает медленную сверху + MACD > 0 + RSI > 50 + Цена выше VWAP (1H) / Trend EMA (4H)
Шорт: Быстрая EMA пересекает медленную снизу + MACD < 0 + RSI < 50 + Цена ниже VWAP (1H) / Trend EMA (4H)
Выходы: 25% на TP1, 25% на TP2, 50% на TP3. SL переводится в BE после TP1
🚀 Идеально для:
Крипторынка и форекс-пар
Трейдеров, предпочитающих автоматические оповещения и четкие правила выхода
📢Готовы тестировать? Подключите TLCpro в TradingView и торгуйте с четкой системой! 🚀
NuEdge EMA Retest StrategyThis strategy is designed for the 2-minute chart and performs best on highly liquid ETFs like SPY, QQQ, and IWM.
It combines:
PDH/PDL breaks (Previous Day High/Low)
13/48/200 EMA trend filtering
Pullback-to-EMA entries
R:R projections and dynamic visual coaching
Time-based filters (default: 9:30 AM to 4:00 PM EST)
Optional day filters (e.g., exclude Mondays or Fridays)
⚠️ Built for momentum conditions — not ideal during chop, premarket, or low-volume sessions.
📈 Optimized for SPY, QQQ, IWM, and also performs well on:
TSLA
AAPL
AMD
META
(All using 2-minute timeframe)
Toggles available for:
Entry/TP markers
R:R visualization
Session restrictions
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)
📊 Main Signal Inputs
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.
🔄 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.
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.
Personal Note to Mods and Traders:
Yes, this statement is DIFFERENT, because this script IS different. If you see this taken down for some technicality (charting labels etc.), know I will fix, adapt, and repost until the system and its truth are visible to the community.
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.
Swing Trend Engine Lean (Daily Backtest)Good for swing trend. This combines with othe indicators such as macd, rsi, and stochastic makes a powerful confluence to compliment with your support and resistance.
XAU/USD StrategyTrade CAPITALCOM:GOLD (XAU/USD) effortlessly — our advanced Buy/Sell Bot does the hard work for you.
✅ Low-risk strategy
✅ Starts with just $10
✅ Ideal for beginners and passive traders
Let the bot analyze the market and execute trades automatically.
📈 Get started today and watch your trading go hands-free!
Pecman StrategyWelcome to your versatile TradingView indicator! This indicator has been designed to assist you in identifying trading opportunities, especially on charts for Gold and Bitcoin (BTC). It combines several proven technical indicators to generate precise signals and provide you with a clear basis for your trading decisions.
Main components of the indicator:
Hull Band: This helps to recognize the trend and identify potential reversal points. It provides a smooth representation of the price trend and indicates whether the market is in an uptrend or downtrend.
Parabolic SAR (PSAR): A trend-following indicator that marks potential entry and exit points. It shows when a trend is likely to start or end.
Two EMAs (Exponential Moving Averages): These assist in confirming the trend and using crossovers as trading signals. They are especially useful for detecting short-term and long-term trend movements.
Trading scenarios:
The indicator offers a total of 5 scenarios, each highlighting different entry opportunities. These scenarios are based on the combination of signals from the mentioned indicators, helping you make well-informed decisions.
Take-Profit (TP) settings:
TP1 and TP2: You can set your target prices for profits individually, allowing you to customize your trades. These two take-profit levels give you flexibility depending on your risk appetite and strategy.
Lot size setting:
You have the option to set the lot size (position size) directly within the indicator to manage your risk accordingly.
Works particularly well on:
Gold and Bitcoin charts, as the combination of indicators provides reliable signals and effectively captures the volatility in these markets.
VWAP Cross Strategy with Body Overtake - 250% TPThis strategy has an average win rate of 50k per year using 9 contracts on the micro gold futures, strategy can be backtested and if you have a bot generator you can setup the bot to take these trades following this script.
This strategy uses the VWAP but with specific settings, this script is invite only and is not free, anything that makes money is never free!
TEEREX NO.12 MASTER BAR TEEREX NO.12 MASTER BAR is a breakout strategy that identifies strong bullish and bearish candles following relatively smaller candles (Master Bar logic).
🟢 Entry Conditions:
– The current candle's body must be significantly larger (5x) than the previous candle's body.
– Volume must be higher than the 20-period moving average of volume.
– The previous candle must not be a Doji.
– Backtesting window can be customized via inputs.
🔴 Long/Short Setup:
– Long: Enter when a strong bullish candle forms with volume confirmation.
– Short: Enter when a strong bearish candle forms with volume confirmation.
– Both entries use Stop Loss at the opposite end of the candle, and Take Profit equals the size of the breakout.
This script is designed for traders looking to capture momentum-based breakouts with simple volume and price action filters.
⚠️ Note: This strategy is best tested across multiple timeframes and assets to identify optimal performance conditions.
Improved MinhPhan EMA VWAP RSI StrategyThis enhanced Pine Script, "Improved MinhPhan EMA VWAP RSI Strategy," is a sophisticated trend-following system that combines EMA crossover, VWAP confirmation, and RSI filtering to increase trade precision. It’s ideal for traders who want high-probability entries filtered by both momentum and volume-based market positioning.
The strategy enters a long trade when the fast EMA crosses above the slow EMA, the price is above the VWAP, and RSI is below the overbought threshold, indicating early trend confirmation without being overextended. Conversely, it opens short trades when the fast EMA crosses below the slow EMA, price is under VWAP, and RSI is above the oversold level.
The script also features customizable stop loss and take profit levels in ticks (default: 100 SL, 200 TP) and uses RSI-based exits to cut trades when momentum becomes overbought/oversold. VWAP resets daily, weekly, or monthly depending on your preference, allowing better adaptability to market structure.
Visual cues for entry points (green/red triangles) and plotted indicators (EMA and VWAP) provide clarity for manual or semi-automated trading.
This strategy is well-suited for crypto, forex, or stock intraday and swing trading, offering both precision and flexibility for backtesting and optimization.
Trendline Break & Retest Strategy + FiltersTrendline break and retest with filters RSI
How It Works – Step-by-Step
1. Swing High & Swing Low Detection
The script looks for pivot points:
A swing high is when a high is higher than surrounding candles.
A swing low is when a low is lower than surrounding candles.
These points act as anchor points for trendlines.
2. Simulated Trendlines
Since Pine Script can’t draw truly dynamic trendlines, it mathematically simulates:
A downward resistance trendline from the last swing high.
An upward support trendline from the last swing low.
These lines estimate where resistance or support would exist if you were manually drawing trendlines.
3. Breakout Detection
The strategy checks:
If price breaks above the resistance trendline (bullish breakout).
If price breaks below the support trendline (bearish breakout).
It looks for a clean break with candle close beyond the line, not just a wick.
4. Retest Confirmation
To avoid chasing breakouts, the strategy waits for a retest:
After a breakout, price must come back close to the broken trendline (within a % tolerance).
This simulates the classic "break → retest → go" pattern.
Only after a valid retest will the strategy consider entering.
5. Technical Filters (for Better Accuracy)
Once a valid breakout + retest is detected, the strategy applies filters:
✅ RSI Filter
Go long only if RSI > 50 (bullish momentum).
Go short only if RSI < 50 (bearish momentum).
✅ Volume Filter
Only enter trades when current volume is greater than the 20-period average, ensuring market participation.
✅ EMA Trend Filter
Long trades only if price is above the 50 EMA (uptrend).
Short trades only if price is below the 50 EMA (downtrend).
This avoids going against the dominant trend.
6. Trade Execution
Entries: After all conditions are met (break, retest, filters).
Exits: Set using:
Take Profit = +2% from entry
Stop Loss = -1% from entry
You can adjust these in the script settings.
7th Gate Open --- CompleteThis script is a quantitative price action strategy designed to identify contextual engulfing patterns filtered by macro-level trend confirmation and dynamic Fibonacci levels, then manages positions with EMA/MA crossovers, adaptive stop mechanisms, and customizable timeframes.