Indicateurs et stratégies
Volume TrendCombines volume histogram with a 21 day moving average to make it easier to see if volume is increasing or decreasing. simple.
It helps me - Hope it helps you! :)
Accumulation Momentum IndicatorEveryone wants to be in a trend, I think this indicator does a great job at showing that key momentum that traders try and capitalize on everyday. I used a Stochastic Momentum Indicator (SMI) indicator. It's a lot like a slower MACD which allows me to capitalize on changing momentum. My goal was to make an indicator that was able to use a weighted mean of many accumulation/momentum indicators. This would give me a well rounded look to really see what direction the momentum and volume is heading.
I did some research on some of the best Accumulation and Momentum Indicators. I landed on 4.
The Accumulation Distribution line which measures the cumulative flow of money in or out of a security. It helps show how quickly money is going in and out of a commodity. The line moving up quickly indicates fast Accumulation while the A/C line is moving down quickly is shows falling Distribution. This can show the momentum and accumulation of a commodity in short and long term based off of Volume.
The On Balance Volume, OBV is a combination of Price Movement and Volume. If price closes higher then the previous bar volume is added while if the price closes lower volume is subtracted. This gives us an overall tally of whether volume is increasing with price or slowing down the momentum in the direction of the current trend. This gives us the ability to see if volume is supporting the price increasing (beginning/middle of a trend) or price is slowing down even though it is still heading in the direction of the current trend (signaling the end of the current trend).
The Force Index, this indicator measures the overall strength of the price movements. It does this by a calculation of price and volume. The close of the current bar subtracted by the previous multiplied by the volume. The result gives us either strong upward or downward motion. This adds magnitude to the overall movement/momentum of the indicator.
Lastly but most certainly not least is the Momentum indicator, (Price Momentum) a simple indicator that shows you the difference between the current close price and the close price from a specified period ago (Most commonly 14 periods/bars ago). Having this indicator is a must because it shows the speed at which price is accelerating or decelerating.
These 4 indicators together help round out the current volume, price movements, accumulation, and momentum of the current market. Since these indicators all have different scales and calculations I had to Normalize the Values to a 0-100 scale. This gives us 1 line and a much more readable easy to understand indicator. After they were normalized I gave them a weighted average that you can control. So lets say you cared more about the Force Index and the OBV rather then the Momentum and the Accumulation Distribution indicators, you would be able to give them more weight in the overall calculation as well as 0 out those you don't even want involved.
I hope the flexibility and the combination of 4 strong Accumulation Momentum indicators helps you better gauge the direction a commodity might head. The way it's used is when the Accumulation Momentum line is Above 50 buying pressure is stronger then selling pressure. An Accumulation Momentum line Below 50 suggests that distribution is more dominant in the current market. This indicator combines four different methods of analyzing price and volume to give you a single composite momentum score, making it easier to visualize when a commodity is being accumulated or distributed and how quickly this process is happening. It helps you track market sentiment based on both price movement and volume, with a clear, visual representation of buying and selling pressure.
Please let me know what you think and how you think I might be able to improve the script. Enjoy!
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
1H- 280, 2.7 (bollinger breakout)This Pine Script strategy is designed for use on the 1-hour (1H) timeframe and incorporates multiple indicators across different timeframes to generate entry and exit signals for long and short positions. The core logic includes:
Indicators: The strategy uses weighted moving averages (VWMA) and Hull Moving Averages (HMA) from the 5-minute, hourly, and 3-hour timeframes to assess market conditions.
For long positions, the price must be above these indicators on all timeframes.
For short positions, the price must be below these indicators.
Signal Line: A signal line is drawn above or below the current price based on entry conditions. Green indicates a long signal, while red indicates a short signal.
Position Sizing & Leverage: The position size is calculated based on equity and leverage settings.
Entry Conditions:
Long entry occurs when there's a breakout above a defined upper threshold.
Short entry occurs when there's a breakdown below a defined lower threshold.
Exit Conditions:
Three methods are available to close positions:
Take Profit/Stop Loss: Positions are closed when price hits predefined take profit or stop loss levels.
Downbreak/Outbreak: Positions are closed if the price crosses below the lower threshold (downbreak) or above the upper threshold (outbreak).
M7F Signal: Positions are closed based on the signal line's relationship to the price.
Visual Indicators: The strategy includes visual markers for breakouts, breakdowns, and high volatility events, with arrows on the chart for easy identification.
This strategy is useful for trading on the 1-hour chart, with automated entries and exits based on indicator crossovers, volatility, and price movements, providing a clear framework for position management.
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%.
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.
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!
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
Volume-based Buy and Sell Signals (5 Min)this is volume based it works on larger time frame. try it on paper trading
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.
A4SurStatic Positioning:
The label.new function anchors "BUY" and "SELL" signals to the low and high of the candle, respectively, ensuring they remain static.
Dynamic Label Management:
Old labels are deleted with label.delete to avoid overlapping or persistent tags.
Improved Appearance:
The labels (label.style_label_up and label.style_label_down) are styled for clear visibility.
LONG SIGNAL BUY, EMA 9 EMA21Sinal de compra pra longo prazo, levando em consideração, RSI, EMA E OBV ao mesmo tempo.
Fractal Flow with Volume and Supertrend Colors - Modifiednew update with take profit and loss points. supertrend also added
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)
Pi Cycle Bitcoin Top and Bottom (Daily)Pi Cycle Bitcoin Top and Bottom (Daily)
This indicator combines the renowned Pi Cycle Top and Pi Cycle Bottom indicators into one comprehensive tool designed to identify Bitcoin's market cycle tops and bottoms with precision.
Pi Cycle Top
The Pi Cycle Top indicator uses the 111-day moving average (111DMA) and a multiple of the 350-day moving average (350DMA x 2). Historically, this indicator has identified Bitcoin’s price cycle peaks with an accuracy of up to 3 days.
📈 When the 111DMA crosses above the 350DMA x 2, it signals a market cycle top.
Pi Cycle Bottom
The Pi Cycle Bottom indicator utilizes the 150-day exponential moving average (150EMA) and a multiple of the 471-day simple moving average (471SMA x 0.745). Over past cycles, this combination has effectively pinpointed Bitcoin’s market bottoms with the same level of accuracy.
📉 When the 150EMA crosses below the 471SMA x 0.745, it signals a market cycle bottom.
Parabola
As an additional feature, the indicator identifies moments when the 150EMA crosses back above the 471SMA x 0.745, suggesting a potential parabolic price movement.
Features
Precision: Both indicators have historically aligned with major market turning points.
Customizable settings: Adjust the short and long moving averages to fit your analysis needs.
Alerts: Real-time alerts can be enabled for identifying market tops and bottoms.
Clear visualization: Optional moving average lines and signal markers make it easy to track market trends.
Full credits to Philip Swift, PositiveCrypto, Tondy, BilzerianCandle.
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.
GOLDENPIP BOS/CHOCHThe GOLDENPIP STRONG HANDS Indicator is a powerful tool specifically designed for gold traders (XAU/USD) and other assets, as explained on the GoldenPipXAU YouTube channel.
This indicator pinpoints key areas where strong hands (institutions and large operators) are influencing the market.
By marking ChoCH (Change of Character) and BOS (Break of Structure) directly on the chart, it identifies critical shifts in market structure. These features are vital for deciding when to enter or exit trades, maximizing strategic opportunities for profit.
Key Features Recap:
ChoCH (Change of Character): Identifies shifts in market direction, useful for early reversal detection.
BOS (Break of Structure): Confirms trend continuation after breaking significant levels.
Professional Design: Built on price action principles and fractal market structures.
Ease of Use and Accuracy: Designed to highlight critical decision-making points.
Perfect for:
Scalping and Day Trading: Identifies opportunities on lower timeframes.
Swing Trading: Detects trend reversals on higher timeframes.
Traders utilizing the strategy outlined on the Golden Pip YouTube channel.
With this indicator, you gain an essential tool for trading like a professional and fully capitalizing on market opportunities.