First Continuation Strategy w/ Partial SL (Corrected)EMA Distance
8/21 Cross
B/S for initial change in signal
b/s yellow for price action second confirm.
Moving Averages
EMA Cross Strategy only Long📈 EMA Cross Strategy – Only Long
Simple. Clean. Powerful. Designed for strong uptrends.
This is a long-only trend-following strategy based on the classic crossover of Exponential Moving Averages (EMAs). It’s designed for growth stocks and trending assets where upward momentum dominates.
⚙️ How it works:
Entry: when the Fast EMA crosses above the Slow EMA
Exit: when the Fast EMA crosses below the Slow EMA
No shorts, no reversals – just pure trend riding.
By default, the strategy uses 50/100 EMA, which has performed exceptionally well on stocks like NVIDIA (NVDA). These settings can be easily customized to fit your preferred asset or timeframe.
📊 Backtest Example – NVIDIA (NVDA, 1D timeframe)
Test parameters:
Initial capital: $10,000
Order size: 50% of equity per trade (adjustable in settings)
Results:
Net profit: +$2,037,563.63 USD
Gross profit: $2,127,432.33
Gross loss: $89,868.70
Max equity growth: $2,708,648.75 (+99.63%)
Drawdown: 20.00%
Buy & Hold profit: +$30,636,000 USD (but with far more exposure)
The strategy dramatically outperformed passive holding on a risk-adjusted basis, while keeping drawdowns and trade count under control.
🔧 Customization & Risk Management
In the Strategy Settings, you can adjust:
EMA lengths (default: 50 fast, 100 slow)
Order size as a % of equity (e.g., reduce below 50% to lower drawdown)
Backtest range and asset type (works well on growth stocks and trending commodities)
Try this on assets with strong bullish cycles like NVDA, AAPL, MSFT, or Gold (XAU/USD).
⚠️ Disclaimer
This script is for educational and backtesting purposes only. It is not financial advice. Please do your own research and test carefully before trading live.
Moving Average Convergence-Divergence (MACD)This script implements the Moving Average Convergence-Divergence (MACD), a popular momentum indicator used in technical analysis to identify trend direction, momentum shifts, and potential buy/sell signals.
🔹 Key Features
1. Inputs & Customization
MACD Lines Toggle: Enable/disable the MACD and signal lines.
Source Price: Defaults to close but can be adjusted (e.g., open, high, low, hl2).
Fast Length (12): The period for the faster-moving EMA.
Slow Length (26): The period for the slower-moving EMA.
Signal Length (9): The smoothing period for the signal line.
2. Calculations
Computes the MACD Line (fast EMA - slow EMA).
Computes the Signal Line (EMA of the MACD line).
Computes the Histogram (difference between MACD and Signal lines).
3. Visual Indicators
Zero Line: A white horizontal line at 0 for reference.
MACD Line: Plotted in green when above the signal line, red when below.
Signal Line: Displayed as a yellow line.
Histogram:
Green bars when MACD > Signal (bullish momentum).
Red bars when MACD < Signal (bearish momentum).
Background Highlights:
Light green on bullish crossovers (MACD crosses above Signal).
Light red on bearish crossunders (MACD crosses below Signal).
4. Alerts
Triggers when:
Bullish Crossover (MACD crosses above Signal).
Bearish Crossunder (MACD crosses below Signal).
🔹 How Traders Use This Indicator
Trend Identification:
MACD above zero → bullish trend.
MACD below zero → bearish trend.
Momentum Signals:
Bullish Crossover (Buy Signal): MACD crosses above Signal.
Bearish Crossunder (Sell Signal): MACD crosses below Signal.
Divergence (Not in this script, but useful):
Price makes higher highs, but MACD makes lower highs → Potential reversal.
🔹 Strengths of This Script
✅ Clean and Efficient Code – Uses Pine Script v6 best practices.
✅ Customizable Inputs – Adjust lengths and source price.
✅ Clear Visuals – Color-coded for easy interpretation.
✅ Built-in Alerts – For automated trading strategies.
RAHA Indicator📈 RAHA Indicator
Roni's Adjusted Hybrid Average
The indicator developed by Aaron Roni Pesach combines an innovative RAHA average - an adjusted hybrid average with smart trend analysis, using additional oscillators in a sophisticated way.
LONG and SHORT signals are given only when:
✅ Technical conditions confirm
✅ And the long-term trend is consistent
RAHA Indicator helps traders identify entry points while filtering out noise and market anomalies.
📈 RAHA Indicator
Roni's Adjusted Hybrid Average
האינדיקטור שפותח על ידי אהרון רוני פסח משלב ממוצע חדשני מסוג RAHA - ממוצע היברידי מתואם עם ניתוח מגמה חכם, באמצעות שימוש במתנדים נוספים באופן מתוחכם.
איתותי LONG ו‑SHORT ניתנים רק כאשר:
✅ התנאים הטכניים מאשרים
✅ והמגמה בטווח ארוך תואמת
RAHA Indicator מסייע לסוחרים לזהות נקודות כניסה תוך סינון רעשים וחריגות שוק.
Tuga SupertrendDescription
This strategy uses the Supertrend indicator enhanced with commission and slippage filters to capture trends on the daily chart. It’s designed to work on any asset but is especially effective in markets with consistent movements.
Use the date inputs to set the backtest period (default: from January 1, 2018, through today, June 30, 2025).
The default input values are optimized for the daily chart. For other timeframes, adjust the parameters to suit the asset you’re testing.
Release Notes
June 30, 2025
• Updated default backtest period to end on June 30, 2025.
• Default commission adjusted to 0.1 %.
• Slippage set to 3 ticks.
• Default slippage set to 3 ticks.
• Simplified the strategy name to “Tuga Supertrend”.
Default Parameters
Parameter Default Value
Supertrend Period 10
Multiplier (Factor) 3
Commission 0.1 %
Slippage 3 ticks
Start Date January 1, 2018
End Date June 30, 2025
V8 Momentum Indicator - X CrossEMA Distance
8/21 Cross
B/S for initial change in signal
b/s yellow for price action second confirm.
Umile Indicatore – RSI + Stocastico + EMAs🔍 Overview: Multi-Signal Momentum Indicator
This custom TradingView indicator is a comprehensive technical toolkit combining:
RSI (Relative Strength Index)
Stochastic Oscillator with volume filter
Multi-period EMAs (Exponential Moving Averages)
Customizable visual BUY/SELL signals
It’s designed to detect potential momentum shifts, overbought/oversold conditions, and trend alignment, helping traders identify high-probability entries and exits based on layered confirmations.
🧠 Components Explained
✅ 1. RSI Logic
Detects price momentum and potential reversal zones.
Triggers a BUY signal when RSI crosses above a user-defined oversold level.
Triggers a SELL signal when RSI crosses below an overbought threshold.
You can choose the visual symbol (triangle, circle, or arrow) and set the color for each signal.
✅ 2. Stochastic Oscillator + Volume Filter
Identifies turning points based on the relationship between %K and %D lines.
Signals are only valid if:
A crossover occurs (e.g., %K crosses above %D for a BUY)
Price is in an extreme zone (below oversold or above overbought)
Volume is above its moving average — to filter out weak signals.
Also comes with symbol and color customization.
✅ 3. Exponential Moving Averages (EMAs)
Plots multiple EMAs: 50, 100, 144, 200, 300, 500, 1000.
These help assess trend strength and directional bias.
You can toggle the visibility of EMAs if needed.
✅ 4. Visual & Style Customization
Each signal type (RSI and Stochastic) allows:
Selection of plot shape: triangle, circle, or arrow
Custom BUY/SELL colors
Levels like RSI/Stoch overbought and oversold zones are also plotted for reference.
🎯 How to Use It
Look for confluence between RSI and Stochastic signals to validate entries.
Use EMAs as trend filters — e.g., only take long signals when price is above EMA200.
The volume filter on Stochastic helps reduce false signals in low-activity markets.
V8 Momentum Indicator - FinalEMA Distance
8/21 Cross
B/S for initial change in signal
b/s yellow for price action second confirm.
V8 On-Chart Signals
EMA Distance & 8/21 Cross B/S for initial change in signal
b/s yellow for price action second confirm.
V8 Momentum Indicator (Corrected)-EMA Distance
-B/S for Buy and SELL with 8/20 cross
-small b/s in yellow for price action BUY signal
V7 Momentum Indicator (Initial & Continuation)-EMA Distance
-B and S for 8/21 cross plus momentum
-added small b for continuation of trend
Z-scored ZLEMA | OquantZ-Scored ZLEMA | Oquant
This indicator combines the Zero-Lag Exponential Moving Average (ZLEMA) with Z-score normalization to present recent ZLEMA values relative to its mean. It helps users observe trend direction and momentum with reduced lag, while also highlighting potential overbought or oversold levels based on how far ZLEMA values deviate from their mean.
🧠 Concept Overview
📉 Zero Lag Exponential Moving Average (ZLEMA)
The EMA is a popular tool that calculates an average price, but unlike a simple moving average, it gives more weight to recent prices. This means the EMA reacts faster to new price changes and is less affected by older data. However, even with this weighting, the EMA still introduces some lag.
ZLEMA improves on the EMA by reducing this lag. It does this by adjusting how it accounts for previous prices, effectively "shifting" the data to better align the average with current market action. The result is an average that stays smooth but responds more quickly to real price changes—helping traders spot turning points or trend shifts earlier without being fooled by random noise.
📏 Z-score Normalization
Once ZLEMA is calculated, the indicator applies Z-score normalization to measure how far the current ZLEMA value is from its mean. The Z-score expresses this difference using standard deviations, providing a clear, standardized scale. This helps highlight when price moves are unusually strong—either upward or downward—beyond normal fluctuations.
🔍 How This Indicator Works
Smooth Price Data with ZLEMA
The indicator begins by applying the Zero-Lag Exponential Moving Average (ZLEMA) to the chosen price data. Unlike a regular moving average, ZLEMA reduces the typical delay by adjusting the input data before averaging. It does this by "shifting" the price series to remove the lag caused by older prices. This way, ZLEMA stays smooth but reacts more quickly to recent price changes—helping the indicator follow market moves faster without being too noisy.
Normalize ZLEMA values Using Z-score
Once ZLEMA is calculated, the indicator applies Z-score normalization to measure how far the current ZLEMA value is from its mean. The Z-score expresses this difference in terms of standard deviations, creating a clear, standardized scale. This helps highlight when price moves are unusually strong—either up or down—beyond normal fluctuations.
Set Signal Thresholds
Two threshold levels are set on the Z-score scale—crossing above the upper threshold is considered a long (buy) signal, indicating bullish momentum, while crossing below the lower threshold is considered a short (sell) signal, indicating bearish momentum.
Show Visual Signals on the Chart
The Z-score and bars are plotted with colors: green when Z-score is above the bullish threshold, purple when Z-score is below the bearish threshold.
⚙️ Customizable Inputs
Source: Choose the price source (close, open, etc.) for calculations.
ZLEMA Length: Adjust the ZLEMA length to control smoothness versus responsiveness.
Z-score period: Set the Z-score period to define how far back the indicator measures normal price behavior.
Thresholds: Adjust the upper and lower thresholds to control how sensitive the indicator is to strong momentum changes.
📈 Practical Use
This indicator helps identify trend directions and changes faster by combining ZLEMA with statistical analysis. It highlights when price moves are stronger than normal, making it easier to spot early signs of momentum shifts. Traders can use it to confirm trends or detect potential reversals with more timely signals.
🔔 Alert Support
This indicator includes optional built-in alert conditions that notify you when the Z-score crosses above the bullish threshold (long signal) or below the bearish threshold (short signal). You can enable these alerts to get timely updates on potential momentum shifts without constantly watching the chart.
⚠️ Disclaimer: This indicator is intended for educational and informational purposes only. Trading/investing involves risk, and past performance does not guarantee future results. Always test and evaluate indicators/strategies before applying them in live markets. Use at your own risk.
[L0!FT] bartrulez Buy/Sell Indicator Sequential bartrulez Buy/Sell Indicator Sequential - 14 Days RSI, 200 SMA + SELL & BUY Signals
EMA 21 Distance Hist - Diamonds V5- Distance from 20 EMA.
- Buy/Sell Signal if momentum + 8/21 cross.
Moving Average ExponentialThis indicator plots 8 Exponential Moving Averages (EMAs) with customizable lengths: 20, 25, 30, 35, 40, 45, 50, and 55. It also includes optional smoothing using various moving average types (SMA, EMA, WMA, etc.) and an optional Bollinger Bands overlay based on the EMA. It helps identify trend direction, momentum, and potential reversal zones.
ZYTX GKDDThe ZYTX High-Sell Low-Buy Indicator Strategy is a trend-following indicator that integrates multiple indicator resonances. It demonstrates the perfect performance of an automated trading robot, truly achieving the high-sell low-buy strategy in trading.
ZYTX SuperTrend V1ZYTX SuperTrend V1 Indicator
Multi-strategy intelligent rebalancing with >95% win rate
Enables 24/7 automated trading
ZYTX CCI SuperTrendZYTX CCI SuperTrend
The definitive integration of CCI and SuperTrend trend-following indicators, delivering exemplary performance in automated trading bots.
ADX > 20 and Price Rejection from 50 SMAindicator to show price rejections at 50 SMA with adx above 20
Historical Volatility with HV Average & High/Low TrendlinesHere's a detailed description of your Pine Script indicator:
---
### 📊 **Indicator Title**: Historical Volatility with HV Average & High/Low Trendlines
**Version**: Pine Script v5
**Purpose**:
This script visualizes market volatility using **Historical Volatility (HV)** and enhances analysis by:
* Showing a **moving average** of HV to identify volatility trends.
* Marking **high and low trendlines** to highlight extremes in volatility over a selected period.
---
### 🔧 **Inputs**:
1. **HV Length (`length`)**:
Controls how many bars are used to calculate Historical Volatility.
*(Default: 10)*
2. **Average Length (`avgLength`)**:
Number of bars used for calculating the moving average of HV.
*(Default: 20)*
3. **Trendline Lookback Period (`trendLookback`)**:
Number of bars to look back for calculating the highest and lowest values of HV.
*(Default: 100)*
---
### 📈 **Core Calculations**:
1. **Historical Volatility (`hv`)**:
$$
HV = 100 \times \text{stdev}\left(\ln\left(\frac{\text{close}}{\text{close} }\right), \text{length}\right) \times \sqrt{\frac{365}{\text{period}}}
$$
* Measures how much the stock price fluctuates.
* Adjusts annualization factor depending on whether it's intraday or daily.
2. **HV Moving Average (`hvAvg`)**:
A simple moving average (SMA) of HV over the selected `avgLength`.
3. **HV High & Low Trendlines**:
* `hvHigh`: Highest HV value over the last `trendLookback` bars.
* `hvLow`: Lowest HV value over the last `trendLookback` bars.
---
### 🖍️ **Visual Plots**:
* 🔵 **HV**: Blue line showing raw Historical Volatility.
* 🔴 **HV Average**: Red line (thicker) indicating smoothed HV trend.
* 🟢 **HV High**: Green horizontal line marking volatility peaks.
* 🟠 **HV Low**: Orange horizontal line marking volatility lows.
---
### ✅ **Usage**:
* **High HV**: Indicates increased risk or potential breakout conditions.
* **Low HV**: Suggests consolidation or calm markets.
* **Cross of HV above Average**: May signal rising volatility (e.g., before breakout).
* **Touching High/Low Levels**: Helps identify volatility extremes and possible reversal zones.
---
Let me know if you’d like to add:
* Alerts when HV crosses its average.
* Shaded bands or histogram visualization.
* Bollinger Bands for HV.
Exponential Moving Averages📘 Exponential Moving Averages – Clean & Focused Trend Tool
This script displays five Exponential Moving Averages (EMAs) — 10, 20, 50, 100, and 200 — that are commonly used by professional traders to identify short-, medium-, and long-term trend directions. It offers a simple, no-setup-needed solution for visualizing market momentum and price structure on any timeframe.
🧠 Why This Script Was Created
Previously, many users faced confusion with built-in moving average scripts, where they had to manually change the type to EMA from the default SMA (Simple Moving Average). This extra step was unintuitive for newer users and could lead to misinterpretation of signals.
To solve this, we’ve created a dedicated script that only plots Exponential Moving Averages — no configuration needed. EMAs are more responsive to price changes and widely used in real-world trading setups, especially for intraday and swing strategies.
🔍 How It Works
EMA 10 & 20 – Detect short-term momentum shifts.
EMA 50 & 100 – Help visualize medium-term trend strength.
EMA 200 – Tracks long-term trend direction and institutional positioning.
Each EMA is plotted with distinct colors and line thickness to make trend tracking fast and intuitive.
⚙️ How to Use
Use across any timeframe (5m, 1H, 1D, etc.).
Watch for crossovers between shorter and longer EMAs.
Observe price interaction with EMAs as dynamic support/resistance levels.
Combine with other tools like RSI, volume, or price action patterns for confirmation.
🌟 What Makes It Unique
No settings confusion: Always uses EMA — no manual adjustments needed.
Multiple EMAs in one: Avoid clutter by combining essential levels in a clean overlay.
Practical by design: Built for traders who prefer responsive, real-time trend signals.
🔁 EMA 3/21 Crossover Strategy — Exit on Opposite SignalEMA 3/21 Crossover Strategy — Exit on Opposite Signal
This strategy enters trades based on a crossover between two exponential moving averages:
Buy Entry: When the 3-period EMA crosses above the 21-period EMA
Sell Entry: When the 3-period EMA crosses below the 21-period EMA
Exit Rule: Positions are exited only when an opposite signal occurs (i.e., a new crossover in the other direction)
Key Features:
Designed for trend-following setups
Uses ATR-based SL/TP lines for visual reference only (trades do not auto-close at SL/TP)
Suitable for manual or automated trading logic with high trade clarity
Can be applied on any timeframe and any liquid instrument (Forex, crypto, indices, etc.)
Recommended Use:
Combine with volume or session filters for improved signal quality
Ideal for traders seeking clear entry/exit rules with minimal noise
Best on trending instruments and medium timeframes (USDJPY; Daily)
TRAPPER Volume Trigger + SMAs + Buy/Sell SplitThe TRAPPER TRIGGER is a precision-based volume spike indicator designed for intraday traders, scalpers, and swing traders who rely on key volume activity to anticipate sharp market movements. It operates on volume delta logic, detecting disproportionate buying or selling activity that signifies potential market reversals or breakouts.
How It Works:
Volume Spike Logic (Delta-Based)
The script calculates a dynamic volume threshold using a moving average of historical volume data.
It identifies a delta spike by comparing current volume against this threshold—when volume exceeds it significantly, it suggests abnormal activity.
If the candle closes higher than it opens (bullish), the script registers it as a Buy Spike ⚖️.
If the candle closes lower than it opens (bearish), it marks a Sell Spike 🏁.
These are not based on the candle’s body size but the volume differential (delta) between buy/sell pressure inferred from candle direction.
Trigger Labels
Only the most recent buy/sell spike is labeled for clarity, avoiding clutter.
Labels are color-coded to match the candle body (e.g., bright green for bullish, magenta for bearish).
Label style: ⚖️ for Buy Spikes, 🏁 for Sell Spikes.
SMA Suite (Fully Customizable):
Six SMAs: 5 (yellow), 10 (blue), 20 (green), 50 (orange), 100 (red), 200 (white).
Each can be toggled and customized in the script settings for visibility and styling.
Key Benefits
Clean, minimalistic charting — focuses only on high-probability events.
Provides delta-driven insights without requiring access to full L2 order book data.
Works across any timeframe — logic recalculates and resets zones per timeframe switch.
Designed for sniper-style entries—ideal for traders who prefer minimal noise and maximum signal clarity.
Easily extendable with SR zones, AVWAP, liquidity levels, or alerts if desired in future updates.
Who It’s For
Scalpers and intraday traders looking for clean triggers.
Swing traders wanting confirmation of institutional moves.
Volume profile enthusiasts who need a trigger alert system.
Developers who want a base volume framework to build more advanced tools on.
Disclaimer
This script is provided as-is and is intended for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any security or asset.
All trading involves risk. Users should perform their own due diligence and consult with a qualified financial advisor before making any trading decisions. The author of this script assumes no liability for any losses or damages arising from the use or reliance on this tool.
By using this script, you acknowledge and agree that you are solely responsible for your own trading decisions and outcomes.