Easy buy and sell signalThis script identifies trading opportunities by combining:
EMA Crossovers: Detects when the short-term trend (5 EMA) crosses the longer-term trend (20 EMA).
MACD Crossovers: Confirms momentum shifts when the MACD line crosses its signal line.
The script ensures that a signal is only generated when both conditions align, reducing false signals.
指標和策略
Savas Cum Inverse Fisher Transform on RSI and CCIAl ve sat sinyallerini belli oranda paylaşan ve trendi takip etmenize imkan sunan bir Pine Editör seknesidir
Gainzy Intraday Momentum Algo1. Price Chart (Top Section):
The candlestick chart at the top represents the price movements of XRP/USD over time.
Each candlestick displays:
Body: Difference between the open and close prices for the time period.
Wicks: High and low prices during the time period.
2. Momentum Indicator (Bottom Section):
The lower section contains a momentum-based indicator with alternating red and green zones:
Green Zones: Represent periods of upward momentum or potential buying opportunities.
Red Zones: Represent periods of downward momentum or potential selling opportunities.
3. Buy and Sell Signals:
Buy Signals (Green Arrows or Green Zones):
Appear when the momentum indicator detects upward momentum above a specific threshold.
Suggests that prices may rise, offering a buying opportunity.
Sell Signals (Red Arrows or Red Zones):
Appear when the momentum indicator detects downward momentum below a specific threshold.
Suggests that prices may fall, signaling a potential selling opportunity.
4. Net Profit Display:
At the far right of the chart, the net profit is displayed (e.g., +43%).
Indicates the cumulative profitability of following the buy/sell signals during the period shown.
Helps traders evaluate the effectiveness of the strategy.
5. Timeframe:
The chart uses a 4-hour timeframe, as indicated on the chart.
Each candlestick represents 4 hours of trading activity.
Purpose of the Chart:
This chart helps traders:
Visualize Price Trends: The candlestick chart provides insights into market direction.
Identify Momentum Shifts: The momentum indicator highlights periods of bullish or bearish momentum.
Generate Trade Signals: Clear buy and sell signals assist in making trading decisions.
Evaluate Strategy Profitability: The net profit metric offers a quick assessment of how well the strategy performs.
TREND 1The Trend 1 Indicator is a technical analysis tool designed to identify and visualize the prevailing trend direction in financial markets. It's particularly useful for traders who rely on trend-following strategies.
Key Features:
Trend Identification: The indicator helps identify the current trend as either uptrend, downtrend, or sideways.
Trend Strength: It can provide insights into the strength or weakness of the prevailing trend.
Potential Reversal Signals: While not explicitly designed for reversal signals, traders may observe changes in the indicator's behavior to anticipate potential trend shifts.
How it Works:
The exact calculation and interpretation of the Trend 1 Indicator can vary depending on the specific implementation and the platform used. However, generally, it involves analyzing price movements over a specific period to determine the overall direction and momentum.
Common Uses:
Trading Decisions: Traders may use the indicator to align their trades with the identified trend direction. For example, if the indicator suggests an uptrend, they might favor long positions (buying).
Risk Management: The indicator can help traders assess the risk associated with their trades by providing insights into the strength and potential volatility of the current trend.
Portfolio Allocation: Investors may use the indicator to determine the overall market trend and adjust their portfolio allocations accordingly.
Important Considerations:
No Holy Grail: The Trend 1 Indicator, like any other technical indicator, is not foolproof. It should be used in conjunction with other analysis methods and risk management strategies.
Customization: The parameters and settings of the indicator can be customized to suit individual trading styles and preferences.
Backtesting: It's essential to backtest any trading strategy using the Trend 1 Indicator on historical data to evaluate its performance and effectiveness.
By understanding the principles of the Trend 1 Indicator and incorporating it into their trading arsenal, traders can potentially improve their decision-making process and enhance their overall trading performance.
HMA Profit Manager - V1.9Note : Settings should be adjusted according to the selected time frame. Try to find the best setting according to the profitability rate
Overall Functionality
This script combines several trading tools to create a comprehensive system for trend analysis, trade execution, and performance tracking. Users can identify market trends using specific moving averages and RSI indicators while managing profit and loss levels automatically.
Trend Detection and Trade Signals
Hull Moving Averages (HMA):
Two HMAs (a faster one and a slower one) are used to determine the market trend.
A buy signal is generated when the faster HMA crosses above the slower HMA.
Conversely, a sell signal is triggered when the faster HMA crosses below the slower one.
Visual Feedback:
Trend lines on the chart change color to reflect the trend direction (e.g., green for upward trends and red for downward trends).
Trade Levels and Management
Entry, Take-Profit, and Stop-Loss Levels:
When the trend shifts upwards, the script calculates entry, take-profit, and stop-loss levels based on the opening price.
Similarly, for downward trends, these levels are determined for short trades.
Commission Tracking:
Each trade includes a commission cost, which is factored into net profit and loss calculations.
Dynamic Labels:
Entry, take-profit, and stop-loss levels are visually marked on the chart for easier tracking.
Performance Tracking
Profit and Loss Tracking:
The script keeps a running total of profits, losses, and commissions for both long and short trades.
It also calculates the net profit after all costs are considered.
Performance Table:
A table is displayed on the chart summarizing:
The number of trades.
Total profit and loss for long and short positions.
Commission costs.
Net profit.
Fractal Support and Resistance
Dynamic Lines:
The script identifies the most recent significant highs and lows using fractals.
It draws support and resistance lines that automatically update as new fractals form.
Simplified Visuals:
The chart always shows the last two support and resistance lines, keeping the visualization clean and focused.
RSI-Based Signals
Overbought and Oversold Levels:
RSI is used to identify overbought (above 80) and oversold (below 20) conditions.
The script generates buy signals at oversold levels and sell signals at overbought levels.
Chart Indicators:
Arrows and labels appear on the chart to highlight these RSI-based opportunities.
Customization
The script allows users to customize key parameters such as:
Moving average lengths for trend detection.
Take-profit and stop-loss percentages.
Timeframes for backtesting.
Starting capital and commission rates.
Conclusion
This script is a versatile tool for traders, combining trend detection, automated trade management, and visual feedback. It simplifies decision-making by providing clear signals and tracking performance metrics, making it suitable for both beginners and experienced traders.
* The most recently drawn fractals represent potential support and resistance levels. If the price aligns with these levels at the time of entering a trade, it may indicate a likelihood of reversal. In such cases, it’s advisable to either avoid entering the trade altogether or proceed with increased caution.
ZelosKapital Market BehaviourThe ZelosKapital Market Behaviour Indicator is a powerful tool designed to visually highlight market structure periods directly on your trading chart. This indicator identifies and labels the four key price action phases: Higher Highs (HH), Higher Lows (HL), Lower Highs (LH), and Lower Lows (LL). Understanding these phases is critical for traders aiming to follow the trend or anticipate potential reversals.
Wick sizeShow the average wick size of the last 10 bar for analysis purposes.
Makes it easier to recognise possible turning points.
Min/Max of Last 4(N) Candles Track previous 4 candles high and low. Green line is the previous 4 candle's highest high, and Red line is the the previous 4 candle's lowest low.
If the current candle break the Green line, and close as a bullish candle, the green line will stop painting, and a red line will appear, you can try to go long and stop loss will be the red line.
If the current candle break the red line and close as a bearish candle, the red line will stop paining, and a green line will appear, you can try to go short and stop loss will be the green line.
However you should not just automatically place the buy or sell stop order at the line, because unless the trend is super strong, there could some level of consolidation and fake out.
You should use this indicator after assess ing the market condition, and your trading size and product.
If the trend is super strong, you will likely catch a really big move without hitting stop loss and with minimal drawdown.
Volume Weighted Average Price with 4 EMAsThe Volume Weighted Average Price (VWAP) with EMAs indicator combines the VWAP, which provides the average price of a security weighted by volume, with four Exponential Moving Averages (EMAs) of customizable lengths (default: 9, 20, 50, 200). This indicator helps traders identify trends, potential support and resistance levels, and make informed trading decisions based on price action relative to volume and moving averages.
50 and 9 EMA CrossoverThis 50 and 9 EMA Crossover strategy is a simple yet effective trend-following approach designed to identify key market entry and exit points based on the interaction of two Exponential Moving Averages (EMAs).
Key Features:
50-period EMA (Blue Line): Represents the longer-term trend. It smooths out price data to show the overall market direction.
9-period EMA (Red Line): Represents the shorter-term trend, responding quicker to recent price movements.
Strategy:
Buy Signal: A crossover occurs when the 9 EMA crosses above the 50 EMA, indicating that short-term momentum is stronger than the long-term trend. This is often interpreted as a signal to enter a long position (buy).
Sell Signal: A crossunder occurs when the 9 EMA crosses below the 50 EMA, suggesting that short-term momentum is weakening or reversing. This can be used as an indication to close long positions or enter short trades (sell).
Key Benefits:
Visual Indicators: The script plots both EMAs on the chart for a clear visual representation of market trends.
Clear Entry/Exit Signals: The "BUY" and "SELL" signals are displayed directly on the chart when the crossovers and crossunders occur, making it easy to act on these key moments.
Alerts: Set up alerts to get notified when these crossovers occur, ensuring you don’t miss important trading opportunities.
This strategy works best in trending markets and can be used for both short-term and longer-term trading, depending on your preferences.
Options Flavour by Raushan ShrivastavaThis script is for a trading strategy which combines Pivot Points and a Simple Moving Average.
It calculates support and resistance levels based on the monthly pivot point and plots them on the chart.
The script also creates conditions for entering bullish and bearish trades based on the relationship between the price and moving average.
Breakdown of the main components of the script :-
Pivot Point Calculation:
The script calculates the monthly pivot point and its associated support (S1, S2, S3) and resistance (R1, R2, R3) levels.
These levels are used to determine potential areas of interest on the chart.
Moving Average:
A simple moving average (SMA) is plotted with a length defined by the user (length_ma), used to spot trends.
Conditions for Bullish and Bearish Signals:
Bullish condition: The label appears when the market crosses the moving average upward and is above the pivot, or when the market crosses the pivot upward and is above the moving average.
Bearish condition: The label appears when the market crosses the moving average downward and is below the pivot, or when the market crosses the pivot downward and is below the moving average.
Plotting Shapes:
The pivot point, support, resistance, and previous month's high/low values are plotted on the chart as circles.
The moving average is plotted as a black line.
Labels:
Labels are placed to indicate when a bullish or bearish condition occurs. These labels appear when the conditions are met, helping visualize trading signals.
This strategy can be useful for traders who wish to combine multiple technical indicators to make more informed decisions. You can adjust the parameter for moving average length to fine-tune the strategy for different time frames and market conditions.
MVRV Z-Score (Topos e Fundos)No MVRV Z-Score, a linha roxa (que representa o valor do indicador) atingir ou ultrapassar a faixa vermelha geralmente indica que o ativo está em uma zona de sobrevalorização. Isso significa que o mercado pode estar próximo de um topo, e historicamente, esses momentos tendem a ser seguidos por correções de preço.
O que acontece quando a linha roxa atinge a faixa vermelha?
Zona Vermelha (Topo):
Quando a linha roxa entra na faixa vermelha, o ativo está sendo negociado muito acima do seu valor realizado (Realized Value).
Isso sugere que muitos investidores estão com lucros não realizados significativos, o que pode levar a vendas em massa e, consequentemente, a uma correção de preço.
Sinal para traders e investidores:
Para traders, pode ser um sinal de que o preço está próximo de um topo e que pode ser um bom momento para realizar lucros.
Para investidores de longo prazo, pode ser um alerta para evitar compras nesse momento, aguardando uma possível correção.
E se a linha roxa não atingir a faixa vermelha?
Se a linha roxa não atingir a faixa vermelha, o ativo pode ainda ter espaço para valorização antes de atingir um topo. No entanto, é importante observar outros fatores do mercado, como volume, sentimento e contexto macroeconômico.
Uptrick: Volatility Reversion BandsUptrick: Volatility Reversion Bands is an indicator designed to help traders identify potential reversal points in the market by combining volatility and momentum analysis within one comprehensive framework. It calculates dynamic bands around a simple moving average and issues signals when price interacts with these bands. Below is a fully expanded description, structured in multiple sections, detailing originality, usefulness, uniqueness, and the purpose behind blending standard deviation-based and ATR-based concepts. All references to code have been removed to focus on the written explanation only.
Section 1: Overview
Uptrick: Volatility Reversion Bands centers on a moving average around which various bands are constructed. These bands respond to changes in price volatility and can help gauge potential overbought or oversold conditions. Signals occur when the price moves beyond certain thresholds, which may imply a reversal or significant momentum shift.
Section 2: Originality, Usefulness, Uniqness, Purpose
This indicator merges two distinct volatility measurements—Bollinger Bands and ATR—into one cohesive system. Bollinger Bands use standard deviation around a moving average, offering a baseline for what is statistically “normal” price movement relative to a recent mean. When price hovers near the upper band, it may indicate overbought conditions, whereas price near the lower band suggests oversold conditions. This straightforward construction often proves invaluable in moderate-volatility settings, as it pinpoints likely turning points and gauges a market’s typical trading range.
Yet Bollinger Bands alone can falter in conditions marked by abrupt volatility spikes or sudden gaps that deviate from recent norms. Intraday news, earnings releases, or macroeconomic data can alter market behavior so swiftly that standard-deviation bands do not keep pace. This is where ATR (Average True Range) adds an important layer. ATR tracks recent highs, lows, and potential gaps to produce a dynamic gauge of how much price is truly moving from bar to bar. In quieter times, ATR contracts, reflecting subdued market activity. In fast-moving markets, ATR expands, exposing heightened volatility on each new bar.
By overlaying Bollinger Bands and ATR-based calculations, the indicator achieves a broader situational awareness. Bollinger Bands excel at highlighting relative overbought or oversold areas tied to an established average. ATR simultaneously scales up or down based on real-time market swings, signaling whether conditions are calm or turbulent. When combined, this means a price that barely crosses the Bollinger Band but also triggers a high ATR-based threshold is likely experiencing a volatility surge that goes beyond typical market fluctuations. Conversely, a price breach of a Bollinger Band when ATR remains low may still warrant attention, but not necessarily the same urgency as in a high-volatility regime.
The resulting synergy offers balanced, context-rich signals. In a strong trend, the ATR layer helps confirm whether an apparent price breakout really has momentum or if it is just a temporary spike. In a range-bound market, standard deviation-based Bollinger Bands define normal price extremes, while ATR-based extensions highlight whether a breakout attempt has genuine force behind it. Traders gain clarity on when a move is both statistically unusual and accompanied by real volatility expansion, thus carrying a higher probability of a directional follow-through or eventual reversion.
Practical advantages emerge across timeframes. Scalpers in fast-paced markets appreciate how ATR-based thresholds update rapidly, revealing if a sudden price push is routine or exceptional. Swing traders can rely on both indicators to filter out false signals in stable conditions or identify truly notable moves. By calibrating to changes in volatility, the merged system adapts naturally whether the market is trending, ranging, or transitioning between these phases.
In summary, combining Bollinger Bands (for a static sense of standard-deviation-based overbought/oversold zones) with ATR (for a dynamic read on current volatility) yields an adaptive, intuitive indicator. Traders can better distinguish fleeting noise from meaningful expansions, enabling more informed entries, exits, and risk management. Instead of relying on a single yardstick for all market conditions, this fusion provides a layered perspective, encouraging traders to interpret price moves in the broader context of changing volatility.
Section 3: Why Bollinger Bands and ATR are combined
Bollinger Bands provide a static snapshot of volatility by computing a standard deviation range above and below a central average. ATR, on the other hand, adapts in real time to expansions or contractions in market volatility. When combined, these measures offset each other’s limitations: Bollinger Bands add structure (overbought and oversold references), and ATR ensures responsiveness to rapid price shifts. This synergy helps reduce noisy signals, particularly during sudden market turbulence or extended consolidations.
Section 4: User Inputs
Traders can adjust several parameters to suit their preferences and strategies. These typically include:
1. Lookback length for calculating the moving average and standard deviation.
2. Multipliers to control the width of Bollinger Bands.
3. An ATR multiplier to set the distance for additional reversal bands.
4. An option to display weaker signals when the price merely approaches but does not cross the outer bands.
Section 5: Main Calculations
At the core of this indicator are four important steps:
1. Calculate a basis using a simple moving average.
2. Derive Bollinger Bands by adding and subtracting a product of the standard deviation and a user-defined multiplier.
3. Compute ATR over the same lookback period and multiply it by the selected factor.
4. Combine ATR-based distance with the Bollinger Bands to set the outer reversal bands, which serve as stronger signal thresholds.
Section 6: Signal Generation
The script interprets meaningful reversal points when the price:
1. Crosses below the lower outer band, potentially highlighting oversold conditions where a bullish reversal may occur.
2. Crosses above the upper outer band, potentially indicating overbought conditions where a bearish reversal may develop.
Section 7: Visualization
The indicator provides visual clarity through labeled signals and color-coded references:
1. Distinct colors for upper and lower reversal bands.
2. Markers that appear above or below bars to denote possible buying or selling signals.
3. A gradient bar color scheme indicating a bar’s position between the lower and upper bands, helping traders quickly see if the price is near either extreme.
Section 8: Weak Signals (Optional)
For those preferring early cues, the script can highlight areas where the price nears the outer bands. When weak signals are enabled:
1. Bars closer to the upper reversal zone receive a subtle marker suggesting a less robust, yet still noteworthy, potential selling area.
2. Bars closer to the lower reversal zone receive a subtle marker suggesting a less robust, yet still noteworthy, potential buying area.
Section 9: Simplicity, Effectiveness, and Lower Timeframes
Although combining standard deviation and ATR involves sophisticated volatility concepts, this indicator is visually straightforward. Reversal bands and gradient-colored bars make it easy to see at a glance when price approaches or crosses a threshold. Day traders operating on lower timeframes benefit from such clarity because it helps filter out minor fluctuations and focus on more meaningful signals.
Section 10: Adaptability across Market Phases
Because both the standard deviation (for Bollinger Bands) and ATR adapt to changing volatility, the indicator naturally adjusts to various environments:
1. Trending: The additional ATR-based outer bands help distinguish between temporary pullbacks and deeper reversals.
2. Ranging: Bollinger Bands often remain narrower, identifying smaller reversals, while the outer ATR bands remain relatively close to the main bands.
Section 11: Reduced Noise in High-Volatility Scenarios
By factoring ATR into the band calculations, the script widens or narrows the thresholds during rapid market fluctuations. This reduces the amount of false triggers typically found in indicators that rely solely on fixed calculations, preventing overreactions to abrupt but short-lived price spikes.
Section 12: Incorporation with Other Technical Tools
Many traders combine this indicator with oscillators such as RSI, MACD, or Stochastic, as well as volume metrics. Overbought or oversold signals in momentum oscillators can provide additional confirmation when price reaches the outer bands, while volume spikes may reinforce the significance of a breakout or potential reversal.
Section 13: Risk Management Considerations
All trading strategies carry risk. This indicator, like any tool, can and does produce losing trades if price unexpectedly reverses again or if broader market conditions shift rapidly. Prudent traders employ protective measures:
1. Stop-loss orders or trailing stops.
2. Position sizing that accounts for market volatility.
3. Diversification across different asset classes when possible.
Section 14: Overbought and Oversold Identification
Standard Bollinger Bands highlight regions where price might be overextended relative to its recent average. The extended ATR-based reversal bands serve as secondary lines of defense, identifying moments when price truly stretches beyond typical volatility bounds.
Section 15: Parameter Customization for Different Needs
Users can tailor the script to their unique preferences:
1. Shorter lookback settings yield faster signals but risk more noise.
2. Higher multipliers spread the bands further apart, filtering out small moves but generating fewer signals.
3. Longer lookback periods smooth out market noise, often leading to more stable but less frequent trading cues.
Section 16: Examples of Different Trading Styles
1. Day Traders: Often reduce the length to capture quick price swings.
2. Swing Traders: May use moderate lengths such as 20 to 50 bars.
3. Position Traders: Might opt for significantly longer settings to detect macro-level reversals.
Section 17: Performance Limitations and Reality Check
No technical indicator is free from false signals. Sudden fundamental news events, extreme sentiment changes, or low-liquidity conditions can render signals less reliable. Backtesting and forward-testing remain essential steps to gauge whether the indicator aligns well with a trader’s timeframe, risk tolerance, and instrument of choice.
Section 18: Merging Volatility and Momentum
A critical uniqueness of this indicator lies in how it merges Bollinger Bands (standard deviation-based) with ATR (pure volatility measure). Bollinger Bands provide a relative measure of price extremes, while ATR dynamically reacts to market expansions and contractions. Together, they offer an enhanced perspective on potential market turns, ideally reducing random noise and highlighting moments where price has traveled beyond typical bounds.
Section 19: Purpose of this Merger
The fundamental purpose behind blending standard deviation measures with real-time volatility data is to accommodate different market behaviors. Static standard deviation alone can underreact or overreact in abnormally volatile conditions. ATR alone lacks a baseline reference to normality. By merging them, the indicator aims to provide:
1. A versatile dynamic range for both typical and extreme moves.
2. A filter against frequent whipsaws, especially in choppy environments.
3. A visual framework that novices and experts can interpret rapidly.
Section 20: Summary and Practical Tips
Uptrick: Volatility Reversion Bands offers a powerful tool for traders looking to combine volatility-based signals with momentum-derived reversals. It emphasizes clarity through color-coded bars, defined reversal zones, and optional weak signal markers. While potentially useful across all major timeframes, it demands ongoing risk management, realistic expectations, and careful study of how signals behave under different market conditions. No indicator serves as a crystal ball, so integrating this script into an overall strategy—possibly alongside volume data, fundamentals, or momentum oscillators—often yields the best results.
Disclaimer and Educational Use
This script is intended for educational and informational purposes. It does not constitute financial advice, nor does it guarantee trading success. Sudden economic events, low-liquidity times, and unexpected market behaviors can all undermine technical signals. Traders should use proper testing procedures (backtesting and forward-testing) and maintain disciplined risk management measures.
CMS-Inspired SMC Strategy with Liquidity and FVG//@version=5
indicator("CMS-Inspired SMC Strategy with Liquidity and FVG", overlay=true)
// === إعدادات المستخدم ===
capital = input.float(1000, title="رأس المال ($)", step=10) // رأس المال الكلي
risk_percent = input.float(1, title="نسبة المخاطرة (%)", step=0.1) // نسبة المخاطرة
max_trades = input.int(2, title="عدد الصفقات اليومية", step=1) // الحد الأقصى للصفقات اليومية
session_start = input.time(timestamp("0000-01-01 08:00 +0000"), title="بداية الجلسة") // جلسة لندن
session_end = input.time(timestamp("0000-01-01 16:00 +0000"), title="نهاية الجلسة") // جلسة لندن
news_time = input.time(timestamp("0000-01-01 09:00 +0000"), title="وقت الأخبار المهمة") // الوقت المتوقع للأخبار
// === أدوات إضافية ===
session_active = (time >= session_start and time <= session_end) // الجلسة الزمنية
atr = ta.atr(14) // مؤشر ATR
// === تحديد مناطق السيولة ===
highest_liq = ta.highest(high, 20) // أعلى نقطة في الـ 20 فترة
lowest_liq = ta.lowest(low, 20) // أدنى نقطة في الـ 20 فترة
// === فجوات القيمة العادلة (FVG) ===
fvg_condition = close > high and close < high // عندما يكون هناك فجوة بين الإغلاق والارتفاع
// === إشارات التداول ===
// كسر الهيكل (BOS)
high_break = ta.highest(high, 5) < close
low_break = ta.lowest(low, 5) > close
// مناطق Order Block
bullish_ob = close < open // إشارات الشراء بناءً على الإغلاق
bearish_ob = close > open // إشارات البيع بناءً على الإغلاق
// إشارات الشراء والبيع بناءً على جميع الشروط
long_signal = session_active and high_break and bullish_ob and fvg_condition and not (time >= news_time and time <= news_time + 3600000) // تجنب الأخبار
short_signal = session_active and low_break and bearish_ob and fvg_condition and not (time >= news_time and time <= news_time + 3600000) // تجنب الأخبار
// === إدارة رأس المال ===
capital_per_trade = (capital * risk_percent / 100) // نسبة رأس المال في الصفقة
lot_size = capital_per_trade / (atr * 1.5) // حجم اللوت بناءً على الـ ATR ووقف الخسارة
stop_loss = atr * 1.5 // وقف الخسارة بناءً على ATR
take_profit = stop_loss * 2 // الهدف (نسبة مخاطرة/عائد 1:2)
// === رسم الإشارات ===
var trade_count = 0 // عداد الصفقات اليومية
if session_active
if trade_count < max_trades
if long_signal
label.new(bar_index, high, "شراء", color=color.green, style=label.style_label_down)
trade_count += 1
if short_signal
label.new(bar_index, low, "بيع", color=color.red, style=label.style_label_up)
trade_count += 1
// === تنبيه إشارات ===
if long_signal or short_signal
alert("إشارة جديدة: " + (long_signal ? "شراء" : "بيع"), alert.freq_once_per_bar)
The JewelThe Jewel is a comprehensive momentum and trend-based indicator designed to give traders clear insights into potential market shifts. By integrating RSI, Stochastic, and optional ADX filters with an EMA-based trend filter, this script helps identify high-conviction entry and exit zones for multiple trading styles, from momentum-based breakouts to mean-reversion setups.
Features
Momentum Integration:
Leverages RSI and Stochastic crossovers for real-time momentum checks, reducing noise and highlighting potential turning points.
Optional ADX Filter:
Analyzes market strength; only triggers signals when volatility and directional movement suggest strong follow-through.
EMA Trend Filter:
Identifies broad market bias (bullish vs. bearish), helping traders focus on higher-probability setups by aligning with the prevailing trend.
Caution Alerts:
Flags potentially overbought or oversold conditions when both RSI and Stochastic reach extreme zones, cautioning traders to manage risk or tighten stops.
Customizable Parameters:
Fine-tune RSI, Stochastic, ADX, and EMA settings to accommodate various assets, timeframes, and trading preferences.
How to Use
Momentum Breakouts: Watch for RSI cross above a set threshold and Stochastic cross up, confirmed by ADX strength and alignment with the EMA filter for potential breakout entries.
Mean Reversion: Look for caution signals (RSI & Stoch extremes) as early warnings for trend slowdown or reversal opportunities.
Trend Continuation: In trending markets, rely on the EMA filter to stay aligned with the primary direction. Use momentum crosses (RSI/Stochastic) to time add-on entries or exits.
Important Notes
Non-Investment Advice
The Jewel is a technical analysis tool and does not constitute financial advice. Always use proper risk management and consider multiple confirmations when making trading decisions.
No Warranty
This indicator is provided as-is, without warranty or guarantees of performance. Traders should backtest and verify its effectiveness on their specific instruments and timeframes.
Collaborate & Share
Feedback and suggestions are welcome! Engaging with fellow traders can help refine and adapt The Jewel for diverse market conditions, strengthening the TradingView community as a whole.
Happy Trading!
If you find this script valuable, please share your feedback, ideas, or enhancements. Collaboration fosters a more insightful trading experience for everyone.
Monthly EMA 5 Buy Signal Swing Medium Term Investment StrategyTrading Strategy Description
This strategy is designed to generate buy signals based on the behavior of monthly candles in relation to the 5-period Exponential Moving Average (EMA). The conditions for generating a buy signal are as follows:
Monthly Candle Below 5 EMA: The previous monthly candle must not touch the 5 EMA and must be entirely below it. This means the highest point of the candle (the high) is below the 5 EMA.
Next Monthly Candle Closes Above Previous Candle’s High: The current monthly candle must close above the high of the previous monthly candle.
How to Use the Strategy
Add the Script to TradingView: Copy the provided Pine Script code and add it to a new indicator in TradingView.
Understand the Plot:
The 5 EMA is plotted on the chart in blue.
Buy signals are indicated by green labels below the bars with the text “BUY”.
Identify Buy Signals:
Look for green “BUY” labels on the chart. These labels indicate that the conditions for a buy signal have been met.
When you see a “BUY” label, it means the previous monthly candle was below the 5 EMA and the current monthly candle has closed above the previous candle’s high.
Example Scenario
Month 1: The monthly candle does not touch the 5 EMA and is entirely below it.
Month 2: The monthly candle closes above the high of Month 1’s candle.
Buy Signal: A green “BUY” label will appear below the Month 2 candle, indicating a buy signal.
Taking the Trade
When a buy signal is generated:
Enter the Trade: Consider entering a long position at the close of the monthly candle that generated the buy signal.
Risk Management: Set your stop-loss and take-profit levels according to your risk management strategy. You might place a stop-loss below the low of the signal candle or use other technical analysis tools to determine your exit points.
This strategy helps you identify potential bullish reversals or continuation patterns based on the relationship between the monthly candles and the 5 EMA. Always backtest and paper trade any strategy before using it with real money to ensure it fits your trading style and risk tolerance.
EMA MTF Crossover [Two]1m = Scalping Trade 3% chart
Đ = Đảo chiều xu hướng = Swing Trade 5% chart
T = Tiếp diễn xu hướng = Scalp Trade 5% chart
MW:TA Days of the WeekENG: Vertical separators to easily detect days of the week and see which past liquidity was taken down. Screenshot example contains days of the week indicator and manually drawn lines of grabbed liquidity. Useful for trades based on liquidity grab and reaction.
Tested on Forex, Crypto, Indexes, Stocks, Commodities markets.
-
РУС: Вертикальные разделители для визуального определения дней недели и просмотра снятой ликвидности на графике. На скриншоте отмечен индикатор разделительных периодов (дней) и вручную нарисованные линии, которые отмечают снятую ликвидность и реакцию цены на снятие. Полезно для тех трейдеров, которые торгуют по реакции на снятую ликвидность.
Протестировано на рынках Форекс, Крипто, ИНдексов, Акций и Сырья.
Price Action Health CheckThis is a price action indicator that measures market health by comparing EMAs, adapting automatically to different timeframes (Weekly/Daily more reliable) and providing context-aware health status.
Key features:
Automatically adjusts EMA periods based on timeframe
Measures price action health through EMA separation and historical context
Provides visual health status with clear improvement/deterioration signals
Projects a 13-period trend line for directional context
Trading applications:
Identify shifts in market health before major trend changes
Validate trend strength by comparing current readings to historical averages
Time entries/exits based on health status transitions
Filter trades using timeframe-specific health readings
I like to use it to keep SPX in check before deciding the market is going down.
Note: For optimal analysis, use primarily on Weekly and Daily timeframes where price action patterns are more significant.
Gold Analysis and Scalping TradesIn this section, we opened three trades by analyzing waves and structures on the chart.
Gold could repeat this type of movement tomorrow as well, so be prepared.
Stochastic and RSI Vini//@version=6
indicator(title="Stochastic and RSI", shorttitle="Stoch RSI", format=format.price, precision=2, timeframe="", timeframe_gaps=true)
// --- Estocástico ---
periodK = input.int(14, title="%K Length", minval=1)
smoothK = input.int(1, title="%K Smoothing", minval=1)
periodD = input.int(3, title="%D Smoothing", minval=1)
k = ta.sma(ta.stoch(close, high, low, periodK), smoothK)
d = ta.sma(k, periodD)
plot(k, title="%K", color=#2962FF)
plot(d, title="%D", color=#FF6D00)
h0 = hline(80, "Upper Band", color=#787B86)
hline(50, "Middle Band", color=color.new(#787B86, 50))
h1 = hline(20, "Lower Band", color=#787B86)
fill(h0, h1, color=color.rgb(33, 150, 243, 90), title="Background")
// --- RSI ---
rsiLengthInput = input.int(14, minval=1, title="RSI Length", group="RSI Settings")
rsiSourceInput = input.source(close, "Source", group="RSI Settings")
calculateDivergence = input.bool(false, title="Calculate Divergence", group="RSI Settings", display = display.data_window, tooltip = "Calculating divergences is needed in order for divergence alerts to fire.")
change = ta.change(rsiSourceInput)
up = ta.rma(math.max(change, 0), rsiLengthInput)
down = ta.rma(-math.min(change, 0), rsiLengthInput)
rsi = down == 0 ? 100 : up == 0 ? 0 : 100 - (100 / (1 + up / down))
rsiPlot = plot(rsi, "RSI", color=#7E57C2)
rsiUpperBand = hline(70, "RSI Upper Band", color=#787B86)
midline = hline(50, "RSI Middle Band", color=color.new(#787B86, 50))
rsiLowerBand = hline(30, "RSI Lower Band", color=#787B86)
fill(rsiUpperBand, rsiLowerBand, color=color.rgb(126, 87, 194, 90), title="RSI Background Fill")
midLinePlot = plot(50, color = na, editable = false, display = display.none)
fill(rsiPlot, midLinePlot, 100, 70, top_color = color.new(color.green, 0), bottom_color = color.new(color.green, 100), title = "Overbought Gradient Fill")
fill(rsiPlot, midLinePlot, 30, 0, top_color = color.new(color.red, 100), bottom_color = color.new(color.red, 0), title = "Oversold Gradient Fill")
// --- Divergencia RSI ---
lookbackRight = 5
lookbackLeft = 5
rangeUpper = 60
rangeLower = 5
bearColor = color.red
bullColor = color.green
textColor = color.white
noneColor = color.new(color.white, 100)
_inRange(bool cond) =>
bars = ta.barssince(cond)
rangeLower <= bars and bars <= rangeUpper
plFound = false
phFound = false
bullCond = false
bearCond = false
rsiLBR = rsi
if calculateDivergence
// Regular Bullish
plFound := not na(ta.pivotlow(rsi, lookbackLeft, lookbackRight))
rsiHL = rsiLBR > ta.valuewhen(plFound, rsiLBR, 1) and _inRange(plFound )
lowLBR = low
priceLL = lowLBR < ta.valuewhen(plFound, lowLBR, 1)
bullCond := priceLL and rsiHL and plFound
// Regular Bearish
phFound := not na(ta.pivothigh(rsi, lookbackLeft, lookbackRight))
rsiLH = rsiLBR < ta.valuewhen(phFound, rsiLBR, 1) and _inRange(phFound )
highLBR = high
priceHH = highLBR > ta.valuewhen(phFound, highLBR, 1)
bearCond := priceHH and rsiLH and phFound
plot(
plFound ? rsiLBR : na,
offset=-lookbackRight,
title="Regular Bullish",
linewidth=2,
color=(bullCond ? bullColor : noneColor),
display = display.pane
)
plotshape(
bullCond ? rsiLBR : na,
offset=-lookbackRight,
title="Regular Bullish Label",
text=" Bull ",
style=shape.labelup,
location=location.absolute,
color=bullColor,
textcolor=textColor
)
plot(
phFound ? rsiLBR : na,
offset=-lookbackRight,
title="Regular Bearish",
linewidth=2,
color=(bearCond ? bearColor : noneColor),
display = display.pane
)
plotshape(
bearCond ? rsiLBR : na,
offset=-lookbackRight,
title="Regular Bearish Label",
text=" Bear ",
style=shape.labeldown,
location=location.absolute,
color=bearColor,
textcolor=textColor
)
alertcondition(bullCond, title='Regular Bullish Divergence', message="Found a new Regular Bullish Divergence, `Pivot Lookback Right` number of bars to the left of the current bar.")
alertcondition(bearCond, title='Regular Bearish Divergence', message='Found a new Regular Bearish Divergence, `Pivot Lookback Right` number of bars to the left of the current bar.')
Moving Average Distance between MA coloredThe distance between short and long moving average of prices MAD
Momentum
Predictor of equity returns