PROTECTED SOURCE SCRIPT

No-Lag MA Crossover Scalper

By johnamcruz
Uppdaterad
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.
Versionsinformation
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.
Versionsinformation
Fix minor bug on rsi divergence lookup period.
Versionsinformation
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
Versionsinformation
added TTM squeeze as part of choppiness check.
Versionsinformation
Added tooltip to for different settings
Versionsinformation
performance improvements by calling all the data from request.security to improve loading/rendering.
Versionsinformation
misc performance updates
Versionsinformation
performance improvements.
Versionsinformation
Added support for hidden divergence to allow trend continuation confirmation.
Versionsinformation
Multi Timeframe support.

Filter alerts based on multi timeframe. This ensure you trade with the overall trend.
Versionsinformation
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.
Versionsinformation
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.
Versionsinformation
Fixed bugs on MTF where signals are not filtered properly.
Versionsinformation
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.
Versionsinformation
Added options to use bands instead of line for the double moving average to help identify trend change for taking profit.
Versionsinformation
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.
Versionsinformation
Minor organization of settings to differentiate trend controls vs signal controls.
Versionsinformation
Fixed MACD parameter issues
crossovertradingDouble Exponential Moving Average (DEMA)Hull Moving Average (HMA)movingaveragecrossoverscalperTriple Exponential Moving Average (TEMA)trendtrading

Skyddat skript

This script is published closed-source and you may privately use it freely.

Vill du använda det här skriptet i ett diagram?

Frånsägelse av ansvar