Metatrader CalculatorThe “ Metatrader Calculator ” indicator calculates the position size, risk, and potential gain of a trade, taking into account the account balance, risk percentage, entry price, stop loss price, and risk/reward ratio. It supports the XAUUSD, XAGUSD, and BTCUSD pairs, automatically calculating the position size (in lots) based on these parameters. The calculation is displayed in a table on the chart, showing the lot size, loss in dollars, and potential gain based on the defined risk.
تحليل الاتجاه
H1 Candle Reference + n Pips TargetThis indicator uses the H1 candle at a specified time (default 8:00) to set daily reference levels. It captures the high and low of the 8:00 H1 candle and displays them as blue horizontal lines across all timeframes for the rest of the day. Additionally, it plots two red target lines, set a fixed number of ticks above and below these reference levels.
Normalized Mean ReversionA script that can help identify potential mean reversion opportunities using a Simple Moving Average (SMA) as the mean. This script will plot the SMA and highlight when the price deviates significantly from it, which could indicate a potential mean reversion setup.
FRACTAL DIMENSIONSFRACTAL DIMENSIONS was created to allow us to properly visualize
the higher time frame dimensional data, While remaining on a lower
time frame. The Fractal dimensions are basically the higher time frames.
Remaining on a lower time frame allows us to get tighter entries and exits.
Each dimension is set in a wave degree formation. From primary to sub-minute,
depending on the time frame being utilized.
These multidimensional wave degrees will be utilized later in the strategy.
This indicator was broken off of the whole for the sake of drawing lines.
The data here is just for debugging purposes and is not used in the strategy,
but yet remains pretty awesome by itself.
Fractal dimensions is the foundation of the main strategy to come.
Now that we have this data, what are we going to do with it?
Dual MACD Strategy [Jason Kasei]Dual MACD Design:
MACD1 (Short-Term): Default fast length of 34, slow length of 144, and signal smoothing of 9, used to detect short-term trend changes.
MACD2 (Long-Term): Default fast length of 100, slow length of 200, and signal smoothing of 50, used to assess long-term trend direction.
Users can customize the fast, slow, and signal lengths and choose between SMA (Simple Moving Average) or EMA (Exponential Moving Average) for calculations.
Trading Logic:
Long Condition: MACD1 histogram crosses above the zero line (short-term bullish), MACD2 histogram is positive (long-term bullish), and MACD2 histogram has just crossed above zero with a deepening green (trend confirmation).
Short Condition: MACD1 histogram crosses below the zero line (short-term bearish), MACD2 histogram is negative (long-term bearish), and MACD2 histogram has just crossed below zero with a deepening red (trend confirmation).
Risk Management:
Stop Loss: Default at 1% (adjustable, minimum 0.1%), dynamically calculated based on entry price.
Take Profit: Default at 1.5% (adjustable, minimum 0.1%), dynamically calculated based on entry price.
Trades are processed at candle close to ensure signal stability.
3SMA +30 Stan Weinstein +200WMA +alert-crossingIndicator Description: Stan Weinstein Strategy + Key Moving Averages
🔹 Introduction
This indicator combines the Classic Stan Weinstein Strategy with a modern update based on the author’s latest recommendations. It includes key moving averages that help identify trends and potential entry or exit points in the market.
📊 Included Moving Averages (Fully Customizable)
All moving averages in this indicator have modifiable parameters, allowing users to adjust values in the input settings.
1️⃣ 30-Week SMA (Stan Weinstein): A long-term trend indicator defining the asset’s main trend.
2️⃣ 40-Week SMA (Weinstein Update): An adjusted version recommended by the author in his recent updates.
3️⃣ 10-Day SMA: Displays short-term price action and helps confirm trend changes.
4️⃣ 100-Day SMA: A medium-term trend measure used by traders to assess trend strength.
5️⃣ 200-Day WMA (Weighted Moving Average): A very long-term indicator that filters market noise and confirms solid trends.
🔍 How to Interpret It
✔️ 30/40-Week SMA in an uptrend → Confirms an accumulation phase or an upward price trend.
✔️ Price above the 200-WMA → Indicates a strong and healthy long-term trend.
✔️ 10-SMA crossing other moving averages → Can signal an early entry or exit opportunity.
✔️ 100-SMA vs. 200-WMA → A breakout of the 100-SMA above the 200-WMA may signal a new bullish phase.
🚨 Built-in Alerts (Key Crossovers)
The indicator includes automatic alerts to notify traders when key moving averages cross, allowing timely reactions:
🔔 10-SMA crossing the 40-SMA → Possible medium-term trend shift.
🔔 10-SMA crossing the 200-WMA → Confirmation of a stronger trend.
🔔 40-SMA crossing the 200-WMA → Long-term trend reversal signal.
💡 Customization: All moving average periods can be adjusted in the input settings, making the indicator flexible for different trading strategies.
MÈGAS ALGO : ZIG-ZAG CYCLE INSIGTH [INDICATOR]Overview
The Zig-Zag Cycle Insigth is a revisited version of the classic Zig Zag indicator, designed to provide traders with a more comprehensive and actionable view of price movements.
This advanced tool not only highlights significant price swings but also incorporates additional features such as cycle analysis, real-time data tracking, and Fibonacci retracement levels. These enhancements make it an invaluable resource for identifying trends, potential reversal points, and market structure.
This indicator adheres to TradingView's guidelines and is optimized for both technical analysts and active traders who seek deeper insights into market dynamics.
Key Features:
1. Customizable Thresholds for Price Movements:
- Users can set personalized thresholds for price movement percentages and time periods.
This ensures that only significant price swings are plotted, reducing noise and increasing
clarity.
- Straight lines connect swing highs and lows, providing a cleaner visual representation of
the trend.
2. Cycle Analysis Table:
- A dynamic table is included to analyze price cycles based on three key factors:
- Price Change: Measures the magnitude of each swing (high-to-low or low-to-high).
- Time Duration (Bar Count): Tracks the number of bars elapsed between consecutive swings,
offering precise timing insights.
- Volume: Analyzes trading volume during each segment of the cycle.
- The indicator calculates the **maximum**, **minimum**, and **mean** values for each
parameter across all completed cycles, providing deeper statistical insights into market
behavior.
- This table updates in real-time, offering traders a quantitative understanding of how price
behaves over different cycles.
3. Real-Time Data Integration:
- The indicator displays live updates of current price action relative to the last identified
swing high/low. This includes:
- Current distance from the last pivot point.
- Percentage change since the last pivot.
- Volume traded since the last pivot.
4. Fibonacci Retracement Levels:
- Integrated Fibonacci retracement levels are dynamically calculated based on the most
recent significant swing high and low.
- Key retracement levels (23.6%, 38.2%, 50%, 61.8%, and 78.6%) are plotted alongside the Zig
Zag lines, helping traders identify potential support/resistance zones.
- Extension levels (100%, 161.8%, etc.) are also included to anticipate possible breakout
targets.
5. Customizable Alerts:
- Users can configure alerts for specific real-time conditions, such as:
- Price Change
- Duration
- Volume
- Fibonacci Retracement Levels
How It Works:
1. Zig Zag Identification:
- The indicator scans historical price data to identify significant turning points where the
price moves by at least the user-defined percentage threshold.
- These turning points are connected by straight lines to form the Zig Zag pattern.
2. Cycle Analysis:
For each completed cycle (from one swing high/low to the next), the indicator calculates:
- Price Change: Difference between the start and end prices of the cycle.
- Maximum Price Change: The largest price difference observed across all cycles.
- Minimum Price Change: The smallest price difference observed across all cycles.
- Mean Price Change: The average price difference across all cycles.
- Time Duration (Bar Count): Number of bars elapsed between consecutive swings.
- Maximum Duration: The longest cycle in terms of bar count.
- Minimum Duration: The shortest cycle in terms of bar count.
- Mean Duration: The average cycle length in terms of bar count.
- Volume: Total volume traded during the cycle.
- Maximum Volume: The highest volume traded during any single cycle.
- Minimum Volume: The lowest volume traded during any single cycle.
- Mean Volume: The average volume traded across all cycles.
- These calculations provide traders with a statistical overview of market behavior, enabling
them to identify patterns and anomalies in price, time, and volume.
3. Fibonacci Integration:
- Once a new swing high or low is identified, the indicator automatically calculates Fibonacci
retracement and extension levels.
- These levels serve as reference points for potential entry/exit opportunities.
4. Real-Time Updates:
- As the market evolves, the indicator continuously monitors the relationship between the
current price and the last identified swing point.
- Real-time metrics, such as percentage change and volume, are updated dynamically.
5. Alerts Based on Real-Time Parameters:
- The indicator allows users to set customizable alerts based on real-time conditions:
- Price Change Alert: Triggered when the real-time price change is less or greater than a
predefined percentage threshold (e.g., > or < fixed value).
- Duration Alert: Triggered when the cycle duration (in bars) is less or greater than a
predefined
bar count threshold (e.g., > or < fixed value).
- Volume Alert: Triggered when the trading volume during the current cycle is less or greater
than a predefined volume threshold (e.g., > or < fixed value).
Advantages of Zig-Zag Cycle Insigth
- Comprehensive Insights: Combining cycle analysis, Fibonacci retracements, and real-time data
provides a holistic view of market conditions.
- Statistical Analysis: The inclusion of maximum, minimum, and mean values for price change,
duration, and volume offers deeper insights into market behavior.
- Actionable Signals: Customizable alerts ensure traders never miss critical market events based
on real-time price, duration, and volume parameters.
- User-Friendly Design: Clear visuals and intuitive controls make it accessible for traders of all
skill levels.
Reference:
TradingView/ZigZag
TradingView/AutofibRetracement
Please Note:
This indicator is provided for informational and educational purposes only. It is not financial advice, and it should not be considered a recommendation to buy, sell, or trade any financial instrument. Trading involves significant risks, including the potential loss of your entire investment. Always conduct your own research and consult with a licensed financial advisor before making any trading decisions.
The results and images provided are based on algorithms and historical/paid real-time market data but do not guarantee future results or accuracy. Use this tool at your own risk, and understand that past performance is not indicative of future outcomes.
Canadian Elections & PM TimelineThis script displays major Canadian federal election years along with the names and party affiliations of elected Prime Ministers, directly on your price chart. It provides a quick visual reference for key political events that may have had market impact, helping traders correlate price movements with changes in leadership.
Triple Confirmation Scalper v2Bu strateji, trend takibi ve aşırı alım/satım koşullarını birleştirir. İşlem sinyallerini filtrelemek için hacim artışını kullanır.
This strategy combines trend following and overbought/sold conditions. It uses volume spike to filter out trading signals.
Triple Confirmation Scalper
3 temel gösterge + 2 filtre kullanarak yalancı sinyalleri minimize eder.
1. Kullanılan Göstergeler ve Parametreler:
Gösterge Parametreler Amacı
EMA 9 9 periyot (Close) Kısa vadeli momentum.
EMA 21 21 periyot (Close) Trend yönü.
RSI 14 periyot Aşırı alım/satım.
VWAP 20 periyot Ortalama giriş çıkış fiyatı.
OBV (On-Balance Volume) Hacim trendi.
Özellikler ve Optimizasyonlar:
Gelişmiş VWAP Hesaplaması: HLC3 (high+low+close/3) kullanarak daha doğru VWAP değerleri
Dinamik Risk Yönetimi:
Stop-loss: Son 5 mumun en düşük/en yüksek seviyesi ±%1
Take-profit: %1.5 kar hedefi (1.5:1 risk/reward)
Hacim Analizi:
OBV göstergesiyle hacim trendi onayı
20 periyotluk hacim ortalaması üzerinde spike kontrolü
Görselleştirmeler:
EMA'lar ve VWAP bantları çizilir
Trend yönüne göre arkaplan renklendirmesi
Alert Sistem:
Long/Short sinyalleri için tradingview alertleri
Strateji Ayarları:
%100 equity kullanımı
%0.1 komisyon hesaba katılmış
Long/Short pozisyonlara izin verilmiş
Daha agresif bir strateji için:
EMA periyotlarını 5-13 yapabilirsiniz
RSI eşiklerini 40-60 arasına çekebilirsiniz
Take-profit/Stop-loss oranlarını 2:1 yapabilirsiniz
“Triple Confirmation Scalper”
Minimizes false signals using 3 basic indicators + 2 filters.
1. Indicators and Parameters used:
Indicator Parameters Purpose
EMA 9 9 period (Close) Short-term momentum.
EMA 21 21 periods (Close) Trend direction.
RSI 14 periods Overbought/sold.
VWAP 20 periods Average entry and exit price.
OBV (On-Balance Volume) Volume trend.
Features and Optimizations:
Advanced VWAP Calculation: more accurate VWAP values using HLC3 (high+low+close/3)
Dynamic Risk Management:
Stop-loss Lowest/highest level of the last 5 candles ±1
Take-profit: 1.5% profit target (1.5:1 risk/reward)
Volume Analysis:
Volume trend confirmation with OBV indicator
Spike control over 20-period volume averaging
Visualizations:
EMAs and VWAP bands are plotted
Background coloring according to trend direction
Alert System:
Tradingview alerts for Long/Short signals
Strategy Settings:
100% equity utilization
0.1% commission taken into account
Long/Short positions allowed
Combined + Reversal By DemirkanThis indicator is a comprehensive tool designed to identify potential trend reversals, trend direction, and entry/exit points by combining multiple technical analysis instruments. It includes the following components:
Two Reversal Lines (Based on Donchian Channel): Two lines with different periods indicate potential support/resistance levels and trend changes.
Hull Moving Average (HMA): A smoother, less lagging moving average helps determine trend direction and short-term momentum.
Fibonacci Level: A dynamic Fibonacci retracement level, calculated based on the highest high and lowest low over a specific period, serves as a potential support or area of interest.
Signal Generation: Produces Buy/Sell signals based on the crossovers and conditions of these components.
Visual Aids: Enhances interpretation by coloring the area between lines, coloring candlesticks, and adding labels.
Detailed Component Description:
Input Parameters (Settings):
Reversal Line 1 Length (Default: 100): The period (number of bars) used to calculate the first reversal line. Longer periods capture slower, more significant trends.
Reversal Line 2 Length (Default: 33): The period used to calculate the second reversal line. Shorter periods react to faster, shorter-term changes.
HMA Length (Default: 100): The period for calculating the Hull Moving Average.
Source (Default: close): The price source used for all calculations (close, open, high, low, etc.).
Reversal Line Bar Offset (Default: 3): Determines how many bars forward the Reversal Lines are shifted on the chart. This can make signals appear slightly earlier (or later, depending on the strategy). 0 means no shift.
Fibonacci Level (Default: 0.382): Specifies the Fibonacci retracement level (between 0.0 and 1.0). Common levels like 0.382, 0.5, 0.618 can be used.
Lookback Period (Default: 20): The period (number of bars) over which to look back for the highest high and lowest low to calculate the Fibonacci level.
Price Margin (Default: 0.005): Tolerance (as a percentage) determining how close the price needs to be to the Fibonacci level to be considered "at the level". E.g., 0.005 = 0.5%. If the price is within 0.5% of the calculated Fibonacci level, the condition is met.
Calculations:
donchian(len) Function: Calculates the average (math.avg) of the highest high (ta.highest) and lowest low (ta.lowest) over a specific period (len). This is effectively the midline of a classic Donchian Channel and is used here as the "Reversal Line".
Reversal Lines (conversionLine1, conversionLine2): Calculated using the donchian function based on the user-defined conversionPeriods1 and conversionPeriods2 lengths.
Hull Moving Average (hullMA): Calculated using the hma function. This function uniquely combines Weighted Moving Averages (WMA) to achieve less lag.
Fibonacci Level Calculation (fibLevel1, isAtFibLevel): Finds the highest high and lowest low within the lookbackPeriod, calculates the range (priceRange). fibLevel1 is determined by subtracting priceRange * fibLevel from the highest high (representing a retracement level). isAtFibLevel checks if the current closing price is within the priceMargin tolerance of the calculated fibLevel1.
Visual Elements (Plots/Drawing):
plot(conversionLine1 , ...): Plots the first reversal line in blue, shifted forward by barOffset.
plot(conversionLine2 , ...): Plots the second reversal line in black, shifted forward by barOffset.
plot(hullMA, ...): Plots the Hull Moving Average in orange.
plot(fibLevel1, ...): Plots the calculated Fibonacci level as a light blue, dashed line.
fill(...): Fills the area between the two (shifted) reversal lines. The area is colored blue if conversionLine1 > conversionLine2 (often interpreted as bullish) and red otherwise (bearish). The color transparency is set to 90 (almost opaque).
label.*: Adds labels at trend change points. A "Buy" label appears when the area turns blue (Line 1 crosses above Line 2), and a "Sell" label appears when it turns red (Line 1 crosses below Line 2). Labels appear once when the trend starts and are updated/deleted when the trend changes.
plotshape(...): Plots shapes (arrows/labels) on the chart when specific conditions are met:
Reversal Crossover Signals: A green up arrow (shape.labelup) appears when conversionLine2 crosses above conversionLine1 (Buy Signal - buySignal). A red down arrow (shape.labeldown) appears when conversionLine1 crosses below conversionLine2 (Sell Signal - sellSignal).
Hull MA Signals: A green up arrow (hullBuySignal) appears when the price closes above the HMA after being below it. A red down arrow (hullSellSignal) appears when the price closes below the HMA after being above it.
Fibonacci Buy Signal: A purple up arrow (fibBuySignal) appears when both the price is near the calculated Fibonacci level (isAtFibLevel) and a Hull MA Buy signal (hullBuySignal) occurs simultaneously. This signifies a "confluence" signal.
barcolor(...): Changes the color of the candlesticks. Bars turn blue on a Hull MA Buy signal (hullBuySignal) and red on a Hull MA Sell signal (hullSellSignal). Otherwise, the bar color remains the default chart color.
How to Use / Interpret:
Trend Direction:
Observe the color of the filled area between the reversal lines (Blue = Uptrend, Red = Downtrend).
Note whether the price is above or below the Hull MA.
Consider the slope of the Hull MA (upward or downward).
Entry/Exit Signals:
Aggressive: Use the crossovers of the reversal lines (buySignal, sellSignal). Green arrow suggests buy, red arrow suggests sell.
Trend Following: Use the HMA crossovers (hullBuySignal, hullSellSignal). Green arrow suggests buy, red arrow suggests sell. The bar colors also confirm these signals visually.
Confirmed Buy: Look for the Fibonacci Buy Signal (Purple arrow). When the price reaches a potential support level (Fibonacci) and simultaneously gets an HMA Buy signal, it can be considered a stronger buy indication.
Support/Resistance:
The reversal lines themselves can act as dynamic support/resistance levels.
The plotted Fibonacci level (fibLevel1) can be monitored as a potential retracement and support zone.
Strategy:
Confluence (multiple signals aligning) can increase confidence. For example, a buySignal or hullBuySignal occurring while the HMA is pointing up and the fill area is blue might be considered stronger.
Adjust the barOffset parameter to fine-tune the timing of the visual signals according to your trading style.
Use the Fibonacci Buy signal to potentially find entry points after pullbacks in an uptrend or near potential bottoms after a decline.
Important Notes:
No single indicator provides 100% accurate signals. It's crucial to use this indicator in conjunction with other analysis methods (price action, chart patterns, volume, etc.) and sound risk management strategies.
The indicator's performance might vary in different market conditions (trending, sideways) and across different timeframes. Backtesting before live trading is recommended.
The barOffset value shifts the plotting of the lines forward visually but does not change the time at which the underlying calculation occurs (it's still based on the data up to the current closing bar).
EREMA SignalsOverview
The EREMA Signals indicator is a specialized overlay tool designed to display precise buy and sell signals directly on your price chart. Working as a companion to the main Ehlers Reverse EMA indicator, it brings powerful momentum-based signals to your trading strategy without cluttering your chart with additional indicator panels.
Key Features
On-Chart Signal Visualization: Clear buy/sell arrows appear directly on the price chart
Dynamic Signal Positioning: Signals automatically adjust their distance from price using ATR for optimal visibility
Multiple Signal Types: Choose from three distinct signal generation methods
Clean Chart Interface: Displays only the essential signals, maintaining chart clarity
Signal Types
Zero Cross: Generates signals when the Ehlers Reverse EMA crosses above/below the zero line
MA Cross: Identifies when the Ehlers Reverse EMA crosses its own moving average
Zero & MA Cross: The strictest filter, requiring both zero line and MA crossovers for signal generation
How To Use
Setup
First add the main "Ehlers Reverse EMA" indicator to your chart
Then add this "EREMA Signals" indicator as an overlay
Configure both indicators with identical settings for alpha, MA type, and signal method
Reading Signals
Green Triangles (below price): Buy signals indicating potential upward momentum
Red Triangles (above price): Sell signals indicating potential downward momentum
Trading Applications
Trend Identification: Zero cross signals help identify changes in overall trend direction
Momentum Trading: MA cross signals can identify shorter-term momentum shifts
Confirmation Tool: Use alongside other technical indicators or price action strategies
Multiple Timeframe Analysis: Apply to different timeframes for more robust trading decisions
Best Practices
Consider using longer timeframes (4H, Daily) for more reliable signals
The combined "Zero & MA Cross" setting provides fewer but higher-quality signals
For tighter entries, use the "MA Cross" option in established trends
Adjust the Alpha parameter to match your trading style (lower for longer-term, higher for shorter-term)
This indicator works seamlessly with the main Ehlers Reverse EMA indicator while maintaining a clean chart interface, making it ideal for traders who prefer visual simplicity without sacrificing analytical power.
Uptrick X PineIndicators: Z-Score Flow StrategyThis strategy is based on the Z-Score Flow Indicator developed by Uptrick. Full credit for the original concept and logic goes to Uptrick.
The Z-Score Flow Strategy combines statistical mean-reversion logic with trend filtering, RSI confirmation, and multi-mode trade execution, offering a flexible and structured approach to trading both reversals and trend continuations.
Core Concepts Behind Z-Score Flow
1. Z-Score Mean Reversion Logic
The Z-score measures how far current price deviates from its statistical mean, in standard deviations.
A high positive Z-score (e.g. > 2) suggests price is overbought and may revert downward.
A low negative Z-score (e.g. < -2) suggests price is oversold and may revert upward.
The strategy uses Z-score thresholds to trigger signals when price deviates far enough from its mean.
2. Trend Filtering with EMA
To prevent counter-trend entries, the strategy includes a trend filter based on a 50-period EMA:
Only allows long entries if price is below EMA (mean-reversion in downtrends).
Only allows short entries if price is above EMA (mean-reversion in uptrends).
3. RSI Confirmation and Lockout System
An RSI smoothing mechanism helps confirm signals and avoid whipsaws:
RSI must be below 30 and rising to allow buys.
RSI must be above 70 and falling to allow sells.
Once a signal occurs, it is "locked out" until RSI re-enters the neutral zone (30–70).
This avoids multiple signals in overextended zones and reduces overtrading.
Entry Signal Logic
A buy or sell is triggered when:
Z-score crosses below (buy) or above (sell) the threshold.
RSI smoothed condition is met (oversold and rising / overbought and falling).
The trend condition (EMA filter) aligns.
A cooldown period has passed since the last opposite trade.
This layered approach helps ensure signal quality and timing precision.
Trade Modes
The strategy includes three distinct trade modes to adapt to various market behaviors:
1. Standard Mode
Trades are opened using the Z-score + RSI + trend filter logic.
Each signal must pass all layered conditions.
2. Zero Cross Mode
Trades are based on the Z-score crossing zero.
This mode is useful in trend continuation setups, rather than mean reversion.
3. Trend Reversal Mode
Trades occur when the mean slope direction changes, i.e., basis line changes color.
Helps capture early trend shifts with less lag.
Each mode can be customized for long-only, short-only, or long & short execution.
Visual Components
1. Z-Score Mean Line
The basis (mean) line is colored based on slope direction.
Green = bullish slope, Purple = bearish slope, Gray = flat.
A wide shadow band underneath reflects current trend momentum.
2. Gradient Fill to Price
A gradient zone between price and the mean reflects:
Price above mean = bearish zone with purple overlay.
Price below mean = bullish zone with teal overlay.
This visual aid quickly reveals market positioning relative to equilibrium.
3. Signal Markers
"𝓤𝓹" labels appear for buy signals.
"𝓓𝓸𝔀𝓷" labels appear for sell signals.
These are colored and positioned according to trend context.
Customization Options
Z-Score Period & Thresholds: Define sensitivity to price deviations.
EMA Trend Filter Length: Filter entries with long-term bias.
RSI & Smoothing Periods: Fine-tune RSI confirmation conditions.
Cooldown Period: Prevent signal spam and enforce timing gaps.
Slope Index: Adjust how far back to compare mean slope.
Visual Settings: Toggle mean lines, gradients, and more.
Use Cases & Strategy Strengths
1. Mean-Reversion Trading
Ideal for catching pullbacks in trending markets or fading overextended price moves.
2. Trend Continuation or Reversal
With multiple trade modes, traders can choose between fading price extremes or trading slope momentum.
3. Signal Clarity and Risk Control
The combination of Z-score, RSI, EMA trend, and cooldown logic provides high-confidence signals with built-in filters.
Conclusion
The Z-Score Flow Strategy by Uptrick X PineIndicators is a versatile and structured trading system that:
Fuses statistical deviation (Z-score) with technical filters.
Provides both mean-reversion and trend-based entry logic.
Uses visual overlays and signal labels for clarity.
Prevents noise-driven trades via cooldown and lockout systems.
This strategy is well-suited for traders seeking a data-driven, multi-condition entry framework that can adapt to various market types.
Full credit for the original concept and indicator goes to Uptrick.
Trendingline ZMDConfirming the Breakout
To avoid false breakouts, consider these confirmation signals:
A candle close beyond the trendline.
Increased volume during the breakout.
Retesting the trendline as support/resistance.
Trading the Breakout
Entry: Enter a trade after confirmation signals.
Stop Loss: Place a stop loss slightly beyond the trendline to limit risk.
Take Profit: Set profit targets based on support/resistance levels or Fibonacci extensions.
Trendline Retest Strategy
After breaking a trendline, the price often retests the broken trendline before continuing in the new direction. If the price respects the trendline as a new support/resistance, it adds further confirmation.
By following these steps, traders can effectively use trendline breakouts to identify high-probability trading opportunities.
Ehlers Reverse EMAOverview
The Ehlers Reverse EMA is an advanced momentum indicator designed by John Ehlers and implemented here with additional features for improved trading decision-making. This indicator helps identify trend direction, potential reversals, and generates precise buy/sell signals based on multiple confirmation methods.
What Makes It Unique
Unlike conventional EMAs, the Ehlers Reverse EMA uses a sophisticated reverse-engineering approach to provide smoother, more responsive signals with reduced lag. The indicator combines a proprietary EMA calculation with optional moving average confirmation to filter out market noise and highlight meaningful price movements.
Features
Dynamic Color Coding: Green when momentum is positive, red when negative
Moving Average Overlay: Optional MA with selectable types (SMA, EMA, WMA, VWMA)
Multiple Signal Generation Methods:
Zero-Line Crossovers: Signals when momentum shifts from positive to negative or vice versa
MA Crossovers: Signals when the Ehlers EMA crosses its own moving average
Combined Confirmation: Requires both zero-line and MA crossovers for highest probability signals
On-Chart Signal Visualization: Clear buy/sell arrows directly on the price chart
Customizable Parameters: Adjust alpha value, MA type, and signal generation to suit your trading style
How To Use
Add the main "Ehlers Reverse EMA" indicator to your chart
Add the companion "EREMA Signals" indicator to display buy/sell signals on the price chart
Ensure both indicators have matching settings for consistency
Signal Interpretation
Buy Signals (Green Triangles): Appear below price bars when conditions are met
Sell Signals (Red Triangles): Appear above price bars when conditions are met
Recommended Timeframes
Works well on all timeframes from 5-minute to daily charts. For swing trading, 4H or daily timeframes often provide the most reliable signals.
Strategy Applications
Trend Following: Use zero-line crossovers to enter with the trend
Momentum Trading: Use MA crossovers for entry and exit points
Confirmation Tool: Combine with price action or other indicators for higher-probability trades
Divergence Analysis: Compare indicator movement with price action to spot potential reversals
Parameter Settings
Alpha (Default: 0.1): Lower values create smoother lines but more lag; higher values increase responsiveness but may increase false signals
MA Length (Default: 14): Adjust based on your trading timeframe and style
This versatile indicator helps identify high-probability trading opportunities while filtering out market noise, making it valuable for both novice and experienced traders alike.
Trendingline ZMDConfirming the Breakout
To avoid false breakouts, consider these confirmation signals:
A candle close beyond the trendline.
Increased volume during the breakout.
Retesting the trendline as support/resistance.
Trading the Breakout
Entry: Enter a trade after confirmation signals.
Stop Loss: Place a stop loss slightly beyond the trendline to limit risk.
Take Profit: Set profit targets based on support/resistance levels or Fibonacci extensions.
Trendline Retest Strategy
After breaking a trendline, the price often retests the broken trendline before continuing in the new direction. If the price respects the trendline as a new support/resistance, it adds further confirmation.
By following these steps, traders can effectively use trendline breakouts to identify high-probability trading opportunities.
Multiple MAsHere's a well-written description in English for your "Multiple MAs" indicator that you can use when publishing on TradingView. It’s concise, professional, and highlights the key features of the indicator while explaining its purpose for traders.
---
### Multiple MAs Indicator
#### Overview
The **Multiple MAs** indicator is a versatile and straightforward tool designed to help traders visualize price trends using multiple Simple Moving Averages (SMAs) on a single chart. By plotting six SMAs with customizable lengths (MA5, MA10, MA20, MA50, MA100, and MA200), this indicator provides a clear view of short-term, medium-term, and long-term trends, making it ideal for trend-following strategies, crossover analysis, and identifying potential support/resistance levels.
#### Features
- **Customizable MA Lengths**: Adjust the periods of all six moving averages (MA5, MA10, MA20, MA50, MA100, MA200) to suit your trading style and timeframe.
- **Distinct Visuals**: Each MA is plotted with a unique color and line width for easy identification:
- MA5 (Dodger Blue, 1px)
- MA10 (Green, 1px)
- MA20 (Red, 2px)
- MA50 (Purple, 3px)
- MA100 (Gray, 3px)
- MA200 (White, 3px)
- **Overlay on Price Chart**: The indicator overlays directly on the price chart, allowing for seamless integration with other technical analysis tools.
- **High Precision**: Displays values with 8-decimal precision, ensuring accuracy for assets with small price movements (e.g., forex pairs or cryptocurrencies).
#### How to Use
1. **Trend Identification**: Use the longer MAs (e.g., MA100, MA200) to determine the overall trend direction. If the price is above these MAs, the trend is likely bullish; if below, it’s likely bearish.
2. **Crossover Signals**: Look for crossovers between shorter MAs (e.g., MA5 crossing MA20) for potential entry or exit signals. For example:
- A bullish signal occurs when a shorter MA crosses above a longer MA.
- A bearish signal occurs when a shorter MA crosses below a longer MA.
3. **Support and Resistance**: MAs often act as dynamic support or resistance levels. Watch for price reactions around these lines, especially the MA50, MA100, and MA200.
4. **Divergence Analysis**: Compare the slope of different MAs to identify potential trend reversals or weakening momentum.
#### Settings
- **MA5 Length**: Default is 5 bars.
- **MA10 Length**: Default is 10 bars.
- **MA20 Length**: Default is 20 bars.
- **MA50 Length**: Default is 50 bars.
- **MA100 Length**: Default is 100 bars.
- **MA200 Length**: Default is 200 bars.
#### Best Practices
- **Timeframe**: This indicator works on any timeframe but is particularly effective on daily, 4-hour, and 1-hour charts for swing trading or trend-following strategies.
- **Combine with Other Tools**: Pair the Multiple MAs with other indicators like RSI, MACD, or volume analysis to confirm signals and avoid false breakouts.
- **Adjust for Volatility**: For highly volatile assets, consider increasing the MA lengths to reduce noise and focus on broader trends.
#### Notes
- The indicator is lightweight and optimized for performance, ensuring it runs smoothly even on lower timeframes.
- Colors and line widths are pre-set for clarity but can be customized in the indicator settings if needed.
#### Credits
Created by kosar_v. Feedback and suggestions are welcome to improve this tool for the TradingView community!
SublimeDubs EMA CloudShoutout Ripster for open-sourcing his code! This is a slight improvement/update to his code. A lot is customizable via settings instead of in the script. You can change the colors more easily now. I also added lines with price labels for the clouds and offset them by x amount of bar lengths. I can't do much about the vertical spacing but at least you can move it horizontally.
Nifty 0.4% Options Strategy [15min]How This Works:
Entries:
CALL when Nifty moves +0.4% from previous close
PUT when Nifty moves -0.4% from previous close
Exits:
Automatically closes all positions after specified bars (default: 4 bars = 1 hour)
Visuals:
Gray line: Previous day's close
Green circles: +0.4% threshold
Red circles: -0.4% threshold
Moving Average Crossover ScannerThis is a scanner for Multiple Indicators like MA Cross, MACD, RSI, Adx. You can get clear market trend data by using it. Enjoy the Script!
Manual Trade Ledger# Manual Options Trade Journal – Pine Script
This project is a Pine Script implementation for TradingView that allows users to manually log options trades into a live table overlay on a chart.
## ✨ Features
- 📥 Manual entry of ticker, premium, contracts, strike, expiry, notes
- 📈 Auto-filled live data: timestamp, price, and % change since first log
- 🧾 Tabular logging for trade journaling and exporting to Google Sheets
- 🔧 Fully customizable and designed to support product experimentation
## 🎯 Use Case
This project was built to support a real-world trading workflow for options traders who:
- Prefer to manually log trades while watching charts
- Want a visual, copyable ledger that evolves in real-time
- Want to later analyze entries/exits in spreadsheets or dashboards
## 🛠 How It Works
1. Toggle the `Log Trade` switch inside TradingView’s indicator settings
2. Fill in your trade metadata (ticker, premium, etc.)
3. The script captures timestamp, price, and calculates % change
4. Each new trade adds a row to the table (up to 50 max)
CISD with Alerts [neo|]█ OVERVIEW
CISD (or Change in State of Delivery) is an ICT concept and reversal pattern which may allow traders to identify reversals or changes in market structure early, compared to using traditional market structure. This script aims to correctly identify, and update these levels and provide alerts, so that traders can take advantage of this concept with ease.
█ CONCEPTS
Simply put, CISD may be identified when price closes above the open of the candle which started the most recent downtrend or liquidity sweep. Generally, it is most powerful when applied to key points in the market as a confirmation from where you may want price to reverse.
For example, when price is in a downtrend, we take the open of the last consecutive downwards candle and observe the CISD once price closes above it, beginning an uptrend.
Examples:
COMEX:GC1!
CME_MINI:NQ1!
█ How to use
To use the indicator, simply apply it to your chart and modify any of your desired inputs.
• Bullish CISD color allows you to change the color of +CISD levels.
• Bearish CISD color allows you to change the color of -CISD levels.
• Line width allows you to modify the width of +-CISD lines.
• Line extension bars allows you to change how far ahead CISD levels are drawn (by default it is 5).
• Keep old CISD levels will allow you to preserve all past CISD levels if you would like to observe the logic.
• Enable stat table will let you add a table on your chart which will tell you the current CISD trend, as well as your ticker and timeframe.
• Table position allows you to customize where the table will appear on your chart.
BIN Based Support and Resistance [SS]This indicator presents a version of an alternative way to determine support and resistance, using a method called "Bins".
Bins provide for a flexible and interesting way to determine support and resistance levels.
First off, let's discuss BINS:
Bins are ranges or containers into which your data points can be sorted. For example, if you're grouping ages, you might have bins like 0–18, 19–35, 36–50, and 51+. Any data point within these intervals gets placed in the corresponding bin.
Binning simplifies complex data sets by grouping values into categories. This is useful for such things as
Visualizing data in histograms or bar charts.
Reducing noise and highlighting trends.
This indicator groups the price action into 10 separate bins. It determines the Support / Resistance level by averaging the values in the Bins to find an iteration of the "central tendency" or average reoccurring value.
Pros and Cons
Since this is a different approach to support and resistance, I think its important to highlight some of the pros and advantages, but also be open about the cons.
First off the PROS
Bin Based Support and Resistance Levels dynamically adjust to ranges as opposed to hard / fast peaks and valleys. This makes them better at analyzing price action vs simply drawing lines at random peaks and valleys.
Because Bins are analyzing ALL PA within a period's max and min range, Bin Support and Resistance can actually be used similar to Volume profile, where you are able to identify a pseudo-POC, or areas where price tends to consolidate. Take a look at this example on SPY:
You can see these 2 SR lines are close together. This represents that this general price range is an area where price likes to accumulate/consolidate. You can see the SPY ended up coming back to this range and consolidating there for a bit.
This is a strength of using a BIN based approach to calculating support and resistance, because as indicated before, it looks at price action vs peaks and valleys.
As a tip, these areas are areas you want to wait for a break in one direction or the other.
The indicator provides for backtest results of the support and resistance lines, to see how many times certain areas acted as resistance or support. Because this is analyzing and distributing PA evenly throughout the period's max and min, the indicator can tell you which areas tend to have higher rejection zones and which have higher support zones.
Now the CONS
Because bin based SR take an average approach, the SR lines can sometimes be slightly broken before the ticker finds rejection:
To combat this, make sure there is confirmed support. How the indicator actually backtests these lines is by waiting to see if the ticker has 3 consecutive closes above the support line or below the resistance line. So these are things to be mindful of.
It doesn't consider pivots. Most support and resistance indicators either identify max and min peaks and valleys or use pivot points. Pivot points are a great way to identify peaks and valleys and thus by extension support and resistance. However, this is also somewhat of a strength, as using BINS forces the indicator to consider ALL price action and not just the extremes (highs and lows).
Can be slightly skewed in highly volatile environments. Any time there is a massive drop or rally, it can skew the indicator to give extreme ranges to both ends. For example, the Tariff news collapse on ES1!:
Owning to limitations in lookback length, sometimes the min and max range can be exceeded and other traditional areas of support / resistance is where a ticker will find support.
Using the indicator
Here are some basic use/functionalities of the indicator:
Selecting display of backtest results: You can select to have the backtest results shown in a table:
Or directly on the lines:
Inversely, you can toggle them off completely:
You can modify the lookback length. The suggested lookback length is between 250 to 500 candles on smaller timeframes. I also suggest 252 on daily timeframes (which represents 1 trading year).
And that's the indicator!
It is very easy to use, so you should pick it up in no time!
Enjoy and as always, 🚀🚀 safe trades! 🚀🚀
Smart Money Pivot Strategy [Jason Kasei]This strategy is designed to identify key pivot points (Pivot High and Pivot Low) in the market and leverage the "Smart Money" concept to capture price breakout opportunities. It supports both long and short trades, offering customizable stop-loss (SL) and take-profit (TP) settings, while visually plotting pivot points and breakout signals on the chart.
Core Features
Pivot Point Detection:
Utilizes ta.pivothigh and ta.pivotlow functions to detect the highest (Pivot High) and lowest (Pivot Low) points within a specified period (default: 20 bars).
Trading Signals:
Long Signal: Triggered when the price breaks above a previous Pivot High, indicating a potential uptrend.
Short Signal: Triggered when the price breaks below a previous Pivot Low, indicating a potential downtrend.
How It Works
Detects Pivot High (PH) and Pivot Low (PL) over the specified period and records their price and time.
Triggers a long entry when the price breaks above a Pivot High and a short entry when it falls below a Pivot Low.
Sets exit conditions automatically based on predefined SL and TP percentages after entry.
Plots breakout points and levels on the chart for analysis.
Considerations
The strategy relies on accurate pivot point detection; adjust the period parameter based on market volatility.
In highly volatile markets, consider widening the stop loss to avoid frequent triggering.
Combine with other indicators or analysis methods to validate signals and avoid blind trading.