NY Opening Range Breakout - MA StopCore Concept
This strategy trades breakouts from the New York opening range (9:30-9:45 AM NY time) on intraday timeframes, designed for scalping and day trading.
Setup Requirements
Timeframe: Works on any timeframe under 15 minutes (1m, 2m, 3m, 5m, 10m)
Session: New York market hours
Range Period: 9:30-9:45 AM NY time (15-minute opening range)
Entry Rules
Long Entries:
Wait for a candle to close above the opening range high
Enter long on the next candle (before 12:00 PM NY time)
Must be above moving average if using MA-based take profit
Short Entries:
Wait for a candle to close below the opening range low
Enter short on the next candle (before 12:00 PM NY time)
Must be below moving average if using MA-based take profit
Risk Management
Stop Loss:
Long trades: Opening range low
Short trades: Opening range high
Take Profit Options:
Fixed Risk Reward: 1.5x the range size (customizable ratio)
Moving Average: Exit when price crosses back through MA
Both: Whichever comes first
Key Features
Trade Direction Options:
Long Only
Short Only
Both directions
Moving Average Filter:
Prevents entries that would immediately hit stop loss
Uses EMA/SMA/WMA/VWMA with customizable length
Acts as dynamic support/resistance
Time Restrictions:
No entries after 12:00 PM NY time (customizable cutoff)
One trade per direction per day
Daily reset of all variables
Visual Elements
Red/green lines showing opening range
Purple line for moving average
Entry and breakout signals with shapes
Take profit and stop loss levels plotted
Information table with current status
Strategy Logic Flow
Morning: Capture 9:30-9:45 range high/low
Wait: Monitor for breakout (previous candle close outside range)
Filter: Check MA condition if using MA-based exits
Enter: Trade on next candle after breakout
Manage: Exit at fixed TP, MA cross, or stop loss
Reset: Start fresh next trading day
This is a momentum-based breakout strategy that capitalizes on early market volatility while using the opening range as natural support/resistance levels.
Hareketli Ortalamalar
MTF MACD 4-Color Momentum System🎯 Overview
The MTF MACD 4-Color Momentum System is an advanced MACD indicator that provides crystal-clear momentum visualization through an innovative 4-color state system. Unlike traditional MACD indicators that only show positive/negative values, this indicator identifies four distinct market states to help traders make more informed decisions.
📊 Key Features
1. Four-State Color System:
🟢 Lime: Above zero + Rising (Strong Bullish Momentum)
🟢 Dark Green: Above zero + Falling (Weakening Bullish Momentum)
🔴 Red: Below zero + Falling (Strong Bearish Momentum)
🔴 Maroon: Below zero + Rising (Weakening Bearish Momentum)
2. Multi-Timeframe Analysis:
View higher timeframe MACD on lower timeframe charts
Confirm trends across multiple timeframes
Reduce false signals with multi-timeframe confluence
3. Flexible Display Options:
Three visualization styles: Histogram, Columns, or Line
Toggle individual color states on/off
Customizable colors and line widths
4. Advanced Features:
Optional histogram smoothing to reduce noise
Zero-cross alerts with visual markers
Color state change alerts
Real-time value display
Customizable signal line overlay
💡 How to Use
1. Momentum Identification:
Lime bars indicate strong upward momentum - ideal for long entries
Dark green suggests momentum is slowing - consider taking profits
Red bars show strong downward momentum - ideal for short entries
Maroon indicates potential reversal brewing - prepare for direction change
2. Zero Line Crosses:
Blue triangles mark bullish crosses above zero
Pink triangles mark bearish crosses below zero
Use these as confirmation signals with other indicators
3. Multi-Timeframe Confirmation:
Set to higher timeframe (e.g., 4H on 15m chart)
Look for alignment between timeframes before entering trades
Avoid trades against higher timeframe momentum
⚙️ Settings Guide
MACD Parameters:
Fast EMA: 12 (default) - Adjust for more/less sensitivity
Slow EMA: 26 (default) - Standard MACD setting
Signal: 9 (default) - Smoothing period
Display Customization:
Choose between Histogram, Columns, or Line display
Enable/disable specific color states
Adjust visual properties to match your chart theme
Alerts:
Zero cross alerts for trend changes
Color state alerts for momentum shifts
📈 Trading Strategies
1. Momentum Continuation:
Enter longs when MACD turns lime (above zero + rising)
Enter shorts when MACD turns red (below zero + falling)
Exit when color shifts to "weakening" state
2. Reversal Trading:
Watch for maroon in downtrends (potential bottom)
Watch for dark green in uptrends (potential top)
Confirm with price action and support/resistance
3. Multi-Timeframe Confluence:
Use daily MACD on 1H chart for trend direction
Enter on lower timeframe signals in direction of higher timeframe
Avoid counter-trend trades when higher timeframe shows strong momentum
🎓 Pro Tips
Combine with volume indicators for confirmation
Use with support/resistance levels for better entries
Enable smoothing in choppy markets to reduce false signals
Pay attention to divergences between price and MACD
⚠️ Risk Disclaimer
This indicator is for educational purposes only. Always use proper risk management and combine with other analysis methods. Past performance does not guarantee future results.
RSI SwingRadar🧠 Strategy Overview
This long-only strategy combines RSI/MA crossovers with ATR-based risk management, designed for cleaner entries during potential bounce phases — especially tuned for assets like XMR/USDT.
🔍 Core Logic:
- RSI Crossover: Entry occurs when the 14-period RSI crosses above its 14-period SMA, signaling a potential shift in momentum.
- Oversold Filter: The RSI must have been below a user-defined oversold threshold (default: 35) on the previous candle, filtering for bounce setups after a pullback.
- ATR-Based Stop/Target: Stop-loss is placed below the low by a user-adjustable ATR multiplier (default: 0.5×). Take-profit is calculated with a Risk:Reward multiplier (default: 4×).
These elements work in tandem — RSI crossovers give momentum confirmation, oversold filtering adds context, and ATR-based exits adapt to volatility, creating a compact yet responsive strategy.
📉 Visuals:
- Dynamic Bands: The chart displays the active stop-loss, entry price, and take-profit as colored bands for easy visual tracking.
- Clean Overlay: Designed with simplicity — only confirmed setups are shown, keeping noise low.
✅ Suggested Use:
- Works best on XMR/USDT or similarly trending assets.
- Best suited for pullback entries during broader uptrends.
- Adjustable for different volatility conditions and asset behaviors.
⚠️ Disclaimer
- This strategy is for educational and research purposes only.
- It does not guarantee profitability in any market.
- Always backtest, forward-test, and understand your own risk tolerance before using any
strategy in a live environment.
- Past performance is not indicative of future results.
- This script is not financial advice.
Hull Moving Average RibbonGradient Wave HMA - Multi-Ribbon Hull Moving Average System
Overview
The Gradient Wave HMA is an advanced technical indicator that transforms Alan Hull's Hull Moving Average (HMA) into a dynamic multi-layered ribbon system. Unlike traditional moving average ribbons that use simple or exponential calculations, this indicator applies Hull's innovative lag-reduction formula across 12 different timeframes simultaneously, creating a visually striking gradient effect that flows with market momentum.
Technical Foundation
This indicator is built upon the Hull Moving Average, developed by Alan Hull in 2005. The HMA uses a weighted moving average calculation designed to almost eliminate lag while maintaining curve smoothness:
HMA = WMA(2*WMA(n/2) − WMA(n), sqrt(n))
Credit: Alan Hull (www.alanhull.com)
Key Features
Multi-Period Ribbon Structure
12 individual HMA lines with customizable periods
Preset configurations for different trading styles:
Fast: 3-30 period range (scalping/intraday)
Swing: 8-55 period range (swing trading)
Position: 20-100 period range (position trading)
Custom: User-defined periods
2. Neon Gradient Visualization
Bullish Gradient: Transitions from blue-purple to hot purple
Bearish Gradient: Flows from hot pink to purple-pink
Each line has a unique color in the spectrum
Gradient fills between lines create depth and visual flow
3. Advanced Alert System
Trend Reversal Alerts: Notifies when ribbon changes direction
Price Breakout Alerts: Triggers when price crosses the ribbon
Compression Alerts: Signals potential breakouts during consolidation
Expansion Alerts: Confirms strong trending conditions
Momentum Surge Alerts: Catches explosive moves early
How It Works
The indicator calculates 12 Hull Moving Averages, each with a different period length. The trend direction is determined by the middle HMA (6th line), which triggers the color change across the entire ribbon. When trending up, the ribbon displays a purple gradient; when trending down, it shifts to a pink gradient.
Trading Applications
1. Trend Identification
Ribbon color indicates overall trend direction
All lines moving in sync confirms strong trend
Mixed signals suggest choppy or transitioning markets
2. Dynamic Support/Resistance
In uptrends, the ribbon acts as moving support
In downtrends, it provides resistance levels
Multiple layers offer various strength levels
3. Momentum Analysis
Expanding ribbon = Increasing momentum
Contracting ribbon = Decreasing momentum/consolidation
Ribbon angle indicates trend strength
4. Trading Example
Advantages Over Traditional MAs
Reduced Lag: Hull's formula provides faster response than SMA/EMA ribbons
Visual Clarity: Gradient effect makes trend changes immediately visible
Multiple Timeframes: 12 periods provide comprehensive market view
Flexibility: Presets adapt to different trading styles
Best Practices
Use higher timeframes (4H, Daily) for position trading
Combine with volume indicators for confirmation
Watch for ribbon compression before major moves
Consider overall market conditions when interpreting signals
Customization Options
Adjust individual HMA periods
Fine-tune transparency for different backgrounds
Choose between WMA and EMA base calculations
The Gradient Wave HMA combines Alan Hull's breakthrough moving average formula with modern visualization techniques to create a powerful trend-following tool that's both technically sophisticated and visually intuitive.
NoNoiseMA & SlopeHappy trade,
This is a noise-reduced moving average — let's call it the No-Noise MA. A MA where false breakout price action should have little to no impact, while the main trend remains fully represented. In comparison to previous MAs this one's trend appear more linear, and sideways price actions becomes easier to detect thanks to it's unique two filter stages.
In short, the No-Noise-MA (Noise-Reduced Moving Average) is calculated as the cumulative sum of the slopes derived from the center line of the last x pivot points. Let’s break it down step by step:
Pivot Detection:
A pivot algorithm (an adapted variant of the Bilson-Gann-Count method) identifies consecutive pivot points (high, low, high, low, etc.) in the close price series. Let's call this set of Pivots S.
Center Line Calculation:
Out of the set S the last x pivots are used to compute a center line (linear regression line). Always when a new pivot is confirmed, the oldest pivot in the queue is removed, and the new pivot is added.
Slope Extraction:
The center line is defined by its equation shown in the image below
Image 1
Cumulative Slope Sum:
As shown in the image 1 the slope is a series with values around zero. The No-Noise-MA is then just the cumulative sum of the slope series and a correction term. A correction term is needed otherwise the No-Noise-MA would run away over time from the original close price. The correction term is just the deviation between close price and cumulative slope sum multiply with a factor around 0.01 added to the No-Noise-MA.
Noise Reduction:
The goal of noise reduction is done by two filter stages. First Filter is the reduction of the input values. As shown above not all bars close prices are use, instead it uses just the pivot points delivered by the Bilson-Gann-Count method. Favorable the Bilson-Gann-Count method delivers the Pivot points in most cases much faster as other Pivot methods. Already after two bars a new Pivot is confirmed. This takes out all ups and downs between two consecutive Pivots. This first filter stage is legit because all price action in between is hedged by the Pivots.
The second filter stage is the done by the length of the center line. As more pivots are used to calculate the center line as smoother the slope becomes. Out liners just gets less impact if the base is bigger. So the number of involved Pivots has the same meaning as the lengths in any other MA.
Comparison with usual MAs:
For a comparison with other MAs this script also calculate the average lengths of the center line, shown in the upper right chart. So choose for example SMA and set the length parameter to the average length of the center line. As shown in the following image 2.
Image 2
This way both MAs have the same data base and can be objectively compared.
Trend detection:
The slope of the center line can be used for trend confirmation. A slope bigger then zero is an up trend while a slope smaller then zero is a down trend. And side way price action is indicated when the slope is around zero within a certain threshold.
Image 3
One hint should be mentioned here. The side way section gets indicated much later. About the number of bars as the center line is long. Before that there are just up or down trend predicted. In the image 2 you see the slope is firstly tin and as more bars past by the slope becomes more thick. This should indicate the point where no side way predictions will happens anymore.
Variation of calculation
In the settings menu you can find the setting "Include last close to center line". With this activated the center line is calculated with the last pivots and the last close price. The last close price is assumed as a pivot too. This gives the slope a more early reaction to volatile price action. But also brings back some noise.
MMTools - Screener❖ Overview
Screener expands your market insights and provides an efficient way to monitor real-time signals from Catcher across hundreds of charts on a single screen.
Each cell in the table displays the number of indicator signals. For instance, a value of "1" in the row labeled ‘BTCUSDT.P’ and column ‘30’ indicates one long signal on the 30-minute Bitcoin chart within the selected lookback period. “0” means no signal in the lookback.
❖ Multi-Table Construction
Screener supports flexible layouts and overlays. To build a multi-table interface, simply add multiple instances of the script to your chart. For optimal usability, it is recommended to allocate a dedicated panel or tab.
⚙️ Key Parameters to Customize Initially
Indicator Lookback: Defines how far back Screener checks for signals.
Symbols: Choose up to 20 symbols. Use additional tables to expand coverage.
Size: Adjusts the overall dimensions of the table.
Display Settings: Customize colors, opacity, and symbol visibility. For dark theme charts, set color opacity to 100% and transparency to 0%.
⚙️ Per-Table Adjustable Parameters
Timeframe: This defines the interval for signal collection across all symbols displayed in the top row of the table. It must be equal to or greater than the chart’s timeframe, otherwise the script will deliberately trigger an error. For multiple tables, use a lower chart timeframe (e.g., 1 minute) to meet this requirement.
Table Positioning: Use either the “Position” (predefined screen locations) or “Block” (stacked layout) parameters. The “Block” method enables a greater number of tables by aligning them side-by-side efficiently.
-- Multi-table example demonstrating the use of the ’Position’ parameter --
-- Multi-table example demonstrating the use of the ’Block’ parameter --
❖ Access
Please refer to the Author's Instructions field to request access to the script.
-----------------------------------------------------------
Disclaimer
The information provided by my scripts is for informational purposes only and does not constitute financial advice. Past performance is not indicative of future results. Always do your own research before making financial decisions.
MMTools - Backtester❖ Overview
Backtester is a script implemented as a strategy, featuring multiple conditions and tools to offer an alternative way to work with Catcher. It supports both backtesting and algorithmic trading, allowing you to evaluate the indicator's performance on historical data for any instrument using the Strategy Tester.
❖ Settings
⚙️ Custom Conditions and Signals
This section is intended to provide flexibility when working with Catcher. (If you intend to use Catcher alone, this section can be disregarded). You may combine the primary indicator (Catcher) with additional custom indicators to define entry and exit signals. Simply add the custom indicator to your chart, display it and then select its name in the corresponding dropdown menu. By default, the 'Close' option is selected, meaning custom conditions are disabled.
Operator 'OR': An entry order is activated when either your custom signal or the primary signal occurs.
Operator 'AND': An entry order is activated only when both the custom and primary signals occur simultaneously.
If both 'AND' and 'OR' operators are used, enabling the 'Only Primary' option will apply the 'AND' operator only to the primary indicator.
Custom Exit: Allows the strategy to close a position based on a custom signal, in addition to standard exit conditions. The first condition met will trigger the exit.
Note: The strategy executes orders at the open of the next bar after the custom condition is met.
⚙️ Confirmation
When enabled, the strategy will enter a position only if a specified number of signals occur within a defined lookback period.
⚙️ Exits
Two types of exit mechanisms are available for take-profit and stop-loss:
Timeout: Sets a maximum duration (in bars) that a trade can remain open. If this limit is exceeded, the strategy will close the position.
Percentage-Based: Exit positions based on a specified percentage move.
⚙️ Start Date
Specifies the starting point for the backtest.
⚙️ Plotting
The green line represents the take-profit level, while the red line indicates the stop-loss level. Plotting is limited to the last 250 bars.
⚙️ Other Settings
Remember to configure additional parameters under the “Properties” tab, including commissions, slippage, and pyramiding. Default commission is set at 0.05%.
❖ Access
Please refer to the Author's Instructions field to request access to the script.
-----------------------------------------------------------
Disclaimer
The information provided by my scripts is for informational purposes only and does not constitute financial advice. Past performance is not indicative of future results. Always do your own research before making financial decisions.
Melody Markets Moving Average Transitions🎵 Melody Markets Moving Average Transitions – The Ultimate Trend State Indicator 🎵
📌 Indicator Description
Melody Markets Moving Average Transitions is a powerful indicator designed to accurately represent the market trend state by combining the 5 main moving averages (MA7, MA20, MA50, MA100, MA200) and their 120 possible configurations.
Unlike traditional indicators that display moving averages separately, this tool synthesizes these multiple combinations into a dynamic trend line, which can be displayed directly on the selected moving average or via a specially calculated dynamic moving average.
It provides a clear and precise view of trend strength and momentum, helping traders better anticipate price movements.
🔍 Key Features
✅ Comprehensive Trend State → Analyzes up to 120 configurations between 5 moving averages for a detailed trend state.
✅ Dynamic Trend Line → Simple and intuitive visualization of the trend via a single line, shown directly on the chosen MA or the dynamic MA.
✅ Signal Visualization → Displays signals generated by each moving average, facilitating decision-making.
✅ Relevant Pullbacks Display → Highlights meaningful pullbacks according to trend strength and context.
✅ Fully Customizable → Choose moving averages, toggle signals and pullbacks, and customize colors.
✅ Overlay on Price Chart → Smooth and clear integration directly on the price chart.
📖 How to Use Melody Markets Moving Average Transitions?
1️⃣ Select the moving average (MA7, MA20, MA50, MA100, MA200) to track the trend state.
2️⃣ Activate the dynamic trend line to visualize overall market direction in real-time.
3️⃣ Enable signal and pullback displays to catch key trade setups and corrections.
4️⃣ Customize colors and display options to suit your trading style.
5️⃣ Combine with other technical tools for enhanced entry and exit confirmations.
🎯 Who Is This Indicator For?
🔹 Trend Traders & Swing Traders → Get a clear, precise overview of trend strength and pullbacks.
🔹 Day Traders & Scalpers → Quickly identify relevant signals without clutter.
🔹 Beginner to Advanced Traders → Intuitive and comprehensive trend analysis for all levels.
🔥 Conclusion
Melody Markets Moving Average Transitions revolutionizes trend analysis by combining complex moving average configurations into a single, clear dynamic line and signal system. It empowers traders with a deeper understanding of market conditions, improving decision-making and timing.
📌 Add it to your chart now and experience trend analysis like never before! 🚀
Custom Paul MACD-likePaul MACD is an indicator created by David Paul. It is implemented to effectively represent trend periods and non-trend (sideways/consolidation) periods, and its calculation method is particularly designed to reduce whipsaw.
Unlike the existing MACD which uses the difference between short-term (12) and long-term (26) exponential moving averages (EMA), Paul MACD has a different calculation method. This indicator uses a "center value" or "intermediate value". Calculation occurs when this intermediate value is higher than the High value (specifically, the difference between the center and High is calculated) or lower than the Low value (specifically, the difference between the center and Low is calculated). Otherwise, the value becomes 0. Here, the High and Low values are intended to be smoothly reflected using Smoothed Moving Average (SMMA). The indicator's method itself (using SMMA and ZLMA) is aimed at diluting whipsaws.
Thanks to this calculation method, in sections where whipsaw occurs, meaning when the intermediate value is between High and Low, the indicator value is expressed as 0 and appears as a horizontal line (zero line). This serves to visually clearly show sideways/consolidation periods.
21-Day Trend Direction📈 21-Day Trend Direction Indicator
📊 How It Works:
🎯 Trend Detection Logic:
Analyzes last 21 daily candles
Calculates total price change from start to end
Compares against sideways threshold (default 2%)
Counts bullish vs bearish days
Tracks higher highs and lower lows
📈 Trend Classifications:
• 📈 UPTREND: Price change > +2% over 21 days
• 📉 DOWNTREND: Price change < -2% over 21 days
• ➡️ SIDEWAYS: Price change between -2% and +2%
💪 Trend Strength Levels:
• 🔥 Very Strong: >5% price change
• 💪 Strong: 3-5% price change
• 📊 Moderate: 1.5-3% price change
• 📉 Weak: <1.5% price change
🎨 Visual Features:
📋 Information Table Shows:
• Trend Direction with color coding
• Price Change % over 21 days
• Trend Strength classification
• Bull/Bear Days count
• Higher Highs/Lower Lows count
• Analysis Period (customizable)
📊 Chart Indicators:
• Trend Line (21-day moving average)
• Background Color for quick trend identification
• Trend Arrows (▲ ▼ ➡) on chart
• Customizable display options
⚙️ Customizable Settings:
🎯 Analysis Settings:
• Lookback Days: 5-50 days (default: 14)
• Sideways Threshold: 0.5-10% (default: 2%)
• Trend Strength: Low/Medium/High sensitivity
🎨 Display Options:
• Table Position: 9 different positions
• Table Size: Tiny to Large
• Show/Hide: Table, Trend Line, Background, Arrows
🚨 Alert Options:
• Trend Change to Uptrend
• Trend Change to Downtrend
• Trend Change to Sideways
This indicator gives you a clear, objective view of the 21-day trend with multiple confirmation signals! 🚀
Supertrend MACD - XAUUSD STRATEGY 🔶 Supertrend MACD - XAUUSD STRATEGY (v6) (XAUUSD ONLY FOR NOW)
A high-performance, multi-filtered MACD-based strategy tailored for XAUUSD (Gold) traders seeking precision entries during trending conditions. This indicator intelligently combines multiple technical layers—momentum, trend strength, volatility, and market structure—to help identify high-probability trade setups with improved reliability.
🧠 Core Logic & Features Explained:
🔸 MACD Momentum Engine
At the heart of the strategy lies the traditional MACD indicator (Moving Average Convergence Divergence), calculating the difference between two EMAs (fast and slow) and smoothing it with a signal line.
Buy Signal: Triggered when the MACD line crosses above the signal line.
Sell Signal: Triggered when the MACD line crosses below the signal line.
These signals are the foundation, but only the beginning of a layered decision-making process.
🔸 Higher Timeframe (HTF) Trend Confirmation
To filter out noise and false breakouts, the indicator references MACD values from a higher timeframe (configurable by the user). This powerful multi-timeframe approach ensures that entries only occur in alignment with the dominant macro-trend.
Ensures entries are not taken counter to larger market movements.
Helps identify momentum continuation setups and avoid chop.
🔸 Support Arrow Display (Optional)
For visual traders, an option to display support arrows on the chart can be enabled. These assist in identifying visually intuitive entry points and enhance situational awareness.
⚙️ User-Customizable Inputs:
MACD Settings: Fast EMA, Slow EMA, Signal EMA lengths.
Signal Offset: For visual alignment and candle matching.
HTF MACD Settings: Select any timeframe for higher timeframe filtering.
ATR and ADX Thresholds: Fine-tune filters to match your trading style.
Structure Break Lookback: Adjust BOS+ logic sensitivity.
Arrow Toggles: Enable or disable visual support arrows as needed.
THIS indicator is in its alpha stage, currently it only works on XAUUSD pairs, i plan to update this indicator so that it functions on every single pair available on Trading view
Another note, the signals given only become solid after the second the candlestick, after this the signal becomes solid. REPAINTING CAN HAPPEN AFTER THE FIRST CANDLE STICK OF THE SIGNAL BUT NOT AFTER THE SECOND
As this indicator is only in its alpha stage it should be used as such, every person is responsible for there own personal investments
EMA Trend Cloud with HH/LL Counter [RanAlgo]Indicator Overview:
This indicator combines EMA-based trend analysis with pivot point detection to identify market trends and potential reversal points. It features:
EMA Cloud System: Dual cloud layers (8/22 EMA and 21/49 EMA) for trend visualization
Pivot Analysis: Identifies Higher Highs (HH), Lower Highs (LH), Higher Lows (HL), and Lower Lows (LL)
Counter System: Tracks daily and session counts of HH/LL patterns
Key Components:
EMA Configuration:
Fast EMAs: 8, 21, 22
Medium EMAs: 49, 50
Slow EMA: 100
Cloud formations between EMAs (8/22 and 21/49) with adjustable opacity
Trend Signals:
Buy signals when EMA8 crosses above EMA22 (green cloud)
Sell signals when EMA8 crosses below EMA22 (red cloud)
Additional confirmation from 21/49 EMA cloud
Pivot Point System:
Customizable lookback period (default 16 bars)
Four pivot types with customizable visuals:
HH (Higher High) - Green
HL (Higher Low) - Blue
LH (Lower High) - Red
LL (Lower Low) - Orange
Extended lines with adjustable length
Counter Table:
Displays daily counts of HH and LL patterns
Six position options for table placement
Color-coded to match pivot line colors
Trading Rules:
Trend Following:
Go long when both clouds are green (EMA8 > EMA22 AND EMA21 > EMA49)
Go short when both clouds are red (EMA8 < EMA22 AND EMA21 < EMA49)
Pivot Confirmation:
Strong uptrend confirmed by consecutive HH and HL patterns
Strong downtrend confirmed by consecutive LH and LL patterns
Potential reversals when pattern sequences break
Counter Interpretation:
Increasing HH count suggests strong bullish momentum
Increasing LL count suggests strong bearish momentum
Divergences between price and counts may signal weakening trends
Customization Options:
Adjustable EMA lengths (hardcoded but can be modified)
Cloud opacity controls
Pivot line colors, styles, and thickness
Lookback period for pivot detection
Line extension length
Table visibility and positioning
Display Features:
Clean visual design that doesn't obscure price action
Non-repainting elements (uses confirmed pivots only)
Minimal screen space usage with optional table
This indicator complies with TradingView's guidelines by:
Using non-repainting calculations (confirmed pivots only)
Providing clear source code with comments
Offering comprehensive customization without overcrowding
Including proper input validation
Maintaining readable visuals at all zoom levels
The tool is designed for trend identification and confirmation, suitable for various timeframes and instruments. Users should combine it with other analysis techniques for best results.
SMA Zone with Breakouts/Tests 1.0.This indicator plots a dynamic “SMA Zone” between two simple moving averages (one applied to lows, one to highs) and highlights key interaction points with the zone:
Breakouts
Bull Break: price closes above the upper SMA
Bear Break: price closes below the lower SMA
Requires confirmation via either above-average volume or an unusually wide bar (spread > ATR) closing near its extreme
Tests & Retests
After a breakout, the first re-entry into the zone edge is labeled “Test,” subsequent re-entries are numbered “Retest,” “2nd Retest,” etc.
Zone Weakening: each additional Test/Retest signifies diminished zone strength—fewer reliable boundaries remain (Traditional S/R theory)
Alerts
Fires a unified “Zone Signal” alert on every Break, Test, and Retest (set condition to “Any alert() function call”).
Disclaimer:
This is not financial advice and should not be used as a standalone trading signal.
It’s designed to draw your attention to important price-zone interactions so you can manually tune in.
The logic can be further enhanced or combined with other indicators/algorithms as part of a more complex trading system.
Malama's 3 AmigosThe "Malama's 3 Amigos" is an original script that combines several well-known technical indicators, including MACD, RSI, and wave trend analysis, to create a robust trading signal generator. The integration of these components allows for a more nuanced understanding of market dynamics:
MACD and RSI: These indicators provide insights into momentum and trend direction, helping to identify potential reversals or continuations.
Wave Trend Analysis: This component adds a layer of volatility assessment, allowing traders to gauge overbought and oversold conditions.
Volume Filtering: By incorporating volume analysis, the script ensures that signals are validated by market participation, reducing the likelihood of false signals.
This script stands out from public open-source alternatives by offering a unique combination of trend meters and wave trend analysis, tailored for traders seeking a comprehensive dashboard for market analysis.
Detailed Methodology ("How It Works")
Core Logic
Wave Trend Calculation: The script employs a wave trend calculation that utilizes exponential moving averages (EMAs) to assess price momentum. The wave trend indicator generates two lines, which are used to identify potential bullish and bearish conditions based on crossovers and overbought/oversold levels.
Trend Meter Signals: The script features three customizable trend meters that can be set to various configurations (e.g., MACD crossovers, RSI conditions). Each trend meter evaluates market conditions and provides a bullish or bearish signal based on the selected method.
Signal Generation:
Long Entry Signal: A long signal is generated when all three trend meters indicate bullish conditions, the wave trend shows a bullish crossover, the RSI delta is above a specified threshold, and the price is above a defined moving average.
Short Entry Signal: Conversely, a short signal is triggered when all trend meters indicate bearish conditions, the wave trend shows a bearish crossover, the RSI delta is below a specified threshold, and the price is below a defined moving average.
Signal Strength Calculation: The script calculates the strength of the generated signals by summing the number of bullish or bearish conditions met. This provides traders with a clear indication of the reliability of the signal.
Backtesting and Probability Features
The script does not include built-in backtesting features; however, traders can manually backtest the signals generated by the indicator. It is recommended to consider realistic trading conditions, including commission, slippage, and risk management parameters, when evaluating the effectiveness of the signals.
Strategy Results and Risk Management
The "Malama's 3 Amigos" indicator does not inherently include backtesting capabilities, but traders are encouraged to apply the following assumptions for effective risk management:
Commission and Slippage: Traders should account for realistic trading costs when evaluating performance.
Account Sizing: It is advisable to limit risk to 5-10% of equity per trade.
Trade Frequency: A sufficient number of trades should be executed to validate the strategy's effectiveness.
Default Settings
The default settings are designed to provide a balanced approach to trading. Traders can customize parameters such as lookback periods for moving averages and volume filters to suit their trading style.
User Settings and Customization
The script includes several user-customizable inputs:
Trend Meter Selections: Traders can choose from various trend meter configurations to tailor the indicator to their preferences.
Volume Filter: Users can enable or disable volume filtering and set the lookback period for volume analysis.
RSI Delta Threshold: This parameter allows traders to define the sensitivity of the RSI delta condition for signal generation.
Moving Average Types and Lengths: Traders can select between Simple Moving Averages (SMA) and Exponential Moving Averages (EMA) and adjust their lengths.
These settings influence the behavior of the indicator and the signals generated, allowing for a personalized trading experience.
Visualizations and Chart Setup
The "Malama's 3 Amigos" indicator plots several key elements on the chart:
Wave Trend Lines: Two wave trend lines are displayed, with color coding to indicate bullish (green) and bearish (red) conditions.
Signal Markers: Buy (green triangle) and sell (red triangle) signals are plotted on the chart to indicate potential entry points.
Info Panel: An information panel can be displayed on the chart, providing real-time updates on the status of trend meters, wave trend conditions, and entry signals.
The visual elements are designed to be clear and concise, ensuring that traders can quickly interpret the information presented.
TCT - Envelope MatrixTCT - Envelope Matrix
A powerful multi-envelope indicator that creates a comprehensive price channel system with 4 customizable envelopes and multiple intermediate levels for precise price action analysis.
Key Features:
• 4 customizable envelopes with adjustable percentages (0.2%, 0.4%, 0.6%, 0.8% by default)
• Optional EMA or SMA basis calculation
• Color-coded bands for easy visual identification
• Automatic horizontal lines showing current band values
• Midpoint lines between adjacent bands
• Additional 25%, 50%, and 75% levels between each band pair
The indicator provides:
- Clear visual representation of price channels
- Multiple support and resistance levels
- Dynamic price boundaries that adapt to market conditions
- Enhanced precision with intermediate levels between bands
Perfect for:
• Identifying potential support and resistance zones
• Spotting overbought/oversold conditions
• Finding potential reversal points
• Analyzing price volatility and channel width
• Making informed trading decisions based on price position relative to multiple bands
Customization Options:
• Adjustable length for the basis calculation
• Choice between EMA and SMA
• Customizable colors for each envelope
• Flexible percentage settings for each band
• Optional basis line color adjustment
This indicator is particularly useful for traders who want to analyze price action within multiple dynamic channels and identify potential trading opportunities based on price interactions with various support and resistance levels.
Smooth BTCSPL [GiudiceQuantico] – Dual Smoothed MAsSmooth BTCSPL – Dual Smoothed MAs
What it measures
• % of Bitcoin addresses in profit vs loss (on-chain tickers).
• Spread = profit % − loss % → quick aggregate-sentiment gauge.
• Optional alpha-decay normalisation ⇒ keeps the curve on a 0-1 scale across cycles.
User inputs
• Use Alpha-Decay Adjusted Input (true/false).
• Fast MA – type (SMA / EMA / WMA / VWMA) & length (default 100).
• Slow MA – type & length (default 200).
• Colours – Bullish (#00ffbb) / Bearish (magenta).
Computation flow
1. Fetch daily on-chain series.
2. Build raw spread.
3. If alpha-decay enabled:
alpha = (rawSpread − 140-week rolling min) / (1 − rolling min).
4. Smooth chosen base with Fast & Slow MAs.
5. Bullish when Fast > Slow, bearish otherwise.
6. Bars tinted with the same bull/bear colour.
How to read
• Fast crosses above Slow → rising “addresses-in-profit” momentum → bullish bias.
• Fast crosses below Slow → stress / capitulation risk.
• Price-indicator divergences can flag exhaustion or hidden accumulation.
Tips
• Keep in a separate pane (overlay = false); bar-colouring still shows on price chart.
• Shorter lengths for swing trades, longer for macro outlook.
• Combine with funding rates, NUPL or simple price-MA crossovers for confirmation.
MNQ EMA StrategyThis strategy is not perfected yet. ONE MINUTE TIMEFRAME
The goal is to take Longs above the 5 ema when price is above all the 200, 30, and 5 ema.
Short side is when candle closes below the 5 ema and price is below the 300, 30, and 5 ema.
I use candle range blocks for different time zones to avoid excess orders from being triggered. As well as blocks when stoploss is hit or after a profitable trade of certain ticks.
There is an RSI to avoid trades when there isn't too much movement.
My goal is to get an entry when price trades above the 5 ema and then next candle passes it by .25 instead of entering immediately. The stoploss as the low of candle before entry and TP as 3 times the stoploss. I've tried a million times to make it like this but I don't know how to use pine script or Code.
The sell side is basically the same, enter at candle close below 5 ema wait for low to get swept to enter and stoploss above previous high, with TP 3 times the stoploss.
Publishing in hopes anyone knows how to adjust this
CAUTION THIS STRATEGY WORKS WITH CURRENT PRICE ACTION DUE TO ME USING RECENT TICK COUNT RATHER THAN BASED ON CANDLES OR PERCENTAGES. THIS WILL ONLY WORK AS LONG AS MARKET MOVES AS IT HAS BEEN SINCE 2024. CME_MINI:MNQ1!
Hull MA Channel with Filtered CrossoversI've created an indicator that let's you create a HMA channel with 2 displaced HMA (A/B). As well as a HMA crossover set (C/D).
Here's how it works:
The HMA crossovers from C and D will not signal unless they are outside of the channel of A and B. As a matter of fact, NO buy signal whatsoever will occur above the channel and NO sell signal will occur below the channel.
The crossover HMA pair (C/D) can have their lengths adjusted to the 0.00 decimal point for VERY fine tuning of the crossovers.
(edit-it doesn't fine tune to the .00. This must not be a feature that is able to be utilized. I tried) The length adjustment still works to the nearest whole number. The .00 are mute :(
In keeping with that same logic, you can adjust the displacement of the channel independently to the 0.00 decimal, again for VERY fine tuning.
This is great for reversals while eliminating noise from false signals, keeping the chart nice and clean. Should be used in combination with other indicators for the best confirmations.
EMA5/21 + VWAP + MACD HistogramScript Summary: EMA + VWAP + MACD + RSI Strategy
Objective: Combine multiple technical indicators to identify market entry and exit opportunities, aiming to increase signal accuracy.
Indicators Used:
EMAs (Exponential Moving Averages): Periods of 5 (short-term) and 21 (long-term) to identify trend crossovers.
VWAP (Volume Weighted Average Price): Serves as a reference to determine if the price is in a fair value zone.
MACD (Moving Average Convergence Divergence): Standard settings of 12, 26, and 9 to detect momentum changes.
RSI (Relative Strength Index): Period of 14 to identify overbought or oversold conditions.
Entry Rules:
Buy (Long): 5-period EMA crosses above the 21-period EMA, price is above VWAP, MACD crosses above the signal line, and RSI is above 40.
Sell (Short): 5-period EMA crosses below the 21-period EMA, price is below VWAP, MACD crosses below the signal line, and RSI is below 60.
Exit Rules:
For long positions: When the 5-period EMA crosses below the 21-period EMA or MACD crosses below the signal line.
For short positions: When the 5-period EMA crosses above the 21-period EMA or MACD crosses above the signal line.
Visual Alerts:
Buy and sell signals are highlighted on the chart with green (buy) and red (sell) arrows below or above the corresponding candles.
Indicator Plotting:
The 5 and 21-period EMAs, as well as the VWAP, are plotted on the chart to facilitate the visualization of market conditions.
This script is a versatile tool for traders seeking to combine multiple technical indicators into a single strategy. It can be used across various timeframes and assets, allowing adjustments according to the trader's profile and market characteristics.
Juliano Einhardt Ulguim, Brazil, 05/27/2025.
Precision Entry Signals (RSI + MA12 Logic)Description:
This script provides precise entry signals based on a clean confluence of MA12 breakouts and RSI momentum, filtered by a VWMA (Volume-Weighted Moving Average) of the RSI.
-----------------------------------------------------------------------------------------------------------------
🔹 Long entry conditions:
- Candle opens below the 12-period MA and closes above it
- RSI crosses above its VWMA
- Previous candle is bearish (additional confirmation)
🔹 Short entry conditions:
- Candle opens above the 12-period MA and closes below it
- RSI crosses below its VWMA
- Previous candle is bullish
----------------------------------------------------------------------------------------------------------------
Once a signal is confirmed, the script automatically draws:
Entry line (at close price)
Stop Loss line (just below recent lows for long, or above highs for short)
Take Profit 1 (1R)
Take Profit 2 (2R)
Labels are attached to the lines for clarity: ENTRY, SL, TP1, and TP2.
⚠️ Note: This tool only provides entry signals and visual risk/reward guidance. It does not manage exits dynamically. Manual trade management is recommended.
This script is intended for active intraday traders, especially on lower timeframes like 3-minute, 5-minute or 15-minute charts.
---------------------------------------------------------------------------------------------------------------
🔧 Recommended companion indicator:
For better confirmation and visual tracking of the RSI/VWMA cross logic, it is strongly recommended to also use the companion script:
🔹 Relative Strength Index (with MA based cross signals)
→ Shows RSI and its moving average visually, with triangle plots on every valid cross.
→ Matches exactly the RSI/VWMA behavior used in this entry signal script.
📌 Important:
After adding the RSI script to your chart, make sure to set:
RSI Length = 14
MA Type = VWMA
MA Length = 20
This ensures it visually matches the logic used by the entry signal script.
Both indicators are fully open source and meant to be used together — especially when trading manually.
Hammer + EMA Strategy with Tick-based SL/TPWhat This Script Does:
Detects Hammer (bullish reversal) and Inverted Hammer (bearish reversal) patterns
Requires a simple trend context (using 2 bars back)
Confirms price position relative to EMA 50
Applies tick-based SL and TP
Plots buy/sell signals on chart with emoji labels
Moving Average Deviation Rate with MA TypeJapanese below / 日本語説明は下記
This indicator displays moving average deviation rate with the ability to select moving average type with signals and alerts.
Price and moving average have the characteristics that when the price moves away from the moving average, it moves back to the moving average.
Example:
In the chart below, when the deviation rate increases to 2%(green circle), price momentum gradually decreases and it moves back to the moving average.
Taking advantage of this characteristic, traders can make decisions to take profit and/or take contrarian trades.
Signals can be displayed either on main chart or sub chart when the deviation rate crosses over/under upper/lower band.
Alert can be set with the same condition as the signals.
----------------------
移動平均線乖離率を表示することのできるインジケーターです。
移動平均線タイプを選択できる他、乖離率とアッパーバンド/ロワーバンドとのクロスでシグナルを表示することができます。
価格と移動平均線には、価格が移動平均線から乖離すると、再び移動平均線まで戻ってくるという特徴があります。
この特徴を利用することで、トレーダーは利益確定のタイミングや逆張りでポジションを取るタイミングを図ることができます。
例
以下のチャートでは乖離率が2%付近(黄緑の丸)まで上昇すると、価格の上昇の勢いが衰えて再び移動平均線まで戻っていることが確認できます。
乖離率とアッパーバンド/ロワーバンドがクロスした時に、メインチャートまたはサブチャートのいずれかにシグナルを表示することが可能です。
また、同じ条件でアラートを設定することもできます。
Enhanced TEMA with Decimal PeriodsImagine you have a special type of moving average line called a TEMA (Triple
Moving Average). A TEMA is designed to be even quicker to react to price changes than a regular EMA (Exponential Moving Average), helping traders spot trends faster.
What this script does:
Super-Precise TEMA Length:
Normally, when you set the "length" or "period" for a moving average, you use whole numbers (like 10 days, 20 days).
This script lets you be more precise and use decimal numbers for the TEMA's length (like 26.0 days, or even 26.7 days). This allows for very fine-tuning.
How it gets the "Decimal" EMA part (if you choose to use it):
If you want a TEMA with a length of, say, 26.7:
The script first needs to calculate EMAs with a length of 26.7.
To do this, it cleverly calculates two regular EMAs: one with a length of 26 and another with a length of 27 (the whole numbers just below and above 26.7).
Then, it blends these two EMAs. Since 26.7 is closer to 27, it takes more from the "27-period EMA" and a bit less from the "26-period EMA." This mix gives you an EMA that acts like it has a 26.7 period.
Building the TEMA:
A TEMA isn't just one EMA. It's made by taking an EMA of an EMA, and then an EMA of that. It's like smoothing the line multiple times, but in a special mathematical way to make it faster.
So, this script:
-Calculates the first "decimal EMA" (e.g., for 26.7).
-Calculates another "decimal EMA" of that first EMA line (again, using 26.7).
-Calculates a third "decimal EMA" of the second EMA line (still using 26.7).
Finally, it combines these three EMAs using a special TEMA formula to get the final, quick-reacting TEMA line.
Option to Switch Off Decimals:
There's a setting ("Use Decimal Periods"). If you turn this off, the script will just use regular whole-number EMAs to build the TEMA (it will round down your decimal input, so 26.7 would become 26).
Plotting:
The final "Enhanced TEMA" line is drawn on your price chart.
In Simple Terms:
This script gives you a TEMA (a fast-moving average) that you can set up with very precise decimal lengths (like 26.7 instead of just 26 or 27).
It does this "decimal magic" by smartly blending two regular EMAs. You can also choose to use it like a normal TEMA with whole numbers if you prefer. The goal is to give traders a very responsive trend-following line that can be fine-tuned to a high degree of precision.