ZACARÍA$ 9/21 EMA Cross + 55 MAThis is a MA Cross with the 9 EMA + 21 EMA, but it also features a Simple MA at the 55. Useful for Forex, but can be applied to any chart
Moving Averages
Moneyball EMA-MACD indicator [VinnieTheFish]Summary of the Moneyball EMA-MACD Indicator Script
Author: VinnieTheFish
Purpose:
This indicator helps traders identify trend direction, momentum shifts, and potential trade signals based on EMA and MACD crossovers.
This Pine Script is a custom indicator that combines Exponential Moving Averages (EMAs) and MACD (Moving Average Convergence Divergence) to analyze price trends and momentum. The script uses a custom 9/50 MACD with a 16 smoothing period. The script is written in a way that you can create your own custom MACD settings and create alerts based on those parameters. The chart bars are color coded based on the relative position of the MACD and Signal line primarily for bullish long trade setups.
Key Features:
User Inputs:
Configurable fast and slow lengths for MACD calculation.
Choice between SMA and EMA for oscillator and signal line smoothing.
Customizable signal smoothing length.
EMA Calculation:
Computes 3 EMA, 9 EMA, 20 EMA, and 50 EMA to track short-term and long-term trends.
MACD Calculation:
Computes MACD using either SMA or EMA based on user selection.
Generates the MACD signal line for comparison.
Crossover Conditions:
Detects MACD and Signal line crossovers above and below the zero line.
Identifies price momentum shifts.
Bar Coloring Logic:
Green: MACD is above 0 and above the signal line.
White: MACD is below the signal line.
Orange: MACD is below 0 but above the signal line.
Fuchsia: Bullish EMA 3/9 cross but price is still below the 20/50 EMA.
Alerts for Key Trading Signals:
MACD crossing above/below the zero line.
Signal line crossing above/below the zero line.
MACD reaching new highs/lows.
Alerts for colored bar conditions.
Buy/Sell Based on Moving Average How it Works:
Buy Signal: This occurs when the price closes above the moving average and the last signal was a Sell.
Sell Signal: This occurs when the price closes below the moving average and the last signal was a Buy.
The moving average changes color based on whether the trend is bullish or bearish, which is optional in the settings.
Alerts are configured for Buy, Sell, and any signal combined.
RSI/MACD Momentum Scalper TableThe RSI/MACD Momentum Scalper Table is a powerful technical analysis tool that evaluates market momentum across multiple timeframes using the Relative Strength Index (RSI) and Moving Average Convergence Divergence (MACD) . It displays a table with different timeframes, allowing traders to quickly assess trend strength and direction.
Why This Indicator is Unique
- Multi-Timeframe Analysis: Unlike traditional RSI/MACD indicators that only apply to a single timeframe, this indicator tracks trends across five customizable timeframes.
- Dynamic Color-Coding: The table updates in real-time, showing green for bullish momentum, red for bearish, and gray for neutral conditions.
- Customizable Moving Averages: Users can choose between EMA, DEMA, and HMA, providing flexibility in trend detection.
- Adjustable Positioning: The table can be placed in any corner of the chart using the **position input setting**.
Why This Indicator is Useful
- Quick Market Overview: Instantly see whether multiple timeframes align for a strong trend.
- Scalping & Swing Trading Support: Helps scalpers and swing traders identify optimal entry and exit points.
- Versatility: Can be applied to stocks, forex, crypto, and other financial instruments.
How to Use It
1. Set Timeframes: Choose up to five timeframes to monitor momentum.
2. Customize Trend Settings: Adjust RSI length, MACD settings, and moving average type.
3. Interpret the Table:
- Green cells indicate a bullish trend.
- Red cells indicate a bearish trend.
- Gray cells suggest neutral momentum.
4. Adjust Table Position: Move the table to a preferred location using the Table position input.
This indicator is ideal for traders who need a **quick and efficient** way to track market momentum across different timeframes. 🚀
Dynamic SMATimeframe Detection: The indicator first identifies the current timeframe of the chart (e.g., daily, 4-hour, 1-hour).
SMA Calculation: It calculates three different SMAs:
Daily SMA: A 8-period SMA calculated on daily closing prices.
4-Hour SMA: A 50-period SMA calculated on 4-hour closing prices.
1-Hour SMA: A 100-period SMA calculated on 1-hour closing prices.
Dynamic SMA Selection: Based on the detected timeframe, the indicator selects the appropriate SMA to display:
If the timeframe is daily, it uses the daily SMA.
If the timeframe is 4-hour, it uses the 4-hour SMA.
If the timeframe is 1-hour, it uses the 1-hour SMA.
Plotting: The selected SMA is plotted on the chart as a blue line.
Dynamic Label: The indicator also creates a dynamic label that displays the current SMA being used, along with the corresponding timeframe and period. For example, it will show "Active SMA: 8 SMA (Daily)" when the daily SMA is active.
This indicator is useful for traders who want to use different SMAs for different timeframes without having to manually switch between them. It provides a convenient way to see the relevant SMA for the current chart view.
Uptrick: FRAMA Matrix RSIUptrick: FRAMA Matrix RSI
Introduction
The Uptrick: FRAMA Matrix RSI is a momentum-based indicator that integrates the Relative Strength Index (RSI) with the Fractal Adaptive Moving Average (FRAMA). By applying FRAMA's adaptive smoothing to RSI—and further refining it with a Zero-Lag Moving Average (ZLMA)—this script creates a refined and reliable momentum oscillator. The indicator now includes enhanced divergence detection, potential reversal signals, customizable buy/sell signal options, an internal stats table, and a fully customizable bar coloring system for an enhanced visual trading experience.
Why Combine RSI with FRAMA
Traditional RSI is a well-known momentum indicator but has several limitations. It is highly sensitive to price fluctuations, often generating false signals in choppy or volatile markets. FRAMA, in contrast, adapts dynamically to price changes by adjusting its smoothing factor based on market conditions.
By integrating FRAMA into RSI calculations, this indicator reduces noise while preserving RSI's ability to track momentum, adapts to volatility by reducing lag in trending markets and smoothing out choppiness in ranging conditions, enhances trend-following capability for more reliable momentum shifts, and refines overbought and oversold signals by adjusting to the current market structure.
With the new enhancements, such as a manual alpha input, noise filtering, divergence detection, and multiple buy/sell signal options, the indicator offers even greater flexibility and precision for traders. This combination improves the standard RSI by making it more adaptive and responsive to market changes.
Originality
This indicator is unique because it applies FRAMA's adaptive smoothing technique to RSI, creating a dynamic momentum oscillator that adjusts to different market conditions. Many traditional RSI-based indicators either use fixed smoothing methods like exponential moving averages or employ basic RSI calculations without adjusting for volatility.
This script stands out by integrating several elements, including the fractal dimension-based smoothing of FRAMA to reduce noise while retaining responsiveness, the use of Zero-Lag Moving Average smoothing to enhance trend sensitivity and reduce lag, divergence detection to highlight mismatches between price action and RSI momentum, a noise filter and manual alpha option to prevent minor fluctuations from generating false signals, customizable buy/sell signal options that let traders choose between ZLMA-based or FRAMA RSI-based signals, an internal stats table displaying real-time FRAMA calculations such as fractal dimension and the adaptive alpha factor, and a fully customizable bar coloring system to visually distinguish bullish, bearish, and neutral conditions.
Features
Adaptive FRAMA RSI
The indicator applies FRAMA to RSI values, making the momentum oscillator adaptive to volatility while filtering out noise. Unlike a traditional RSI that reacts equally to all price movements, FRAMA RSI adjusts its smoothing factor based on market structure, making it more effective for identifying true momentum shifts.
Zero-Lag Moving Average (ZLMA)
A smoothing technique that minimizes lag while preserving the responsiveness of price movements. It is applied to the FRAMA RSI to further refine signals and ensure smoother trend detection.
Bullish and Bearish Threshold Crossovers
This system compares FRAMA RSI to a user-defined threshold (default is 50). When FRAMA RSI moves above the threshold, it indicates bullish momentum, while movement below signals bearish conditions. The enhanced noise filter ensures that only significant moves trigger signals.
Noise Filter and Manual Alpha
A new noise filter input prevents tiny fluctuations from triggering false signals. In addition, a manual alpha option allows traders to override the automatically computed smoothing factor with a custom value, providing extra control over the indicator’s sensitivity.
Divergence Detection
The indicator identifies divergence patterns by comparing FRAMA RSI pivots to price action. Bullish divergence occurs when price makes a lower low while FRAMA RSI makes a higher low, and bearish divergence occurs when price makes a higher high while FRAMA RSI makes a lower high. These signals can help traders anticipate potential reversals.
Reversal Signals
Labels appear on the chart when FRAMA RSI confirms classic RSI overbought (70) or oversold (30) conditions, providing visual cues for potential trend reversals.
Buy and Sell Signal Options
Traders can now choose between two signal-generation methods. ZLMA-based signals trigger when the ZLMA of FRAMA RSI crosses key overbought (70) or oversold (30) levels, while FRAMA RSI-based signals trigger when FRAMA RSI itself crosses these levels. This added flexibility allows users to tailor the indicator to their preferred trading style.
ZLMA:
FRAMA:
Customizable Alerts
Alerts notify traders when FRAMA RSI crosses key levels, divergence signals occur, reversal conditions are met, or buy/sell signals trigger. This ensures that important trading events are not missed.
Fully Customizable Bar Coloring System
Users can color bars based on different conditions, enhancing visual clarity. Bar coloring modes include: FRAMA RSI threshold (bars change color based on whether FRAMA RSI is above or below the threshold), ZLMA crossover (bars change when ZLMA crosses overbought or oversold levels), buy/sell signals (bars change when official signals trigger), divergence (bars highlight when bullish or bearish divergence is detected), and reversals (bars indicate when RSI reaches overbought or oversold conditions confirmed by FRAMA RSI). The system also remembers the last applied bar color, ensuring a smooth visual transition.
Input Parameters and Features
Core Inputs
RSI Length (default: 14) defines the period for RSI calculations.
FRAMA Lookback (default: 16) determines the length for the FRAMA smoothing function.
RSI Bull Threshold (default: 50) sets the level above which the market is considered bullish and below which it is bearish.
Noise Filter (default: 1.0) ensures that small fluctuations do not trigger false bullish or bearish signals.
Additional Features
Show Bull and Bear Alerts (default: true) enables notifications when FRAMA RSI crosses the threshold.
Enable Divergence Detection (default: false) highlights bullish and bearish divergences based on price and FRAMA RSI pivots.
Show Potential Reversal Signals (default: false) identifies overbought (70) and oversold (30) levels as possible trend reversal points.
Buy and Sell Signal Option (default: ZLMA) allows traders to choose between ZLMA-based signals or FRAMA RSI-based signals for trade entry.
ZLMA Enhancements
ZLMA Length (default: 14) determines the period for the Zero-Lag Moving Average applied to FRAMA RSI.
Visualization Options
Show Internal Stats Table (default: false) displays real-time FRAMA calculations, including fractal dimension and the adaptive alpha smoothing factor.
Show Threshold FRAMA Signals (default: false) plots buy and sell labels when FRAMA RSI crosses the threshold level.
How It Works
FRAMA Calculation
FRAMA dynamically adjusts smoothing based on the price fractal dimension. The alpha smoothing factor is derived from the fractal dimension or can be set manually to maintain responsiveness.
RSI with FRAMA Smoothing
RSI is calculated using the user-defined lookback period. FRAMA is then applied to the RSI to make it more adaptive to volatility. Optionally, ZLMA is applied to further refine the signals and reduce lag.
Bullish and Bearish Threshold Crosses
A bullish condition occurs when FRAMA RSI crosses above the threshold, while a bearish condition occurs when it falls below. The noise filter ensures that only significant trend shifts generate signals.
Buy and Sell Signal Options
Traders can choose between ZLMA crossovers or FRAMA RSI crossovers as the basis for buy and sell signals, offering flexibility in trade entry timing.
Divergence Detection
The indicator identifies divergences where price action and FRAMA RSI momentum do not align, potentially signaling upcoming reversals.
Reversal Signal Labels
When classic RSI overbought or oversold levels are confirmed by FRAMA RSI conditions, reversal labels are added on the chart to highlight potential exhaustion points.
Bar Coloring System
Bars are dynamically colored based on various conditions such as RSI thresholds, ZLMA crossovers, buy/sell signals, divergence, and reversals, allowing traders to quickly interpret market sentiment.
Alerts and Internal Stats
Customizable alerts notify traders of key events, and an optional internal stats table displays real-time calculations (fractal dimension, alpha value, and RSI values) to help users understand the underlying dynamics of the indicator.
Summary
The Uptrick: FRAMA Matrix RSI offers an enhanced approach to momentum analysis by combining RSI with adaptive FRAMA smoothing and additional layers of signal refinement. The indicator now includes adaptive RSI smoothing to reduce noise and improve responsiveness, Zero-Lag Moving Average filtering to minimize lag, divergence and reversal detection to identify potential turning points, customizable buy/sell signal options that let traders choose between different signal methodologies, a fully customizable bar coloring system to visually distinguish market conditions, and an internal stats table for real-time insight into FRAMA calculation parameters.
Whether used for trend confirmation, divergence detection, or momentum-based strategies, this indicator provides a powerful and adaptive approach to trading.
Disclaimer
This script is for informational and educational purposes only. Trading involves risk, and past performance does not guarantee future results. Always conduct proper research and consult with a financial advisor before making trading decisions.
8 EMA kevis2//@version=5
indicator("8 EMA Indicator", overlay=true)
// Definir los períodos de las EMAs
ema1_length = input(5, title="EMA 1")
ema2_length = input(10, title="EMA 2")
ema3_length = input(20, title="EMA 3")
ema4_length = input(50, title="EMA 4")
ema5_length = input(100, title="EMA 5")
ema6_length = input(200, title="EMA 6")
ema7_length = input(500, title="EMA 7")
ema8_length = input(1000, title="EMA 8")
// Calcular las EMAs
ema1 = ta.ema(close, ema1_length)
ema2 = ta.ema(close, ema2_length)
ema3 = ta.ema(close, ema3_length)
ema4 = ta.ema(close, ema4_length)
ema5 = ta.ema(close, ema5_length)
ema6 = ta.ema(close, ema6_length)
ema7 = ta.ema(close, ema7_length)
ema8 = ta.ema(close, ema8_length)
// Determinar la tendencia
esAlcista = ema1 > ema2
colorTendencia = esAlcista ? color.green : color.red
// Dibujar las EMAs en el gráfico con colores dinámicos
plot(ema1, title="EMA 1", color=colorTendencia)
plot(ema2, title="EMA 2", color=colorTendencia)
plot(ema3, title="EMA 3", color=colorTendencia)
plot(ema4, title="EMA 4", color=colorTendencia)
plot(ema5, title="EMA 5", color=colorTendencia)
plot(ema6, title="EMA 6", color=colorTendencia)
plot(ema7, title="EMA 7", color=colorTendencia)
plot(ema8, title="EMA 8", color=colorTendencia)
Pat EMA StratEMA 21 & 89 Crossover Buy Script.
Using the M30 EMA 21 & M30 EMA 89 to signal a buy signal. From there you can start using the M5 EMA 21 & M5 EMA 89 on the lower time frame for entries.
This EMA script is best to be used with other trading tools and analysis. The EMA buy signal SHOULD NOT be used as an entry point every time.
8 EMA kevi//@version=5
indicator("8 EMA Indicator", overlay=true)
// Definir los períodos de las EMAs
ema1_length = input(5, title="EMA 1")
ema2_length = input(10, title="EMA 2")
ema3_length = input(20, title="EMA 3")
ema4_length = input(50, title="EMA 4")
ema5_length = input(100, title="EMA 5")
ema6_length = input(200, title="EMA 6")
ema7_length = input(500, title="EMA 7")
ema8_length = input(1000, title="EMA 8")
// Calcular las EMAs
ema1 = ta.ema(close, ema1_length)
ema2 = ta.ema(close, ema2_length)
ema3 = ta.ema(close, ema3_length)
ema4 = ta.ema(close, ema4_length)
ema5 = ta.ema(close, ema5_length)
ema6 = ta.ema(close, ema6_length)
ema7 = ta.ema(close, ema7_length)
ema8 = ta.ema(close, ema8_length)
// Determinar la tendencia
isBullish = ta.crossover(ema1, ema2)
isBearish = ta.crossunder(ema1, ema2)
trendColor = isBullish ? color.green : isBearish ? color.red : color.blue
// Dibujar las EMAs en el gráfico con colores dinámicos
plot(ema1, title="EMA 1", color=trendColor)
plot(ema2, title="EMA 2", color=trendColor)
plot(ema3, title="EMA 3", color=trendColor)
plot(ema4, title="EMA 4", color=trendColor)
plot(ema5, title="EMA 5", color=trendColor)
plot(ema6, title="EMA 6", color=trendColor)
plot(ema7, title="EMA 7", color=trendColor)
plot(ema8, title="EMA 8", color=trendColor)
Fibonnaci Crosses Buy/SellIndicator uses Fibonacci numbered ema's that can be toggled on and off to produce buy and sell signals based on the crosses of the moving averages. This indicator allows you to have multiple moving average lines on your chart with the use of one indicator. Also the buy and sell signals allow you to scan the chart quickly to see if there are any trade opportunities available.
Enjoy this indicator. Hope it can help you on your Trading Journey.
MOKI V1The "MOKI V1" script is a trading strategy on the TradingView platform that uses a combination of two key indicators to identify buy and sell signals:
EMA200 (Exponential Moving Average 200): Used to determine the overall market trend. This line helps ensure that trades are made in the direction of the primary market trend.
RSI (Relative Strength Index): Used to measure the strength or weakness of a trend. In this strategy, a reading above 50 for the RSI indicates stronger buy signals.
Engulfing Pattern: This candlestick pattern occurs when a green (bullish) candle completely engulfs the previous red (bearish) candle. It is used as a buy signal when combined with the other indicators.
MACD Trend Direction BUY/SELLThis script shows buy/sell signals in the direction of the trend.
MACD over the mid-line is Bullish
MACD below the mid-line is Bearish
Buy when we have crosses of the MACD above the mid-line
Sell when we have crosses of the MACD below the mid-line
You can adjust the settings to suit your trading needs.
Enjoy this indicator, Hope it can help you with your Trading Journey.
DynamicMovingAveragesLibrary "DynamicMovingAverages"
Custom Dynamic Moving Averages that allow a dynamic calculation beginning from the first bar
SMA(sourceData, maxLength)
Dynamic SMA
Parameters:
sourceData (float)
maxLength (int)
EMA(src, length)
Dynamic EMA
Parameters:
src (float)
length (int)
DEMA(src, length)
Dynamic DEMA
Parameters:
src (float)
length (int)
TEMA(src, length)
Dynamic TEMA
Parameters:
src (float)
length (int)
WMA(src, length)
Dynamic WMA
Parameters:
src (float)
length (int)
HMA(src, length)
Dynamic HMA
Parameters:
src (float)
length (int)
VWMA(src, volsrc, length)
Dynamic VWMA
Parameters:
src (float)
volsrc (float)
length (int)
SMMA(src, length)
Dynamic SMMA
Parameters:
src (float)
length (int)
LSMA(src, length, offset)
Dynamic LSMA
Parameters:
src (float)
length (int)
offset (int)
RMA(src, length)
Dynamic RMA
Parameters:
src (float)
length (int)
ALMA(src, length, offset_sigma, sigma)
Dynamic ALMA
Parameters:
src (float)
length (int)
offset_sigma (float)
sigma (float)
HyperMA(src, length)
Dynamic HyperbolicMA
Parameters:
src (float)
length (int)
Combo Descomplica 1.0Este indicador contém 3 médias móveis e também um indicador para os níveis de Gamma do VIX
Auto-Length Moving Average + Trend Signals (Zeiierman)█ Overview
The Auto-Length Moving Average + Trend Signals (Zeiierman) is an easy-to-use indicator designed to help traders dynamically adjust their moving average length based on market conditions. This tool adapts in real-time, expanding and contracting the moving average based on trend strength and momentum shifts.
The indicator smooths out price fluctuations by modifying its length while ensuring responsiveness to new trends. In addition to its adaptive length algorithm, it incorporates trend confirmation signals, helping traders identify potential trend reversals and continuations with greater confidence.
This indicator suits scalpers, swing traders, and trend-following investors who want a self-adjusting moving average that adapts to volatility, momentum, and price action dynamics.
█ How It Works
⚪ Dynamic Moving Average Length
The core feature of this indicator is its ability to automatically adjust the length of the moving average based on trend persistence and market conditions:
Expands in strong trends to reduce noise.
Contracts in choppy or reversing markets for faster reaction.
This allows for a more accurate moving average that aligns with current price dynamics.
⚪ Trend Confirmation & Signals
The indicator includes built-in trend detection logic, classifying trends based on market structure. It evaluates trend strength based on consecutive bars and smooths out transitions between bullish, bearish, and neutral conditions.
Uptrend: Price is persistently above the adjusted moving average.
Downtrend: Price remains below the adjusted moving average.
Neutral: Price fluctuates around the moving average, indicating possible consolidation.
⚪ Adaptive Trend Smoothing
A smoothing factor is applied to enhance trend readability while minimizing excessive lag. This balances reactivity with stability, making it easier to follow longer-term trends while avoiding false signals.
█ How to Use
⚪ Trend Identification
Bullish Trend: The indicator confirms an uptrend when the price consistently stays above the dynamically adjusted moving average.
Bearish Trend: A downtrend is recognized when the price remains below the moving average.
⚪ Trade Entry & Exit
Enter long when the dynamic moving average is green and a trend signal occurs. Exit when the price crosses below the dynamic moving average.
Enter short when the dynamic moving average is red and a trend signal occurs. Exit when the price crosses above the dynamic moving average.
█ Slope-Based Reset
This mode resets the trend counter when the moving average slope changes direction.
⚪ Interpretation & Insights
Best for trend-following traders who want to filter out noise and only reset when a clear shift in momentum occurs.
Higher slope length (N): More stable trends, fewer resets.
Lower slope length (N): More reactive to small price swings, frequent resets.
Useful in swing trading to track significant trend reversals.
█ RSI-Based Reset
The counter resets when the Relative Strength Index (RSI) crosses predefined overbought or oversold levels.
⚪ Interpretation & Insights
Best for reversal traders who look for extreme overbought/oversold conditions.
High RSI threshold (e.g., 80/20): Fewer resets, only extreme conditions trigger adjustments.
Lower RSI threshold (e.g., 60/40): More frequent resets, detecting smaller corrections.
Great for detecting exhaustion in trends before potential reversals.
█ Volume-Based Reset
A reset occurs when current volume significantly exceeds its moving average, signaling a shift in market participation.
⚪ Interpretation & Insights
Best for traders who follow institutional activity (high volume often means large players are active).
Higher volume SMA length: More stable trends, only resets on massive volume spikes.
Lower volume SMA length: More reactive to short-term volume shifts.
Useful in identifying breakout conditions and trend acceleration points.
█ Bollinger Band-Based Reset
A reset occurs when price closes above the upper Bollinger Band or below the lower Bollinger Band, signaling potential overextension.
⚪ Interpretation & Insights
Best for traders looking for volatility-based trend shifts.
Higher Bollinger Band multiplier (k = 2.5+): Captures only major price extremes.
Lower Bollinger Band multiplier (k = 1.5): Resets on moderate volatility changes.
Useful for detecting overextensions in strong trends before potential retracements.
█ MACD-Based Reset
A reset occurs when the MACD line crosses the signal line, indicating a momentum shift.
⚪ Interpretation & Insights
Best for momentum traders looking for trend continuation vs. exhaustion signals.
Longer MACD lengths (260, 120, 90): Captures major trend shifts.
Shorter MACD lengths (10, 5, 3): Reacts quickly to momentum changes.
Useful for detecting strong divergences and market shifts.
█ Stochastic-Based Reset
A reset occurs when Stochastic %K crosses overbought or oversold levels.
⚪ Interpretation & Insights
Best for short-term traders looking for fast momentum shifts.
Longer Stochastic length: Filters out false signals.
Shorter Stochastic length: Captures quick intraday shifts.
█ CCI-Based Reset
A reset occurs when the Commodity Channel Index (CCI) crosses predefined overbought or oversold levels. The CCI measures the price deviation from its statistical mean, making it a useful tool for detecting overextensions in price action.
⚪ Interpretation & Insights
Best for cycle traders who aim to identify overextended price deviations in trending or ranging markets.
Higher CCI threshold (e.g., ±200): Detects extreme overbought/oversold conditions before reversals.
Lower CCI threshold (e.g., ±10): More sensitive to trend shifts, useful for early signal detection.
Ideal for detecting momentum shifts before price reverts to its mean or continues trending strongly.
█ Momentum-Based Reset
A reset occurs when Momentum (Rate of Change) crosses zero, indicating a potential shift in price direction.
⚪ Interpretation & Insights
Best for trend-following traders who want to track acceleration vs. deceleration.
Higher momentum length: Captures longer-term shifts.
Lower momentum length: More responsive to short-term trend changes.
█ How to Interpret the Trend Strength Table
The Trend Strength Table provides valuable insights into the current market conditions by tracking how the dynamic moving average is adjusting based on trend persistence. Each metric in the table plays a role in understanding the strength, longevity, and stability of a trend.
⚪ Counter Value
Represents the current length of trend persistence before a reset occurs.
The higher the counter, the longer the current trend has been in place without resetting.
When this value reaches the Counter Break Threshold, the moving average resets and contracts to become more reactive.
Example:
A low counter value (e.g., 10) suggests a recent trend reset, meaning the market might be changing directions frequently.
A high counter value (e.g., 495) means the trend has been ongoing for a long time, indicating strong trend persistence.
⚪ Trend Strength
Measures how strong the current trend is based on the trend confirmation logic.
Higher values indicate stronger trends, while lower values suggest weaker trends or consolidations.
This value is dynamic and updates based on price action.
Example:
Trend Strength of 760 → Indicates a high-confidence trend.
Trend Strength of 50 → Suggests weak price action, possibly a choppy market.
⚪ Highest Trend Score
Tracks the strongest trend score recorded during the session.
Helps traders identify the most dominant trend observed in the timeframe.
This metric is useful for analyzing historical trend strength and comparing it with current conditions.
Example:
Highest Trend Score = 760 → Suggests that at some point, there was a strong trend in play.
If the current trend strength is much lower than this value, it could indicate trend exhaustion.
⚪ Average Trend Score
This is a rolling average of trend strength across the session.
Provides a bigger picture of how the trend strength fluctuates over time.
If the average trend score is high, the market has had persistent trends.
If it's low, the market may have been choppy or sideways.
Example:
Average Trend Score of 147 vs. Current Trend Strength of 760 → Indicates that the current trend is significantly stronger than the historical average, meaning a breakout might be occurring.
Average Trend Score of 700+ → Suggests a strong trending market overall.
█ Settings
⚪ Dynamic MA Controls
Base MA Length – Sets the starting length of the moving average before dynamic adjustments.
Max Dynamic Length – Defines the upper limit for how much the moving average can expand.
Trend Confirmation Length – The number of bars required to validate an uptrend or downtrend.
⚪ Reset & Adaptive Conditions
Reset Condition Type – Choose what triggers the moving average reset (Slope, RSI, Volume, MACD, etc.).
Trend Smoothing Factor – Adjusts how smoothly the moving average responds to price changes.
-----------------
Disclaimer
The content provided in my scripts, indicators, ideas, algorithms, and systems is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
AI Volume Breakout for scalpingPurpose of the Indicator
This script is designed for trading, specifically for scalping, which involves making numerous trades within a very short time frame to take advantage of small price movements. The indicator looks for volume breakouts, which are moments when trading volume significantly increases, potentially signaling the start of a new price movement.
Key Components:
Parameters:
Volume Threshold (volumeThreshold): Determines how much volume must increase from one bar to the next for it to be considered significant. Set at 4.0, meaning volume must quadruplicate for a breakout signal.
Price Change Threshold (priceChangeThreshold): Defines the minimum price change required for a breakout signal. Here, it's 1.5% of the bar's opening price.
SMA Length (smaLength): The period for the Simple Moving Average, which helps confirm the trend direction. Here, it's set to 20.
Cooldown Period (cooldownPeriod): Prevents signals from being too close together, set to 10 bars.
ATR Period (atrPeriod): The period for calculating Average True Range (ATR), used to measure market volatility.
Volatility Threshold (volatilityThreshold): If ATR divided by the close price exceeds this, the market is considered too volatile for trading according to this strategy.
Calculations:
SMA (Simple Moving Average): Used for trend confirmation. A bullish signal is more likely if the price is above this average.
ATR (Average True Range): Measures market volatility. Lower volatility (below the threshold) is preferred for this strategy.
Signal Generation:
The indicator checks if:
Volume has increased significantly (volumeDelta > 0 and volume / volume >= volumeThreshold).
There's enough price change (math.abs(priceDelta / open) >= priceChangeThreshold).
The market isn't too volatile (lowVolatility).
The trend supports the direction of the price change (trendUp for bullish, trendDown for bearish).
If all these conditions are met, it predicts:
1 (Bullish) if conditions suggest buying.
0 (Bearish) if conditions suggest selling.
Cooldown Mechanism:
After a signal, the script waits for a number of bars (cooldownPeriod) before considering another signal to avoid over-trading.
Visual Feedback:
Labels are placed on the chart:
Green label for bullish breakouts below the low price.
Red label for bearish breakouts above the high price.
How to Use:
Entry Points: Look for the labels on your chart to decide when to enter trades.
Risk Management: Since this is for scalping, ensure each trade has tight stop-losses to manage risk due to the quick, small movements.
Market Conditions: This strategy might work best in markets with consistent volume and price changes but not extreme volatility.
Caveats:
This isn't real AI; it's a heuristic based on volume and price. Actual AI would involve machine learning algorithms trained on historical data.
Always backtest any strategy, and consider how it behaves in different market conditions, not just the ones it was designed for.
SMA 9, SMA 33 y HMA PersonalizablesUn indicador con SMA 9, SMA 33, y una HMA (Hull Moving Average) puede ser una herramienta útil para analizar tendencias, detectar cambios de dirección en el precio y tomar decisiones en el trading. Aquí te dejo algunas ideas de cómo podrías utilizarlo:
1. Detección de la Tendencia General
SMA 9 (corto plazo): Muestra la tendencia a corto plazo. Si el precio está por encima de esta línea, puede indicar un sesgo alcista a corto plazo.
SMA 33 (medio plazo): Muestra la tendencia a medio plazo. Es útil para confirmar la dirección de la tendencia principal.
HMA (Hull Moving Average): Es más rápida y suave que las SMAs, ideal para detectar giros de tendencia de manera temprana sin tanto ruido.
Estrategia básica:
Cuando las tres medias están alineadas (SMA 9 > SMA 33 > HMA apunta hacia arriba), se confirma una tendencia alcista.
Si el orden es el inverso (SMA 9 < SMA 33 y HMA apunta hacia abajo), se confirma una tendencia bajista.
2. Cruces entre las SMAs
Los cruces de medias móviles son señales comunes de compra o venta:
Señal de Compra: Cuando la SMA 9 cruza hacia arriba la SMA 33, puede ser una indicación de que la tendencia se está volviendo alcista.
Señal de Venta: Cuando la SMA 9 cruza hacia abajo la SMA 33, puede ser una señal de que la tendencia se está volviendo bajista.
Confirmación con la HMA: Antes de actuar, verifica si la HMA también está alineada con la dirección de la señal para reducir señales falsas.
3. Uso como Soporte y Resistencia Dinámicos
Las SMA 9 y 33 pueden actuar como niveles de soporte/resistencia dinámicos. Por ejemplo:
Si el precio está subiendo y retrocede hasta la SMA 9 o SMA 33, podría ser un buen punto para buscar entradas largas.
Lo mismo aplica en una tendencia bajista, pero a la inversa.
La HMA puede ayudarte a identificar si el retroceso es temporal o si es más probable que el precio cambie de tendencia.
4. Filtrado de Operaciones en Mercados Laterales
Si las SMA 9 y 33 están planas y el precio se mueve lateral
AAKASH 2025This powerful TradingView script, "AAKASH," offers traders an intuitive way to visualize market trends and easily spot key entry and exit signals. By dynamically changing candle colors, it provides a clear visual cue of market conditions.
Candles turn green when the price is trending upwards or when a buy signal occurs, and red when the price is trending downwards or a sell signal is triggered. This dynamic color change ensures that traders can instantly recognize shifts in market momentum, making it easier to time trades.
Buy and sell signals are clearly marked with labels, positioned below bars for buys and above bars for sells, making them easy to spot. This script seamlessly integrates trend-following analysis with price action, giving traders the confidence to make well-informed decisions. With its easy-to-read visual cues, "AAKASH" is the perfect tool for anyone looking to enhance their trading strategy and react faster to market movements.
AAKASHThis powerful TradingView script, "AAKASH," offers traders an intuitive way to visualize market trends and easily spot key entry and exit signals. By dynamically changing candle colors, it provides a clear visual cue of market conditions.
Candles turn green when the price is trending upwards or when a buy signal occurs, and red when the price is trending downwards or a sell signal is triggered. This dynamic color change ensures that traders can instantly recognize shifts in market momentum, making it easier to time trades.
Buy and sell signals are clearly marked with labels, positioned below bars for buys and above bars for sells, making them easy to spot. This script seamlessly integrates trend-following analysis with price action, giving traders the confidence to make well-informed decisions. With its easy-to-read visual cues, "AAKASH" is the perfect tool for anyone looking to enhance their trading strategy and react faster to market movements.
SMA Crossover 150/20SMA Crossover 150/20
It shows when is the entry point.
When SMA 150 sticks cross by the SMA 20 sticks.
By Eli Elezra