Simple Trend Indicator (Heikin-Ashi) | Lyro RSSimple Trend Indicator (Heikin-Ashi)
A momentum oscillator using Heikin-Ashi smoothed data to filter trend direction with zero-line crosses.
This indicator calculates the normalized deviation of Heikin-Ashi OHLC values from their Simple Moving Average (SMA), then averages these deviations into a single oscillator. It simplifies trend detection by:
Reducing noise via Heikin-Ashi smoothing.
Highlighting momentum shifts through a zero-line cross system (bullish/bearish).
Providing clear visual signals with color-coded plots and directional dots.
Originality:
Unlike standard momentum oscillators, this tool uniquely combines:
Heikin-Ashi normalization for cleaner trend analysis.
Multi-component averaging (high, open, low, close) to balance sensitivity.
Minimalist design for clutter-free charting.
How It Works:
Data Input: Fetches Heikin-Ashi OHLC values using request.security().
Momentum Calculation: For each Heikin-Ashi component:
Computes % deviation from its SMA: (value − SMA(value, length)) / SMA(value, length) * 100.
Oscillator: Averages deviations of all four components into one line (sum).
Signals:
Bullish: Oscillator > 0 (green).
Bearish: Oscillator < 0 (red).
Cross Confirmation: Dots (⦿) mark zero-line crosses.
Usage:
Trend Following: Enter long/short on sustained oscillator breaks above/below zero.
Reversal Watch: Zero-line crosses may hint at weakening momentum.
Filter: Combine with volume or support/resistance levels.
⚠️Disclaimer: This indicator is a tool for technical analysis and does not provide guaranteed results. It should be used in conjunction with other analysis methods and proper risk management practices. The creators of this indicator are not responsible for any financial decisions made based on its signals.
Moving Averages
CGPT Golden Cross / Death Cross AlertThis custom indicator identifies Golden Cross (Gx) and Death Cross (Dx) events using either EMA or SMA moving averages. A Golden Cross occurs when a short-term MA (e.g., 50) crosses above a long-term MA (e.g., 200), signaling potential bullish momentum. A Death Cross signals potential bearish momentum, with the short-term MA crossing below the long-term MA.
It includes:
📈 Customizable MA types (EMA or SMA)
⚙️ Adjustable fast & slow MA lengths
🟢🔴 Chart labels for Gx (green) and Dx (red)
🎯 Background highlights for visual trend shifts
🔔 Built-in alert conditions for real-time notifications
Ideal for crypto, stocks, or forex swing and trend trading
Mara JPY Bias ProMara JPY Bias Pro™ is a precision tool built for serious traders who focus on JPY and USD pairs.
This synthetic index combines USDJPY + EURJPY + GBPJPY, generating a smooth and dynamic representation of JPY strength or weakness. When the line turns green, JPY is weakening — time to look for LONG setups on XXX/JPY pairs. When red, JPY is strengthening — ideal moment for SHORT trades.
Built-in bias logic with adjustable MA-based trend detection or slope/momentum view lets you customize signals based on your strategy.
Plus, we’ve included a normalized DXY overlay, so you can track USD strength in parallel — perfect for traders working with EUR/USD, GBP/USD, USD/JPY and JPY crosses.
💡 Designed for day traders, scalpers, and smart money traders looking for clean confluence.
✅ Features:
Visual color-coded JPY bias (Green = Long / Red = Short)
Optional USD (DXY) strength overlay
Customizable MA length and bias logic
Built-in alerts for bias shifts & momentum flips
🔔 Alert-ready – never miss a reversal.
Trade smarter. Cut the noise. Stay on the right side of the move.
Triple MA Buy & Sell SignalsTriple MA Buy & Sell Signals Indicator
This indicator is designed to help traders identify high-probability entry points based on the combination of three moving averages (8, 50, and 200) while filtering signals in the direction of the main trend.
How It Works
Trend Filter (200 MA)
If the price is above the 200 MA, only BUY signals are displayed.
If the price is below the 200 MA, only SELL signals are displayed.
8 MA and 50 MA Cross (Regular Signals)
BUY (Green): When the 8 MA crosses above the 50 MA, and the price is above the 200 MA.
SELL (Red): When the 8 MA crosses below the 50 MA, and the price is below the 200 MA.
8 MA and 200 MA Cross (Major Trend Signals)
BUY (Yellow): When the 8 MA crosses above the 200 MA.
SELL (Yellow): When the 8 MA crosses below the 200 MA.
Purpose
This indicator is particularly useful for traders who follow Smart Money Concepts (SMC) or ICT-based strategies, as it helps:
Identify trend direction with the 200 MA.
Spot short-term trade entries using the 8/50 MA cross.
Highlight major trend reversals using the 8/200 MA cross.
MA Crossover Detector
The Moving Average Crossover Detector is a custom indicator that visually shows buy and sell signals clearly on the chart. based on the crossing of two moving averages — a popular and beginner-friendly tool in technical analysis.
It plots two moving averages — One fast (short period) and one slow (long period) — and highlights crossover points:
✅ Buy Signal (Golden Cross) – When the fast MA crosses above the slow MA.
❌ Sell Signal (Death Cross) – When the fast MA crosses below the slow MA.
✅ Features
Visual: Clearly shows crossovers on the chart.
Customizable: Choose periods, types, styles, etc.
Alert-ready: You can set alerts for crossovers.
The Moving Average (MA) Crossover Strategy is one of the simplest and most widely used strategies in technical analysis for trading stocks, forex, crypto, and other markets. It relies on the interaction between two moving averages to generate buy and sell signals.
Core Components
Short-Term Moving Average (Fast MA) : Reacts quickly to price changes (e.g., 9-period or 20-period).
Long-Term Moving Average (Slow MA) : Reacts more slowly to price changes (e.g., 21-period or 200-period).
How the Strategy Works
Bullish Crossover (Golden Cross):
Occurs when the fast MA crosses above the slow MA. Interpreted as a buy signal, indicating a potential uptrend.
Bearish Crossover (Death Cross):
Occurs when the fast MA crosses below the slow MA. Interpreted as a sell signal, indicating a potential downtrend.
Common Variants
Short-term trading
9 EMA
21 EMA
Swing trading
20 SMA
50 SMA
Long-term investing
50 SMA
200 SMA
Pros
Easy to understand and implement
Works well in trending markets
Can be automated for backtesting and execution
Cons
Lagging indicator: MAs are based on past prices, so signals come after the move has started.
Choppy markets = whipsaws: Generates false signals in sideways/range-bound conditions.
May underperform in volatile or mean-reverting environments
Tips for Improvement
Use confirmation tools : e.g., RSI, MACD, volume analysis, price action
Add filters : Trend filter (ADX), volatility filter (ATR), or time filter (session-based)
Combine with price structure : Support/resistance, breakouts, pullbacks
BTC 1m Chop Top/Bottom Reversal (Stable Entries)Strategy Description: BTC 5m Chop Top/Bottom Reversal (Stable Entries)
This strategy is engineered to capture precise reversal points during Bitcoin’s choppy or sideways price action on the 5-minute timeframe. It identifies short-term tops and bottoms using a confluence of volatility bands, momentum indicators, and price structure, optimized for high-probability scalping and intraday reversals.
Core Logic:
Volatility Filter: Uses an EMA with ATR bands to define overextended price zones.
Momentum Divergence: Confirms reversals using RSI and MACD histogram shifts.
Price Action Filter: Requires candle confirmation in the direction of the trade.
Locked Signal Logic: Prevents repaints and disappearing trades by confirming signals only once per bar.
Trade Parameters:
Short Entry: Above upper band + overbought RSI + weakening MACD + bearish candle
Long Entry: Below lower band + oversold RSI + strengthening MACD + bullish candle
Take Profit: ±0.75%
Stop Loss: ±0.4%
This setup is tuned for traders using tight risk control and leverage, where execution precision and minimal drawdown tolerance are critical.
Moving Average RibbonMoving Averages creating a what I call internally a "ribbon". Rename as see fit.
EMA Crossover with Volume + Stacked TP & Trailing SLI am relatively new here. Here is my humble contribution to the community. Simple does it! Ema 21,55 with volume. Surprisingly high win rates and good profit factors on USDJPY, EURJPY, BTCUSD, XAGUSD,XAUUSD, USOIL, USDCAD, EURGBP and AUDNZD. I cannot write a single line of code. I used Copilot for this.
Advanced Supertrend StrategyA comprehensive Pine Script v5 strategy featuring an enhanced Supertrend indicator with multiple technical filters, risk management, and advanced signal confirmation for automated trading on TradingView.
## Features
- **Enhanced Supertrend**: Configurable ATR-based trend following with improved accuracy
- **RSI Filter**: Optional RSI-based signal filtering to avoid overbought/oversold conditions
- **Moving Average Filter**: Trend confirmation using SMA/EMA/WMA with customizable periods
- **Risk Management**: Built-in stop-loss and take-profit based on ATR multiples
- **Trend Strength Analysis**: Filters weak signals by requiring minimum trend duration
- **Breakout Confirmation**: Optional price breakout validation for stronger signals
- **Visual Interface**: Comprehensive chart plotting with multiple indicator overlays
- **Advanced Alerts**: Multiple alert conditions with detailed signal information
- **Backtesting**: Full strategy backtesting with commission and realistic execution
DEMACROSSOVA BY FLACODouble EMAs for entry signals
ATR Bands for stoploss
Fibonacci bollinger bands for early exit confirmation
Multi Averages - CustomizableThis script adds up to 5 moving averages to your plot!
Both type and length are customizable.
HMA Strategy HMA Strat (Hull Moving Average Strategy) Indicator Description
The HMA Strat is a trend-following strategy that uses a dual Hull Moving Average system. It helps identify continuation and high-probability reversal signals in both bullish and bearish market conditions. The strategy aims to reduce noise while maintaining sensitivity to changes in price momentum by comparing the standard Hull Moving Average (HMA) to a smoothed version.
This strategy is ideal for traders who focus on systematic backtesting, momentum entry, and simple charts. It features integrated plotting, color-zoning, and strategic actions based on TradingView's strategy engine. The system provides dynamic long and short signals based on crossover logic.
Key Features
Dual HMA Framework: To improve signal quality and reduce choppy trend identification, it compares a regular HMA with a smoothed version (HMA3).
Entries Based on Crossover
Multi EMA & SMA IndicatorDraws EMA 5/20/50/100 and SMA 200 in different colors and thickness in a single indicator
Buy/Sell Demand Pressure SMAThis indicator shows when competing buying and selling pressure has changed.
When bullish buying offsets bearish transaction volume, the indicator turns green. When bearish selling pressure offsets bullish buying volume the indicator is red.
Can be used as a normal SMA or to confirm buy/sell signals of other indicators.
Works best at the start of trades...and not exits but if set properly, it is a good indicator of when a trend has reversed.
~ jb tuttle
X1 newbie code trying to create
✅ Script Behavior on Other Stocks
• If you’re on a chart for SYM, it calculates indicators using SYM’s data.
• If you switch to NVDA, AVGO, CRDO, etc., it will automatically update to reflect that ticker’s:
• Price
• 50-day moving average
• Volume
• MACD
• RSI
• Index comparison
with 1. 📊 Volume shows in its own pane
2. ✅ MACD and RSI are included in separate panes (as promised)
3. 🎯 Script works cleanly with any ticker
EMA 10,20 SMA 50, 200This indicator is very helpful for swing traders who plan their trades using EMAs and SMAs. It is used on the daily chart and displays the 10- and 20-EMA, as well as the 50- and 200-SMA.
EMA 20/50/200 - M3EDGE Clean Mode™The M3EDGE Clean Mode™ indicator is designed to spot the cleanest, most aligned market phases.
It filters out market noise and highlights only the high-probability trending zones where the odds are in your favor.
How it works:
• Tracks 3 key EMAs (20, 50, 200)
• Confirms directional alignment across short, medium, and long-term trends
• Colors optimal market phases to identify high-probability setups
• Optional display of the dynamic EMA50/EMA200 zone to visualize the trend’s core
Purpose:
🎯 Avoid choppy, sideways market conditions
🎯 Focus only on smooth, directional price moves
🎯 Reduce false signals and improve chart clarity
Best use cases:
• Ideal for scalping, day trading, and swing trading
• Works on all markets: indices, commodities, forex, crypto
• Perfect when combined with macro analysis and other M3EDGE™ setups
💡 Pro tip: The M3EDGE Clean Mode™ isn’t just another indicator — it’s a quality filter that keeps you out of messy conditions. When it lights up, you know the road ahead is clear.
Near 200 EMA (1H, 2H, 1D) (Aditi Varshney )it will show if the price of script is near 1 h , 2 h , and 1 D or not .
MA wiht Logistic [Jsk]This script is published for educational purposes only and does not constitute financial advice. Past performance does not guarantee future results. Trade at your own risk; the author accepts no liability for any financial loss incurred.
Concept
• Direction is defined by the relationship between price and two moving averages (Fast & Slow).
Long: Close > Fast MA > Slow MA
Short: Close < Fast MA < Slow MA
• Three independent exit modes are available:
1) None – positions are closed only when an opposite signal appears.
2) Percentage – fixed take-profit / stop-loss expressed in % of entry price (default +20 % / –5 %).
3) Logistic – a dynamic take-profit / stop-loss based on a logistic transformation of unrealised P&L.
Key Inputs
• MA Type: EMA, SMA or WMA
• Fast / Slow MA length
• Exit Mode: None | Percentage | Logistic
• Percentage TP / SL values (active when Exit Mode = Percentage)
• Logistic settings: slope k, midpoint, TP / SL probability thresholds (active when Exit Mode = Logistic)
Recommended Use
The script works on any market or timeframe, but MA-based trend filters usually perform better in assets with smooth, directional moves. Always verify results in the Strategy Tester and account for commissions and slippage.
High Probability Buy/Sell with SL & TP High-accuracy Buy/Sell signals with dynamic SL & Target—perfect for scalpers and swing traders,Smart trading signals with built-in risk management. Never miss a move.Auto Buy/Sell entries with real-time SL & TP levels—trade with confidence.Turn signals into strategy. Precision entries, clear exits.Your all-in-one trading assistant: entry, stop loss, and take profit—automated.Built for serious traders: Clean signals, sharp exits, and solid risk-reward.
1EMA + 1MACD + 1RSI Crypto Strategy AB 092Title: EMA + MACD + RSI Crypto Strategy
Overview:
This is a trend-following and momentum-based crypto trading strategy built for 1H, 4H, and 1D timeframes, combining three proven indicators:
EMA 50 & EMA 200 Crossover – identifies long-term trend direction.
MACD Crossover (12, 26, 9) – confirms momentum shift.
RSI Filter (14) – avoids overbought/oversold traps and refines entries.
Buy Entry Conditions:
EMA 50 > EMA 200 (Golden Cross)
MACD line crosses above signal line
RSI is between 45 and 70
Sell Entry Conditions:
EMA 50 < EMA 200 (Death Cross)
MACD line crosses below signal line
RSI is between 30 and 55
Risk Management:
Configurable Take Profit and Stop Loss percentages via inputs.
Default: 3% TP, 1.5% SL (adjustable based on timeframe and asset volatility).
Best For:
Intraday trades on 1H (BTC, ETH, SOL)
Swing trades on 4H
Position entries on 1D (top 50 altcoins)
This script includes visual Buy/Sell signals, alert conditions, and customizable SL/TP logic — making it a clean, actionable, and reliable strategy for crypto traders.