ALDgoldALDgold
Entry/Exit:
Enters a long trade when the price is at or below the 0.382 Fibonacci level with sufficient volume.
Exits the trade if the price reaches the 0.618 Fibonacci level or if stop loss/take profit conditions are met.
Chỉ báo và chiến lược
Market GhostGhost Candles: Volume-Based Transparency Indicator
Before adding the indicator to the chart, hide the chart candles (the chart would get blank) otherwise no changes will be visible on your chart due to the display of the original candles (transparencies won't be visible because the full-opaque candles cover them)
This unique indicator dynamically adjusts the transparency of candles based on their volume relative to the past X candles. Candles with low volume become more transparent, while those with higher volume appear more opaque, creating a smooth gradient effect. This allows for a visual representation of market activity where low-volume candles "fade" into the background, making high-volume candles stand out more clearly.
Customizable Lookback Period: Adjust the lookback period (X candles) to suit your analysis.
Volume-Based Visualization: A smooth gradient of transparency helps to visualize volume strength relative to recent market activity.
Unique Aesthetic: Adds a unique, "ghostly" aesthetic to the chart, ideal for identifying volume trends without the clutter of traditional indicators.
This script is perfect for traders who want to visually highlight volume strength while maintaining a clean, easy-to-read chart.
TrendMaster XTrendMaster X - Enhanced is a multi-indicator strategy designed to provide more accurate trade signals by integrating several well-known technical analysis tools. This enhanced version of TrendMaster X combines trend-following indicators, momentum indicators, volatility measures, and support/resistance analysis. Below is a breakdown of how each part of the indicator works to provide precise buy and sell signals.
Key Components:
Moving Averages (SMA and EMA):
Simple Moving Average (SMA): The SMA with a length of 50 is used to determine the general market trend. A price above the SMA suggests a bullish trend, while a price below the SMA suggests a bearish trend.
Exponential Moving Average (EMA): The EMA with a length of 20 is added to provide a faster response to recent price movements. This allows for more dynamic trade signals.
Signal Strategy: Buy and sell signals are more robust when both the SMA and EMA align in the same direction. For example, when the price is above both the SMA and EMA, it suggests an uptrend.
MACD (Moving Average Convergence Divergence):
Purpose: The MACD is used to measure the momentum of the market by comparing two moving averages (the fast and slow lines).
Signal: A crossover of the MACD line above the signal line is considered a bullish signal, while a crossunder of the MACD line below the signal line is a bearish signal. The histogram visually represents the difference between these two lines, helping traders spot trend strength.
Bollinger Bands:
Purpose: Bollinger Bands measure market volatility by using a moving average and standard deviations. The upper and lower bands represent areas of potential overbought and oversold conditions.
Signal Strategy: When the price breaks through the upper Bollinger Band, it could indicate that the market is overbought (bullish exhaustion), and when the price breaks below the lower band, it could indicate an oversold condition (bearish exhaustion). Buy signals are more reliable when the price closes above the upper band, and sell signals are confirmed when the price cl
Supertrend:
Purpose: The Supertrend indicator is a trend-following tool that uses the Average True Range (ATR) to calculate the "trend direction." It helps identify whether the market is in an uptrend or downtrend.
Signal Strategy: A price above the Supertrend line signals an uptrend (bullish), while a price below the Supertrend line indicates a downtrend (bearish). The line shifts accordingly, signaling trend changes.
RSI (Relative Strength Index):
Purpose: The RSI measures the speed and change of price movements to identify whether a market is overbought or oversold.
Signal Strategy: An RSI above 70 indicates overbought conditions (potential bearish reversal), while an RSI below 30 indicates oversold conditions (potential bullish reversal). The RSI helps filter out false signals, especially in extreme conditions.
How the Signals are Calculated:
Buy Signal:
MACD Crossover: The MACD line crosses above the signal line, indicating increasing upward momentum.
RSI Filter: The RSI value is below 70, confirming that the market isn't overbought (reducing the risk of buying at an extreme).
Bollinger Bands: The price must close above the upper Bollinger Band, suggesting strong upward movement.
Supertrend: The price is above the Supertrend line, confirming the bullish trend.
Final Condition: All these conditions must be met to trigger a buy signal.
Sell Signal:
MACD Crossunder: The MACD line crosses below the signal line, indicating increasing downward momentum.
RSI Filter: The RSI value is above 30, confirming that the market is not oversold.
Bollinger Bands: The price must close below the lower Bollinger Band, suggesting a strong downtrend.
Supertrend: The price is below the Supertrend line, confirming the bearish trend.
Final Condition: All these conditions must be met to trigger a sell signal.
Enhancements for More Accurate Signals:
Combination of Indicators: The strategy integrates multiple indicators to ensure that only the most reliable trade signals are given. For instance, the price must align with the Supertrend direction, break out of the Bollinger Bands, and confirm the trend with MACD and RSI.
EMA and SMA Combination: By using both the SMA (longer-term) and EMA (shorter-term), the strategy ensures that the trend is strong and recent.
RSI Filter: The addition of RSI ensures that the market isn’t in an extreme overbought or oversold condition, which can reduce the risk of taking bad trades.
Volatility Check (Bollinger Bands): Using the Bollinger Bands as a volatility filter helps prevent trades during periods of low volatility, which may lead to false signals.
Supertrend Confirmation: The Supertrend indicator acts as a trend confirmation tool, ensuring that trades are taken in the direction of the primary market trend.
Summary:
The TrendMaster X - Enhanced indicator is a comprehensive, multi-tool trading strategy that combines trend-following, momentum, volatility, and overbought/oversold conditions to generate highly accurate buy and sell signals. By integrating these indicators, the strategy reduces the chances of false signals and increases the probability of capturing strong market trends. The enhanced filtering mechanisms (RSI and Bollinger Bands) and confirmation from multiple indicators ensure that traders are more likely to make informed, profitable decisions.
Вертикальная линия в 17:00 (МСК)Добавляет вертикальную линию в 17:00
Можно изменять цвет и длину линии
Я это сделал для удобства торговли на нефти и золоте, т.к. основные движения происходят на американской сессии (после 17:00 по Мск зимой, и после 16:00 - летом)
Trading Zones The "Trading Zones" indicator is a technical analysis tool designed to determine market trend using two moving averages with different periods (28 and 144 bars).
**Key Features:**
- Color-coded trend indication (green/red)
- Visualization of moving average crossovers
- Triangular markers at trend change points
- Flexible selection of moving average types and parameters
**Purpose:**
- Rapid trend direction identification
- Detecting potential trend reversal points
- Assisting in trading decision-making
The indicator helps traders visually assess market dynamics and identify potential moments of trend changes.
**Technical Highlights:**
- Supports 6 moving average types (SMA, EMA, LWMA, WMA, HMA, RMA)
- Customizable signal lines
- Built-in alerts for trend changes
- Works on multiple timeframes
A versatile tool for traders seeking a clear, visual representation of market momentum and trend shifts.
Customizable EMA Crossover with ADXA caustomized indicator, based on the cross ema averages, filtering false Cross in areas by calculating the amount of ADX crossing.
SMA Buy/Sell Strategy with Significant Slope and Dynamic TP/SLDescription:
This strategy uses a simple moving average (SMA) to detect trading opportunities based on the slope and proximity of price action. It ensures trades are only executed during significant trends, reducing false signals caused by sideways movements. The strategy incorporates dynamic risk management with an initial ambitious Take Profit (TP) and a Trailing Stop Loss (SL) to protect profits.
Key Features:
Trend Detection with SMA:
Two SMAs are calculated: one on High values and one on Low values.
Signals are generated when the price crosses these SMAs, ensuring:
Buy: Price closes above the SMA on High, with a significant upward slope.
Sell: Price closes below the SMA on Low, with a significant downward slope.
Slope Significance Check:
The slope of the SMA is calculated over a configurable period.
Only trends with a slope variation exceeding a user-defined percentage threshold are considered significant.
Dynamic Risk Management:
Ambitious Initial TP: Positions target a high percentage gain upon entry.
Trailing SL: Automatically adjusts as the price moves in favor of the trade, locking in profits.
Automatic Position Management:
Opposing signals close existing positions to avoid conflicting trades.
Configurable position size for risk control.
Parameters:
SMA Period: Number of candles for calculating the SMA.
Initial Take Profit (%): Percentage gain for the initial TP.
Trailing Stop Loss (%): Percentage for trailing SL based on the current price.
Slope Threshold (%): Minimum percentage change in SMA slope to confirm trend significance.
How It Works:
Buy Signal:
The price closes above the SMA on High values.
The slope of the SMA (on High) is positive and exceeds the slope threshold.
Sell Signal:
The price closes below the SMA on Low values.
The slope of the SMA (on Low) is negative and exceeds the slope threshold.
Exits:
A position closes at the Take Profit level, Trailing Stop Loss, or when an opposing signal is generated.
Use Case:
This strategy is ideal for trending markets where price action respects moving averages. It can be used on any timeframe or asset but is particularly effective in markets with clear directional movements.
Recommended Settings:
Timeframe: Works well on higher timeframes (e.g., 1H, 4H, Daily).
Slope Threshold (%): Default is 5%, adjust based on market volatility.
Initial TP and Trailing SL: Tailor to your risk/reward preferences.
By utilizing this strategy, traders can capitalize on significant market trends while dynamically managing risk. Test it on historical data to optimize the parameters for your preferred market!
IV Rank/Percentile with Williams VIX FixDisplay IV Rank / IV Percentile
This indicator is based on William's VixFix, which replicates the VIX—a measure of the implied volatility of the S&P 500 Index (SPX). The key advantage of the VixFix is that it can be applied to any security, not just the SPX.
IV Rank is calculated by identifying the highest and lowest implied volatility (IV) values over a selected number of past periods. It then determines where the current IV lies as a percentage between these two extremes. For example, if over the past five periods the highest IV was 30%, the lowest was 10%, and the current IV is 20%, the IV Rank would be 50%, since 20% is halfway between 10% and 30%.
IV Percentile, on the other hand, considers all past IV values—not just the highest and lowest—and calculates the percentage of these values that are below the current IV. For instance, if the past five IV values were 30%, 10%, 11%, 15%, and 17%, and the current IV is 20%, the IV Rank remains at 50%. However, the IV Percentile is 80% because 4 out of the 5 past values (80%) are below the current IV of 20%.
Fractal Flow with Volume and Supertrend Colors - Modifiednew update with take profit and loss points. supertrend also added
Premium Index Long Only StrategyPremium Index Long Only StrategyPremium Index Long Only StrategyPremium Index Long Only StrategyPremium Index Long Only StrategyPremium Index Long Only StrategyPremium Index Long Only StrategyPremium Index Long Only StrategyPremium Index Long Only StrategyPremium Index Long Only StrategyPremium Index Long Only StrategyPremium Index Long Only StrategyPremium Index Long Only StrategyPremium Index Long Only StrategyPremium Index Long Only StrategyPremium Index Long Only StrategyPremium Index Long Only StrategyPremium Index Long Only StrategyPremium Index Long Only StrategyPremium Index Long Only StrategyPremium Index Long Only StrategyPremium Index Long Only StrategyPremium Index Long Only StrategyPremium Index Long Only StrategyPremium Index Long Only StrategyPremium Index Long Only StrategyPremium Index Long Only StrategyPremium Index Long Only StrategyPremium Index Long Only StrategyPremium Index Long Only StrategyPremium Index Long Only StrategyPremium Index Long Only Strategy
ATR Oscillator with Bollinger BandsIt is a good indicator for understanding the atr with bolinger band
Cumulative Volume Delta with moving averageThe script is the same as the original Cumulative Volume Delta but I added a moving average.
2 types of moving average : EMA, SMA
3 types of source : Open, Close, OHLC4
This indicator can be usefull to identify trend and divergence in the CVD. It help to understand the CVD easily.
XAUUSD Strategy with Optimized Averaging//@version=5
strategy("XAUUSD Strategy with Optimized Averaging", overlay=true, default_qty_type=strategy.percent_of_equity, default_qty_value=1)
// Optimized Input Variables
fast_length = input.int(10, title="Fast EMA Length", minval=5, maxval=50, step=1) // Optimized for XAUUSD trends
slow_length = input.int(20, title="Slow EMA Length", minval=10, maxval=100, step=1)
rsi_length = input.int(14, title="RSI Length", minval=7, maxval=50, step=1)
rsi_overbought = input.int(75, title="RSI Overbought Level", minval=60, maxval=90, step=1)
rsi_oversold = input.int(25, title="RSI Oversold Level", minval=10, maxval=40, step=1)
macd_fast = input.int(12, title="MACD Fast Length", minval=5, maxval=20, step=1)
macd_slow = input.int(26, title="MACD Slow Length", minval=15, maxval=40, step=1)
macd_signal = input.int(9, title="MACD Signal Length", minval=5, maxval=15, step=1)
initial_stop_loss_percent = input.float(2.0, title="Initial Stop Loss %", minval=0.5, maxval=5.0, step=0.1) / 100 // Slightly wider stop-loss
initial_take_profit_percent = input.float(4.0, title="Initial Take Profit %", minval=1.0, maxval=10.0, step=0.1) / 100 // Better risk-reward ratio
averaging_distance = input.float(1.0, title="Averaging Distance %", minval=0.5, maxval=5.0, step=0.1) / 100
max_averaging_layers = input.int(3, title="Max Averaging Layers", minval=1, maxval=5)
// Indicators
fast_ma = ta.ema(close, fast_length)
slow_ma = ta.ema(close, slow_length)
rsi = ta.rsi(close, rsi_length)
= ta.macd(close, macd_fast, macd_slow, macd_signal)
macd_histogram = macd_line - signal_line
// Plotting indicators
plot(fast_ma, color=color.green, title="Fast EMA")
plot(slow_ma, color=color.red, title="Slow EMA")
hline(0, "MACD Zero Line", color=color.gray)
plot(macd_histogram, color=color.blue, style=plot.style_histogram, title="MACD Histogram")
// Trade conditions
long_condition = ta.crossover(fast_ma, slow_ma) and rsi < rsi_oversold and macd_line > signal_line
short_condition = ta.crossunder(fast_ma, slow_ma) and rsi > rsi_overbought and macd_line < signal_line
// Position management
var int layer_count = 0
var float avg_price = na
// Manage long entries
if (long_condition and strategy.position_size == 0)
strategy.entry("Long", strategy.long)
layer_count := 1
avg_price := strategy.position_avg_price
// Manage short entries
if (short_condition and strategy.position_size == 0)
strategy.entry("Short", strategy.short)
layer_count := 1
avg_price := strategy.position_avg_price
// Averaging logic for long trades
if (strategy.position_size > 0 and layer_count < max_averaging_layers)
if (close < avg_price * (1 - averaging_distance))
strategy.entry("Long Add", strategy.long)
layer_count += 1
avg_price := strategy.position_avg_price
// Averaging logic for short trades
if (strategy.position_size < 0 and layer_count < max_averaging_layers)
if (close > avg_price * (1 + averaging_distance))
strategy.entry("Short Add", strategy.short)
layer_count += 1
avg_price := strategy.position_avg_price
// Dynamic stop loss and take profit for long positions
long_stop_loss = avg_price * (1 - initial_stop_loss_percent * layer_count)
long_take_profit = avg_price * (1 + initial_take_profit_percent * layer_count)
// Dynamic stop loss and take profit for short positions
short_stop_loss = avg_price * (1 + initial_stop_loss_percent * layer_count)
short_take_profit = avg_price * (1 - initial_take_profit_percent * layer_count)
// Exit logic
if (strategy.position_size > 0)
strategy.exit("Long Exit", from_entry="Long", stop=long_stop_loss, limit=long_take_profit)
if (strategy.position_size < 0)
strategy.exit("Short Exit", from_entry="Short", stop=short_stop_loss, limit=short_take_profit)
// Alerts for trade signals
if (long_condition)
alert("Buy signal for XAUUSD with averaging enabled!", alert.freq_once_per_bar)
if (short_condition)
alert("Sell signal for XAUUSD with averaging enabled!", alert.freq_once_per_bar)
Volume-based Buy and Sell Signals (5 Min)this is volume based it works on larger time frame. try it on paper trading
MTF ADX TableThis Indicator displays a table on the chart with the Average Directional Index (ADX) values for two different timeframes. It calculates the ADX using a custom formula and shows the ADX values along with their corresponding timeframes. The table's position, font size, and background color can be customized, and the timeframes are labeled with "ADX" appended to their unit (e.g., "5m ADX", "1D ADX"). The table updates dynamically with the latest ADX values for each timeframe. The indicator also provides a rating, based of the thresholds settings
Demo GPT - Bull Market Support Band// This source code is subject to the terms of the Mozilla Public License 2.0 at mozilla.org
// © zkdev
//@version=5
strategy('Demo GPT - Bull Market Support Band', overlay=true, default_qty_type=strategy.percent_of_equity, default_qty_value=100, commission_value=0.001, slippage=3)
// Input for start and end date
startDate = input.time(timestamp("2018-01-01 00:00 +0000"), title="Start Date")
endDate = input.time(timestamp("2069-12-31 00:00 +0000"), title="End Date")
// Check if the current time is within the specified range
inDateRange = (time >= startDate) and (time <= endDate)
// Source and lengths for SMA and EMA
source = close
smaLength = 20
emaLength = 21
// Calculate SMA and EMA
sma = ta.sma(source, smaLength)
ema = ta.ema(source, emaLength)
// Get values using request.security to maintain timeframe logic
outSma = request.security(syminfo.tickerid, timeframe.period, sma)
outEma = request.security(syminfo.tickerid, timeframe.period, ema)
// Plotting SMA and EMA
smaPlot = plot(outSma, color=color.new(color.red, 0), title='20w SMA')
emaPlot = plot(outEma, color=color.new(color.green, 0), title='21w EMA')
// Fill between SMA and EMA
fill(smaPlot, emaPlot, color=color.new(color.orange, 75), fillgaps=true)
// Entry condition for long trades
if inDateRange
strategy.entry("Long", strategy.long)
Moving Average Crossover Strategy ExtremeAre you tired of second-guessing your trading decisions? The Moving Average Crossover Strategy is here to revolutionize your trading experience! Powered by a time-tested methodology and refined with precision, this strategy combines simplicity with effectiveness to help you dominate the markets.
At its core, this strategy leverages the golden crossover principle: it identifies high-probability buy and sell opportunities based on the interaction between a fast-moving average (short-term momentum) and a slow-moving average (long-term trend). Whether you’re a seasoned trader or just starting out, this strategy is designed to maximize your profits while minimizing guesswork.
Why This Strategy Stands Out:
Laser-Focused Trade Entries: The strategy capitalizes on market momentum by pinpointing exactly when short-term momentum overtakes long-term trends, giving you the perfect entry points for maximum upside potential.
Clean, Intuitive Signals: Green arrows for buy signals and red arrows for sell signals ensure you never miss a trading opportunity. No more cluttered charts or confusing indicators—just clear, actionable insights.
Reliable in All Market Conditions: Whether you’re trading stocks, crypto, forex, or commodities, this strategy adapts seamlessly, helping you ride bullish trends and avoid bearish traps.
Backtested Logic: This script doesn’t just promise results—it’s designed to deliver. Test it in TradingView's Strategy Tester and watch how it identifies winning trades across any timeframe.
Perfect for Any Trader: Whether you’re scalping the 5-minute chart or swing trading the daily timeframe, this strategy ensures you’re trading with confidence and clarity.
Features:
Dynamic Trend Detection: Utilizes customizable moving average lengths for ultimate flexibility (default: 10 and 50 periods).
Precision Buy and Sell Signals: Automatically displays intuitive buy and sell labels on your chart, ensuring you’re always one step ahead of the market.
Easy-to-Use Interface: Plug-and-play simplicity—just add it to your chart, and you're ready to trade.
Why Traders Love It:
This isn’t just another trading script—it’s your gateway to consistent, stress-free trading. With its focus on clear rules and automated signals, you’ll never have to rely on emotions or hunches again. It’s a proven, no-nonsense approach to growing your account like a pro.
Start using the Moving Average Crossover Strategy today and turn market volatility into your greatest ally. Success is just one crossover away!
Disclaimer: this is not advice, use at own risk
LONG TP SL POINTS - serdarhocam.comStochastic, WaveTrend ve ATR hesaplamaları ile long işlemler için kullanılır
Consecutive Lower Highs/Higher Lows v1 [tradinggeniusberlin]This indicator counts the lower highs and higher low streaks. If the streak is above a certain threshold a buy or exit arrow is shown.
Idea:
The probability of a reversal is rising the more lower highs the asset had already because if mean reversion tendencies of asset prices. Especially in uptrend above the 20ma and/or 50ma.
How to use it:
In Uptrends, lower high streak of 3 or more, enter at first new high.
Sessions [M.ADIBI]this indicator show sessions and ict killzones. very simple and usefull. hope help you
FunctionIntrabarCrossValueLibrary "FunctionIntrabarCrossValue"
intrabar_cross_value(a, b, step)
Find the minimum difference of a intrabar cross and return its median value.
Parameters:
a (float) : float, series a.
b (float) : float, series b.
step (float) : float, step to iterate x axis, default=0.01
Returns: float