Composite PR Signal (Trend↔Revert + ADX gate)Core Components
1. Dynamic Inputs
Max/PR windows (maxLen, prWin) – define historical lookbacks for oscillators and percentile ranks.
Smoothing (smooth) – applies an EMA filter to stabilize composite scores.
Threshold (th) – governs entry sensitivity.
Holding period (hBars) – maximum bars allowed in a trade.
Execution options – allow shorting, fast approximations for PR and CCI.
2. Custom Utility Functions
The script implements optimized versions of common TA operations:
Rolling sums, delays, and moving averages (EMA, RMA, SMA).
Lazy rolling extrema (efficient highest/lowest lookups).
Stateful arrays for tracking oscillator values across bars.
Fast approximations for percentile ranks and indicators.
3. Indicators Used
The system calculates a broad set of oscillators, including:
Trend/Momentum: ROC, TRIX, TSI, MACD histogram, OBV ROC, AO, CMF, BOP, UO, ADX.
Reversion/Oscillators: RSI, Stochastic K/D, MFI, Williams %R, CCI, CMO.
Each is converted into a percentile rank (PR) to normalize values between 0–100.
4. Composite Scoring
Two composite signals are built:
Trend Score – averages normalized outputs of momentum indicators.
Reversion Score – averages normalized outputs of oscillators prone to mean reversion.
ADX Gate – when ADX PR is high, the strategy favors trend score; when low, it favors reversion score.
Final score is smoothed and compared against entry thresholds.
5. Trade Logic
Entry:
Long: When composite score crosses above +th.
Short: When composite score crosses below -th (if enabled).
Exit:
Opposite crossover signal.
Or trade duration exceeds hBars.
6. Risk/Execution Parameters
Initial capital: 100,000
Commission: 0.01% per trade
Fixed order size: 100 units
No pyramiding
Intended Use
This script is designed for:
Swing trading across multiple assets (equities, forex, crypto).
Adapting to market regimes — capturing breakouts during strong trends, but fading moves when markets are choppy.
Indicators and strategies
TradeMastersAlgoOur strategy is a long only algorithm that has produced repeatable positive results in both back testing and live testing. The code is our proprietary IP. Users may have a 30 free trial to experiment with our strategy.
Results are not guaranteed.
This strategy was created for automated day trading a fully funded margin account. Please exercise caution and discipline when using any strategy. We've had the most positive results with heavy diversification (40 tickers trading 5% equity each).
Ticker selection, timeframe, and chart type ( we use standard candles ) are up to the user.
We encourage you to keep your own method to your self to prevent the dilution of your strategy.
SuperTrend AI Strategy with EMA Crossover and Trend Following//@version=5
strategy("SuperTrend AI Strategy with EMA Crossover and Trend Following", overlay=true)
// === Inputs ===
length = input.int(10, 'ATR Length')
minMult = input.int(1, 'Min Factor')
maxMult = input.int(5, 'Max Factor')
step = input.float(0.5, 'Factor Step')
perfAlpha = input.float(10, 'Performance Memory')
// EMA Settings
shortEmaLength = input.int(9, "Short EMA Length")
longEmaLength = input.int(21, "Long EMA Length")
// === ATR Calculation ===
atr = ta.atr(length)
// === Supertrend Optimization Setup ===
type supertrend
float upper
float lower
float output
float perf
float factor
int trend
var factors = array.new()
var supertrends = array.new()
if bar_index == 0
for i = 0 to int((maxMult - minMult) / step)
factor = minMult + i * step
array.push(factors, factor)
array.push(supertrends, supertrend.new(hl2, hl2, na, 0, factor, 0))
// === Calculate all Supertrends ===
for i = 0 to array.size(factors) - 1
factor = array.get(factors, i)
st = array.get(supertrends, i)
up = hl2 + atr * factor
dn = hl2 - atr * factor
trend = close > st.upper ? 1 : close < st.lower ? 0 : st.trend
upper = close < st.upper ? math.min(up, st.upper) : up
lower = close > st.lower ? math.max(dn, st.lower) : dn
output = trend == 1 ? lower : upper
diff = nz(math.sign(close - st.output))
perf = st.perf + 2 / (perfAlpha + 1) * (nz(close - close ) * diff - st.perf)
// Update values
st.upper := upper
st.lower := lower
st.output := output
st.trend := trend
st.perf := perf
array.set(supertrends, i, st)
// === Choose Best Performing Supertrend ===
var float bestPerf = na
var float bestOutput = na
var int bestTrend = na
for i = 0 to array.size(supertrends) - 1
st = array.get(supertrends, i)
if na(bestPerf) or st.perf > bestPerf
bestPerf := st.perf
bestOutput := st.output
bestTrend := st.trend
// === EMA Crossover Logic ===
shortEma = ta.ema(close, shortEmaLength) // Green EMA (9)
longEma = ta.ema(close, longEmaLength) // Red EMA (21)
// Check if 9 EMA crosses above 21 EMA (bullish crossover)
emaCrossOver = ta.crossover(shortEma, longEma)
// Check if 9 EMA crosses below 21 EMA (bearish crossover)
emaCrossUnder = ta.crossunder(shortEma, longEma)
// === Strategy Logic ===
var int lastTrend = na
var bool inLong = na
var bool inShort = na
// Buy Condition: Green EMA crosses Red EMA and SuperTrend is Green
if emaCrossOver and bestTrend == 1
strategy.close("Short")
strategy.entry("Long", strategy.long)
inLong := true
// Sell Condition: Red EMA crosses Green EMA and SuperTrend is Red
if emaCrossUnder and bestTrend == 0
strategy.close("Long")
strategy.entry("Short", strategy.short)
inShort := true
// Close Buy when SuperTrend turns Red
if inLong and bestTrend == 0
strategy.close("Long")
inLong := false
// Close Sell when SuperTrend turns Green
if inShort and bestTrend == 1
strategy.close("Short")
inShort := false
// === Plot Supertrend and EMAs ===
plot(bestOutput, title="Supertrend", color=bestTrend == 1 ? color.teal : color.red, linewidth=2)
plot(shortEma, title="9 EMA (Green)", color=color.green, linewidth=2)
plot(longEma, title="21 EMA (Red)", color=color.red, linewidth=2)
Z-Score Mean Reversion StrategyBased on Indicator "Rolling Z- Score trend" by QuantAlgo
The Z-Score Mean Reversion Strategy is a statistical trading approach that exploits price extremes and their tendency to return to average levels. It uses the Z-Score indicator to identify when an asset has deviated significantly from its statistical mean, creating high-probability reversal opportunities.
Core Concept:
Z-Score measures how many standard deviations price is from its moving average
When Z-Score reaches extreme levels (±1.5 or more), price is statistically "stretched"
The strategy trades the expected "snap back" to the mean
Works best in ranging or mean-reverting markets
How It Works:
LONG Entry: When price becomes oversold (Z-Score < -1.5), expect upward reversion
SHORT Entry: When price becomes overbought (Z-Score > +1.5), expect downward reversion
Exit: When price returns closer to the mean or reaches opposite extreme
Risk Management: Stop loss at -3% and take profit at +5% by default
🎯 Best Settings by Market & Timeframe
Cryptocurrency (High Volatility)
Preset: Scalping
Timeframe: 15m - 1H
Lookback: 10-15 periods
Entry Threshold: 1.0 - 1.5
Stop Loss: 2-3%
Take Profit: 3-5%
Notes: Crypto moves fast; use tighter parameters for quicker signals
Forex (Medium Volatility)
Preset: Default or Swing Trading
Timeframe: 1H - 4H
Lookback: 20-25 periods
Entry Threshold: 1.5 - 2.0
Stop Loss: 1-2%
Take Profit: 2-4%
Notes: Works well on major pairs during normal market conditions
Stocks (Lower Volatility)
Preset: Swing Trading
Timeframe: 4H - Daily
Lookback: 25-30 periods
Entry Threshold: 1.5 - 1.8
Stop Loss: 2-4%
Take Profit: 4-8%
Notes: Best on liquid stocks; avoid during earnings or major news
Indices (Trend + Ranging)
Preset: Trend Following
Timeframe: Daily - Weekly
Lookback: 35-50 periods
Entry Threshold: 2.0 - 2.5
Stop Loss: 3-5%
Take Profit: 5-10%
Notes: Higher threshold reduces false signals; captures major reversals
⚙️ Optimal Configuration Guide
Conservative (Lower Risk, Fewer Trades)
Lookback Period: 30-40
Entry Threshold: 2.0-2.5
Exit Threshold: 0.8-1.0
Stop Loss: 3-4%
Take Profit: 6-10%
Momentum Filter: ON
Balanced (Recommended Starting Point)
Lookback Period: 20-25
Entry Threshold: 1.5-1.8
Exit Threshold: 0.5-0.6
Stop Loss: 2-3%
Take Profit: 4-6%
Momentum Filter: OFF
Aggressive (Higher Risk, More Trades)
Lookback Period: 10-15
Entry Threshold: 1.0-1.2
Exit Threshold: 0.3-0.4
Stop Loss: 1-2%
Take Profit: 2-4%
Momentum Filter: OFF
💡 Pro Tips for Best Results
When the Strategy Works Best:
✅ Ranging markets with clear support/resistance
✅ High liquidity assets (major pairs, large-cap stocks)
✅ Normal market conditions (avoid during crashes or parabolic runs)
✅ Mean-reverting assets (avoid strong trending stocks)
When to Avoid:
❌ Strong trending markets (price won't revert)
❌ Low liquidity / low volume periods
❌ Major news events (earnings, FOMC, NFP)
❌ Market crashes or euphoria phases
Optimization Process:
Start with "Default" preset on your chosen timeframe
Backtest 6-12 months to see performance
Adjust Entry Threshold first (lower = more trades, higher = fewer but stronger signals)
Fine-tune Stop Loss/Take Profit based on average trade duration
Consider Momentum Filter if getting too many false signals
Key Metrics to Monitor:
Win Rate: Target 50-60% (mean reversion typically has moderate win rate)
Profit Factor: Aim for >1.5
Average Trade Duration: Should match your timeframe (scalping: minutes/hours, swing: days)
Max Drawdown: Keep under 20% of capital
📈 Quick Start Recommendation
For most traders, start here:
Timeframe: 1H or 4H
Preset: Default (Lookback 20, Threshold 1.5)
Stop Loss: 3%
Take Profit: 5%
Momentum Filter: OFF (turn ON if too many false entries)
Test on BTCUSD, EURUSD, or SPY first, then adapt to your preferred instruments!
Median + Tendência + ATR (Yehuda Nahmias)📊 Median + Trend + ATR (By Yehuda Nahmias)
🚀 The indicator that combines Simplicity, Accuracy, and Risk Management
This script brings together three key pillars of professional trading:
✅ Dynamic Median → captures price midpoints and highlights reversal and breakout zones.
✅ Trend Filter (EMA) → ensures signals are aligned with the main market direction.
✅ Smart ADX + ATR → confirm trend strength and automatically calculate Stop Loss and Take Profit based on volatility.
🔔 How it works:
Buy/Sell Arrows: automatically appear when price crosses the median under valid trend and strength conditions (ADX).
Automatic Stops and Targets: SL and TP levels are plotted using ATR, ready for effective risk management.
3 Signal Modes:
🛡️ Conservative → fewer trades, stronger filtering.
⚖️ Standard → balance between frequency and accuracy.
⚡ Aggressive → more trades, captures shorter moves.
💡 Key Benefits:
Clear visuals: colored candles + BUY/SELL arrows.
Built-in risk management: position size is calculated based on % of equity.
Flexible: works on any asset (Forex, Crypto, Indices, Stocks).
🔑 Private access only.
If you’d like to use this strategy on your charts, contact me via my TradingView profile.
👉 Turn your analysis into objective signals and gain more confidence in your entries and exits!
Momentum & Trend Pro Long Strategy (Gotrade)🚀 Want quick access to all US stocks & ETFs available on Gotrade Indonesia?
They’re now all in the Gotrade Universe Watchlist . Explore 600+ assets and take full advantage of TradingView features like screeners, financial reports, dividend calendars, and market news.
---
📈 Momentum & Trend Pro Strategy is a backtestable trading system that combines three of the most popular day-trading tools in one package:
MACD Variants (3/10/16) — capture momentum bursts with fast settings.
RSI Divergence + Overbought/Oversold — detect potential reversals early.
Fast EMA Crossovers (8/21 default) — confirm intraday trend continuation.
⚡ Designed for short timeframes (1m–15m), commonly used by scalpers and day traders in US equities.
🔔 Includes optional Stop Loss & Take Profit inputs so you can tailor backtests to your risk tolerance.
---
Want to trade directly using this strategy on TradingView? Click here to start trading with your Gotrade account without leaving the chart.
EMA Kombine StratejiTitle: EMA Combined Strategy with RSI, MACD, ADX, Volume & ATR Filters
Description:
This strategy combines multiple classic technical indicators to generate trend-following entry and exit signals with additional filtering for confirmation. It is designed for traders who want more reliable signals by aligning different market conditions.
How it works
Core logic: The strategy is based on the crossover of two Exponential Moving Averages (EMA). A bullish crossover of the short EMA above the long EMA signals potential upward momentum, while a bearish crossover indicates potential downward momentum.
Optional filters:
RSI filter: Ensures that long entries occur only when RSI is above a user-defined minimum and shorts occur when RSI is below a maximum.
MACD filter: Requires the MACD histogram to confirm bullish or bearish momentum.
ADX filter: Verifies that the market trend has sufficient strength, only allowing trades when ADX is above a threshold.
Volume filter: Requires actual volume to be greater than its moving average to confirm market participation.
ATR filter (optional): Used to dynamically calculate stop loss and take profit levels based on volatility.
Risk management
Default account size: $10,000
Each trade uses ATR-based stop loss and take profit (default: SL = 1.2 × ATR, TP = 2.5 × ATR).
This approach aims to keep risk at sustainable levels and avoid overexposure.
How to use
Apply the strategy to your chart.
Adjust EMA, RSI, MACD, ADX, volume, and ATR settings to suit your trading style.
Enable or disable filters as needed through the settings menu.
Use the backtest results to evaluate performance across different timeframes and assets.
⚠️ Disclaimer: This strategy is for educational purposes only. It is not financial advice. Always test on demo accounts and manage your risk responsibly.
NQ Scalping System (1-Min Optimized) — StrategyNQ Scalping System — What this does (in plain English)
You’re buying pullbacks in an uptrend and selling pullbacks in a downtrend.
Trend = EMA89. Entries lean on EMA8/EMA21 touches + a StochRSI reset & cross so you’re not chasing candles. Optional Volume and MACD filters keep you out of weak moves. A time window avoids dead markets and the first noisy minute.
Long setup
Price above EMA89 (trend up)
Price pulls back to EMA8 (or EMA21 if fallback is on) by at least your Min Pullback (NQ points)
StochRSI resets to oversold and %K crosses up %D
(Optional) Volume thrust and MACD momentum confirm
Within your session window
Short = mirror image.
Exits you control
Stop/Target: ATR-based (adaptive) or fixed scalp points
Trailing stop: only arms after price moves your way by X points, then trails by your offset
Early exit options: StochRSI fade, EMA break, trend break, or opposite divergence
Quick scalp: grab a few points or bail after X bars if nothing happens
Reality check
This is a rules → orders system. It will not match eyeballed indicator labels. Fills, gaps, and trail behavior are real. That’s the point.
How I’d run it (defaults that won’t waste your time)
Use ATR stops/targets by default
EMA21 fallback = ON (you’ll miss fewer good pullbacks)
MACD filter = ON when choppy; OFF when trends are clean
Volume multiplier: start modest, bump it up if you get chopped
Session: keep RTH (e.g., 09:30–15:45 ET) and skip the first minute
Quick presets for higher timeframes
Use these as starting points and then nudge to taste.
5-Minute (intraday swings)
OB/OS: 80 / 20
Volume Multiplier: 1.3
MACD: 8 / 21 / 5
ATR Stop× / Target×: 1.8–2.2 / 2.5–3.0
Min Pullback: 1.0–1.5 pts
Quick Scalp: 6–10 pts, Bars: 12–20
Trailing: Activation 6–8 pts, Offset 3–4 pts
Divergence: Hidden ON, MTF OFF
15-Minute (session legs)
OB/OS: 85 / 15
Volume Multiplier: 1.4
MACD: 8 / 21 / 5
ATR Stop× / Target×: 2.0–2.5 / 3.0–4.0
Min Pullback: 1.5–2.5 pts
Quick Scalp: 12–18 pts, Bars: 16–30
Trailing: Activation 10–14 pts, Offset 5–6 pts
Divergence: Hidden ON, MTF ON (LTF = 5m)
30-Minute (bigger intraday trends)
OB/OS: 88 / 12
Volume Multiplier: 1.5
MACD: 12 / 26 / 9 (or 8 / 21 / 5 if you want faster)
ATR Stop× / Target×: 2.2–2.8 / 3.5–5.0
Min Pullback: 2.5–4.0 pts
Quick Scalp: 18–28 pts, Bars: 20–40
Trailing: Activation 16–24 pts, Offset 6–8 pts
Divergence: Hidden ON, MTF ON (LTF = 5m or 15m)
1-Hour (multi-hour swings)
OB/OS: 90 / 10
Volume Multiplier: 1.6–1.8
MACD: 12 / 26 / 9
ATR Stop× / Target×: 2.5–3.5 / 4.0–6.0
Min Pullback: 4–7 pts
Quick Scalp: 30–50 pts, Bars: 24–60
Trailing: Activation 28–40 pts, Offset 10–15 pts
Divergence: Hidden ON, MTF ON (LTF = 15m)
Tuning tips (read this)
Getting chopped? Raise Min Pullback, raise Volume Multiplier, leave MACD ON, and narrow your session.
Missing moves? Turn EMA21 fallback ON, lower Volume Multiplier, relax OB/OS (e.g., 75/25 on 5m).
Flat days? Use Quick Scalp and a tighter Trail Activation to lock gains.
Liquidity SweeperStrategy Overview
This Pine Script implements a Liquidity Sweep Trading Strategy, a sophisticated approach that capitalizes on market manipulation tactics commonly used by institutional traders. The strategy identifies when price "sweeps" above recent swing highs or below swing lows to trigger stop losses and grab liquidity, then quickly reverses direction - creating high-probability trading opportunities.
Core Concept: What is a Liquidity Sweep?
A liquidity sweep occurs when:
Price breaks above a swing high (or below a swing low) to trigger retail stop losses
Institutional players absorb this liquidity at favorable prices
Price quickly reverses back into the previous range
This creates a "fake breakout" or "stop hunt" pattern
The strategy exploits these manipulative moves by entering trades in the direction of the reversal.
How the Strategy Works
1. Swing Point Detection
Uses a lookback period (default: 20 bars) to identify significant swing highs and lows
Employs proper pivot point detection using ta.highestbars() and ta.lowestbars()
Only considers confirmed swing points (not just recent highs/lows)
2. Liquidity Sweep Identification
High Sweep (Short Setup):
Price moves above the last swing high (triggering buy stops)
Same bar closes back below the swing high (showing rejection)
Low Sweep (Long Setup):
Price moves below the last swing low (triggering sell stops)
Same bar closes back above the swing low (showing support)
3. Confirmation Process
Requires price to stay within the swept range for a specified number of bars (default: 3)
This confirms the sweep was genuine and not just normal volatility
Prevents false signals and improves trade quality
4. Entry Logic
Long Entries: Triggered after confirmed low sweeps
Short Entries: Triggered after confirmed high sweeps
5. Risk Management
Stop Loss: Placed at a multiple of ATR (default: 1.5x) from entry price
Take Profit: Risk/Reward ratio based (default: 2:1)
Position Sizing: 10% of equity per trade (configurable)
Red X-crosses: High sweeps detected
Green X-crosses: Low sweeps detected
Red triangles (down): Short entry signals
Green triangles (up): Long entry signals
Horizontal lines: Current swing high/low levels
Info label: Shows last detected swing levels
Optimal Conditions:
Timeframes: 1H, 4H, and Daily work best
Market Conditions: Ranging and trending markets both suitable
Volatility: Moderate to high volatility preferred
Session Times: Most effective during active trading sessions
Strengths:
✅ Exploits institutional manipulation tactics
✅ Clear entry/exit rules with defined risk
✅ Works across multiple asset classes
✅ Includes proper confirmation to reduce false signals
✅ Visual clarity for manual verification
✅ Reasonable risk/reward parameters
Limitations:
⚠️ Requires patience - not a high-frequency strategy
⚠️ Market dependent - fewer signals in low volatility periods
⚠️ Needs sufficient lookback data for swing identification
⚠️ May have drawdown periods during strong trending moves
⚠️ Requires understanding of market structure concepts
Best Practices for Users
Optimization Tips:
Adjust lookback period based on timeframe (shorter for lower TFs)
Test different confirmation periods for your market
Consider market session times when backtesting
Use alongside volume analysis for additional confirmation
Risk Management:
Never risk more than 2-3% per trade of total capital
Consider reducing position size during high-impact news
Monitor correlation if trading multiple pairs simultaneously
Use additional filters (trend, support/resistance) for confluence
Backtesting Recommendations:
Test on at least 6 months of historical data
Include different market conditions (trending, ranging, volatile)
Consider transaction costs and slippage in results
Forward test on demo before live implementation
Expected Results
Based on typical liquidity sweep strategy performance:
Disclaimer
This strategy is based on market structure analysis and institutional trading behavior patterns. Past performance doesn't guarantee future results. Users should:
Thoroughly backtest before live trading
Start with small position sizes
Understand the underlying concepts before implementation
Consider combining with other analysis methods
Always use proper risk management
The strategy works best when traders understand the psychological and structural elements of liquidity sweeps rather than just following signals blindly.
Fidelweiss One-Minute BOS Hunter [Heikin Ashi Candles]Volatility Scalper M1 is a one-minute trading strategy designed for highly volatile markets.
It combines market structure (BOS/ChoCH, support & resistance fractals) with trend filters (ADX, DMI, HMA, Linear Regression) to identify high-probability breakout setups.
Key features:
Dynamic entry signals based on broken support/resistance and trend confirmation
Take Profit & Stop Loss automatically calculated from average entry price
Optional one-side-only trading mode
Time filters (block trading during specific hours/dates)
Daily force exit and drawdown protection options
Visual table with live PnL, dominance metrics, ADX, and ATR
This strategy is intended for scalping on the M1 timeframe, but can be adapted to other timeframes.
It is optimized for volatile assets (crypto, forex, indices) where quick entries and exits are crucial.
⚠️ Disclaimer: This script is for educational purposes only. It is not financial advice. Always backtest thoroughly and use proper risk management.
Ekoparaloji Strategy Plus V2For spot transactions, set your starting capital at 40% of your equity. For forward (leveraged) transactions, you can set your starting capital as equity.
BBAWE 事件合約This is a paid version. Please contact me or follow me.
✅ Key Features
Strict 1-bar confirmation for cleaner entries.
Fast EMA filter to avoid false breakouts.
Cooldown system to reduce overtrading.
Visual markers for Key Bars and trade entries.
Fully customizable parameters (BB period, EMA length, cooldown bars).
📈 Best Suited For
Short-term scalping or intraday setups.
Catching quick reversals or momentum continuation.
Traders who need stricter signal validation to filter noise.
event contract boll 事件合約Bollinger Bands (BB)
Strict t1 Confirmation
Only the very next candle (t1) is checked:
Long
Short
Prevents rapid-fire entries in choppy markets.✅ Key Features
Strict 1-bar confirmation for cleaner entries.
Fast EMA filter to avoid false breakouts.
Cooldown system to reduce overtrading.
Visual markers for Key Bars and trade entries.
Fully customizable parameters (BB period, EMA length, cooldown bars).
📈 Best Suited For
Short-term scalping or intraday setups.
Catching quick reversals or momentum continuation.
Traders who need stricter signal validation to filter noise.
MIRRORPIP SUPERTREND BASICThis is a plug and play strategy that is fully automated with Mirrorpip
Anyone can automate crypto trading using this pine
Currently this works with
- DELTA EXCHANGE INDIA
- COIN DCX
-COIN SWITCH
MOHStrategy Description
Uses Heikin Ashi candles to filter market noise and identify trend direction.
Entry is allowed only when strong HA candles appear (bullish without lower wick, bearish without upper wick).
Doji candles signal possible reversal.
استخدام شموع Heikin Ashi لتقليل الضوضاء وتحديد اتجاه الترند.
الدخول فقط عند ظهور شموع قوية (صاعدة بدون ذيل سفلي، هابطة بدون ذيل علوي).
شمعة الدوجي = إشارة انعكاس محتملة.
[Outperforms Bitcoin Since 2011] Professional MA StrategyThis Strategy OUTPEFORMS Bitcoin since 2011.
Timeframe: Daily
MA used (Fast and Slow): WMA (Weighted Moving Average)
Fast MA Length: 30 days (Reflects the Monthly Trend - Short Term Perspective)
Slow MA Length: 360 days (Reflects the Annual Trend - Long Term Perspective)
Position Size: 100% of equity
Margin for Long = 10% of equity
Margin for Short = 10% of equity
Open Long = Typical Price Crosses Above its Fast MA and Price is above its Slow MA
Open Short = Typical Price Crosses Below its Fast MA and Price is below its Slow MA
Close Long = Typical Price Crosses Below its Fast MA
Close Short = Typical Price Crosses Below its Fast MA
note: Typical Price = (high + low + close) / 3
KCandle Strategy 1.0# KCandle Strategy 1.0 - Trading Strategy Description
## Overview
The **KCandle Strategy** is an advanced Pine Script trading system based on bullish and bearish engulfing candlestick patterns, enhanced with sophisticated risk management and position optimization features.
## Core Logic
### Entry Signal Generation
- **Pattern Recognition**: Detects bullish and bearish engulfing candlestick formations
- **EMA Filter**: Uses a customizable EMA (default 25) to filter trades in the direction of the trend
- **Entry Levels**:
- **Long entries** at 25% of the candlestick range from the low
- **Short entries** at 75% of the candlestick range from the low
- **Signal Validation**: Orange candlesticks indicate valid setup conditions
### Risk Management System
#### 1. **Stop Loss & Take Profit**
- Configurable stop loss in pips
- Risk-reward ratio setting (default 2:1)
- Visual representation with colored lines and labels
#### 2. **Break-Even Management**
- Automatically moves stop loss to break-even when specified R:R is reached
- Customizable break-even offset for added protection
- Prevents losing trades after reaching profitability
#### 3. **Trailing Stop System**
- **Activation Trigger**: Activates when position reaches specified R:R level
- **Distance Control**: Maintains trailing stop at defined distance from entry
- **Step Management**: Moves stop loss forward in incremental R steps
- **Dynamic Protection**: Locks in profits while allowing for continued upside
### Advanced Features
#### Position Management
- **Pyramiding Support**: Optional multiple position entries with size reduction
- **Order Expiration**: Pending orders automatically cancel after specified bars
- **Position Sizing**: Percentage-based allocation with pyramid level adjustments
#### Visual Interface
- **Real-time Monitoring**: Comprehensive information panel with all strategy metrics
- **Historical Tracking**: Visual representation of past trades and levels
- **Color-coded Indicators**: Different colors for break-even, trailing, and standard stops
- **Debug Options**: Optional labels for troubleshooting and optimization
## Key Parameters
### Basic Settings
- **EMA Length**: Trend filter period
- **Stop Loss**: Risk per trade in pips
- **Risk/Reward**: Target profit ratio
- **Order Validity**: Duration of pending orders
### Risk Management
- **Break-Even R:R**: Profit level to trigger break-even
- **Trailing Activation**: R:R level to start trailing
- **Trailing Distance**: Stop distance from entry when trailing
- **Trailing Step**: Increment for stop loss advancement
## Strategy Benefits
1. **Objective Entry Signals**: Based on proven candlestick patterns
2. **Trend Alignment**: EMA filter ensures trades align with market direction
3. **Robust Risk Control**: Multiple layers of protection (SL, BE, Trailing)
4. **Profit Optimization**: Trailing stops maximize winning trade potential
5. **Flexibility**: Extensive customization options for different market conditions
6. **Visual Clarity**: Complete visual feedback for trade management
## Ideal Use Cases
- **Swing Trading**: Medium-term positions with trend-following approach
- **Breakout Trading**: Capturing momentum from engulfing patterns
- **Risk-Conscious Trading**: Suitable for traders prioritizing capital preservation
- **Multi-Timeframe**: Adaptable to various timeframes and instruments
---
*The KCandle Strategy combines traditional technical analysis with modern risk management techniques, providing traders with a comprehensive tool for systematic market participation.*
Weekend Hunter Ultimate v6.2 Weekend Hunter Ultimate v6.2 - Automated Crypto Weekend Trading System
OVERVIEW:
Specialized trading strategy designed for cryptocurrency weekend markets (Saturday-Sunday) when institutional traders are typically offline and market dynamics differ significantly from weekdays. Optimized for 15-minute timeframe execution with multi-timeframe confluence analysis.
KEY FEATURES:
- Weekend-Only Trading: Automatically activates during configurable weekend hours
- Dynamic Leverage: 5-20x leverage adjusted based on market safety and signal confidence
- Multi-Timeframe Analysis: Combines 4H trend, 1H momentum, and 15M execution
- 10 Pre-configured Crypto Pairs: BTC, ETH, LINK, XRP, DOGE, SOL, AVAX, PEPE, TON, POL
- Position & Risk Management: Max 4 concurrent positions, -30% account protection
- Smart Trailing Stops: Protects profits when approaching targets
RISK MANAGEMENT:
- Maximum daily loss: 5% (configurable)
- Maximum weekend loss: 15% (configurable)
- Per-position risk: Capped at 120-156 USDT
- Emergency stops for flash crashes (8% moves)
- Consecutive loss protection (4 losses = pause)
TECHNICAL INDICATORS:
- CVD (Cumulative Volume Delta) divergence detection
- ATR-based dynamic stop loss and take profit
- RSI, MACD, Bollinger Bands confluence
- Volume surge confirmation (1.5x average)
- Weekend liquidity adjustments
INTEGRATION:
- Designed for Bybit Futures (0.075% taker fee)
- WunderTrading webhook compatibility via JSON alerts
- Minimum position size: 120 USDT (Bybit requirement)
- Initial capital: $500 recommended
TARGET METRICS:
- Win rate target: 65%
- Average win: 5.5%
- Average loss: 1.8%
- Risk-reward ratio: ~3:1
IMPORTANT DISCLAIMERS:
- Past performance does not guarantee future results
- Leveraged trading carries substantial risk of loss
- Weekend crypto markets have 13% of normal liquidity
- Not suitable for traders who cannot afford to lose their entire investment
- Requires continuous monitoring and adjustment
USAGE:
1. Apply to 15-minute charts only
2. Configure weekend hours for your timezone
3. Set up webhook alerts for automation
4. Monitor performance table in top-right corner
5. Adjust parameters based on your risk tolerance
This is an experimental strategy for educational purposes. Always test with small amounts first and never invest more than you can afford to lose completely.
The Best Strategy Template[LuciTech]Hello Traders,
This is a powerful and flexible strategy template designed to help you create, backtest, and deploy your own custom trading strategies. This template is not a ready-to-use strategy but a framework that simplifies the development process by providing a wide range of pre-built features and functionalities.
What It Does
The LuciTech Strategy Template provides a robust foundation for building your own automated trading strategies. It includes a comprehensive set of features that are essential for any serious trading strategy, allowing you to focus on your unique trading logic without having to code everything from scratch.
Key Features
The LuciTech Strategy Template integrates several powerful features to enhance your strategy development:
•
Advanced Risk Management: This includes robust controls for defining your Risk Percentage per Trade, setting a precise Risk-to-Reward Ratio, and implementing an intelligent Breakeven Stop-Loss mechanism that automatically adjusts your stop to the entry price once a specified profit threshold is reached. These elements are crucial for capital preservation and consistent profitability.
•
Flexible Stop-Loss Options: The template offers adaptable stop-loss calculation methods, allowing you to choose between ATR-Based Stop-Loss, which dynamically adjusts to market volatility, and Candle-Based Stop-Loss, which uses structural price points from previous candles. This flexibility ensures the stop-loss strategy aligns with diverse trading styles.
•
Time-Based Filtering: Optimize your strategy's performance by restricting trading activity to specific hours of the day. This feature allows you to avoid unfavorable market conditions or focus on periods of higher liquidity and volatility relevant to your strategy.
•
Customizable Webhook Alerts: Stay informed with advanced notification capabilities. The template supports sending detailed webhook alerts in various JSON formats (Standard, Telegram, Concise Telegram) to external platforms, facilitating real-time monitoring and potential integration with automated trading systems.
•
Comprehensive Visual Customization: Enhance your analytical clarity with extensive visual options. You can customize the colors of entry, stop-loss, and take-profit lines, and effectively visualize market inefficiencies by displaying and customizing Fair Value Gap (FVG) boxes directly on your chart.
How It Does It
The LuciTech Strategy Template is meticulously crafted using Pine Script, TradingView's powerful and expressive programming language. The underlying architecture is designed for clarity and modularity, allowing for straightforward integration of your unique trading signals. At its core, the template operates by taking user-defined entry and exit conditions and then applying a sophisticated layer of risk management, position sizing, and trade execution logic.
For instance, when a longCondition or shortCondition is met, the template dynamically calculates the appropriate position size. This calculation is based on your specified risk_percent of equity and the stop_distance (the distance between your entry price and the calculated stop-loss level). This ensures that each trade adheres to your predefined risk parameters, a critical component of disciplined trading.
The flexibility in stop-loss calculation is achieved through a switch statement that evaluates the sl_type input. Whether you choose an ATR-based stop, which adapts to market volatility, or a candle-based stop, which uses structural price points, the template seamlessly integrates these methods. The ATR calculation itself is further refined by allowing various smoothing methods (RMA, SMA, EMA, WMA), providing granular control over how volatility is measured.
Time-based filtering is implemented by comparing the current bar's time with user-defined start_hour, start_minute, end_hour, and end_minute inputs. This allows the strategy to activate or deactivate trading during specific market sessions or periods of the day, a valuable tool for optimizing performance and avoiding unfavorable conditions.
Furthermore, the template incorporates advanced webhook alert functionality. When a trade is executed, a customizable JSON message is formatted based on your webhook_format selection (Standard, Telegram, or Concise Telegram) and sent via alert function. This enables seamless integration with external services for real-time notifications or even automated trade execution through third-party platforms.
Visual feedback is paramount for understanding strategy behavior. The template utilizes plot and fill functions to clearly display entry prices, stop-loss levels, and take-profit targets directly on the chart. Customizable colors for these elements, along with dedicated options for Fair Value Gap (FVG) boxes, enhance the visual analysis during backtesting and live trading, making it easier to interpret the strategy's actions.
How It's Original
The LuciTech Strategy Template distinguishes itself in the crowded landscape of TradingView scripts through its unique combination of integrated, advanced risk management features, highly flexible stop-loss methodologies, and sophisticated alerting capabilities, all within a user-friendly and modular framework. While many templates offer basic entry/exit signal integration, LuciTech goes several steps further by providing a robust, ready-to-use infrastructure for managing the entire trade lifecycle once a signal is generated.
Unlike templates that might require users to piece together various risk management components or code complex stop-loss logic from scratch, LuciTech offers these critical functionalities out-of-the-box. The inclusion of dynamic position sizing based on a user-defined risk percentage, a configurable risk-to-reward ratio, and an intelligent breakeven mechanism significantly elevates its utility. This comprehensive approach to capital preservation and profit targeting is a cornerstone of professional trading and is often overlooked or simplified in generic templates.
Furthermore, the template's provision for multiple stop-loss calculation types—ATR-based for volatility adaptation, and candle-based for structural support/resistance—demonstrates a deep understanding of diverse trading strategies. The underlying code for these calculations is already implemented, saving developers considerable time and effort. The subtle yet powerful inclusion of FVG (Fair Value Gap) related inputs also hints at advanced price action concepts, offering a sophisticated layer of analysis and execution that is not commonly found in general-purpose templates.
The advanced webhook alerting system, with its support for various JSON formats tailored for platforms like Telegram, showcases an originality in catering to the needs of modern, automated trading setups. This moves beyond simple TradingView pop-up alerts, enabling seamless integration with external systems for real-time trade monitoring and execution. This level of external connectivity and customizable data output is a significant differentiator.
In essence, the LuciTech Strategy Template is original not just in its individual features, but in how these features are cohesively integrated to form a powerful, opinionated, yet highly adaptable system. It empowers traders to focus their creative energy on developing their core entry/exit signals, confident that the underlying framework will handle the complexities of risk management, trade execution, and external communication with precision and flexibility. It's a comprehensive solution designed to accelerate the development of robust and professional trading strategies.
How to Modify the Logic to Apply Your Strategy
The LuciTech Strategy Template is designed with modularity in mind, making it exceptionally straightforward to integrate your unique trading strategy logic. The template provides a clear separation between the core strategy management (risk, position sizing, exits) and the entry signal generation. This allows you to easily plug in your own buy and sell conditions without altering the robust underlying framework.
Here’s a step-by-step guide on how to adapt the template to your specific trading strategy:
1.
Locate the Strategy Logic Section:
Open the Pine Script editor in TradingView and navigate to the section clearly marked with the comment //Strategy Logic Example:. This is where the template’s placeholder entry conditions (a simple moving average crossover) are defined.
2.
Define Your Custom Entry Conditions:
Within this section, you will find variables such as longCondition and shortCondition. These are boolean variables that determine when a long or short trade should be initiated. Replace the existing example logic with your own custom buy and sell conditions. Your conditions can be based on any combination of indicators, price action patterns, candlestick formations, or other market analysis techniques. For example, if your strategy involves a combination of RSI and MACD, you would define longCondition as (rsi > 50 and macd_line > signal_line) and shortCondition as (rsi < 50 and macd_line < signal_line).
3.
Leverage the Template’s Built-in Features:
Once your longCondition and shortCondition are defined, the rest of the template automatically takes over. The integrated risk management module will calculate the appropriate position size based on your Risk % input and the chosen Stop Loss Type. The Risk:Reward ratio will determine your take-profit levels, and the Breakeven at R feature will manage your stop-loss dynamically. The time filter (Use Time Filter) will ensure your trades only occur within your specified hours, and the webhook alerts will notify you of trade executions.
Ekoparaloji Strategy PlusFor spot transactions, set your starting capital at 40% of your equity. For forward (leveraged) transactions, you can set your starting capital as equity.
Adaptive Cortex Strategy (Demo)Adaptive Cortex Strategy - The Smart, Adaptive Investment System
Don't Get Lost in the Market Noise. Learn to Understand the Market.
Every investor faces the same dilemma: Why does a strategy that worked perfectly yesterday struggle today when the market's character changes?
Because the market isn't static. It's a dynamic structure that constantly changes, breathes, and enters different regimes. So, why shouldn't your strategy adapt to this dynamism?
Adaptive Cortex Strategy (ACS)
What is This Strategy?
The Adaptive Cortex Strategy isn't just a simple indicator that gives you buy and sell signals. It's a holistic analysis framework that attempts to understand the changing nature of the market and adapt its decision-making mechanism accordingly. Its core philosophy is to identify data-driven, high-probability investment opportunities by combining (amalgamating) many different market dynamics.
The strategy's power comes from its proprietary technology, which we call the "Smart Decision Engine." This engine performs two primary functions:
Market Memory: The system continuously analyzes past significant market turning points and price levels. This allows the strategy to dynamically recognize and deeply understand the current market structure.
Situational Awareness: The system continuously measures the current market "mood." It detects whether we are in a strong trend or indecisive sideways movement and automatically adjusts its analysis accordingly. This allows it to adopt the most appropriate approach in each market.
What Does ACS Promise?
Clarity: By transforming complex market data into clear, conclusive signals, it provides you with an objective perspective during decision-making.
Discipline: With its rules-based structure, it helps you protect yourself from emotional traps like fear and greed, the market's greatest enemies.
Adaptation: Instead of searching for a "one-size-fits-all" strategy, it offers a system logic that "adapts to every market."
Risk Management: With advanced position management modules, it constantly reminds you that preserving capital is more important than making money.
What Doesn't It Promise? Guaranteed Profit or the "Holy Grail": No system in the financial markets can offer 100% certainty. Losing trades are a natural and inevitable part of professional investing. ACS aims not to eliminate losses, but to manage them and statistically maximize profit potential.
This is not a "run the robot and get rich" system. ACS is your most powerful analytical assistant, but the ultimate decision and responsibility always rest with the investor.
The Dream of Getting Rich Overnight: Successful investing is a marathon, not a sprint. ACS is designed to help disciplined and patient investors achieve statistical advantage over the long term.
Who Is This System Suitable For?
For Beginner Investors: It offers a disciplined and structured roadmap that avoids emotional decisions and confusion. For Experienced Analysts: It serves as a powerful quantitative aid that validates or challenges their technical analysis.
For Investors Seeking a System: It offers a professional-grade risk management framework that offers not only entry but also position management and multiple exit scenarios.
EMA 8/33 Optimized Crossover w/FilterThis strategy is ideal for fast-moving assets like cryptocurrencies (e.g., SOLUSDT) on intraday to swing trading timeframes. Its robust filtering aims for fewer trades but with higher accuracy, producing a smoother equity curve and lower drawdown in your backtests.
You can further optimize the EMA lengths, minimum candle size, and TP/SL percentages to suit your preferred asset and timeframe.
维加斯双通道策略Vegas Channel Comprehensive Strategy Description
Strategy Overview
A comprehensive trading strategy based on the Vegas Dual Channel indicator, supporting dynamic position sizing and fund management. The strategy employs a multi-signal fusion mechanism including classic price crossover signals, breakout signals, and retest signals, combined with trend filtering, RSI+MACD filtering, and volume filtering to ensure signal reliability.
Core Features
Dynamic Position Sizing: Continue adding positions on same-direction signals, close all positions on opposite signals
Smart Take Profit/Stop Loss: ATR-based dynamic TP/SL, updated with each new signal
Fund Management: Supports dynamic total amount management for compound growth
Time Filtering: Configurable trading time ranges
Risk Control: Maximum order limit to prevent over-leveraging
Leverage Usage Instructions
Important: This strategy does not use TradingView's margin functionality
Setup Method
Total Amount = Actual Funds × Leverage Multiplier
Example: Have 100U actual funds, want to use 10x leverage → Set total amount to 100 × 10 = 1000U
Trading Amount Calculation
Each trade percentage is calculated based on leveraged amount
Example: Set 10% → Actually trade 100U margin × 10x leverage = 1000U trading amount
Maximum Orders Configuration
Must be used in conjunction with leveraged amount
Example: 1000U total amount, 10% per trade, maximum 10 orders = maximum use of 1000U
Note: Do not exceed 100% of total amount to avoid over-leveraging
Parameter Configuration Recommendations
Leverage Configuration Examples
Actual funds 100U, 5x leverage, total amount setting 500U, 10% per trade, 50U per trade, recommended maximum orders 10
Actual funds 100U, 10x leverage, total amount setting 1000U, 10% per trade, 100U per trade, recommended maximum orders 10
Actual funds 100U, 20x leverage, total amount setting 2000U, 5% per trade, 100U per trade, recommended maximum orders 20
Risk Control
Conservative: 5-10x leverage, 10% per trade, maximum 5-8 orders
Aggressive: 10-20x leverage, 5-10% per trade, maximum 10-15 orders
Extreme: 20x+ leverage, 2-5% per trade, maximum 20+ orders
Strategy Advantages
Signal Reliability: Multiple filtering mechanisms reduce false signals
Capital Efficiency: Dynamic fund management for compound growth
Risk Controllable: Maximum order limits prevent liquidation
Flexible Configuration: Supports various leverage and fund allocation schemes
Time Control: Configurable trading hours to avoid high-risk periods
Usage Notes
Ensure total amount is set correctly (actual funds × leverage multiplier)
Maximum orders should not exceed the range allowed by total funds
Recommend starting with conservative configuration and gradually adjusting parameters
Regularly monitor strategy performance and adjust parameters timely
维加斯通道综合策略说明
策略概述
基于维加斯双通道指标的综合交易策略,支持动态加仓和资金管理。策略采用多信号融合机制,包括经典价穿信号、突破信号和回踩信号,结合趋势过滤、RSI+MACD过滤和成交量过滤,确保信号的可靠性。
核心功能
动态加仓:同向信号继续加仓,反向信号全部平仓
智能止盈止损:基于ATR的动态止盈止损,每次新信号更新
资金管理:支持动态总金额管理,实现复利增长
时间过滤:可设置交易时间范围
风险控制:最大订单数限制,防止过度加仓
杠杆使用说明
重要:本策略不使用TradingView的保证金功能
设置方法
总资金 = 实际资金 × 杠杆倍数
示例:实际有100U,想使用10倍杠杆 → 总资金设置为 100 × 10 = 1000U
交易金额计算
每笔交易百分比基于杠杆后的金额计算
示例:设置10% → 实际交易 100U保证金 × 10倍杠杆 = 1000U交易金额
最大订单数配置
必须配合杠杆后的金额使用
示例:1000U总资金,10%单笔,最大10单 = 最多使用1000U
注意:不要超过总资金的100%,避免过度杠杆
参数配置建议
杠杆配置示例
实际资金100U,5倍杠杆,总资金设置500U,单笔百分比10%,单笔金额50U,建议最大订单数10单
实际资金100U,10倍杠杆,总资金设置1000U,单笔百分比10%,单笔金额100U,建议最大订单数10单
实际资金100U,20倍杠杆,总资金设置2000U,单笔百分比5%,单笔金额100U,建议最大订单数20单
风险控制
保守型:5-10倍杠杆,10%单笔,最大5-8单
激进型:10-20倍杠杆,5-10%单笔,最大10-15单
极限型:20倍以上杠杆,2-5%单笔,最大20单以上
策略优势
信号可靠性:多重过滤机制,减少假信号
资金效率:动态资金管理,实现复利增长
风险可控:最大订单数限制,防止爆仓
灵活配置:支持多种杠杆和资金配置方案
时间控制:可设置交易时间,避开高风险时段
使用注意事项
确保总资金设置正确(实际资金×杠杆倍数)
最大订单数不要超过总资金允许的范围
建议从保守配置开始,逐步调整参数
定期监控策略表现,及时调整参数
Zaman Bazlı Slope & Delta RSI Stratejisi (HA & Source Seçimli)5 ayrı zaman diliminde çalışan rsi ortalamaları ile hesap yaparak sinyal üreten bir strateji