PROTECTED SOURCE SCRIPT

No-Lag MA Crossover Scalper

Mis à jour
The No Lag Crossover Scalper aims to capitalize on short-term trends using a combination of Hull Moving Average (HMA) for trend detection and multiple indicators for generating buy and sell signals. Here’s an overview of its components and approach:

1. Trend Detection with Hull Moving Averages (HMA):
- Dual Hull MA Setup: Uses two Hull Moving Averages (HMA) to detect crossovers and crossunders, which are signals of short-term trend changes.
- No Lag Nature: HMAs are chosen for their ability to reduce lag compared to traditional moving averages, providing quicker responses to price movements.

2. Indicators for Signal Generation:
- Relative Strength Index (RSI): Detects overbought and oversold conditions, generating signals when price movements diverge from RSI readings.
- Moving Average Convergence Divergence (MACD): Provides signals based on the convergence and divergence of two moving averages, indicating potential trend reversals.
- Stochastic Oscillator (Stoch): Identifies momentum shifts by comparing the current closing price to its range over a specific period.
- On-Balance Volume (OBV): Measures buying and selling pressure based on volume flow, signaling potential changes in price direction.
- RSI Divergence: Looks for discrepancies between price action and RSI values, suggesting weakening trends and possible reversals.

3. Signal Generation Logic:
- Buy Signals: Generated when both HMAs cross over, supported by bullish indications from RSI, MACD, Stoch, OBV, or RSI divergence. At least 2 indicators must be true to generate a signal.
- Sell Signals: Triggered when HMAs cross under, complemented by bearish signals from the mentioned indicators.

4. Implementation and Optimization:
- Parameter Optimization: Fine-tuning of indicator periods and sensitivity settings to balance signal accuracy and responsiveness.
- Confirmation Mechanisms: Use of multiple indicators to confirm signals, reducing false positives and enhancing reliability.

Overall, the No Lag Crossover Scalper combines the speed of Hull Moving Averages with the reliability of multiple indicators to identify short-term trends effectively. By focusing on no lag indicators and confirming signals with diverse technical tools, it aims to capitalize on rapid market movements while managing risk through disciplined execution.

Credits: used TradingView ta library for a lot of the built-in indicators.

Disclaimer: This is still experimental beta version so use at your own risk.
Notes de version
Added better detection for choppy market by using bollinger band squeeze and ADX < 25. This allows users to avoid enter an calls/puts during choppy market.

you can enable/disable choppy market detection which turns the MA line into yellow for choppy market.
Notes de version
Fix minor bug on rsi divergence lookup period.
Notes de version
Bug fix: Fixed signal offset due to bug in divergence calculation.

Upcoming update: Integration with TTM squeeze so that MA line is yellow when TTM squeeze is on to further inform users of choppy market
Notes de version
added TTM squeeze as part of choppiness check.
Notes de version
Added tooltip to for different settings
Notes de version
performance improvements by calling all the data from request.security to improve loading/rendering.
Notes de version
misc performance updates
Notes de version
performance improvements.
Notes de version
Added support for hidden divergence to allow trend continuation confirmation.
Notes de version
Multi Timeframe support.

Filter alerts based on multi timeframe. This ensure you trade with the overall trend.
Notes de version
Added multi-timeframe validation using RSI, Stochastic, and MACD, along with Hull Moving Average for trend confirmation, enhances trading precision by combining momentum indicators with trend-following tools across different timeframes, ensuring robust entry and exit signals aligned with broader market trends. This approach helps mitigate false signals and improves the reliability of trading decisions based on both momentum and trend strength indicators.
Notes de version
Added ability to toggle adaptive MA which converts selected MA to AMA.

The Adaptive Moving Average (AMA) for Hull Moving Average (HMA) dynamically adjusts its smoothing factor using ATR, enhancing its responsiveness and accuracy in volatile markets. This approach minimizes lag and efficiently captures market trends, making it highly effective for timely trading decisions.
Notes de version
Fixed bugs on MTF where signals are not filtered properly.
Notes de version
Add ability to turn on/off MTF validation.

MTF validation using RSI, MACD, Stoch and OBV reduces the signals since it needs to confirm signals on both MTF and LTF.
Notes de version
Added options to use bands instead of line for the double moving average to help identify trend change for taking profit.
Notes de version
Added more options:

MA Indicator type as MA bands, colored candle based on MA trend, and MA lines (original).

This should help when scalping as we can take profit when trend change.
Notes de version
Minor organization of settings to differentiate trend controls vs signal controls.
Notes de version
Fixed MACD parameter issues
crossovertradingDouble Exponential Moving Average (DEMA)Hull Moving Average (HMA)movingaveragecrossoverscalperTriple Exponential Moving Average (TEMA)trendtrading

Script protégé

Ce script est publié en code source fermé et vous pouvez l'utiliser librement. Vous pouvez le préférer pour l'utiliser sur un graphique. Vous ne pouvez pas visualiser ou modifier son code source.

Vous voulez utiliser ce script sur un graphique ?

Clause de non-responsabilité