CNCRADIO talked GPT into Watching the YouTube!Referred GPT to the youtube channel and produced PINE script with no errors first try, followed some prompts and this is the result.
Penunjuk dan strategi
Darvas Box Short Squeeze Strategy//@version=5
strategy("Darvas Box Short Squeeze Strategy", overlay=true)
// Inputs for the Darvas Box
darvasLength = input(20, title="Darvas Box Length")
riskRewardRatio = input(3, title="Risk to Reward Ratio")
riskAmount = input(100, title="Risk Amount ($)")
// Calculate the highest high and lowest low for Darvas Box
var float highLevel = na
var float lowLevel = na
var float darvasHigh = na
var float darvasLow = na
var bool inBox = false
if (high >= ta.highest(high, darvasLength) )
highLevel := high
inBox := true
if (low <= ta.lowest(low, darvasLength) )
lowLevel := low
inBox := false
if (inBox)
darvasHigh := highLevel
darvasLow := lowLevel
// Short Squeeze Condition: Significant upward movement with high volume
shortSqueezeCondition = (close > darvasHigh and volume > ta.sma(volume, 20))
// Entry logic for shorting on resistance
if (shortSqueezeCondition and close >= darvasHigh)
strategy.entry("Short", strategy.short)
// Long entry on major support (if price breaches below darvasLow)
if (close <= darvasLow)
strategy.entry("Long", strategy.long)
// Risk and Reward Levels
var float longTakeProfit = na
var float longStopLoss = na
var float shortTakeProfit = na
var float shortStopLoss = na
if (strategy.position_size > 0) // For Long position
longTakeProfit := strategy.position_avg_price * (1 + riskRewardRatio / 1)
longStopLoss := strategy.position_avg_price - (riskAmount / strategy.position_size)
if (strategy.position_size < 0) // For Short position
shortTakeProfit := strategy.position_avg_price * (1 - riskRewardRatio / 1)
shortStopLoss := strategy.position_avg_price + (riskAmount / (strategy.position_size))
// Exit logic
if (strategy.position_size > 0)
strategy.exit("Take Profit Long", from_entry="Long", limit=longTakeProfit, stop=longStopLoss)
if (strategy.position_size < 0)
strategy.exit("Take Profit Short", from_entry="Short", limit=shortTakeProfit, stop=shortStopLoss)
// Plotting levels for visualization
plot(longTakeProfit, color=color.green, style=plot.style_cross, title="Long Take Profit")
plot(longStopLoss, color=color.red, style=plot.style_cross, title="Long Stop Loss")
plot(shortTakeProfit, color=color.green, style=plot.style_cross, title="Short Take Profit")
plot(shortStopLoss, color=color.red, style=plot.style_cross, title="Short Stop Loss")
Ichimoku + RSI + VWMA Strategy Suite (w/ ATR SLTP)Ichimoku + RSI + VWMA indikatörleri kullanılarak üretilen seçmeli stratejiler.
SMA3 / EMA10 + MACD (9-10pm COL) | SL 10 pips, TP 10 pipsmedias movil de 3 periodos mas una ema de 10 + macd cruces, el tp y sl no se usan de la estrategia se usa minimo o maximo q marque el zigzag de 6 periodos.
3-period simple moving average plus a 10-period EMA and MACD crossovers. Take profit and stop loss are not fixed; instead, they are based on the most recent low or high marked by a 6-period ZigZag indicator."
PRO Trading: CCI Grid Master### English
**Strategy Name:**
PRO Trading: CCI Grid Master
**Description:**
Modern grid trading strategy combining CCI and RSI indicators with intelligent position management. Features 5-level averaging, adaptive stop loss, and three take profit calculation methods. Optimized for lower timeframes (1-15 minutes) where signals are more frequent - higher timeframes generate fewer trading opportunities.
---
#### 🌟 Concept and Uniqueness
CCI Grid Master stands out with its:
- Confirmed entry signals (2+ for longs, 4+ for shorts)
- Exponential position scaling
- Three TP calculation methods
- Visual grid levels on chart
- Risk-managed approach
*Secret ingredient: Custom indicator periods and specialized false signal filtration system that significantly reduces bad entries.*
Unlike basic grid strategies, it implements:
1. Signal confirmation to reduce false entries
2. Smart volume management
3. Multi-layer capital protection
4. Professional risk controls
---
#### 💰 Value Proposition
- **Beginners**: Clear visualization and simple setup
- **Pros**: Advanced risk management controls
- **Algo Traders**: Consistent logic for automation
- **Risk Managers**: Built-in capital protection
Tested across various market conditions (trend, flat, volatile) with consistent results.
---
#### ⚙️ How It Works
**Signal Generation:**
- CCI + RSI combo with custom periods
- Long: CCI < -100 & RSI < 20
- Short: CCI > 100 & RSI > 80
- Signal confirmation (2+ signals/4 bars for longs, 4+ for shorts)
**Grid Mechanics:**
1. First entry (5% equity default)
2. 5 averaging levels at 1.8% intervals
3. Exponential volume scaling (1.6x multiplier)
**Position Management:**
- 3 TP methods:
1. From First Entry
2. From Average (updated on averaging)
3. Realtime Average
- Adaptive stop loss (80% from avg price)
- Opposite signal closing option
**Visuals:**
- Green/Red line: Average entry price (Green for long, Red for short)
- Blue line: Take profit level
- Purple line: Stop loss
- Gray circles: Averaging levels
---
#### 🛠 Setup & Usage
**Recommended Settings:**
```ini
First Entry %: 5.0
Volume Multiplier: 1.6
Grid Step: 1.8%
Profit Target: 1.0%
Stop Loss: 80%
```
**Timeframe Note:**
Optimal performance on 1-15 min charts. Higher timeframes (1H+) may generate fewer signals but offer higher reliability.
**Customization:**
- Conservative:
- Lower First Entry % (2-3%)
- Increase Stop Loss (100-120%)
- Use "Realtime Average" TP
- Aggressive:
- Increase Volume Multiplier (1.8-2.0)
- Reduce Grid Step (1.0-1.5%)
- Use "From First Entry" TP
---
#### ❓ FAQ
**Q:** Why 4 signals for shorts?
**A:** Our proprietary filtration system requires stronger confirmation for short entries to avoid false signals in volatile markets.
**Q:** How to choose TP method?
**A:**
- First Entry: Strong trends
- From Average: Balanced approach
- Realtime: Volatile/range-bound markets
**Q:** Why exponential volume scaling?
**A:** Mathematical approach to lower average entry price while controlling risk exposure.
**Q:** Crypto compatibility?
**A:** Excellent for volatile assets (BTC, ETH, LTC).
---
#### ⚠️ Risk Warning
1. Grid strategies carry higher risk - use risk capital only
2. Always backtest before live trading
3. Minimum account: $1000+ for proper scaling
4. Avoid low-liquidity instruments
5. Never risk >5% per trade
---
#### 💡 Conclusion
PRO Trading: CCI Grid Master delivers professional-grade trading with visual clarity and advanced risk management. Perfect for traders seeking systematic approaches in any market.
*Happy Trading with PRO Trading!*
**Default Settings:**
Optimized for 1-15min timeframes. For daily charts, increase grid step to 2.5%. For crypto, reduce grid step to 1.5% and increase stop loss to 100%.
### Русское описание (Russian Description)
**Название стратегии:**
PRO Trading: CCI Grid Master
**Описание:**
Современная сеточная стратегия, сочетающая индикаторы CCI и RSI с интеллектуальным управлением позицией. Особенности: 5 уровней усреднения, адаптивный стоп-лосс и три метода расчета тейк-профита. Оптимизирована для младших таймфреймов (1-15 минут) с более частыми сигналами - на старших таймфреймах торговых возможностей меньше.
---
#### 🌟 Концепция и уникальность
CCI Grid Master выделяется:
- Подтвержденными сигналами входа (2+ для лонга, 4+ для шорта)
- Экспоненциальным наращиванием позиции
- Тремя методами расчета TP
- Визуализацией уровней сетки
- Профессиональным управлением рисками
*Секретный ингредиент: Кастомные периоды индикаторов и специальная система фильтрации ложных сигналов, значительно снижающая неверные входы.*
В отличие от простых сеточных стратегий:
1. Фильтрация сигналов снижает ложные входы
2. Умное управление объемом позиций
3. Многоуровневая защита капитала
4. Профессиональный контроль рисков
---
#### 💰 Ценность
- **Новичкам**: Простота настройки и визуализация
- **Профи**: Гибкое управление рисками
- **Алготрейдерам**: Стабильная логика для автоматизации
- **Риск-менеджерам**: Встроенная защита депозита
Протестирована в различных рыночных условиях с устойчивыми результатами.
---
#### ⚙️ Как работает
**Генерация сигналов:**
- Комбинация CCI + RSI с кастомными периодами
- Лонг: CCI < -100 и RSI < 20
- Шорт: CCI > 100 и RSI > 80
- Подтверждение сигнала (2+ сигнала за 4 бара для лонга, 4+ для шорта)
**Механика сетки:**
1. Первый вход (5% от депозита)
2. 5 уровней усреднения с шагом 1.8%
3. Экспоненциальное увеличение объема (множитель 1.6х)
**Управление позицией:**
- 3 метода TP:
1. От первого входа
2. От средней цены (обновляется при усреднении)
3. От текущей средней цены (реалтайм)
- Адаптивный стоп-лосс (80% от средней цены)
- Опция закрытия при противоположном сигнале
**Визуализация:**
- Зеленая/Красная линия: Средняя цена входа (Зеленая для лонга, Красная для шорта)
- Синяя линия: Уровень тейк-профита
- Фиолетовая линия: Стоп-лосс
- Серые кружки: Уровни для усреднения
---
#### 🛠 Настройка и использование
**Рекомендуемые параметры:**
```
Процент первого входа: 5.0
Множитель объема: 1.6
Шаг сетки: 1.8%
Цель прибыли: 1.0%
Стоп-лосс: 80%
```
**Примечание по таймфреймам:**
Лучшие результаты на таймфреймах 1-15 минут. На старших таймфреймах (1H+) сигналов меньше, но выше надежность.
**Кастомизация:**
- Консервативно:
- Уменьшить процент входа (2-3%)
- Увеличить стоп-лосс (100-120%)
- Использовать "Realtime Average" TP
- Агрессивно:
- Увеличить множитель объема (1.8-2.0)
- Уменьшить шаг сетки (1.0-1.5%)
- Использовать "From First Entry" TP
---
#### ❓ FAQ
**В:** Почему для шорта нужно 4 сигнала?
**О:** Наша система фильтрации требует более сильного подтверждения для шортовых входов, чтобы избежать ложных сигналов на волатильном рынке.
**В:** Как выбрать метод TP?
**О:**
- От первого входа: Сильные тренды
- От средней цены: Сбалансированный подход
- Realtime Average: Волатильные/боковые рынки
**В:** Зачем экспоненциальное увеличение объема?
**О:** Математический подход к снижению средней цены входа при контроле риска.
**В:** Подходит для крипторынка?
**О:** Отлично работает на волатильных активах (BTC, ETH, LTC).
---
#### ⚠️ Предупреждение о рисках
1. Сеточные стратегии несут повышенный риск - используйте только риск-капитал
2. Всегда тестируйте на исторических данных
3. Минимальный депозит: $1000+
4. Избегайте низколиквидных активов
5. Риск на сделку не должен превышать 5%
---
#### 💡 Заключение
PRO Trading: CCI Grid Master - профессиональный инструмент с продвинутым управлением рисками. Идеально подходит для системной торговли на любом рынке.
*Удачных торгов с PRO Trading!*
---
**Параметры по умолчанию:**
Оптимизированы для таймфреймов 1-15 мин. Для дневных графиков увеличьте шаг сетки до 2.5%. Для крипторынка уменьшите шаг до 1.5% и увеличьте стоп-лосс до 100%.
Multi-Confluence Swing Hunter V1# Multi-Confluence Swing Hunter V1 - Complete Description
Overview
The Multi-Confluence Swing Hunter V1 is a sophisticated low timeframe scalping strategy specifically optimized for MSTR (MicroStrategy) trading. This strategy employs a comprehensive point-based scoring system that combines optimized technical indicators, price action analysis, and reversal pattern recognition to generate precise trading signals on lower timeframes.
Performance Highlight:
In backtesting on MSTR 5-minute charts, this strategy has demonstrated over 200% profit performance, showcasing its effectiveness in capturing rapid price movements and volatility patterns unique to MicroStrategy's trading behavior.
The strategy's parameters have been fine-tuned for MSTR's unique volatility characteristics, though they can be optimized for other high-volatility instruments as well.
## Key Innovation & Originality
This strategy introduces a unique **dual scoring system** approach:
- **Entry Scoring**: Identifies swing bottoms using 13+ different technical criteria
- **Exit Scoring**: Identifies swing tops using inverse criteria for optimal exit timing
Unlike traditional strategies that rely on simple indicator crossovers, this system quantifies market conditions through a weighted scoring mechanism, providing objective, data-driven entry and exit decisions.
## Technical Foundation
### Optimized Indicator Parameters
The strategy utilizes extensively backtested parameters specifically optimized for MSTR's volatility patterns:
**MACD Configuration (3,10,3)**:
- Fast EMA: 3 periods (vs standard 12)
- Slow EMA: 10 periods (vs standard 26)
- Signal Line: 3 periods (vs standard 9)
- **Rationale**: These faster parameters provide earlier signal detection while maintaining reliability, particularly effective for MSTR's rapid price movements and high-frequency volatility
**RSI Configuration (21-period)**:
- Length: 21 periods (vs standard 14)
- Oversold: 30 level
- Extreme Oversold: 25 level
- **Rationale**: The 21-period RSI reduces false signals while still capturing oversold conditions effectively in MSTR's volatile environment
**Parameter Adaptability**: While optimized for MSTR, these parameters can be adjusted for other high-volatility instruments. Faster-moving stocks may benefit from even shorter MACD periods, while less volatile assets might require longer periods for optimal performance.
### Scoring System Methodology
**Entry Score Components (Minimum 13 points required)**:
1. **RSI Signals** (max 5 points):
- RSI < 30: +2 points
- RSI < 25: +2 points
- RSI turning up: +1 point
2. **MACD Signals** (max 8 points):
- MACD below zero: +1 point
- MACD turning up: +2 points
- MACD histogram improving: +2 points
- MACD bullish divergence: +3 points
3. **Price Action** (max 4 points):
- Long lower wick (>50%): +2 points
- Small body (<30%): +1 point
- Bullish close: +1 point
4. **Pattern Recognition** (max 8 points):
- RSI bullish divergence: +4 points
- Quick recovery pattern: +2 points
- Reversal confirmation: +4 points
**Exit Score Components (Minimum 13 points required)**:
Uses inverse criteria to identify swing tops with similar weighting system.
## Risk Management Features
### Position Sizing & Risk Control
- **Single Position Strategy**: 100% equity allocation per trade
- **No Overlapping Positions**: Ensures focused risk management
- **Configurable Risk/Reward**: Default 5:1 ratio optimized for volatile assets
### Stop Loss & Take Profit Logic
- **Dynamic Stop Loss**: Based on recent swing lows with configurable buffer
- **Risk-Based Take Profit**: Calculated using risk/reward ratio
- **Clean Exit Logic**: Prevents conflicting signals
## Default Settings Optimization
### Key Parameters (Optimized for MSTR/Bitcoin-style volatility):
- **Minimum Entry Score**: 13 (ensures high-conviction entries)
- **Minimum Exit Score**: 13 (prevents premature exits)
- **Risk/Reward Ratio**: 5.0 (accounts for volatility)
- **Lower Wick Threshold**: 50% (identifies true hammer patterns)
- **Divergence Lookback**: 8 bars (optimal for swing timeframes)
### Why These Defaults Work for MSTR:
1. **Higher Score Thresholds**: MSTR's volatility requires more confirmation
2. **5:1 Risk/Reward**: Compensates for wider stops needed in volatile markets
3. **Faster MACD**: Captures momentum shifts quickly in fast-moving stocks
4. **21-period RSI**: Reduces noise while maintaining sensitivity
## Visual Features
### Score Display System
- **Green Labels**: Entry scores ≥10 points (below bars)
- **Red Labels**: Exit scores ≥10 points (above bars)
- **Large Triangles**: Actual trade entries/exits
- **Small Triangles**: Reversal pattern confirmations
### Chart Cleanliness
- Indicators plotted in separate panes (MACD, RSI)
- TP/SL levels shown only during active positions
- Clear trade markers distinguish signals from actual trades
## Backtesting Specifications
### Realistic Trading Conditions
- **Commission**: 0.1% per trade
- **Slippage**: 3 points
- **Initial Capital**: $1,000
- **Account Type**: Cash (no margin)
### Sample Size Considerations
- Strategy designed for 100+ trade sample sizes
- Recommended timeframes: 4H, 1D for swing trading
- Optimal for trending/volatile markets
## Strategy Limitations & Considerations
### Market Conditions
- **Best Performance**: Trending markets with clear swings
- **Reduced Effectiveness**: Highly choppy, sideways markets
- **Volatility Dependency**: Optimized for moderate to high volatility assets
### Risk Warnings
- **High Allocation**: 100% position sizing increases risk
- **No Diversification**: Single position strategy
- **Backtesting Limitation**: Past performance doesn't guarantee future results
## Usage Guidelines
### Recommended Assets & Timeframes
- **Primary Target**: MSTR (MicroStrategy) - 5min to 15min timeframes
- **Secondary Targets**: High-volatility stocks (TSLA, NVDA, COIN, etc.)
- **Crypto Markets**: Bitcoin, Ethereum (with parameter adjustments)
- **Timeframe Optimization**: 1min-15min for scalping, 30min-1H for swing scalping
### Timeframe Recommendations
- **Primary Scalping**: 5-minute and 15-minute charts
- **Active Monitoring**: 1-minute for precise entries
- **Swing Scalping**: 30-minute to 1-hour timeframes
- **Avoid**: Sub-1-minute (excessive noise) and above 4-hour (reduces scalping opportunities)
## Technical Requirements
- **Pine Script Version**: v6
- **Overlay**: Yes (plots on price chart)
- **Additional Panes**: MACD and RSI indicators
- **Real-time Compatibility**: Confirmed bar signals only
## Customization Options
All parameters are fully customizable through inputs:
- Indicator lengths and levels
- Scoring thresholds
- Risk management settings
- Visual display preferences
- Date range filtering
## Conclusion
This scalping strategy represents a comprehensive approach to low timeframe trading that combines multiple technical analysis methods into a cohesive, quantified system specifically optimized for MSTR's unique volatility characteristics. The optimized parameters and scoring methodology provide a systematic way to identify high-probability scalping setups while managing risk effectively in fast-moving markets.
The strategy's strength lies in its objective, multi-criteria approach that removes emotional decision-making from scalping while maintaining the flexibility to adapt to different instruments through parameter optimization. While designed for MSTR, the underlying methodology can be fine-tuned for other high-volatility assets across various markets.
**Important Disclaimer**: This strategy is designed for experienced scalpers and is optimized for MSTR trading. The high-frequency nature of scalping involves significant risk. Past performance does not guarantee future results. Always conduct your own analysis, consider your risk tolerance, and be aware of commission/slippage costs that can significantly impact scalping profitability.
TMNT3 [v5, Code Copilot] with PyramidCore Principles
Trend-Following Breakouts
Enters on clean price breakouts above the prior N-day high (System 1: 20 days; System 2: 55 days).
Exits on reversals through the prior M-day low (System 1: 10 days; System 2: 20 days).
Volatility-Based Stops
Uses the Average True Range (ATR) to set a dynamic stop-loss at
Stop = Entry Price ± (ATR×Multiplier)
Stop= Entry Price-(ATR×Multiplier)
Adapts to changing market noise—wider stops in volatile conditions, tighter in calm markets.
System 1 vs. System 2 Toggle
System 1 (20/10) for shorter, faster swing opportunities.
System 2 (55/20) for catching longer, more powerful trends.
Pyramiding into Winners
Scales into a position in fixed “units” (each risking a constant % of equity).
Adds an extra unit each time price extends by a set fraction of ATR (default 0.5× ATR), up to a configurable maximum (default 5 units).
Only increases exposure when the trend proves itself—managing risk while maximizing returns.
Strict Risk Management
Each unit carries its own ATR-based stop, ensuring no single leg blows out the account.
Default risk per unit is a small, fixed percentage of total equity (e.g. 1% per unit).
Visual Aids & Confirmation
Overlaid entry/exit channels and trend/exit lines for immediate context.
Optional on-chart labels and background shading to highlight active trade regimes.
Why It Works
Objectivity & Discipline: Rules-based entries, exits, and sizing remove emotional guesswork.
Adaptive to Market Conditions: ATR stops and pyramiding adapt to both calm and turbulent phases.
Scalable: Toggle between short and long breakout horizons to suit different assets or timeframes.
Indicador Trader ProIndicator designed to generate alerts when the price is highly overbought or oversold.
It works very well for swing trading on the H4 timeframe, and provides strong signals for scalping on M15.
The ideal setup is to wait for a confirmed buy signal and then monitor for a Break of Structure (BOS) on M15. This helps ensure better entries and avoids taking trades without proper price action confirmation of a trend reversal.
Volatility Index Percentile Risk STOCK StrategyVolatility-Index Percentile Risk STOCK Strategy
──────────────────────────────────────────────
PURPOSE
• Go long equities only when implied volatility (from any VIX-style index) is in its quietest percentile band.
• Scale stop-loss distance automatically with live volatility so risk stays proportional across timeframes and market regimes.
HOW IT WORKS
1. Pull the closing price of a user-selected volatility index (default: CBOE VIX, Nasdaq VXN, etc.).
2. Compute its 1-year (252-bar) percentile.
– If percentile < “Enter” threshold → open / maintain long.
– If percentile > “Exit” threshold → flatten.
3. Set the stop-loss every bar at:
SL % = (current VIX value) ÷ Risk Divisor
(e.g., VIX = 20 and divisor = 57 → 0.35 % SL below entry).
This keeps risk tighter when volatility is high and looser when it’s calm.
USER INPUTS
• VIX-style Index — symbol of any volatility index
• Look-back — length for percentile (default 252)
• Enter Long < Percentile — calm-market trigger (default 15 %)
• Exit Long > Percentile — fear trigger (default 60 %)
• Risk Divisor (SL) — higher number = tighter stop; start with 57 on 30-min charts
• Show Debug Plots — optional visibility of percentile & SL%
RECOMMENDED BACK-TEST SETTINGS
• Timeframe: 30 min – Daily on liquid stocks/ETFs highly correlated to the chosen VIX.
• Initial capital: 100 000 | Order size: 10 % of equity
• Commission: 0.03 % | Slippage: 5 ticks
• Enable *Bar Magnifier* and *Fill on bar close* for realistic execution.
ADDITIONAL INFORMATION
• **Self-calibrating risk** – no static ATR or fixed %, adapts instantly to changing volatility.
• **Percentile filter** – regime-aware entry logic that avoids false calm periods signalled by raw VIX levels.
• **Timeframe-agnostic** – works from intraday to weekly; √T-style divisor lets you fine-tune stops quickly ,together with the percentiles and days length.
• Zero look-ahead.
CAVEATS
• Long-only; no built-in profit target. Add one if your plan requires fixed R:R exits.
• Works best on indices/stocks that move with the selected vol index.
• Back-test results are educational; past performance never guarantees future returns.
LICENSE & CREDITS
Released under the Mozilla Public License 2.0.
Inspired by academic research on volatility risk premia and mean-reversion.
DISCLAIMER
This script is for informational and educational purposes only. It is **not** financial advice. Use at your own risk.
N4A - Dynamic ORB Algo v7N4A - Dynamic ORB Algo v7
A precision-engineered intraday breakout system designed for professional traders operating in NQ and ES futures markets. The strategy blends advanced ORB (Opening Range Breakout) logic with adaptive session control, dynamic filters, and quartile-based trade management to deliver robust and structured execution across multiple global trading zones.
🧠 Core Framework
Opening Range Breakout (ORB)
Automatically defines a breakout window and detects directional moves when price decisively exits the range high or low, triggering structured entries with defined risk.
Multi-Session Adaptability
Supports automated session presets for Pre-London, London, and New York trading hours. Each session auto-configures its own ORB and entry periods, while maintaining full manual control via Custom mode. Timezones are always user-configurable.
Quartile-Based Structure
All risk and profit calculations are grounded in the ORB range and its quartile subdivisions. Stops and targets are derived from mathematically relevant price zones, not arbitrary values.
🧠 Advanced Filtering Architecture
In the 4 modes, the strategy employs a multi-dimensional filter stack to validate breakout quality and reduce false signals. Each filter contributes unique confirmation logic:
1. 📏 EMA Bias Filter
Establishes directional bias using 2x 200-period EMAs clouds (on both high and close).
Filters out counter-trend setups.
Active in: Moderate, Conservative modes.
2. 📐 Range Geometry (RG) Filter
Measures directional conviction by analyzing whether price consistently pushes in one direction within a smoothed dynamic range:
Utilizes smoothed deviation envelopes and adaptive trend centerline.
Monitors for sustained directional flow (via upCounter/downCounter logic).
Prevents entries during sideways or mean-reverting environments.
3. ⚡️ Momentum Shift Validator
A WAE-style module using fast vs slow EMAs to capture directional thrust:
Tracks positive or negative momentum shifts between bars.
Long trades require increasing bullish momentum; shorts require the opposite.
Ensures active market participation and screens out weak breakouts.
This layered logic produces high-confidence signals and eliminates low-quality market noise.
⚙️ Strategic Mode Selection (Built-in Presets)
Users can select from four predefined filter configurations depending on risk appetite and market conditions:
Basic – Raw ORB breakout without filters; ideal for clean trend days
Conservative – EMA filter active with higher sensitivity (19), RG filter off
Aggressive – EMA filter active with fast sensitivity (5), RG filter off
Custom – Full manual control over all filters and logic components
Each mode automatically configures the system without requiring manual re-adjustments.
🎯 Execution Logic
Entry Conditions
A breakout entry is triggered only after a full bar closes beyond the ORB boundary, subject to filter validation.
Stop Loss Structure
Stops are placed using the ORB quartile framework (typically below Q1 or above Q4), combined with mid-range invalidation logic.
Risk Sizing:
Contract size is dynamically computed from ORB range volatility.
Typical exposure per trade: $200–$400
Profit-Taking Methodology
Targets can be enabled at SD0.5, SD1.0, SD1.5, and SD2.0 intervals from the ORB range. Users control exit percentages per target level. Breakeven is automatically managed after partial take-profit.
Additional Controls
No pyramiding
No re-entries per signal
Max hold duration enforced (default: 270 minutes)
🔔 Alerts Included
Instant alerts trigger upon confirmed Long or Short entries, fully compatible with popup and sound actions.
👤 Developed by Antony.N4A
Built for intraday strategists, quant developers, and execution modelers who demand structured logic, visual clarity, and multi-context adaptability.
Protected script. Unauthorized reuse or redistribution is strictly prohibited.
For access or customization inquiries, contact the author directly.
استراتيجة المتوسطات PROF
🧠 Strategy Name: "استراتيجية المتوسطات PROF" (Moving Averages PROF Strategy)
📌 Description:
"استراتيجية المتوسطات PROF" is a flexible and customizable moving average crossover strategy designed for traders who want full control over how signals are generated. Whether you're a beginner or a professional, this tool adapts to your style.
⚙️ Features:
✅ Selectable Moving Average Types:
SMA (Simple)
EMA (Exponential)
WMA (Weighted)
VWMA (Volume-Weighted)
HMA (Hull Moving Average)
✅ Selectable Price Source:
Close
Open
High
Low
✅ Confirmation Candles:
Define how many candles the price must stay above or below the MA before a trade is triggered.
📈 How It Works:
Buy Entry: When the price stays above the selected MA for a set number of candles.
Sell Entry: When the price stays below the selected MA for the same number of candles.
🧪 Use Cases:
Use it for manual chart analysis or integrate it into automated strategies. You can also expand it with stop loss, take profit, or time filters.
💬 Notes:
Clean and editable Pine Script code.
Arabic-friendly interface for regional traders.
Ideal for both scalping and swing trading.
✨ Want More Features?
Let me know in the comments if you'd like:
Stop Loss & Take Profit
Time/session filters
Visual buy/sell signals
🔖 Short Summary (for TradingView listing):
A flexible moving average crossover strategy with full customization. Choose your MA type, price source, and confirmation logic. Built for professionals — "استراتيجية المتوسطات PROF".
KST Strategy [Skyrexio]Overview
KST Strategy leverages Know Sure Thing (KST) indicator in conjunction with the Williams Alligator and Moving average to obtain the high probability setups. KST is used for for having the high probability to enter in the direction of a current trend when momentum is rising, Alligator is used as a short term trend filter, while Moving average approximates the long term trend and allows trades only in its direction. Also strategy has the additional optional filter on Choppiness Index which does not allow trades if market is choppy, above the user-specified threshold. Strategy has the user specified take profit and stop-loss numbers, but multiplied by Average True Range (ATR) value on the moment when trade is open. The strategy opens only long trades.
Unique Features
ATR based stop-loss and take profit. Instead of fixed take profit and stop-loss percentage strategy utilizes user chosen numbers multiplied by ATR for its calculation.
Configurable Trading Periods. Users can tailor the strategy to specific market windows, adapting to different market conditions.
Optional Choppiness Index filter. Strategy allows to choose if it will use the filter trades with Choppiness Index and set up its threshold.
Methodology
The strategy opens long trade when the following price met the conditions:
Close price is above the Alligator's jaw line
Close price is above the filtering Moving average
KST line of Know Sure Thing indicator shall cross over its signal line (details in justification of methodology)
If the Choppiness Index filter is enabled its value shall be less than user defined threshold
When the long trade is executed algorithm defines the stop-loss level as the low minus user defined number, multiplied by ATR at the trade open candle. Also it defines take profit with close price plus user defined number, multiplied by ATR at the trade open candle. While trade is in progress, if high price on any candle above the calculated take profit level or low price is below the calculated stop loss level, trade is closed.
Strategy settings
In the inputs window user can setup the following strategy settings:
ATR Stop Loss (by default = 1.5, number of ATRs to calculate stop-loss level)
ATR Take Profit (by default = 3.5, number of ATRs to calculate take profit level)
Filter MA Type (by default = Least Squares MA, type of moving average which is used for filter MA)
Filter MA Length (by default = 200, length for filter MA calculation)
Enable Choppiness Index Filter (by default = true, setting to choose the optional filtering using Choppiness index)
Choppiness Index Threshold (by default = 50, Choppiness Index threshold, its value shall be below it to allow trades execution)
Choppiness Index Length (by default = 14, length used in Choppiness index calculation)
KST ROC Length #1 (by default = 10, value used in KST indicator calculation, more information in Justification of Methodology)
KST ROC Length #2 (by default = 15, value used in KST indicator calculation, more information in Justification of Methodology)
KST ROC Length #3 (by default = 20, value used in KST indicator calculation, more information in Justification of Methodology)
KST ROC Length #4 (by default = 30, value used in KST indicator calculation, more information in Justification of Methodology)
KST SMA Length #1 (by default = 10, value used in KST indicator calculation, more information in Justification of Methodology)
KST SMA Length #2 (by default = 10, value used in KST indicator calculation, more information in Justification of Methodology)
KST SMA Length #3 (by default = 10, value used in KST indicator calculation, more information in Justification of Methodology)
KST SMA Length #4 (by default = 15, value used in KST indicator calculation, more information in Justification of Methodology)
KST Signal Line Length (by default = 10, value used in KST indicator calculation, more information in Justification of Methodology)
User can choose the optimal parameters during backtesting on certain price chart.
Justification of Methodology
Before understanding why this particular combination of indicator has been chosen let's briefly explain what is KST, Williams Alligator, Moving Average, ATR and Choppiness Index.
The KST (Know Sure Thing) is a momentum oscillator developed by Martin Pring. It combines multiple Rate of Change (ROC) values, smoothed over different timeframes, to identify trend direction and momentum strength. First of all, what is ROC? ROC (Rate of Change) is a momentum indicator that measures the percentage change in price between the current price and the price a set number of periods ago.
ROC = 100 * (Current Price - Price N Periods Ago) / Price N Periods Ago
In our case N is the KST ROC Length inputs from settings, here we will calculate 4 different ROCs to obtain KST value:
KST = ROC1_smooth × 1 + ROC2_smooth × 2 + ROC3_smooth × 3 + ROC4_smooth × 4
ROC1 = ROC(close, KST ROC Length #1), smoothed by KST SMA Length #1,
ROC2 = ROC(close, KST ROC Length #2), smoothed by KST SMA Length #2,
ROC3 = ROC(close, KST ROC Length #3), smoothed by KST SMA Length #3,
ROC4 = ROC(close, KST ROC Length #4), smoothed by KST SMA Length #4
Also for this indicator the signal line is calculated:
Signal = SMA(KST, KST Signal Line Length)
When the KST line rises, it indicates increasing momentum and suggests that an upward trend may be developing. Conversely, when the KST line declines, it reflects weakening momentum and a potential downward trend. A crossover of the KST line above its signal line is considered a buy signal, while a crossover below the signal line is viewed as a sell signal. If the KST stays above zero, it indicates overall bullish momentum; if it remains below zero, it points to bearish momentum. The KST indicator smooths momentum across multiple timeframes, helping to reduce noise and provide clearer signals for medium- to long-term trends.
Next, let’s discuss the short-term trend filter, which combines the Williams Alligator and Williams Fractals. Williams Alligator
Developed by Bill Williams, the Alligator is a technical indicator that identifies trends and potential market reversals. It consists of three smoothed moving averages:
Jaw (Blue Line): The slowest of the three, based on a 13-period smoothed moving average shifted 8 bars ahead.
Teeth (Red Line): The medium-speed line, derived from an 8-period smoothed moving average shifted 5 bars forward.
Lips (Green Line): The fastest line, calculated using a 5-period smoothed moving average shifted 3 bars forward.
When the lines diverge and align in order, the "Alligator" is "awake," signaling a strong trend. When the lines overlap or intertwine, the "Alligator" is "asleep," indicating a range-bound or sideways market. This indicator helps traders determine when to enter or avoid trades.
The next indicator is Moving Average. It has a lot of different types which can be chosen to filter trades and the Least Squares MA is used by default settings. Let's briefly explain what is it.
The Least Squares Moving Average (LSMA) — also known as Linear Regression Moving Average — is a trend-following indicator that uses the least squares method to fit a straight line to the price data over a given period, then plots the value of that line at the most recent point. It draws the best-fitting straight line through the past N prices (using linear regression), and then takes the endpoint of that line as the value of the moving average for that bar. The LSMA aims to reduce lag and highlight the current trend more accurately than traditional moving averages like SMA or EMA.
Key Features:
It reacts faster to price changes than most moving averages.
It is smoother and less noisy than short-term EMAs.
It can be used to identify trend direction, momentum, and potential reversal points.
ATR (Average True Range) is a volatility indicator that measures how much an asset typically moves during a given period. It was introduced by J. Welles Wilder and is widely used to assess market volatility, not direction.
To calculate it first of all we need to get True Range (TR), this is the greatest value among:
High - Low
abs(High - Previous Close)
abs(Low - Previous Close)
ATR = MA(TR, n) , where n is number of periods for moving average, in our case equals 14.
ATR shows how much an asset moves on average per candle/bar. A higher ATR means more volatility; a lower ATR means a calmer market.
The Choppiness Index is a technical indicator that quantifies whether the market is trending or choppy (sideways). It doesn't indicate trend direction — only the strength or weakness of a trend. Higher Choppiness Index usually approximates the sideways market, while its low value tells us that there is a high probability of a trend.
Choppiness Index = 100 × log10(ΣATR(n) / (MaxHigh(n) - MinLow(n))) / log10(n)
where:
ΣATR(n) = sum of the Average True Range over n periods
MaxHigh(n) = highest high over n periods
MinLow(n) = lowest low over n periods
log10 = base-10 logarithm
Now let's understand how these indicators work in conjunction and why they were chosen for this strategy. KST indicator approximates current momentum, when it is rising and KST line crosses over the signal line there is high probability that short term trend is reversing to the upside and strategy allows to take part in this potential move. Alligator's jaw (blue) line is used as an approximation of a short term trend, taking trades only above it we want to avoid trading against trend to increase probability that long trade is going to be winning.
Almost the same for Moving Average, but it approximates the long term trend, this is just the additional filter. If we trade in the direction of the long term trend we increase probability that higher risk to reward trade will hit the take profit. Choppiness index is the optional filter, but if it turned on it is used for approximating if now market is in sideways or in trend. On the range bounded market the potential moves are restricted. We want to decrease probability opening trades in such condition avoiding trades if this index is above threshold value.
When trade is open script sets the stop loss and take profit targets. ATR approximates the current volatility, so we can make a decision when to exit a trade based on current market condition, it can increase the probability that strategy will avoid the excessive stop loss hits, but anyway user can setup how many ATRs to use as a stop loss and take profit target. As was said in the Methodology stop loss level is obtained by subtracting number of ATRs from trade opening candle low, while take profit by adding to this candle's close.
Backtest Results
Operating window: Date range of backtests is 2023.01.01 - 2025.05.01. It is chosen to let the strategy to close all opened positions.
Commission and Slippage: Includes a standard Binance commission of 0.1% and accounts for possible slippage over 5 ticks.
Initial capital: 10000 USDT
Percent of capital used in every trade: 60%
Maximum Single Position Loss: -5.53%
Maximum Single Profit: +8.35%
Net Profit: +5175.20 USDT (+51.75%)
Total Trades: 120 (56.67% win rate)
Profit Factor: 1.747
Maximum Accumulated Loss: 1039.89 USDT (-9.1%)
Average Profit per Trade: 43.13 USDT (+0.6%)
Average Trade Duration: 27 hours
These results are obtained with realistic parameters representing trading conditions observed at major exchanges such as Binance and with realistic trading portfolio usage parameters.
How to Use
Add the script to favorites for easy access.
Apply to the desired timeframe and chart (optimal performance observed on 1h BTC/USDT).
Configure settings using the dropdown choice list in the built-in menu.
Set up alerts to automate strategy positions through web hook with the text: {{strategy.order.alert_message}}
Disclaimer:
Educational and informational tool reflecting Skyrexio commitment to informed trading. Past performance does not guarantee future results. Test strategies in a simulated environment before live implementation.
US30 London Breakout V2 US30 London Breakout V2 - Professional Trading Strategy
📊 What is it?
Automated strategy that capitalizes on London range breakouts in US30 (Dow Jones), during NY session, implementing dynamic risk management and intelligent take profits for consistent performance.
⚡ Key Features:
🎯 Dynamic Stop Loss
SL based on actual swing highs/lows
Automatically adapts to market volatility
Smart protection against false breakouts
💰 Calculated Take Profit
Dynamic TP based on risk taken
Configurable ratio (1:1, 1.5:1, 2:1, etc.)
Maximizes profits while controlling risk
📈 Professional Visualization
Clean SL (red) and TP (green) lines that don't connect between sessions
Clear labels with exact values
Real-time statistics table with key metrics
⏰ Session Management
Automatically identifies London range (3am-9am NY time)
Executes trades only during NY session (9am-5pm)
Automatic end-of-day closure
📊 Real-Time Metrics:
Total Trades
Net Profit with $ sign
Win Rate %
R:R Ratio
Max Profit/Loss
Average wins and losses
⚙️ Configurable Inputs:
Lookback: Period to detect swings (default: 20)
TP Ratio: Risk multiplier for TP (default: 1.0)
Sessions: Customizable London and NY timeframes
🎯 Perfect For:
US30/Dow Jones traders
Intraday breakout strategies
Automated risk management
Scalpers and swing traders
💡 Why Choose This Strategy?
✅ Proven Logic: London breakout is a time-tested strategy
✅ Smart Risk Management: Dynamic SL adapts to market conditions
✅ Clean Execution: No repainting, clear entry/exit signals
✅ Professional Grade: Built for serious traders
✅ Plug & Play: Ready to use with optimal default settings
Transform your US30 trading with professional-grade automation!
Panel | Tablo + SMAOSC & Ortalama + Momentum + 4H MTF - STRATEJIMulti-Indicator Strategy Panel – SMAOSC, Momentum & 4H MTF
Overview
This is a custom strategy script that combines several technical indicators such as:
CCI, RSI, Stochastic, OBV, IFT, Momentum, SMA Oscillator
Includes multi-timeframe analysis (4H) for added reliability.
Uses dynamic signal classification with thresholds (e.g., 0.10–0.90 levels).
Comes with risk control via a max drawdown limit (20%).
Logic
The script produces LONG, SHORT, or NONE positions based on a combined normalized score calculated from all indicators.
Drawdown and threshold-based checks are applied to avoid risky trades.
Important Note
This indicator is still in testing phase.
It is not financial advice and should be used with caution and demo environments before real trading.
Trend Channel Breakout StrategyBreakout Strategy: Captures significant daily breakouts, ideal for BTC, where strong moves often follow channel breakouts.
Ticker Pulse Meter + Fear EKG StrategyDescription
The Ticker Pulse Meter + Fear EKG Strategy is a technical analysis tool designed to identify potential entry and exit points for long positions based on price action relative to historical ranges. It combines two proprietary indicators: the Ticker Pulse Meter (TPM), which measures price positioning within short- and long-term ranges, and the Fear EKG, a VIX-inspired oscillator that detects extreme market conditions. The strategy is non-repainting, ensuring signals are generated only on confirmed bars to avoid false positives. Visual enhancements, such as optional moving averages and Bollinger Bands, provide additional context but are not core to the strategy's logic. This script is suitable for traders seeking a systematic approach to capturing momentum and mean-reversion opportunities.
How It Works
The strategy evaluates price action using two key metrics:
Ticker Pulse Meter (TPM): Measures the current price's position within short- and long-term price ranges to identify momentum or overextension.
Fear EKG: Detects extreme selling pressure (akin to "irrational selling") by analyzing price behavior relative to historical lows, inspired by volatility-based oscillators.
Entry signals are generated when specific conditions align, indicating potential buying opportunities. Exits are triggered based on predefined thresholds or partial position closures to manage risk. The strategy supports customizable lookback periods, thresholds, and exit percentages, allowing flexibility across different markets and timeframes. Visual cues, such as entry/exit dots and a position table, enhance usability, while optional overlays like moving averages and Bollinger Bands provide additional chart context.
Calculation Overview
Price Range Calculations:
Short-Term Range: Uses the lowest low (min_price_short) and highest high (max_price_short) over a user-defined short lookback period (lookback_short, default 50 bars).
Long-Term Range: Uses the lowest low (min_price_long) and highest high (max_price_long) over a user-defined long lookback period (lookback_long, default 200 bars).
Percentage Metrics:
pct_above_short: Percentage of the current close above the short-term range.
pct_above_long: Percentage of the current close above the long-term range.
Combined metrics (pct_above_long_above_short, pct_below_long_below_short) normalize price action for signal generation.
Signal Generation:
Long Entry (TPM): Triggered when pct_above_long_above_short crosses above a user-defined threshold (entryThresholdhigh, default 20) and pct_below_long_below_short is below a low threshold (entryThresholdlow, default 40).
Long Entry (Fear EKG): Triggered when pct_below_long_below_short crosses under an extreme threshold (orangeEntryThreshold, default 95), indicating potential oversold conditions.
Long Exit: Triggered when pct_above_long_above_short crosses under a profit-taking level (profitTake, default 95). Partial exits are supported via a user-defined percentage (exitAmt, default 50%).
Non-Repainting Logic: Signals are calculated using data from the previous bar ( ) and only plotted on confirmed bars (barstate.isconfirmed), ensuring reliability.
Visual Enhancements:
Optional moving averages (SMA, EMA, WMA, VWMA, or SMMA) and Bollinger Bands can be enabled for trend context.
A position table displays real-time metrics, including open positions, Fear EKG, and Ticker Pulse values.
Background highlights mark periods of high selling pressure.
Entry Rules
Long Entry:
TPM Signal: Occurs when the price shows strength relative to both short- and long-term ranges, as defined by pct_above_long_above_short crossing above entryThresholdhigh and pct_below_long_below_short below entryThresholdlow.
Fear EKG Signal: Triggered by extreme selling pressure, when pct_below_long_below_short crosses under orangeEntryThreshold. This signal is optional and can be toggled via enable_yellow_signals.
Entries are executed only on confirmed bars to prevent repainting.
Exit Rules
Long Exit: Triggered when pct_above_long_above_short crosses under profitTake.
Partial exits are supported, with the strategy closing a user-defined percentage of the position (exitAmt) up to four times per position (exit_count limit).
Exits can be disabled or adjusted via enable_short_signal and exitPercentage settings.
Inputs
Backtest Start Date: Defines the start of the backtesting period (default: Jan 1, 2017).
Lookback Periods: Short (lookback_short, default 50) and long (lookback_long, default 200) periods for range calculations.
Resolution: Timeframe for price data (default: Daily).
Entry/Exit Thresholds:
entryThresholdhigh (default 20): Threshold for TPM entry.
entryThresholdlow (default 40): Secondary condition for TPM entry.
orangeEntryThreshold (default 95): Threshold for Fear EKG entry.
profitTake (default 95): Exit threshold.
exitAmt (default 50%): Percentage of position to exit.
Visual Options: Toggle for moving averages and Bollinger Bands, with customizable types and lengths.
Notes
The strategy is designed to work across various timeframes and assets, with data sourced from user-selected resolutions (i_res).
Alerts are included for long entry and exit signals, facilitating integration with TradingView's alert system.
The script avoids repainting by using confirmed bar data and shifted calculations ( ).
Visual elements (e.g., SMA, Bollinger Bands) are inspired by standard Pine Script practices and are optional, not integral to the core logic.
Usage
Apply the script to a chart, adjust input settings to suit your trading style, and use the visual cues (entry/exit dots, position table) to monitor signals. Enable alerts for real-time notifications.
Designed to work best on Daily timeframe.
Strateji Paneli + 4H FibonacciStrategy Features and Usage
Time Frames: Our strategy performs best when followed on 4-hour and 15-hour time frames. We recommend using it on Heikin Ashi candles in these time frames for more reliable signals.
Testing Phase: The strategy is currently in the testing phase, so caution is advised when making real trading decisions.
Panel Feature:
The panel displays position information. When the position is "LONG", the total average shows a "BUY" signal,
When the position is "SHORT", the total average shows a "SELL" signal.
Fibonacci Levels and Horizontal Lines:
The horizontal lines in the panel are manually adjusted according to Fibonacci levels.
Key levels used are: 0%, 23.6%, 38.2%, 50%, 61.8%, 78%, and 100%.
The 78% level is particularly significant as a support/resistance point in the strategy.
Usage Recommendation: When using the indicator, check the Fibonacci settings on the panel and track them together with the horizontal lines to improve performance.
CTP - 5M Scalping Strategy v2CTP- 1 MINUTE NASDAQ FUTURES
## Overview
The CTP (Correlation Trading Platform) 5M Scalping Strategy v2 is an advanced algorithmic trading system designed for 5-minute timeframe scalping. This strategy combines multiple technical indicators with sophisticated correlation analysis to identify high-probability entry and exit points in volatile markets.
## Key Features
### Advanced Signal Generation
- Correlation Analysis: Uses composite correlation between price momentum, volume momentum, and RSI to identify market synchronization
### Sophisticated Risk Management
- **Comprehensive Stop Loss**: Percentage-based stop loss with customizable levels
- **Take Profit in Pips**: Precise pip-based profit targets for Nasdaq
- **Trailing Stop**: Dynamic trailing stops that lock in profits as trades move favorably
- **Breakeven Management**: Automatic move to breakeven when trades reach specified profit levels
- **Daily Drawdown Protection**: Automatic position closure when daily drawdown limits are exceeded
### Enhanced Position Management
- **Daily Trade Limits**: Configurable maximum daily trades to prevent overtrading
- **End-of-Day Closure**: Automatic position closure at specified times
- **News Hour Avoidance**: Optional filtering to avoid high-impact news periods
- **Volatility Filtering**: ATR-based volatility analysis to avoid excessive market noise
### Intelligent Market Conditions
- **Trend Strength Analysis**: Differentiates between strong and weak trends for better entry timing
- **RSI Optimization**: Uses RSI extremes (30/70) for additional confirmation
- **Signal Cooldown**: Prevents signal clustering with customizable cooldown periods
- **Market Session Awareness**: Respects trading hours and session-based rules
### Input Parameters
- **Trigger Threshold**: 0.5-0.9 (default: 0.6)
- **Signal Cooldown**: 1-15 bars (default: 3)
- **Stop Loss**: 0.1-1.0% (default: 0.3%)
- **Take Profit**: 4-20 pips (default: 8 pips)
- **Trailing Stop**: 2-15 pips (default: 5 pips)
### Performance Monitoring
- **Real-time Performance Table**: Displays win rate, profit factor, daily trades, and current market status
- **Visual Position Tracking**: Clear visual indicators for long/short positions
- **Comprehensive Alerts**: Detailed entry alerts with price, RSI, and correlation data
## Best Use Cases
- **Timeframe**: Optimized for 1-minute charts
- **Markets**: NASDAQ futures
- **Trading Style**: Intraday scalping with quick entries and exits
- **Risk Profile**: Suitable for moderate to aggressive risk tolerance
- **Session**: Works best during active trading sessions with good liquidity
## Unique Advantages
1. **Multi-Factor Confirmation**: Combines correlation, momentum, trend, and volume analysis
2. **Adaptive Risk Management**: Dynamic position sizing and risk controls
3. **Market Awareness**: Intelligent filtering based on volatility and market conditions
4. **Performance Transparency**: Real-time monitoring of all key metrics
5. **Highly Customizable**: Extensive parameter options for different trading styles
## Installation & Setup
1. Apply to 1-minute NASDAQ ONLY charts for optimal performance
2. Adjust correlation threshold based on market volatility (higher for trending markets)
3. Configure risk parameters according to your account size and risk tolerance
4. Enable alerts for real-time trade notifications
5. Monitor the performance table for strategy effectiveness
## Risk Disclaimer
This strategy involves substantial risk and may not be suitable for all investors. Past performance does not guarantee future results. Always use proper position sizing and never risk more than you can afford to lose.
*Strategy developed for educational and research purposes. Always backtest thoroughly before live trading.*
Baseline TrendBaseline Trend Strategy Overview
Baseline Trend is a crypto-only trading strategy built on straightforward price-based logic: market direction is determined solely by the price’s position relative to a selected baseline open price. No technical indicators like RSI, MACD, or volume are used—this approach is purely focused on price action and position size manipulation.
This strategy is a genuine concept, developed from my own market analysis and logical theory, refined through extensive observation of crypto market behaviour.
While the strategy offers structure and adaptability, it’s important to recognise that no single trading system or indicator fits all market conditions. This tool is meant to support decision-making, not replace it—encouraging traders to stay flexible, informed, and in control of their risk.
Important Usage Note:
This system is intended for crypto markets only.
– When used as an indicator guide, it can be applied to both spot and futures markets.
– However, when used with web-hook automation, it is designed only for futures contracts.
Ensure compatibility with your trading setup before using automation features.
Core Logic: The Baseline
The strategy revolves around the concept of a “Baseline”, with three types available:
Main Baseline: Defines the primary trend direction. If the price is above, go long; if below, go short.
Second Baseline and Third Baseline: Used to measure buying/selling pressure and are key to certain take-profit logic options.
Baselines are customisable to different timeframes—Year, Month, Week, and more—based on available input settings. Structurally, the Main Baseline is the highest-level trend reference, followed by the Second, then Third.
Users can mix and match these baselines across timeframes to backtest crypto symbols and understand behaviour patterns, particularly when used with standard candlestick charts.
Entry & Exit Logic
Entry Signal: Triggered when price crosses over/under a defined distance (percentage) from the Main Baseline. This distance is the Trade Line, calculated based on the close price.
Exit Signal / Stop Loss: If price moves un-favorable and crosses over/under the Stop Loss Line (a defined distance from the Main Baseline), the open position will be force-closed according to user-defined settings.
LiqC (Liquidation Cut)
LiqC is a secondary stop-loss that activates when a leveraged position’s loss equals or exceeds the user-defined liquidation threshold. It forcefully closes the position to help prevent full liquidation before stop-loss, providing an extra layer of protection.
This LiqC is directly tied to the leverage level set by the user. Please ensure you understand how leverage affects liquidation risk, as different broker exchanges may use different liquidation ratio models. Using incorrect assumptions or mismatched leverage values may result in unexpected behaviour.
Position Sizing & Block Units
This strategy features a block-based position sizing system designed for flexibility and precision in trade management:
Block Range: Customisable from 1 to 10 blocks
Risk Allocation: Controlled through a user-defined ROE (Risk of Equity) value
For example, setting an ROE of 0.1% with 10 blocks allocates a total of 1% of account equity to the position. This structure supports both conservative and aggressive risk approaches, depending on user preference.
Block sizes are automatically calculated in alignment with exchange requirements, using Minimum Notional Value (MNV) and Minimum Trade Amount (MTA). These values are dynamically calculated based on the live market price, and scaled relative to the trader’s balance and selected risk percentage. This ensures accurate sizing with built-in adaptability for any account level and current market conditions.
Scalping Meets Trend Holding
This system blends short-term scalping with longer-term trend holding, offering a flexible and adaptive trading style.
Example:
Enter 10 blocks → take quick profits on 5 blocks → let the remaining 5 ride the trend.
This dual-layered approach allows traders to secure early gains while staying positioned for larger market moves. Think of it as:
5 Blocks to Protect: Capture quick wins and manage exposure.
5 Blocks to Pursue: Let profits run by following the broader trend.
By combining both protection and pursuit, the strategy supports risk control without sacrificing the potential for extended returns.
Flexible Take-Profit Logic
The strategy supports multiple, customisable take-profit mechanisms:
TP1–4 (Profit Percentage)
Triggers take profit of 1 block unit when unrealised gains reach defined percentage thresholds (TP1, TP2, TP3, TP4).
Buying/Selling Pressure-Based Take Profit
D1 – Pressure 1
Measures pressure between Second and Third Baselines.
If the distance between them exceeds a user-defined DPT (Decrease Post Threshold) and the price moves far enough from the Third Baseline, D1 activates to take profit or scale out one block.
D2 – Pressure 2
Measures pressure between the Main and Second Baselines.
Works similarly to D1, using a separate distance and pressure trigger.
Note: Both D1 and D2 deactivate in reversal or even trend conditions.
D3–5: High-High / Low-Low Logic
Based on bar index tracking after position entry:
For Long Positions: If after D3 bars the price doesn't exceed the previous bar's high, the system executes a take profit or scale-out.
For Short Positions: If the price doesn't drop below the previous low, the same logic applies.
This approach adds time-based and momentum-aware exit flexibility.
Leverage & Liquidation Risk
When backtesting with leverage enabled, the system checks whether historical candles exceed the liquidation range, calculated based on the average entry price and the leverage input. If the Liquidation Risk Count exceeds 1, profit and loss accuracy may be affected. Traders are encouraged to monitor this count closely to ensure realistic backtesting results.
Since the system cannot directly control or sync with your broker exchange’s actual leverage setting, it’s important to manually match the system’s leverage input with your broker’s configured leverage.
For example: If the system leverage input is set to 10, your exchange leverage setting must also be set to 10. Any mismatch will lead to inaccurate liquidation risk and PnL calculations.
Backtesting and Customisation
All TP1–4 and D1–5 functions are fully optional and customisable. Users are encouraged to backtest different crypto symbols to observe how price behaviour aligns with baseline structures and pressure metrics.
Each of the TP1–4 and D1–5 triggers is designed to execute only once per open position, ensuring controlled and predictable behaviour within each trade cycle.
Since backtesting is based on available historical bar data, please note that data availability varies depending on your TradingView subscription plan. For more reliable insights, it’s recommended to backtest across multiple time ranges, not just the full dataset, to assess the stability and consistency of the strategy’s performance over time.
Additionally, the time frame resolution interval in TradingView is customisable. For best results, use commonly supported time frames such as 30 minutes, 1 hour, 4 hours, 1 day, or 1 week. While the system is designed to support a broad range of intervals, non-standard resolutions may still cause calculation errors.
Currently, the system supports the following resolution ranges:
Intraday: from 1 minute to 720 minutes
(e.g., 60 minutes = 1 hour, 240 minutes = 4 hours, 720 minutes = 12 hours)
Daily: from 1 day to 6 days
Weekly: from 1 week to 3 weeks
Monthly: from 1 month to 4 months
Although the script is built to adapt to various resolutions, users should still monitor output behaviour closely, especially when testing less common or edge-case time frames.
System Usage Notice:
This system can be used as a standalone trading indicator or integrated with an exchange that supports web-hook signal execution. If you choose to automate trades via web-hook, please ensure you fully understand how to configure the setup properly. Web-hook integration methods vary between exchanges, and incorrect setup may lead to unintended trades. Users are responsible for ensuring proper configuration and monitoring of their automation.
Note on Lower Time Frame Usage
When using lower time frames (e.g., 1-minute charts) as the trading time frame, please be aware that available historical data may be limited depending on your subscription plan. This can affect the depth and reliability of backtesting, making it harder to establish a trustworthy probability model for a symbol’s behaviour over time.
Additionally, when pairing a high-level Main Baseline (MBL) time line (such as "1 Month") with low time frame resolutions (like 1-minute), you may encounter order execution limits or calculation overloads during backtesting. This is due to the large number of historical bars required, which can strain the system's capacity.
That said, if a user intentionally chooses to work with lower time frames, that decision is fully respected—but it should be done with awareness and at the user’s own risk.
Things to Be Aware Of (Web-hook Usage Only)
The following points apply if you're using web-hook automation to send signals from the system to an exchange:
Alert Signal Reliability
During extreme market volatility, some broker exchanges may fail to respond to web-hook signals due to traffic overload. While rare, this has occurred in the past and should be considered when relying on automation.
Alert Expiration (TradingView)
If you're on a Basic plan, TradingView alerts are only active for a limited time—typically around 1.5 months. Once expired, signals will no longer be sent out.
To keep your system active, reset the alert before expiration. For uninterrupted alerts, consider upgrading to a Premium plan, which supports permanent alert activation.
TradingView Alert Maintenance
TradingView may occasionally perform system maintenance, during which alerts may temporarily stop functioning. It’s recommended to monitor TradingView’s status if you’re relying on real-time automation.
Repainting
As of the current version, no repainting behaviour has been observed. Signal stability and consistency have been maintained across real-time and historical bars.
Order Execution Type and Fill Logic
All signals use Limit orders by default, except for MBL Exit and Fallback execution, which use Market orders.
Since Limit orders are not guaranteed to fill, the system includes logic to cancel unfilled orders and resend them. If necessary, a Fallback Market order is used to avoid conflict with new incoming trades.
This has only happened once, and is considered rare, but users should always monitor execution status to ensure accuracy and alignment with system behaviour.
Feedback
If you encounter any errors, bugs, or unexpected behaviour while using the system, please don’t hesitate to let me know. Your input is invaluable for helping improve the strategy in future updates.
Likewise, if you have any suggestions or ideas for enhancing the system—whether it’s a new feature, adjustment, or usability improvement—please feel free to share. Together, we can continue refining the tool to make it more robust and beneficial for everyone.
Disclaimer
All trading involves risk, particularly in the crypto market where conditions can be highly volatile. Past performance does not guarantee future outcomes, and market behaviour may evolve over time. This strategy is offered as a tool to support trading decisions and should not be considered financial or investment advice. Each user is responsible for their own actions and accepts full responsibility for any results that may arise from using this system.