MA Cross Multi Alert KrafturMA Cross Multi Alert Kraftur
Description
The "MA Cross Multi Alert Kraftur" indicator is a versatile tool designed to help traders identify potential buy and sell opportunities based on the crossings of multiple moving averages (MAs). Unlike traditional MA crossover indicators that focus on a single pair of averages, this script offers three distinct crossover levels (e.g., 21/50, 50/90, 50/200) for greater flexibility and precision. It overlays signals directly on the price chart and delivers real-time alerts when crossings occur, making it an excellent choice for traders seeking to pinpoint entry and exit points across various market conditions.
Key Features
Multi-Level Crossovers: Tracks crossings between configurable moving averages (e.g., 21 crossing 50, 50 crossing 90, 50 crossing 200) to detect varying trend strengths and reversals.
Visual Signals: Buy signals are displayed as upward triangles below the bars, and sell signals as downward triangles above the bars, each color-coded for quick recognition.
Real-Time Alerts: Triggers alerts once per bar when a crossover occurs, with a filter to avoid repetitive notifications during minor fluctuations.
Customizable: Adjustable MA lengths, timeframe, and signal colors allow tailoring to individual trading preferences and strategies.
Recommended Usage
This indicator shines as a scanning tool for identifying trade setups across multiple assets. Apply it to your watchlist of stocks, forex pairs, or cryptocurrencies, and set up alerts to catch crossover signals in real time. It performs exceptionally well in trending or consolidating markets and can be paired with additional tools (e.g., trendlines, RSI, or volume analysis) to validate signals and boost reliability. Ideal for multi-timeframe traders or those managing diverse portfolios.
How to Use
Add the indicator to your chart.
Adjust the MA lengths (e.g., 21, 50, 90, 200), timeframe, and signal colors to align with your trading approach.
Configure alerts for the indicator and apply them to your asset watchlist.
Watch for buy (upward triangles) and sell (downward triangles) signals on the chart, or rely on alert notifications for timely updates.
Perfect for day traders, swing traders, or anyone aiming to streamline signal detection and automate their workflow!
Cari dalam skrip untuk "MA Cross"
MA Crossover with Adaptive Trend Strength📘 MA Crossover with Adaptive Trend Strength —
📌 Overview
This TradingView indicator plots two moving averages (Fast & Slow) with user-selected types (T3, EMA, SMA, HMA), visual crossovers, and dynamically calculates an adaptive trend strength score using Z-scores of multiple features. Optional higher timeframe (HTF) confirmation is supported. A color-filled region between the MAs visually indicates momentum direction.
⚙️ Inputs & Controls
📈 Moving Average Settings
Fast MA Length: Length of the fast-moving average (default: 9).
Slow MA Length: Length of the slow-moving average (default: 21).
MA Type: Type of moving average used (T3, EMA, SMA, HMA).
Source: Input data source (default: close).
T3 Volume Factor: Only used when T3 is selected, controls smoothing (range: 0–1).
🎨 Visual Controls
Bullish Fill Color: Fill color when Fast MA is above Slow MA.
Bearish Fill Color: Fill color when Fast MA is below Slow MA.
Show Gradient Fill: Enable or disable the colored area between Fast & Slow MAs.
Trend Label Position: Choose where the trend strength label appears (top or bottom).
Label Update Interval: Number of bars between label updates (reduces clutter).
⏱ Multi-Timeframe Support
Higher Timeframe: Timeframe used for confirmation (default: 60 min).
Use HTF Confirmation: Enables filtering of trend score by higher timeframe trend direction.
📊 Lookback Configuration
Auto Lookback Based on Timeframe: Dynamically adapts scoring lookback period per chart timeframe.
Manual Lookback: Manual fallback lookback length when auto is off.
🧮 MA Calculation Options
T3 MA: Custom T3 function with exponential moving averages and volume factor.
EMA/SMA: Built-in Pine functions (ta.ema, ta.sma).
HMA: Hull Moving Average using WMA calculations.
📉 Trend Strength Calculation
🧠 Z-Score Inputs
Distance between MAs (zDist)
Slope of the Fast MA (zSlope)
Volume (zVol)
ATR (zATR)
📏 Choppiness & Adaptive Weighting
A Choppiness Index (based on ATR & price range) reduces score impact in sideways markets.
Dynamically adjusts Z-score weights:
W1: Distance
W2: Slope
W3: Volume
W4: ATR
🔁 HTF Confirmation
Optionally multiplies the trend score by the direction of the higher timeframe trend to filter noise.
🟩 Plot & Visual Elements
📊 MA Lines
Plots Fast and Slow MA lines in colors based on selected MA type.
🌈 Gradient Fill
Fills the area between Fast and Slow MAs with opacity proportional to their difference.
Colors based on bullish/bearish condition.
🏷️ Trend Strength Label
Updates every n bars (Label Update Interval).
Shows:
Trend Classification: Weak, Moderate, Strong
Numerical Score
Label position (top or bottom) is configurable.
🔔 Crossover Signals
Bullish Crossover ("B"): Fast MA crosses above Slow MA.
Bearish Crossover ("S"): Fast MA crosses below Slow MA.
Labels are plotted at crossover points.
Old labels are removed after a threshold (100) to reduce chart clutter.
📋 Score Summary Table
A table showing:
Max Score within the lookback period
Min Score
HTF Confirmation Status (ON / OFF)
Updates on the same user-defined interval as the trend label.
🚨 Alerts
Condition Description
Bullish MA Cross Fast MA crosses above Slow MA
Bearish MA Cross Fast MA crosses below Slow MA
These are provided via alertcondition() for use in alert creation.
📌 Customization Tips
Turn off the gradient fill for a cleaner chart.
Use HTF confirmation to reduce false positives in ranging markets.
Adjust label update frequency to prevent visual clutter on faster timeframes.
Use T3 MA with volume factor for smoother signals in volatile markets.
MA Cross ScreenerThis script lets you pick 20 symbols to check for ma crosses. The way it works is it scans all 20 of your symbols for moving average crosses and then it sends an both a regular alert and a visual alert inside of the indicator. I found that ma cross strategies are very popular right now so I thought it would be nice to have one indicator instead of 20 discord servers. The features include: 20 custom symbols, alerts, custom colors, ma select, and custom time frames. If you want to use the custom time frame option, use the lowest time frame possible. That way you wont have gaps. If you have any comments please voice them, that includes suggestions!
I hope you all find this useful!
MA Cross + Strategy by RealmixTwo Moving Average with crossmarker and strategy when both indicators are crossing for a possible position
MA Cross 10/20This was originally derived from "MA Cross" indicator, though that one uses 9-21.
Simple 10day and 20day MA crossover indicator
* 10MA crosses from the bottom, goes up and above 20MA—we're bullish, look to long bullish signal candle
* 10MA crosses from the top, goes down and below 20MA—we're bearish, look to short bearish signal candle
Works well w/ Heikin Ashi candles
MA cross X MAdiff<>atrfilter)📈 MA cross X MAdiff<>ATR filter
Smarter Trend Confirmation Using Adaptive Volatility Thresholds
🔍 What It Does
This indicator upgrades classic moving average crossovers by adding volatility awareness via ATR filtering. Instead of reacting to every small crossover, it waits for the distance between two moving averages to exceed a volatility-adjusted threshold, making signals more meaningful and less noisy.
⚙️ Core Logic
Calculates the difference between a Fast MA and a Slow MA.
Uses Average True Range (ATR) as a dynamic volatility filter.
Confirms trend only when MA difference exceeds:
diff > ATR × multiplier → Bullish
diff < -ATR × multiplier → Bearish
Otherwise: Neutral (gray zone)
The gray zone avoids false signals by detecting indecision or choppy markets.
🧠 Customizable Inputs
Choose any MA type independently for Fast and Slow:
SMA, EMA, WMA, VWMA, RMA, DEMA, TEMA, LSMA, Kijun
Control sensitivity via:
ATR Length
ATR Multiplier
✅ Why It Works
Reduces fake outs in ranging markets.
Adapts to volatility automatically.
Fully customizable for any asset or style.
Ideal for trend traders, momentum entries, or as a confluence layer.
MA CrossA simple configurable MA Cross (3 MAs) script. You can choose between SMA and EMA , you will get arrows up or down when MAs cross each others. The arrows have different transparency and length parameters so you can easily identify them:
- small arrow and the most transparent for fast and medium MA crosses
- medium arrow for fast and slow MA crosses
- long arrow with no transparency for medium and slow MA crosses
Default values that can be changed:
- MA type = EMA
- Source for all MAs = close
- Fast MA length = 20
- Medium MA length = 50
- Slow MA length = 200
I plan on adding feartures overtime.
MA Crossover with Demand/Supply Zones + Stop Loss/Take ProfitStop Loss and Take Profit Inputs:
Added stopLossPerc and takeProfitPerc as inputs to allow the user to define the stop loss and take profit levels as a percentage of the entry price.
Stop Loss and Take Profit Calculation:
For long positions, the stop loss is calculated as strategy.position_avg_price * (1 - stopLossPerc), and the take profit is calculated as strategy.position_avg_price * (1 + takeProfitPerc).
For short positions, the stop loss is calculated as strategy.position_avg_price * (1 + stopLossPerc), and the take profit is calculated as strategy.position_avg_price * (1 - takeProfitPerc).
Exit Strategy:
Added strategy.exit to define the stop loss and take profit levels for each trade. The from_entry parameter ensures that the exit is tied to the specific entry order.
Flexibility:
The stop loss and take profit levels are dynamic and adjust based on the entry price of the trade.
How It Works:
When a buy signal is generated (MA crossover near a demand zone), the strategy enters a long position and sets a stop loss and take profit level based on the input percentages.
When a sell signal is generated (MA crossunder near a supply zone), the strategy enters a short position and sets a stop loss and take profit level based on the input percentages.
The trade will exit automatically if either the stop loss or take profit level is hit.
Example:
If the entry price for a long position is $100, and the stop loss is set to 1% while the take profit is set to 2%:
Stop loss level =
100
∗
(
1
−
0.01
)
=
100∗(1−0.01)=99
Take profit level =
100
∗
(
1
+
0.02
)
=
100∗(1+0.02)=102
Notes:
You can adjust the stopLossPerc and takeProfitPerc inputs to suit your risk management preferences.
Always backtest the strategy to ensure the stop loss and take profit levels are appropriate for your trading instrument and timeframe.
MA Crossover Strategy with MA Turning Point Exits + ADX filterThis strategy is based upon @rthomson's MA Crossover Strategy with MA Turning Point Exits.
I just added an ability to filter out entries when ADX < 20. In fact you have a choice to set this ADX threshold value.
In a sideways market, the MA crossovers end up in yielding entry trades with losses. ADX value around 20 to 25 indicates a sideway market. By introducing ADX threshold, we are trying to prevent potential loss making entries.
MA Crossover [AlchimistOfCrypto]🌌 MA Crossover Quantum – Illuminating Market Harmonic Patterns 🌌
Category: Trend Analysis Indicators 📈
"The moving average crossover, reinterpreted through quantum field principles, visualizes the underlying resonance structures of price movements. This indicator employs principles from molecular orbital theory where energy states transition through gradient fields, similar to how price momentum shifts between bullish and bearish phases. Our implementation features algorithmically optimized parameters derived from extensive Python-based backtesting, creating a visual representation of market energy flows with dynamic opacity gradients that highlight the catalytic moments where trend transformations occur."
📊 Professional Trading Application
The MA Crossover Quantum transcends the traditional moving average crossover with a sophisticated gradient illumination system that highlights the energy transfer between fast and slow moving averages. Scientifically optimized for multiple timeframes and featuring eight distinct visual themes, it enables traders to perceive trend transitions with unprecedented clarity.
⚙️ Indicator Configuration
- Timeframe Presets 📏
Python-optimized parameters for specific timeframes:
- 1H: EMA 23/395 - Ideal for intraday precision trading
- 4H: SMA 41/263 - Balanced for swing trading operations
- 1D: SMA 8/44 - Optimized for daily trend identification
- 1W: SMA 32/38 - Calibrated for medium-term position trading
- 2W: SMA 17/20 - Engineered for long-term investment signals
- Custom Settings 🎯
Full parameter customization available for professional traders:
- Fast/Slow MA Length: Fine-tune to specific market conditions
- MA Type: Select between EMA (exponential) and SMA (simple) calculation methods
- Visual Theming 🎨
Eight scientifically designed visual palettes optimized for neural pattern recognition:
- Neon (default): High-contrast green/red scheme enhancing trend transition visibility
- Cyan-Magenta: Vibrant palette for maximum visual distinction
- Yellow-Purple: Complementary colors for enhanced pattern recognition
- Specialized themes (Green-Red, Forest Green, Blue Ocean, Orange-Red, Grayscale): Each calibrated for different market environments
- Opacity Control 🔍
- Variable transparency system (0-100) allowing seamless integration with price action
- Adaptive glow effect that intensifies around crossover points - the "catalytic moments" of trend change
🚀 How to Use
1. Select Timeframe ⏰: Choose from scientifically optimized presets based on your trading horizon
2. Customize Parameters 🎚️: For advanced users, disable presets to fine-tune MA settings
3. Choose Visual Theme 🌈: Select a color scheme that enhances your personal pattern recognition
4. Adjust Opacity 🔎: Fine-tune visualization intensity to complement your chart analysis
5. Identify Trend Changes ✅: Monitor gradient intensity to spot high-probability transition zones
6. Trade with Precision 🛡️: Use gradient intensity variations to determine position sizing and risk management
Developed through rigorous mathematical modeling and extensive backtesting, MA Crossover Quantum transforms the fundamental moving average crossover into a sophisticated visual analysis tool that reveals the molecular structure of market momentum.
MA Crossover Strategy with MA Turning Point Exits + ADX filterThis strategy uses @rthomson's "MA Crossover Strategy with MA Turning point Exits" and combines it with ADX.
This strategy filters out any entries where ADX < 20. In fact you can set the value for ADX threshold. (Generally value under 20 for ADX is considered as non trend zone)
MA Cross - Multi-Timeframe The MA cross is probably one of my favourite strategies because of its simplicity but it often gets overlooked for more complex strategies.
The original author of this script is ChartArt, I have just added some extra controls and functions which are outlined below. I would just like to add that this is my first published script, everything I have learned about coding has been from studying and tinkering with many of the publicly available scripts on TV so I would like thank all the authors who give out this knowledge so freely!
Updates
- Converted to v4
- Made some graphical changes and provided more control over plots
- Added RMA and VWMA
- Added alerts
Original script can be found here
MA Crossover AlertsThis script allows you to configure Create Alert dialogue box for a MA Crossover and send a notification on mobile device.
MA cross strategy VtsThe simple Moving average cross strategy is here implemented.
I guess there are multitudes of similar scripts around.
I post this one since I was asked by some friends, and I'll let it free to use for anybody.
Here you can choose the year where to start backtesting, the source, the type of MA, the SL and TP multiplicators of ATR, for which you can also choose the averaging period.
Feel free to modify this script. I would be grateful if you could preserve the first lines of comments including my user names.
The MA cross strategies can be very effective, especially when used on the daily TF.
Try for example the combo EMA15-EMA30 SL=1.5ATR TP=1ATR on EURCHF daily to get an impressive 83% win ratio.
Or EMA20-EMA81 on the GBPCHF to get an 87%.
In those cases where EMA does not perform well, try to set a less lagging MA, like the Hull MA.
I hope you like this script so that you could push the like button multiple (odd) times and you start following me.
I've got a bunch of other interesting scripts to share.
Comments and suggestions are welcome.