Smart Moving AveragesSmart Moving Averages analyzes the dynamic interplay between price action and multiple moving averages to identify high-probability support and resistance zones.
The script's distinguishing features include:
Bounce detection that filters out noise by requiring specific penetration thresholds (0.1-1.5%), helping traders identify genuine support tests versus false signals
Real-time MA clustering analysis that reveals zones where multiple moving averages converge, indicating potentially stronger support/resistance levels
Statistical tracking of bounce success rates for each MA, allowing traders to identify which moving averages are most reliable for the current market conditions
Power bounce detection that combines EMA spread analysis with trend confirmation, highlighting especially strong bullish setups
Visual stack status system that instantly communicates market health through an intuitive color-coded display showing how many MAs are below price
The script helps traders make more informed decisions by quantifying the historical reliability of different moving averages while providing real-time analysis of MA interactions with price. This systematic approach moves beyond simple MA crossovers to identify higher probability trading opportunities.
Moving Averages
VIVIDLY MIX ScalperBrief Description of the "VIVIDLY MIX Scalper" Indicator
The "VIVIDLY MIX Scalper" indicator is a comprehensive tool for scalping, combining several popular technical indicators to find potential entry points and confirm trends. It visualizes signals from these indicators on the chart and consolidates them into an informative table for quick analysis.
Key Features and Advantages:
Multi-Indicator Approach: The indicator integrates the logic of several proven strategies, such as moving averages, Parabolic SAR, MACD, RSI, Awesome Oscillator, and swing levels, allowing for more consistent and confirmed signals.
Trend Identification: Thanks to the included EMAs and 200MA, the indicator helps determine the current trend direction, which is a crucial factor for successful scalping.
Momentum Evaluation: The RSI and Awesome Oscillator indicators help assess the strength and speed of price movements, which is useful for finding short-term opportunities.
Entry Point Detection: Signals from Parabolic SAR, MACD crossovers, and conservative entries from the CM_SlingShotSystem provide potential points for opening positions.
Visualization of Levels: The Swing Points and Liquidity indicator highlights significant support and resistance levels, as well as areas of potential liquidity.
Convenient Signal Table: The indicator displays a summary table with the current signals from each component, allowing for a quick assessment of the overall picture and informed decision-making.
Customizability: Most parameters of each included indicator can be adjusted to suit individual preferences and trading strategies.
The advantage of "VIVIDLY MIX Scalper" lies in the consolidation of several powerful tools into one, which allows traders to gain a more complete understanding of the market situation and make decisions based on a combination of signals, rather than just one indicator. This can potentially improve the quality and probability of success of scalping trades.
Acknowledgments to the Authors of the Used Indicators:
This indicator is a compilation of the work of talented developers. We express our gratitude to ChrisMoody (CM_SlingShotSystem), Saleh_Toodarvari (Parabolic SAR + EMA 200 + MACD Signals), LonesomeTheBlue (Double Zig Zag with HHLL), and LeviathanCapital (Swing Points and Liquidity) for their contribution to creating useful tools for trading. Their indicators served as the foundation for the creation of "VIVIDLY MIX Scalper."
VIVIDLY MIX Scalper with signal & EMA_AngleVIVIDLY MIX Scalper with Signal & EMA Angle Indicator Description
This indicator is a versatile scalping tool that combines several popular indicators with an added signal based on their interaction. The primary goal of the indicator is to provide traders with clear information about the current market conditions and potential entry and exit points.
Integrated Indicators and Their Authors:
CM_SlingShotSystem (© ChrisMoody): This component helps identify the trend direction and pullback moments. It utilizes two exponential moving averages (EMAs) to pinpoint aggressive and conservative entry points. Thank you to ChrisMoody for this valuable trend identification tool.
Parabolic SAR + EMA 200 + MACD Signals (© Saleh_Toodarvari): This section includes Parabolic SAR for tracking potential trend reversals, the EMA 200 for determining the long-term trend, and MACD for measuring momentum and identifying divergences. We appreciate Saleh_Toodarvari for integrating these important indicators.
Double Zig Zag with HHLL (© LonesomeTheBlue): This indicator displays two zig zag lines with different periods to highlight significant price reversals and the formation of Higher Highs (HH), Higher Lows (HL), Lower Lows (LL), and Lower Highs (LH). Thank you to LonesomeTheBlue for visualizing market structure.
Swing Points and Liquidity (© LeviathanCapital): This tool marks significant price reversals (swings) and optionally displays volume and open interest changes at these levels, helping to identify potential liquidity zones. We thank LeviathanCapital for assisting in identifying key price levels.
Relative Strength Index (RSI): The standard RSI indicator is used to measure the strength of recent price changes and identify overbought and oversold conditions.
Awesome Oscillator (AO): The Awesome Oscillator indicator measures market momentum by comparing short-term and long-term moving averages of the price.
New Combined Signal:
The added buy and sell signal is based on the simultaneous confirmation of the following four conditions:
RSI vs. RSI Moving Average: The RSI must cross above its moving average for a buy signal and below for a sell signal.
MACD:
Crossover: The MACD signal line must cross above the MACD line for a buy signal and below the MACD line for a sell signal.
Histogram: The MACD histogram must be above zero for a buy signal and below zero for a sell signal.
Awesome Oscillator (AO): The current AO bar must be green (higher than the previous) for a buy signal and red (lower than the previous) for a sell signal.
When all four conditions are met simultaneously, a "Buy X 4" or "Sell X 4" label appears on the chart, indicating a potential opportunity to enter a position.
EMA Angle:
The indicator also calculates the angle of the fast EMA (exponential moving average). This allows for assessing the strength of the current price movement. Positive angle values suggest an upward trend, while negative values indicate a downward trend.
Default EMA Angle Values for Specific Coins:
The indicator offers default EMA angle values for the following cryptocurrencies:
BTC: 0.0004
ETH: 0.025
SOL: 0.14
DOGE: 330
SUI: 21
BNB: 0.2
TON: 300
AAVE: 0.09
AVAX: 1
PEOPLE: 800
These values can be adjusted in the indicator settings.
Signals Table:
A table is displayed in the top-right corner of the chart, providing a summary of the current status of various indicators:
CHECK: The header for the signal check column.
LONG: Indicates the presence of a buy signal.
SHORT: Indicates the presence of a sell signal.
Each row in the table corresponds to a specific condition or indicator:
RSI vs MA: Shows where the RSI is relative to its moving average.
MACD CROSS: Indicates a MACD line crossover.
MACD HIST: Shows the position of the MACD histogram relative to zero.
AO BAR: Displays the color of the current AO bar.
SAR: Shows the current position of the Parabolic SAR relative to the price.
RSI 50: Indicates whether the RSI is above or below the 50 level.
AO: Shows whether the Awesome Oscillator is above or below zero.
200MA: Indicates whether the price is above or below the 200-period EMA.
CONS ENTRY: Displays conservative entry signals from the CM_SlingShotSystem.
RSI : 70/30: Shows whether the RSI is in overbought (above 70) or oversold (below 30) zones.
Fast EMA angle: Displays the current angle of the fast EMA.
A "✔️" symbol in the corresponding cell signifies that the condition is met for that direction (Long or Short), while a "➖" indicates no signal.
In Conclusion:
The VIVIDLY MIX Scalper with Signal & EMA Angle indicator is a comprehensive scalping solution, providing traders with a multitude of analysis tools and signal filtering capabilities. The combination of proven indicators and the added signal based on their synergy can assist in making more informed trading decisions. Remember to conduct your own research and test the indicator under various market conditions before using it in live trading.
Intraday Strategy with VWAP, Fibonacci, RSI, and SMAThis Pine Script code defines a TradingView strategy for intraday trading, integrating multiple indicators and techniques, including VWAP, Fibonacci retracements, RSI, and SMA. Below is an explanation of the components:
Strategy Definition:
The script is titled "Intraday Strategy with VWAP, Fibonacci, RSI, and SMA".
The strategy is set to overlay on the price chart for easy visualization.
Input Settings:
RSI Length: Defines the period for calculating the RSI (default: 14).
Fibonacci Lookback Period: Determines the range for Fibonacci retracement levels.
VWAP Timeframe: Allows the user to specify the timeframe for VWAP calculations.
SMA Length: Sets the period for calculating the SMA (default: 9).
Indicators:
RSI: Used to determine overbought or oversold conditions.
SMA (Simple Moving Average): Used to identify trend direction and potential price crossovers.
VWAP (Volume Weighted Average Price): Used to identify price levels relative to volume.
Fibonacci Retracements: Calculates key levels (0.382 and 0.618) for potential price reactions.
Trading Conditions:
Buy Signal:
RSI crosses above 30.
Price is within the Fibonacci retracement zone.
Price is above the VWAP.
Alternatively, price crosses above the SMA.
Sell Signal:
RSI crosses below 70.
Price is within the Fibonacci retracement zone.
Price is below the VWAP.
Alternatively, price crosses below the SMA.
Trade Execution:
If a buy signal (finalBuySignal) is triggered, the strategy enters a long position.
If a sell signal (finalSellSignal) is triggered, the strategy enters a short position.
Plotting:
Buy and sell signals are plotted on the chart with green and red markers, respectively.
VWAP is displayed in blue.
SMA is displayed in yellow.
Fibonacci retracement levels are shown as orange (upper) and purple (lower) lines.
Purpose:
Jaakko's Keltner StrategyA version of the Keltner Channel's strategy. Only taking long entries because they perform better. No shorts adviced. Performs very well on cryptos and stocks, where is more volatility included. Beats buy and hold strategy in 70% of US stocks in 30 minutes interval.
Edit: Now allow both long and short strategies to be selected. Set Margins to zero from settings to make it work for shorting.
Strategy with MACD and EMA"Strategy with MACD and EMA"
This is a simple strategy designed to enter LONG positions when the MACD crossover occurs below the 0 point and the price is above the EMA (200), and SHORT when the reverse conditions are met.
With TradingView's premium options, you can perform backtesting to obtain a more reliable sample, but I recommend not exceeding more than 3 months for the 5-minute timeframe.
The ratio is set by default to 2:1. You can modify the Take Profit (TP), Stop Loss (SL), EMA length, and MACD settings.
My advice is to perform backtesting on pairs that adapt best to it.
It is recommended to periodically change the pairs that fit the strategy best or adjust the TP/SL, as volatility changes constantly.
A pair may work better for LONG positions than for SHORT , and vice versa.
The strategy is initially designed for use with the 5-minute timeframe, but it can be adapted to any timeframe and asset (stocks, cryptocurrencies, etc.).
If your exchange charges a 0.05% commission per trade, the strategy must have at least a 36.67% win rate to be profitable with the established TP/SL parameters.
The source code is open for customization and modification.
----------------------------------------------------------------------------------------------
Esta es una estrategia simple, diseñada para entrar en posiciones LONG cuando el cruce del MACD ocurre por debajo del punto 0 y el precio se encuentra sobre la EMA (200), y en posiciones SHORT cuando se da todo a la inversa.
Con las opciones premium de TradingView, puedes realizar análisis retroactivos para obtener una muestra más confiable, pero recomiendo que no se exceda más de los 3 meses para la temporalidad de 5 minutos.
El ratio está predeterminado en 2:1. Puedes modificar el Take Profit (TP), Stop Loss (SL), la longitud de la EMA y la configuración del MACD.
Mi consejo es hacer backtesting en los pares que mejor se adapten a ella.
Es recomendable cambiar con periodicidad los pares que más se adapten a la estrategia o ajustar el TP/SL, ya que la volatilidad varía constantemente.
Un par puede funcionar mejor para posiciones LONG que para SHORT , y viceversa.
La estrategia inicialmente está pensada para usarse en temporalidad de 5 minutos, pero puede adaptarse a cualquier temporalidad y activo (acciones, criptomonedas, etc.).
Si tu exchange cobra un 0,05% de comisión por operación, la estrategia debe tener al menos un 36,67% de acierto para ser rentable bajo los parámetros de TP/SL preestablecidos.
El código fuente está abierto para su personalización y modificación.
Eblicious Pro +Smart trend-following system with multiple confirmation layers to filter high-probability trades
SYSTEM CORE
Heikin Ashi
Uses smoothed "Heikin Ashi" candles (artificial candles showing trend direction) instead of regular candles
Bullish Signal: Blue HA candle (close > open)
Bearish Signal: Red HA candle (close < open)
Why it matters: Reduces market noise, shows clearer trends
Dual Filter System
A) MACD Momentum Filter
Checks if fast MACD line is above/below slow signal line
Bullish: Blue MACD line above orange signal line
Bearish: Blue MACD line below orange signal line
Tip: Disable in sideways markets
B) HA Trend Filter (NEW)
Requires signals to match HA candle direction
Buy Signals: Only when HA candle is blue
Sell Signals: Only when HA candle is red
Why added: Prevents fighting against the current trend
Smart Volatility Check
Only activates signals when market moves sufficiently
Green background = Volatility OK for trading
Red background = Too quiet, signals disabled
How it works: Measures recent price swings (ATR)
Time-Sensitive Mode
Automatically adjusts sensitivity:
High Activity (8:35-11:00 ET): 20% more sensitive
Low Activity (11:01-14:30 ET): 15% less sensitive
Best usage: Focus on morning session signals
VISUAL
Chart Markers
"AB" Label: Adaptive Buy signal (below price bar)
"AS" Label: Adaptive Sell signal (above price bar)
Color Code:
Bright green/red = Strong confirmation
Pale colors = Filter requirements not fully met
Filter Status Table (Top-Right)
Real-time monitoring of active filters
Green = Filter ON, Red = Filter OFF
Advanced Features
1- Self-Learning Algorithm
Analyzes past 100 signals' success rate
Automatically weights better-performing signals
Requires >55% historical accuracy (adjustable)
2- Risk Management
Built-in stop loss (1%) & take profit (2%) suggestions
Adjustable in settings based on your risk tolerance
3- Multi-Timeframe Compatibility
Works best on:
15min charts for day trading
4hr charts for swing trading
Daily charts for long-term positions
How to Trade
Buy Signal Checklist:
1-Blue HA candle appears
2-"AB" label below price bar
3-Chart background turns green (volatility OK)
Sell Signal Checklist:
1-Red HA candle appears
2-"AS" label above price bar
3-Chart background turns green (volatility OK)
SUPERDUPER TRENDThe Supertduper Trend strategy is a technical trading strategy that combines the Supertrend indicator with other trading tools or techniques to improve decision-making and increase the chances of profitable trades. The Supertrend itself is a popular trend-following indicator that helps traders determine the direction of the market (uptrend or downtrend) and provides buy and sell signals. It is based on the Average True Range (ATR) and a multiplier value to determine the distance from the price at which the trend reversal occurs.
Key Elements of the Supertrend Indicator:
ATR (Average True Range): The ATR is used to measure market volatility. The higher the ATR, the wider the Supertrend indicator’s bands, and the more volatile the market.
Multiplier: This value, typically between 1.5 and 3, determines how sensitive the Supertrend indicator is to price movements. A higher multiplier creates wider bands, while a lower multiplier makes the bands closer to the price.
Trend Signals:
Buy Signal: When the price crosses above the Supertrend line, signaling the start of an uptrend.
Sell Signal: When the price crosses below the Supertrend line, signaling the start of a downtrend.
Superduper Trend Strategy Overview:
The Superduper Trend strategy involves the following elements:
Combining Supertrend with Other Indicators: Traders often combine the Supertrend with other technical indicators like the Moving Average Convergence Divergence (MACD), Relative Strength Index (RSI), or Moving Averages (SMA/EMA) to confirm signals or refine entry/exit points.
MACD: This is used to detect the strength and direction of the trend, confirming whether the trend is likely to continue or reverse.
RSI: This helps determine overbought or oversold conditions, providing a clearer view of when to enter or exit a position.
Moving Averages: These can be used to confirm the long-term trend direction and smooth out price fluctuations for clearer decision-making.
Trade Confirmation and Filter:
Trend Confirmation: A trader might wait for the Supertrend indicator to provide a confirmed buy or sell signal (price crossing the Supertrend line) and then use another indicator like MACD or RSI to confirm the strength of the signal.
Avoiding False Signals: Traders may set conditions to avoid false signals by waiting for additional confirmations or using filters, such as price action patterns or volume analysis.
Risk Management:
Stop-Loss & Take-Profit Levels: The Superduper Trend strategy often involves setting stop-loss levels just below the Supertrend line in an uptrend or above the line in a downtrend. The distance from the current price is typically determined by the ATR and multiplier.
Trailing Stops: Some strategies involve using a trailing stop-loss, which follows the price as it moves in the trader's favor, locking in profits while allowing the trade to continue to the next key level.
Timeframes: The Superduper Trend strategy can be applied on different timeframes, but it’s typically more effective on longer timeframes (e.g., 1-hour, 4-hour, daily) to reduce noise and avoid short-term price fluctuations that could lead to false signals.
Example of Superduper Trend Strategy in Action:
Buy Setup:
The price crosses above the Supertrend line.
MACD is positive (indicating upward momentum).
RSI is not overbought (e.g., RSI is below 70).
A long position is taken with a stop-loss just below the Supertrend line or an ATR-based level.
Sell Setup:
The price crosses below the Supertrend line.
MACD is negative (indicating downward momentum).
RSI is not oversold (e.g., RSI is above 30).
A short position is taken with a stop-loss just above the Supertrend line or an ATR-based level.
Advantages of the Superduper Trend Strategy:
Simple to Use: The Supertrend indicator is easy to understand, making it suitable for both beginner and experienced traders.
Trend-Following: It captures larger market moves by focusing on trends.
Versatility: It can be applied across different timeframes and asset classes, including stocks, forex, and commodities.
In conclusion, the Superduper Trend strategy is most effective when combined with other confirming indicators and used in trending markets. By leveraging the Supertrend’s ability to signal trends, along with tools for confirmation and risk management, traders can improve the reliability of their trade entries and exits.
Fibonacci CrossesA Fibonacci Moving Average Cross is a technical analysis strategy used in financial markets that combines the concept of moving averages with the Fibonacci sequence to identify potential buy or sell signals. The Fibonacci sequence is a series of numbers in which each number is the sum of the two preceding ones, and it appears in various aspects of natural and financial systems. The Fibonacci retracement levels (such as 23.6%, 38.2%, 50%, 61.8%, and 100%) are often used to identify potential support and resistance levels.
In the Fibonacci Moving Average Cross strategy, two moving averages are typically employed: one with a shorter period (faster moving average) and another with a longer period (slower moving average). These moving averages are often based on Fibonacci numbers such as 8, 13, 21, 34, and so on. For example, a trader might use a 13-period moving average and a 21-period moving average.
The "cross" in this context refers to when the faster moving average crosses above or below the slower moving average, signaling a potential change in trend:
Bullish Cross (Golden Cross): When the shorter-term Fibonacci moving average crosses above the longer-term Fibonacci moving average, it can indicate a potential upward trend or buy signal.
Bearish Cross (Death Cross): When the shorter-term Fibonacci moving average crosses below the longer-term Fibonacci moving average, it can signal a potential downward trend or sell signal.
The Fibonacci levels are thought to align with key market reversal points, adding further significance to the crossovers. Traders use Fibonacci Moving Average Crosses to identify trends, confirm other technical signals, and set entry and exit points with greater precision.
Fibonacci Moving Average Crosses are a tool used to detect momentum shifts and trend reversals, combining the historical significance of Fibonacci ratios with the practical application of moving averages in trading strategies.
How a Trader would use this indicator:
1) Plot a higher value Fibonacci sequence.
2) Take buy/sell signals using a smaller value Fibonacci sequence
Green/Red Candle Ratio - Ratiomizer V1.01🔥 Green/Red Candle Ratio Indicator 🔥
📊 Track Market Momentum Instantly!
🚀 Welcome to the Green/Red Candle Ratio Indicator! 🚀
This script dynamically calculates the ratio of green (bullish) vs. red (bearish) candles in your visible chart area, giving you a quick overview of market sentiment.
🛠 About This Script
⚡ Created with the help of ChatGPT – This is an early draft and open-source for everyone to use and improve!
⚠️ Short timeframe users (1min, 5min, etc.) – Be aware that too many candles can sometimes cause issues with calculations.
🔗 If you improve on this idea or use it in your own project, I’d love a little credit! 💙
📺 Follow My Trading Journey!
🎥 Live Trading, Insights & Market Analysis:
📌 YouTube → www.YouTube.com
📌 Kick → www.Kick.com
🙌 Support the content and join an awesome trading community!
💡 How to Use This Indicator
1️⃣ Apply it to your chart
2️⃣ See the real-time green/red candle ratio
3️⃣ Zoom in/out to dynamically adjust the calculations
4️⃣ Use it as an extra confirmation tool for trend momentum
💬 Feedback & improvements are welcome! If you run into issues or have ideas to make this script better, let me know in the community!
🔥 Happy Trading & Stay Profitable! 🔥 🏆
//@version=5
indicator("Green/Red Candle Ratio", overlay=true)
// Define the number of past bars to check (must be within TradingView limits)
maxBarsBack = math.min(500, bar_index) // Ensures we do not exceed available bars
// Initialize counters
greenCount = 0
redCount = 0
neutralCount = 0
totalBars = 0
// Loop through the last `maxBarsBack` bars
for i = 0 to maxBarsBack - 1
idx = bar_index - i
if idx >= 0
if close > open
greenCount := greenCount + 1
else if close < open
redCount := redCount + 1
else
neutralCount := neutralCount + 1
// Ensure only green + red candles contribute to the percentage calculation
validBars = greenCount + redCount
// Calculate ratios correctly so they always add up to 100%
greenRatio = validBars > 0 ? (greenCount / validBars) * 100 : na
redRatio = validBars > 0 ? (redCount / validBars) * 100 : na
// Create label text
labelText = "Green: " + str.tostring(greenRatio, "#.##") + "% Red: " + str.tostring(redRatio, "#.##")
labelColor = greenRatio > redRatio ? color.green : color.red
// Delete previous label before creating a new one
var label ratioLabel = na
if not na(ratioLabel)
label.delete(ratioLabel)
// Display only one label that updates dynamically
ratioLabel := label.new(bar_index, high, labelText, color=color.white, textcolor=labelColor, size=size.normal, style=label.style_label_down)
⚜️SMB Cross⚜️This script calculates the SMB (Strategy Mohsen Bahmani) index along with Heikin Ashi candles and a moving average. Heikin Ashi is used in this script as a smoothing technique to reduce noise and identify trends more clearly, helping generate more accurate trading signals.
Features:
SMB (Strategy Mohsen Bahmani): The SMB indicator is specifically designed to identify significant market movements and sharp price changes. In this script, the SMB is calculated using Heikin Ashi prices, enhancing the accuracy of the predictions.
Heikin Ashi: Heikin Ashi is a technical tool used for smoothing data and reducing price noise. It is especially useful in identifying longer-term trends and clear buy/sell signals.
Moving Average: An Exponential Moving Average (EMA) is used in this script to smooth out the SMB signals. This moving average helps you visualize the overall market trend more clearly.
Settings:
SMB MA Length: The length of the moving average for smoothing the SMB data is adjustable. The default length is 5, but you can modify it based on your trading strategy.
Usage:
This script is designed for traders who want to incorporate Heikin Ashi in their analysis along with traditional signals. By combining SMB and Heikin Ashi, you can receive more accurate signals for market entry and exit points.
How It Works:
Heikin Ashi prices are calculated.
The SMB index is calculated based on the Heikin Ashi price changes and trading volume.
An Exponential Moving Average of the SMB values is computed and plotted on the chart.
Using this tool, you can better simulate market trends and make more informed trading decisions.
Trend_CasperEMA Cloud Indicator (9, 13, 20)
This indicator plots three Exponential Moving Averages (EMAs) with lengths of 9, 13, and 20. It also creates a dynamic cloud between the highest and lowest EMA values, with colors indicating market conditions:
• Green: Price is above the cloud (bullish signal).
• Red: Price is below the cloud (bearish signal).
• Gray: Price is within the cloud (neutral or consolidation).
Use it to identify trends early and make informed trading decisions based on price movement relative to the EMAs.
Let me know if you need any modifications!
Trend Map For TradersThis indicator maps out EMAs of various lengths into a visual map and allows you to configure the map's sensitivity with two simple settings. The color scheme is straightforward: observe the colors from top to bottom. The top represents the short-term trend, while the bottom reflects the long-term trend. Overall, the map provides a visual overview of the current short- and long-term trends. Simple but effective.
5 EMA - 20 EMA Crossover Trade Labels with Background ShadingEMA Crossover Strategy with Background Shading
This script implements an EMA Crossover strategy that generates BUY and SELL signals based on the relationship between the 5-period EMA (Exponential Moving Average) and the 20-period EMA, with additional confirmation from the 50-period EMA.
Strategy Explanation:
BUY Signal: A BUY signal is generated when the 5 EMA crosses above the 20 EMA and the price is above the 50 EMA, indicating a potential upward trend. The background is shaded green to highlight favorable conditions for buying.
SELL Signal: A SELL signal is generated when the 5 EMA crosses below the 20 EMA and the price is below the 50 EMA, suggesting a potential downward trend. The background is shaded red to indicate unfavorable conditions and to help identify optimal selling points.
Features:
Dynamic Background Shading: The background is shaded green when the price is above the 50 EMA and red when the price is below the 50 EMA to visually represent trend conditions.
Clear Trade Signals: Semi-transparent arrows and text labels ("BUY" and "SELL") mark the crossover points, enhancing signal visibility and making it easier to identify trading opportunities.
This strategy provides a clear and visual method for identifying potential trades by combining EMA crossovers with trend confirmation from the 50 EMA. It helps traders make informed decisions based on market conditions.
VWAP Divergence | dobofulopOverview :
This script identifies potential bullish and bearish divergence signals using the Volume Weighted Average Price (VWAP). It calculates VWAP resets based on a selected “Anchor Period” (Session, Week, Month, Quarter, Year, Decade, Century, or corporate events like Earnings, Dividends, Splits). When price action and VWAP move in opposite directions with a sufficiently large ATR-based move over a chosen lookback period, the script plots divergence dots on the chart.
Key Features:
VWAP Anchoring : Choose an anchor period for resetting VWAP. This could be daily, weekly, monthly, or based on specific corporate events (Earnings, Dividends, Splits).
Divergence Detection : Looks for instances where the price is moving up while VWAP moves down (potential bullish divergence), and vice versa for bearish divergence.
ATR Filter : Uses the ATR (Average True Range) to filter out minor or insignificant price moves, helping to reduce noise.
Gap Check : Automatically invalidates signals if large price gaps occur within the lookback range.
Visual Signals : Bullish divergences are plotted below the bar, while bearish divergences are plotted above, making it easy to spot potential reversal zones.
How to Us
Inputs:
- Anchor Period (Session, Week, Month, etc.) – determines when the VWAP calculation restarts.
- Source (Default: HLC3) – Price source for the VWAP.
- ATR Multiplier and Lookback Period – Fine-tune the threshold for detecting significant moves vs. VWAP.
Interpretation:
- Bullish Divergence Dot: Suggests potential price strength when price moves higher but VWAP moves lower.
- Bearish Divergence Dot: Suggests potential price weakness when price moves lower but VWAP moves higher.
Disclaimer:
This script is provided for educational purposes only and should not be interpreted as financial advice. Past performance does not guarantee future results. Always conduct your own analysis and consider consulting a financial professional before making trading decisions.
Composite Indicator (CCI + ATR)Composite Indicator (CCI + ATR)
The Composite Indicator (CCI + ATR) combines the Commodity Channel Index (CCI) with the Average True Range (ATR) , providing traders with a dynamic tool for identifying entry and exit points based on momentum and volatility. This indicator is particularly useful for markets like cryptocurrencies, which often exhibit sharp sell-offs and gradual upward trends.
Key Features
Momentum Analysis with CCI: The CCI calculates price momentum by comparing the current price level to its average over a specific period. The indicator generates signals when CCI crosses predefined thresholds.
- Buy Signal: Triggered when CCI crosses above the lower threshold (e.g., -100).
- Sell Signal: Triggered when CCI crosses below the upper threshold (e.g., +100).
Volatility Filtering with ATR: The ATR measures market volatility, ensuring signals occur only during significant price movements.
Separate multipliers for buy and sell signals allow tailored filtering based on market behavior.
Stop Loss Calculation: Dynamic stop loss levels are calculated using the ATR multiplier to adapt to market volatility, offering better risk management.
How It Works
CCI Calculation: The CCI is calculated using the typical price ((High + Low + Close) / 3) and a user-defined length. It detects momentum changes by measuring deviations from the average price.
ATR Calculation: The ATR determines the average price range over a specified period, identifying the market’s volatility. The ATR SMA acts as a baseline to filter signals.
Buy Signal: A buy signal is triggered when:
- CCI crosses above the lower threshold (e.g., -100).
- ATR exceeds its SMA multiplied by the buy multiplier (e.g., 1.0).
Sell Signal: A sell signal is triggered when:
- CCI crosses below the upper threshold (e.g., +100).
- ATR exceeds its SMA multiplied by the sell multiplier (e.g., 0.95).
Stop Loss Integration:
- Long positions: Stop loss = Low – (ATR * ATR Multiplier)
- Short positions: Stop loss = High + (ATR * ATR Multiplier)
Advantages
Combines momentum (CCI) and volatility (ATR) for precise signal generation.
Customizable thresholds and multipliers for different market conditions.
Dynamic stop loss ensures better risk management in volatile markets.
Suggested Parameter Settings
CCI Length: 20 (default). Adjust as follows:
- 10–15: Shorter timeframes (e.g., 5-15 minutes).
- 20: General use for 1-hour timeframes.
- 30–50: Longer timeframes (e.g., 4-hour or daily charts).
CCI Threshold: 100 (default). Adjust as follows:
- 50–75: For more frequent signals in ranging markets.
- 100: Balanced for most trading conditions.
- 150–200: For strong trends to reduce noise.
ATR Length: 14 (default). Adjust as follows:
- 10–14: For assets with moderate volatility.
- 20: For assets with lower volatility.
ATR Buy Multiplier: 1.0 (default). Adjust as follows:
- 0.9–1.0: For gradual uptrends in crypto markets.
- 1.1–1.2: For stronger trend filtering.
ATR Sell Multiplier: 0.95 (default). Adjust as follows:
- 0.8–0.95: For sharp sell-offs.
- 1.0–1.1: For stable downward trends.
ATR Multiplier (Stop Loss): 1.5 (default). Adjust as follows:
- 1.0–1.2: For shorter timeframes or less volatile markets.
- 2.0–2.5: For highly volatile markets like cryptocurrencies.
Example Use Cases
Scalping (5-15 minute charts): Use CCI Length = 10, CCI Threshold = 75, ATR Buy Multiplier = 0.9, ATR Sell Multiplier = 0.8.
Day Trading (1-hour charts): Use CCI Length = 20, CCI Threshold = 100, ATR Buy Multiplier = 1.0, ATR Sell Multiplier = 0.95.
Swing Trading (4-hour or daily charts): Use CCI Length = 30, CCI Threshold = 150, ATR Buy Multiplier = 1.2, ATR Sell Multiplier = 1.0.
Final Thoughts The Composite Indicator (CCI + ATR) is a versatile tool designed to enhance trading decisions by combining momentum analysis with volatility filtering. Whether scalping or swing trading, this indicator provides actionable insights and robust risk management to navigate complex markets effectively.
RSI-Based Trading Bot (Multiple Buys)Investi lorsque RSI est en dessous de 25, revend quand au dessus de 70
Roc & Atr & MAROC - ATR and comparison of 3 moving averages.
Buy signal if 3 Moving Averages cross ATR band.
Downward Sell signal.
And comparison to each other.
Volatility - ATR and Averages.
EMA 68 with Trailing Stop-Loss 9430018561EMA 68 with Trailing Stop-Loss 9430018561
EMA Crossover ke upar buy and sell
Isme stop loss bhi hain aur traling stop loss bhi
Range Filter + EMA200 by MMMEl indicador "Range Filter Buy and Sell 5min" está diseñado para detectar tendencias y generar señales de compra y venta en gráficos de 5 minutos, aunque puede ajustarse para otros intervalos de tiempo y activos financieros. Este indicador utiliza un filtro basado en rangos que combina el precio con un promedio suavizado del rango de las velas, lo que ayuda a eliminar el ruido del mercado y enfocarse en movimientos significativos.
Características principales:
Filtro de Rango Suavizado:
Utiliza un rango promedio suavizado para identificar niveles clave en el precio. Los niveles altos (High Band) y bajos (Low Band) representan zonas objetivo dinámicas.
Detección de Tendencias:
Una tendencia alcista se indica cuando el precio está por encima del filtro y mantiene una dirección ascendente.
Una tendencia bajista ocurre cuando el precio está por debajo del filtro y sigue una dirección descendente.
Señales de Compra/Venta:
Genera señales visuales ("Buy" y "Sell") en el gráfico cuando se cumplen condiciones específicas de cambio de tendencia.
También incluye alertas configurables para facilitar la toma de decisiones.
Colores Dinámicos:
Colorea las barras según la dirección del filtro, lo que ayuda a visualizar de manera intuitiva el estado del mercado.
Compatibilidad con Estrategias:
Incluye una sección opcional para convertir el indicador en una estrategia, permitiendo ejecutar órdenes automáticas con niveles de Take Profit (TP) y Stop Loss (SL).
La incorporación de la EMA 200 permite conocer de que tipo de mercado se trata, para tomar decisiones correctas
Composite Indicator (Donchian + OBV)Composite Indicator (Donchian + OBV)
The Composite Indicator (Donchian + OBV) is a powerful tool designed to evaluate the strength of market breakouts and momentum trends , offering traders a comprehensive perspective on price action. This indicator combines the Donchian Channel with On-Balance Volume (OBV) to create a dynamic and easy-to-interpret metric scaled between -1 and 1 .
Key Features
Breakout Strength Analysis:
- The indicator assesses the strength of price breakouts relative to the upper and lower bounds of the Donchian Channel.
- Positive values close to 1 indicate a strong bullish breakout.
- Negative values close to -1 indicate a strong bearish breakout.
Momentum Detection with OBV:
- On-Balance Volume (OBV) tracks the cumulative buying and selling volume to gauge market momentum.
- The smoothed OBV trend ensures the momentum component aligns with price action, reducing noise.
Integrated Composite Value:
- Combines breakout strength and OBV momentum into a single metric for enhanced clarity.
- The final composite value highlights whether the market is bullish, bearish, or neutral.
Divergence Detection:
- Spot bullish divergences when the indicator rises while price falls, suggesting a potential upward reversal.
- Identify bearish divergences when the indicator falls while price rises, hinting at a potential downward reversal.
How It Works
Donchian Channel Analysis:
- Calculates the highest high and lowest low over a user-defined period to establish the upper and lower channels .
- Breakouts beyond these channels contribute to the breakout strength component.
OBV Momentum:
- Measures cumulative volume trends to validate price movements.
- Momentum is derived from the rate of change in smoothed OBV values.
Composite Calculation:
- Combines breakout strength and OBV momentum, normalized and scaled to -1 to 1 for clarity.
How to Use
Bullish Breakout:
- When the indicator value approaches 1 , it signals a strong upward breakout supported by positive OBV momentum.
- Example Action: Consider a Buy if price breaks the upper Donchian Channel with increasing OBV.
Bearish Breakout:
- When the indicator value approaches -1 , it indicates a strong downward breakout supported by negative OBV momentum.
- Example Action: Consider a Sell if price breaks the lower Donchian Channel with decreasing OBV.
Neutral Market:
- When the value is near 0 , the market is likely balanced with no significant breakout or momentum detected.
Divergence Opportunities:
- Bullish Divergence: Price makes lower lows, but the indicator trends upward → Potential upward reversal.
- Bearish Divergence: Price makes higher highs, but the indicator trends downward → Potential downward reversal.
Customization Options
Donchian Channel Length: Adjust the period for the upper and lower bounds.
OBV Smoothing Length: Modify the smoothing period for OBV to fine-tune momentum detection.
Scaling Adjustments: The composite value is automatically normalized for consistency across timeframes.
Ideal Use Cases
Breakout Trading: Identify and confirm strong breakouts in volatile markets.
Momentum Confirmation: Validate price movements with volume-based momentum.
Reversal Detection: Leverage divergences to spot potential market reversals.
Example Applications
Strong Bullish Signal:
- Price breaks the upper channel , and OBV shows increasing volume → Composite value near 1 .
- Action: Enter a Buy position and set a Stop Loss below the upper channel.
Strong Bearish Signal:
- Price breaks the lower channel , and OBV shows decreasing volume → Composite value near -1 .
- Action: Enter a Sell position and set a Stop Loss above the lower channel.
Neutral Market:
- Composite value near 0 suggests indecision or consolidation. Wait for a breakout.
Limitations
Best used alongside additional tools like RSI or MACD for filtering noise and improving decision-making.
Requires careful parameter tuning based on the asset and timeframe.
Final Thoughts
The Composite Indicator (Donchian + OBV) offers traders a versatile tool to navigate complex markets. By blending breakout analysis with volume-based momentum, this indicator provides an actionable edge for identifying high-probability opportunities and potential reversals.