Exponantial Spread StrategyIt is strongly recommended to evaluate the strategy's performance on long time frames such as 1D or 4H.
This strategy calculates a custom moving average by the formula EMA+(TEMA-DEMA)*G,
G being the gain parameter. The main idea behind that is since TEMA is much more adaptive than DEMA their spread give us momentum, and incorporating this with a gain allows us to calculate a very responsive but yet not noisy moving average.
We calculate 4 MAs like described with gains 0,1,2,3 from less adaptive (normal EMA) to most adaptive. When they align in terms of position and the price is above the original MA we enter a long position, and do partial exits at each crossunder weighted by how adaptive ma is, the more adaptive the less weight, we do a full stop when the price crossed below under the original MA or the position aligment changed.
المؤشرات والاستراتيجيات
European and American Trading Sessions (Blue)The European and American trading sessions, in particular, are known for their volatility and volume, making them key periods for traders to watch.
This Pine Script indicator, "European and American Trading Sessions," helps traders visually distinguish these sessions directly on their charts by shading the background during active hours. We use this indicator in combination with the one that highlights the nighttime phases in white.
Here's a breakdown of how the indicator works:
Key Features of the Script:
Timezone Configuration:
The script allows users to select a timezone from a predefined list that includes UTC, London, Rome, New York, and Tokyo. This flexibility ensures that the session times are accurately displayed regardless of the server or local time of the user.
European Session Parameters:
Users can set the start and end times for the European session. By default, the session runs from 08:00 to 12:00, but the input options make it customizable down to the minute. The European session is highlighted with a light blue background (36% opacity) to avoid overwhelming the chart while still providing a clear visual cue.
American Session Parameters:
Similar to the European session, the American session can be customized. The default times are set from 12:01 to 20:59. This session is highlighted in a slightly darker blue (80% opacity), providing a distinct visual difference from the European session.
Session Timing Calculation:
The script calculates the start and end times for each session based on the selected timezone. It uses the timestamp() function to account for year, month, day, hour, and minute, ensuring that session timings are accurately applied to each day’s trading activity.
Background Highlighting:
Once the session times are defined, the script checks if the current chart time (time) falls within the European or American trading session. If the condition is true, the corresponding background color is applied, visually highlighting the active session directly on the chart. This feature makes it easy to identify when the European or American markets are in play.
Benefits for Traders:
Clear Session Visibility: The color-coded background makes it effortless for traders to identify when key trading sessions are active without needing to constantly check the clock.
Customizable to Your Needs:
With full control over the start and end times for both sessions, traders can adapt the indicator to fit their specific trading hours or preferences.
Timezone Flexibility:
No matter where you're trading from, the ability to set the timezone ensures that the sessions are displayed correctly according to your local time.
Explanation of the Code:
Timezone Selection:
Allows the user to select a timezone from predefined options such as Europe/Rome, America/New_York, etc. This timezone will be used to calculate session start and end times.
Session Timing Inputs:
The script takes user inputs for the start and end times of the European and American trading sessions. These inputs include the hour and minute for both sessions.
Colors:
The color of the European session is set to a blue shade with 36% opacity.
The American session is also colored blue but with a higher opacity of 80%.
Timestamp Calculation:
The timestamp() function converts the input hours and minutes into a time value, accounting for the selected timezone.
Session Conditions:
The script checks if the current time (time) falls within the European or American session. If true, it applies the respective background color for that session. This approach creates clear visual highlights on the chart, marking the active hours of the European and American trading sessions based on user inputs.
Options Series - Supertrend, HalfTrend, Ichimoku Cloud and P_SAR➤ Supertrend:
➤ HalfTrend:
➤ Ichimoku Cloud:
➤ Parabolic SAR:
⭐ Overview and How It Works:
This script combines multiple popular technical indicators—Supertrend, HalfTrend, Ichimoku Cloud, and Parabolic SAR—into a single, cohesive tool for analyzing price trends and reversals. Designed for traders who prefer multi-layered confirmation, it displays non-overlay signals in a candlestick format, helping users make sense of intricate market dynamics. It also includes a "Master Candle" condition, which aggregates the signals from all indicators, providing a powerful snapshot of market sentiment.
References for study,
Supertrend and HalfTrend and Ichimoku Cloud and Parabolic SAR
⭐ Key Features and Functionality:
The script integrates four indicators and visually represents them in a non-overlay fashion, meaning that each indicator's signal appears on separate candlestick layers. It uses color coding to differentiate between bullish and bearish signals. The Master Candle is a unique feature that aggregates the signals from all indicators to show the overall sentiment.
Supertrend: It uses ATR and a multiplier factor to create a trailing stop, identifying bullish and bearish trends.
HalfTrend: It analyzes market volatility that provides buy and sell signals based on volatility channels and historical highs and lows.
Ichimoku Cloud: It leverages historical highs and lows to form the conversion and baseline, which are compared to assess market strength.
Parabolic SAR: A stop-and-reverse system that highlights potential reversals. It is based on time and price, offering traders potential reversal points.
Master Candle: It computes a score based on the confluence of all four indicators, adding another layer of confirmation.
🎨 Visualizations and User Experience:
The script's user interface is highly visual, with color-coded candlesticks plotted across multiple layers. Each indicator has its own color coding for bullish and bearish signals, ensuring clarity:
➤ Green for bullish signals.
➤ Red for bearish signals.
➤ Each candlestick layer represents a different indicator (e.g., Supertrend, HalfTrend, etc.), making it easy for the trader to isolate and interpret signals.
➤ The "Master Candle" provides an overarching view of the market by displaying a consolidated signal, which can reduce confusion from mixed indicator signals.
⭐ Settings and Customization:
The script is highly customizable, allowing users to adjust the settings for each indicator. Key customizable parameters include:
• Supertrend ATR Period and Factor
• HalfTrend Amplitude and Channel Deviation
• Ichimoku Conversion, Base, and Lagging Span Periods
• Parabolic SAR Start, Increment, and Maximum value
Additionally, users can toggle the visibility of each indicator and customize the look of the plot to suit their preferences.
⭐ Uniqueness of the Concept:
No repaints. This is the advanced representation and the combination of multiple indicators into a single script, along with a powerful "Master Candle" that aggregates them, makes this tool unique. Most scripts provide isolated indicator signals, while this one brings together four powerful indicators and visually simplifies the analysis. The non-overlay style and color-coded candlesticks offer traders an easy-to-understand, actionable visual cue, which stands out from traditional indicator overlays.
🚀 Conclusion:
This script is a comprehensive, multi-indicator trading tool suitable for traders looking for reliable trend-following and reversal detection. Its ability to provide an aggregated "Master Candle" signal reduces noise and aids in better decision-making. Customization options allow users to tailor it to their trading style, while its clear visualizations provide an excellent user experience.
Fibonacci & Bollinger Bands StrategyThis strategy combines Bollinger Bands and Fibonacci retracement/extension levels to identify potential entry and exit points in the market. Here’s a breakdown of each component and how the strategy works:
1. Bollinger Bands:
Bollinger Bands consist of a simple moving average (SMA) and two standard deviations (upper and lower bands) plotted above and below the SMA. The bands expand and contract based on market volatility.
Purpose in Strategy:
The lower band represents an area where the market might be oversold.
The upper band represents an area where the market might be overbought.
The price crossing these bands suggests overextended market conditions, which can be used to identify potential reversals.
2. Fibonacci Retracement and Extension Levels:
Fibonacci retracement levels are horizontal lines that indicate where price might find support or resistance as it retraces some of its previous movement. Common retracement levels are 61.8% and 78.6%.
Fibonacci extension levels are used to project areas where the price might extend after completing a retracement. These levels can help determine potential targets after a significant price movement.
Purpose in Strategy:
The strategy calculates the most recent swing high (fibHigh) and swing low (fibLow) over a lookback period. It then plots Fibonacci retracement and extension levels based on this range.
The Fibonacci levels are used as key support and resistance areas. The price approaching or touching these levels signals potential turning points in the market.
3. Entry Criteria:
A long position (buy) is triggered when:
The price crosses below the lower Bollinger Band, indicating an oversold condition.
The price is near or above a Fibonacci extension level (calculated based on the most recent price swing).
This suggests that the price is potentially reaching a strong support area, where a reversal is likely.
4. Exit Criteria:
The long position is closed (exit trade) when either:
The price touches or crosses the upper Bollinger Band, signaling an overbought condition.
The price reaches a Fibonacci retracement level or exceeds the recent swing high (fibHigh), indicating a potential exhaustion point or a reversal area.
5. General Strategy Logic:
The strategy takes advantage of market volatility (captured by the Bollinger Bands) and key support/resistance levels (determined by Fibonacci retracement and extension levels).
By combining these two techniques, the strategy identifies potential entry points at oversold levels with the expectation that the market will retrace or reverse upward, especially when near key Fibonacci extension levels.
Exit points are identified by potential overbought levels (Bollinger upper band) or key Fibonacci retracement levels, where the price might reverse downward.
6. Conditions to Execute the Strategy:
The Fibonacci levels are only calculated once the price has made a significant movement, establishing a recent high and low over a 50-bar period (which you can adjust). This ensures the Fibonacci levels are based on meaningful swings.
The entry and exit signals are filtered using both Bollinger Bands and Fibonacci levels to ensure that trades are not taken solely based on one indicator, thus reducing false signals.
Key Features of the Strategy:
Trend-following with reversal: It tries to catch reversals when the price hits extreme levels (Bollinger Bands) while respecting important Fibonacci levels.
Dynamic market adaptation: The strategy adapts to market conditions as it recalculates Fibonacci levels based on recent price swings and adjusts the Bollinger Bands for market volatility.
Confirmation through multiple indicators: It uses both the volatility-based signals from Bollinger Bands and the price structure from Fibonacci levels to confirm trade entries and exits.
Summary of the Strategy:
The strategy looks to buy low and sell high based on oversold/overbought signals from Bollinger Bands and Fibonacci levels that indicate key support and resistance zones.
By combining these two technical indicators, the strategy aims to reduce risk and increase accuracy by only entering trades when both indicators suggest favorable conditions.
DF: Horizontal Levels and Colors for NYSE TICK Chart
DF: Horizontal Levels and Colors for NYSE TICK Chart
This is intended to be added very specifically to your NYSE TICK chart.
This script creates a custom indicator designed to enhance the visual analysis
of market breadth through the NYSE TICK data. It features:
1. **Horizontal Levels**:
- **1300 and -1300**: Gray lines indicating extreme bullish and bearish conditions.
- **1000 and -1000**: Light red and green lines representing significant support and resistance zones.
- **850 and -850**: Customizable blue lines that can be adjusted according to user preferences.
**Zero Line**: A solid white line marking the neutral point, drawn prominently for quick reference.
2. **Color Fills**:
- Red fill between 1000 and 1300 to highlight extreme bullish sentiment.
- Green fill between -1000 and -1300 to signify extreme bearish sentiment.
3. **Exponential Moving Average (EMA)**:
- Calculated based on user-defined length (default set to 8).
- The EMA line's color dynamically adjusts based on its slope:
- White when trending upwards.
- Magenta when trending downwards, providing quick visual cues of market momentum.
Overall, this script serves as a powerful tool for traders seeking to visualize market trends, support and resistance levels, and market breadth through the NYSE TICK data, enhancing their decision-making process in trading.
TASC 2024.11 Ultimate Strength Index█ OVERVIEW
This script implements the Ultimate Strength Index (USI) indicator, introduced by John Ehlers in his article titled "Ultimate Strength Index (USI)" from the November 2024 edition of TASC's Traders' Tips . The USI is a modified version of Wilder's original Relative Strength Index (RSI) that incorporates Ehlers' UltimateSmoother lowpass filter to produce an output with significantly reduced lag.
█ CONCEPTS
Many technical indicators, including the RSI, lag due to their heavy reliance on historical data. John Ehlers reformulated the RSI to substantially reduce lag by applying his UltimateSmoother filter to upward movements ( strength up - SU ) and downward movements ( strength down - SD ) in the time series, replacing the standard process of smoothing changes with rolling moving averages (RMAs). Ehlers' recent works, covered in our recent script publications, have shown that the UltimateSmoother is an effective alternative to other classic averages, offering notably less lag in its response.
Ehlers also modified the RSI formula to produce an index that ranges from -1 to +1 instead of 0 to 100. As a result, the USI indicates bullish conditions when its value moves above 0 and bearish conditions when it falls below 0.
The USI retains many of the strengths of the traditional RSI while offering the advantage of reduced lag. It generally uses a larger lookback window than the conventional RSI to achieve similar behavior, making it suitable for trend trading with longer data lengths. When applied with shorter lengths, the USI's peaks and valleys tend to align closely with significant turning points in the time series, making it a potentially helpful tool for timing swing trades.
█ CALCULATIONS
The first step in the USI's calculation is determining each bar's strength up (SU) and strength down (SD) values. If the current bar's close exceeds the previous bar's, the calculation assigns the difference to SU. Otherwise, SU is zero. Likewise, if the current bar's close is below the previous bar's, it assigns the difference to SD. Otherwise, SD is zero.
Next, instead of the RSI's typical smoothing process, the USI's calculation applies the UltimateSmoother to the short-term average SU and SD values, reducing high-frequency chop in the series with low lag.
Finally, this formula determines the USI value:
USI = ( Ult (SU) − Ult (SD)) / ( Ult (SU) + Ult (SD)),
where Ult (SU) and Ult (SD) are the smoothed average strength up and strength down values.
Chartonaut: GlimpseDisplays an overview of some key metrics as a table.
Market Cap : value of the company.
Float Shares : number of shares available for trading.
AR# : average range over the last # sessions.
ATR# : average true range over the last # sessions.
ATR#/MA# : distance of the current price from the given moving average (MA) in terms of ATR multiples.
Rel Volatility : current session's range, including gaps from previous close, relative to the ATR.
Additionally, it highlights some metrics if they are crossing a given threshold, as to warn that some criteria might not be met.
Delayed Opening Price Line with GuardrailsThis Delayed Opening Price Line with Guardrails indicator will draw 5 price level lines on the chart each day, beginning at the open of the first candle after a delay period specified by the user in the indicator settings. The default delay is 30 minutes from market open.
The lines are drawn at the open price of the first candle after the delay period, and then a specified increment above and below that price level. These increments default to 80 and 100, and can be adjusted in the indicator settings.
Most markets, indices, and equities have a finite and consistent range of price movement within a trading day. Eg. a particular stock may usually move no more that $50 up or down in a given day, which can be proven by looking at a historical chart. This indicator allows the user to quickly display that range on the chart once it's been defined.
Important note: This indicator is designed to be used on an intra-day chart - eg. minutes, or hourly. It will give an error if used on a longer time-frame chart.
Candle Range Theory | Flux Charts💎 GENERAL OVERVIEW
Introducing our new Candle Range Theory Indicator! This powerful tool offers a strategy built around the Candle Range Theory, which analyzes market movements through the relative size and structure of price candles. For more information about the process, check the "HOW DOES IT WORK" section.
Features of the new Candle Range Theory Indicator :
Implementation of the Candle Range Theory
FVG & Order Block Entry Methods
2 Different TP / SL Methods
Customizable Execution Settings
Customizable Backtesting Dashboard
Alerts for Buy, Sell, TP & SL Signals
📌 HOW DOES IT WORK ?
The Candle Range Theory (CRT) indicator operates by identifying significant price movements through the relative size and structure of candlesticks. A key part of the strategy is determining large candles based on their range compared to the Average True Range (ATR) in a higher timeframe. Once identified, a breakout of either the high wick or the low wick of the large candle is required. This breakout is considered a liquidity grab. After that, the indicator waits for confirmation through Fair Value Gaps (FVGs) or Order Blocks (OBs). The confirmation structure must be the opposite direction of the breakout, for example if the high wick is broken, a bearish FVG is required for the short entry. After a confirmation signal is received, the indicator will trigger entry points based on your chosen entry method (FVG or OB), and exit points will be calculated using either a dynamic ATR-based TP/SL method or fixed percentages. Alerts for Buy, Sell, Take-Proft, and Stop-Loss are available.
🚩 UNIQUENESS
This indicator stands out because it combines two highly effective entry methods: Fair Value Gaps (FVGs) and Order Blocks (OBs). You can choose between these strategies depending on market conditions. Additionally, the dynamic TP/SL system uses the ticker's volatility to automatically calculate stop-loss and take-profit targets. The backtesting dashboard provides metrics about the performance of the indicator. You can use it to tune the settings for best use in the current tiker. The Candle Range Theory approach offers more flexibility compared to traditional indicators, allowing for better customization and control based on your risk tolerance.
⚙️ SETTINGS
1. General Configuration
Higher Timeframe: Customize the higher timeframe for analysis. Recommended combinations include M15 -> H4, H4 -> Daily, Daily -> Weekly, and Weekly -> Monthly.
HTF Candle Size: Define the size of the higher timeframe candles as Big, Normal, or Small to filter valid setups based on their range relative to ATR.
Entry Mode: Choose between FVGs and Order Blocks for your entry triggers.
Require Retracement: Enable this option if you want a retracement to the FVG or OB for entry confirmation.
Show HTF Candle Lines: Toggle to display the higher timeframe candle lines for better visual clarity.
2. Fair Value Gaps
FVG Sensitivity: You may select between Low, Normal, High or Extreme FVG detection sensitivity. This will essentially determine the size of the spotted FVGs, with lower sensitivities resulting in spotting bigger FVGs, and higher sensitivities resulting in spotting all sizes of FVGs.
3. Order Blocks
Swing Length: Swing length is used when finding order block formations. Smaller values will result in finding smaller order blocks.
4. TP / SL
TP / SL Method:
a) Dynamic: The TP / SL zones will be auto-determined by the algorithm based on the Average True Range (ATR) of the current ticker.
b) Fixed : You can adjust the exact TP / SL ratios from the settings below.
Dynamic Risk: The risk you're willing to take if "Dynamic" TP / SL Method is selected. Higher risk usually means a better winrate at the cost of losing more if the strategy fails. This setting is has a crucial effect on the performance of the indicator, as different tickers may have different volatility so the indicator may have increased performance when this setting is correctly adjusted.
Manoj Personal EMA 5-203 EMA Trading Strategy Script Overview:
EMAs Used:
5 EMA: Short-term moving average.
20 EMA: Medium-term moving average.
564 EMA: Long-term moving average to identify overall trend direction.
Entry Signals:
Strong Buy: Triggered when:
Price is above the 564 EMA (uptrend).
The 5 EMA crosses above the 20 EMA (bullish crossover).
The current candle is green (close > open).
Strong Sell: Triggered when:
Price is below the 564 EMA (downtrend).
The 5 EMA crosses below the 20 EMA (bearish crossover).
The current candle is red (close < open).
Exit Signal:
Position is closed when the price touches back to the 564 EMA (either side, up or down):
A "Close Position" label is shown in green for long trades.
A "Close Position" label is shown in red for short trades.
Risk Management:
Stop-Loss: Placed at the last swing low (for longs) or last swing high (for shorts), calculated over the last 10 bars.
Take-Profit: A 1:3 risk/reward ratio is used, where the potential reward is three times the risk.
Alerts:
Alerts are triggered for buy and sell signals.
Alerts are also triggered when the exit condition (price touching the 564 EMA) is met.
This script is designed to work on timeframes of 15 minutes or higher but can also be used for 5-minute scalping. It plots the EMAs on the chart, highlights buy/sell opportunities, shows stop-loss and take-profit levels, and generates alerts for key signals.
Stochastic Trendlines with Breakouts [Jamshid] - EnhancedStochastic Trendlines with Breakouts - Enhanced Version
This advanced Stochastic Trendlines with Breakouts script combines several powerful features to provide enhanced breakout detection based on the Stochastic Oscillator and additional confirmation signals. This script is designed to help traders identify key trend reversals, breakout points, and pivot levels with more accuracy by integrating advanced filters such as RSI confirmation, moving average trend filtering, volatility filtering, divergence detection, and multi-timeframe analysis.
Key Features:
Stochastic Oscillator-Based Breakouts:
Automatically detects breakouts based on the smoothed Stochastic Oscillator values (%K and %D), providing insights into overbought and oversold conditions.
Customizable overbought and oversold levels, with a mid-level (50) line for additional reference.
Trendlines on Pivot Points:
Automatically plots dynamic trendlines based on pivot highs and lows of the smoothed Stochastic %K, helping to visualize potential reversal points.
RSI Confirmation (Optional):
Filters breakout signals using the Relative Strength Index (RSI) to confirm breakouts only when the RSI is below 50 for downtrend breakouts and above 50 for uptrend breakouts.
Visual confirmation with a green "RSI Conf." label displayed on the chart when the RSI condition is met.
Moving Average Filter (Optional):
Confirms breakout signals in the direction of a user-defined Moving Average (MA) to trade in the overall market trend direction.
MA length is fully customizable.
Stochastic Divergence Filter (Optional):
Detects bullish or bearish divergence between the price and Stochastic Oscillator values, adding an extra layer of confirmation.
Multi-Timeframe Confirmation (Optional):
Confirms breakouts by checking the Stochastic %K and %D values from a higher timeframe. This helps in avoiding false signals by aligning with the broader market trend.
The higher timeframe can be customized to any timeframe (e.g., daily, weekly, etc.).
Volatility Filter (Optional):
Uses the ATR (Average True Range) to filter out breakouts during periods of low volatility, ensuring signals are only triggered when there is sufficient price movement.
ATR length and multiplier are fully customizable.
Custom Alerts:
Alerts are available for new trendline detections (both pivot high and pivot low) and for confirmed breakout signals. These alerts help traders stay informed in real-time without needing to monitor the chart continuously.
How to Use:
Customize the Stochastic Oscillator settings, such as %K smoothing and %D line parameters, to fit your trading strategy.
Enable or disable additional filtering features (RSI, MA, divergence, MTF, volatility) as needed.
Set up alerts for specific breakout conditions directly in TradingView to stay notified when breakout signals are triggered.
This script is designed for traders who are looking for precision breakout signals with added layers of confirmation to avoid false breakouts and enhance trading accuracy.
Prometheus Fractal WaveThe Fractal Wave is an indicator that uses a fractal analysis to determine where reversals may happen. This is done through a Fractal process, making sure a price point is in a certain set and then getting a Distance metric.
Calculation:
A bullish Fractal is defined by the current bar’s high being less than the last bar’s high, and the last bar’s high being greater than the second to last bar’s high, and the last bar’s high being greater than the third to last bar’s high.
A bearish Fractal is defined by the current low being greater than the last bar’s low, and the last bar’s low being less than the second to last bar’s low, and the last bar’s low being less than the third to last bar’s low.
When there is that bullish or bearish fractal the value we store is either the last bar’s high or low respective to bullish or bearish fractal.
Once we have that value stored we either subtract the last bar’s low from the bullish Fractal value, and subtract the last bar’s high from the bearish Fractal value. Those are our Distances.
Code:
isBullishFractal() =>
high > high and high < high and high > high
isBearishFractal() =>
low < low and low > low and low < low
var float lastBullishFractal = na
var float lastBearishFractal = na
if isBullishFractal() and barstate.isconfirmed
lastBullishFractal := high
if isBearishFractal() and barstate.isconfirmed
lastBearishFractal := low
//------------------------------
//-------CACLULATION------------
//------------------------------
bullWaveDistance = na(lastBullishFractal) ? na : lastBullishFractal - low
bearWaveDistance = na(lastBearishFractal) ? na : high - lastBearishFractal
We then plot the bullish distance and the negative bearish distance.
The trade scenarios come from when one breaks the zero line and then goes back above or below. So if the last bullish distance was below 0 and is now above, or if the last negative bearish distance was above 0 and now below. We plot a green label below a candle for a bullish scenario, or a red label above a candle for a bearish one, you can turn them on or off.
Code:
plot(bullWaveDistance, color=color.green, title="Bull Wave Distance", linewidth=2)
plot(-bearWaveDistance, color=color.red, title="Bear Wave Distance", linewidth=2)
plot(0, "Zero Line", color=color.gray, display = display.pane)
bearish_reversal = plot_labels ? bullWaveDistance < 0 and bullWaveDistance > 0 : na
bullish_reversal = plot_labels ? -bearWaveDistance > 0 and -bearWaveDistance < 0 : na
plotshape(bullish_reversal, location=location.belowbar, color=color.green, style=shape.labelup, title="Bullish Fractal", text="↑", display = display.all - display.status_line, force_overlay = true)
plotshape(bearish_reversal, location=location.abovebar, color=color.red, style=shape.labeldown, title="Bearish Fractal", text="↓", display = display.all - display.status_line, force_overlay = true)
We can see in this daily NASDAQ:QQQ chart that the indicator gives us marks that can either be used as Reversal signals or as breathers in the trend.
Since it is designed to provide reversals, on something like Gold where the uptrend has been strong, the signals may be just short breathers, not full blown strong reversal signs.
The indicator works just as well intra day as it does on larger timeframes.
We encourage traders to not follow indicators blindly, none are 100% accurate. Please comment on any desired updates, all criticism is welcome!
TS Volatility-Adjusted EWMAThe TS Volatility-Adjusted Exponentially Weighted Moving Average (EWMA) is a dynamic trend-following indicator designed to adapt to changing market volatility. Unlike traditional moving averages, this indicator adjusts its sensitivity based on market conditions, making it more responsive during periods of high volatility and smoother when markets are calmer.
Key Features:
Volatility Adjustment: The EWMA length is dynamically scaled using the Average True Range (ATR), making it adaptive to market volatility. This allows the indicator to react quickly when volatility spikes and remain stable when volatility drops.
User-Controlled Smoothing: The indicator includes an optional smoothing period, allowing you to adjust how smooth or reactive the line is to price changes. If you prefer a more smoothed-out trend, simply increase the smoothing length.
This indicator is perfect for trend-following traders who want an adaptive tool that stays responsive to the market’s volatility. The TS Volatility-Adjusted EWMA helps you confidently follow market trends, whether you’re riding a long-term trend or catching shorter-term movements.
DEB SuperTrend [Mattes]The Dynamic Envelope Based Supertrend integrates two key concepts: dynamic envelopes and the Supertrend, creating a powerful trend-following tool. Understanding its functionality requires a closer look at how the envelopes are constructed and how they interact with price action.
Dynamic Envelopes
>>> Dynamic envelopes are bands that surround a central moving average (MA) which is set by the user. These are then calculated based on the standard deviation of price movements over a specified period. The formula for the upper and lower envelopes is as follows:
Upper Envelope=MA+(Multiplier×STD)
Lower Envelope=MA−(Multiplier×STD)
This dynamic approach ensures that the envelopes expand and contract based on market volatility. In periods of high volatility, the envelopes widen, allowing for more price movement without triggering false signals. Conversely, in low-volatility periods, the envelopes tighten, enhancing sensitivity to price changes.
Interaction with the Supertrend
The Supertrend component is a trend-following indicator that utilizes the concept of Average True Range (ATR) to define its trailing stop levels.
In this indicator however (like I've mentioned before), the ATR bands have been replaced with the STD envelopes, as they offer a better performance compared to ATR bands.
Trend Direction
The Supertrend indicator generates buy and sell signals based on price crossing the calculated upper and lower envelopes:
>>> Buy Signal: Triggered when the price closes above the upper envelope, indicating a potential upward trend.
>>> Sell Signal: Triggered when the price closes below the lower envelope, suggesting a downward trend.
Adaptive Nature:
The dynamic envelopes effectively serve as dynamic support and resistance levels, which adapt to price movements and volatility, while the Supertrend tracks these levels to confirm the trend direction and adjust accordingly to changes, making it an enhanced version of ATR Based Supertrends.
Unique Aspects and Advantages
->>>> The Dynamic Envelope Based Supertrend is unique for several reasons:
>>> Volatility Responsiveness: The indicator adjusts its sensitivity based on market conditions, reducing the likelihood of false signals during quiet market phases and improving reliability during volatile periods. This is reasoned by the STD envelope bands contracting and expanding relative to the tickers performance.
>>> Trend Confirmation: By integrating the Supertrend logic, the indicator not only provides entry signals but also guides traders on when to exit, maintaining a focus on trend-following rather than mean reversion.
>>> Stability: Due to its use of Standard deviation envelopes, it is very ressistant in periods of uncertainty, Rather than buy bottom and selling tops, it stays long/short for the complete period of mean reverting environments, which is based on the bigger and fuller trend direction on the larger timescales.
>>> Clear Signals: The indicator simplifies decision-making by offering visual cues through its envelopes and trend signals, making it accessible to traders of all experience levels.
Summary:
The Dynamic Envelope Based Supertrend is a sophisticated trend-following indicator that intelligently combines dynamically adjusted STD envelopes with Supertrend logic. By incorporating volatility metrics, it offers a clear and actionable framework for traders, enhancing their ability to identify and follow trends effectively.
DSL Trend Analysis [ChartPrime]The DSL Trend Analysis indicator utilizes Discontinued Signal Lines (DSL) deployed directly on price, combined with dynamic bands, to analyze the trend strength and momentum of price movements. By tracking the high and low price values and comparing them to the DSL bands, it provides a visual representation of trend momentum, highlighting both strong and weakening phases of market direction.
⯁ KEY FEATURES AND HOW TO USE
⯌ DSL-Based Trend Detection :
This indicator uses Discontinued Signal Lines (DSL) to evaluate price action. When the high stays above the upper DSL band, the line turns lime, indicating strong upward momentum. Similarly, when the low stays below the lower DSL band, the line turns orange, indicating strong downward momentum. Traders can use these visual signals to identify strong trends in either direction.
⯌ Bands for Trend Momentum :
The indicator plots dynamic bands around the DSL lines based on ATR (Average True Range). These bands provide a range within which price can fluctuate, helping to distinguish between strong and weakening trends. If the high remains within the upper band, the lime-colored line becomes transparent, showing weakening upward momentum. The same concept applies for the lower band, where the line turns orange with transparency, indicating weakening downward momentum.
If high and low stays between bands line has no color
to make sure indicator catches only strong momentum of price
⯌ Real-Time Band Price Labels :
The indicator places two labels on the chart, one at the upper DSL band and one at the lower DSL band, displaying the real-time price values of these bands. These labels help traders track the current price relative to the key bands, which are essential in determining potential breakout or reversal zones.
⯌ Visual Confirmation of Momentum Shifts :
By monitoring the relationship between the high and low values of the price relative to the DSL bands, this indicator provides a reliable way to confirm whether the trend is gaining or losing strength. This allows traders to act accordingly, whether it's to enter or exit positions based on trend strength or weakness.
⯁ USER INPUTS
Length : Defines the period used to calculate the DSL lines, influencing the sensitivity of the trend detection.
Offset : Adjusts the offset applied to the upper and lower DSL bands, affecting how the thresholds for strong or weak momentum are set.
Width (ATR Multiplier) : Determines the width of the DSL bands based on an ATR multiplier, providing a dynamic range around the price for momentum analysis.
⯁ CONCLUSION
The DSL Trend Analysis indicator is a powerful tool for assessing price momentum and trend strength. By combining Discontinued Signal Lines with dynamically calculated bands, traders can easily spot key moments when momentum shifts from strong to weak or vice versa. The color-coded lines and real-time price labels provide valuable insights for trading decisions in both trending and ranging markets.
FVG Order Blocks [BigBeluga]This indicator is an advanced tool designed to detect and visualize market FVGs with order blocks, where the price action has created gaps due to strong buying or selling pressure. These FVG often act as critical support and resistance levels, giving traders strategic points for potential entries and exits. The indicator not only identifies these imbalances but also displays their relative strength by size %, helping traders prioritize order blocks that are more likely to hold or break.
The indicator works on various pairs and stocks, it also works on charts that do not provide volume data
Forex (JPY/USD):
Stocks (NVDA):
🔵 KEY FEATURES & USAGE
● FVGs Detection and Visualization:
The indicator detects bullish and bearish FVGs. Bullish FVG occur when there is significant buying, and order block is plotted below the FVG zone:
Conversely, bearish FVG are plotted with an order block above the zone, indicating potential resistance.
Traders can use these order blocks to anticipate price reactions when the market revisits these areas, making them ideal for setting up trades.
● FVG Filtering:
The indicator includes a FVG % filter that allows traders to only display strong order blocks. This ensures that only significant FVG order blocks are shown, reducing noise and focusing on the most impactful areas.
● Highlighting Broken Levels:
When an imbalance level is broken—either breached by price action or no longer relevant—the indicator can either delete the level or mark it with a gray color areas. This provides a clear visual cue that the level has been compromised, allowing traders to adjust their strategies accordingly.
● Order Blocks Signals:
When price retest the blocks, indicator display potential sell or buy signals. Which can be an opportunity for trades
🔵 CUSTOMIZATION
● FVG Filter:
Adjust the strength filter to control which FVGs are displayed based on their percentage size. This filter helps in focusing only on significant blocks that are likely to impact price action.
● Order Blocks Amount Displayed:
Set the maximum number of Order Blocks to be displayed on the chart. This customization helps keep the chart clean and ensures that only the most important blocks are in view.
● Broken Order Blocks Display:
Choose whether to display order blocks that have been broken by the price. This feature helps in maintaining a focus on blocks that are still valid while filtering out those that are no longer relevant.
● Color Customization:
You can customize the colors for bullish and bearish Order Blocks to match your chart's overall color scheme. Additionally, strength bars can be color-coded based on their percentage to quickly identify high-priority order blocks.
Traders who are confident in the settings of the indicator can confidently use it on various types of markets
Options Series - Dynamic Support & Resistance
🌟 Key Features & How It Works:
⭐ Dynamic Support and Resistance Management:
The script dynamically calculates and draws support and resistance lines based on pivot highs and pivot lows. Unlike static levels that remain unchanged, these lines are updated in real-time. When a support or resistance level is breached, the corresponding line is automatically deleted, keeping the chart clean and relevant. This feature ensures that the trader is always looking at valid support and resistance levels based on the current price action.
⭐ Use of Arrays for Line Management:
The script utilizes arrays to store and manage support and resistance lines (array.new_line(0)). This is a more advanced feature of Pine Script v5, allowing for efficient handling of multiple lines on the chart. By using arrays, the script can easily track and manipulate multiple lines (adding, removing, updating), ensuring that the chart remains optimized for real-time analysis.
⭐ Customizable Inputs for Flexibility:
The script includes user inputs for the pivot length and the line width, making it adaptable to different trading styles and preferences. The pivot length determines how sensitive the indicator is to price changes, while the line width allows traders to customize the visual representation of support and resistance levels. These inputs add flexibility and make the script accessible to a broad range of traders.
⭐ Efficient Breach Detection Mechanism:
The isBreached function is a key part of the script. It checks whether the current price has breached any of the existing support or resistance levels. If a breach is detected (i.e., the price crosses below a support or above a resistance), the respective line is deleted, ensuring that only active and valid lines remain on the chart. This automatic update feature reduces the need for manual intervention, helping traders stay focused on key price levels.
⭐ Visual Clarity and Chart Cleanliness:
By deleting breached lines, the script ensures that the chart does not become cluttered with outdated or irrelevant lines. This visual clarity is crucial for traders who rely on clean, simple charts for decision-making. Removing unnecessary information helps traders make faster, more confident decisions based on the current market structure.
⭐ Scalability for Multiple Timeframes:
The use of pivot points makes the script adaptable to different timeframes, from intraday scalping to longer-term swing trading. By changing the pivot length, traders can optimize the indicator for different market environments, ensuring that it can be applied across various asset classes and timeframes.
⭐ Practical for Range-bound and Breakout Trading:
This script is particularly effective for traders who focus on range-bound markets or breakout strategies. It allows them to quickly identify areas where price is likely to reverse (support/resistance) or break out (when support/resistance is breached), providing real-time insight into market dynamics.
⭐ Simplification of Price Action Analysis:
By automating the calculation of pivots and management of support/resistance levels, the script simplifies price action analysis. Traders no longer need to manually draw or monitor these levels, which is a common task in technical analysis. This provides an edge, as it reduces the time spent on chart preparation and helps focus on executing trades.
⭐ Originality:
The script "Options Series - Pivot Based Support & Resistance" is an original approach to generating support and resistance levels using pivot points. Pivot-based techniques are popular, but the script introduces an automated dynamic way of drawing support and resistance lines, tracking breaches, and deleting lines when they are no longer valid. This aspect adds a refreshing layer of interactivity and functionality that sets it apart from basic pivot point scripts. The use of arrays to store and manage multiple support and resistance lines is also a good application of Pine Script’s newer array functionalities.
⭐ Uniqueness of the Script:
The script stands out due to its dynamic management of support and resistance lines. Unlike traditional scripts that simply plot static pivot points, this one evolves with the market by removing broken levels, ensuring only valid support and resistance lines are visible on the chart. This is particularly useful for traders who focus on clean charting. The use of arrays to store and manage the lines, alongside the efficient deletion of lines when breached, demonstrates a solid understanding of Pine Script v5's advanced features, such as array manipulation.
🚀 Conclusion:
This script stands out for its real-time adaptability, dynamic support/resistance management, and efficient use of Pine Script’s advanced features. It a powerful tool for both novice and advanced traders.
The script is an indicator designed to draw support and resistance levels based on pivot highs and lows, dynamically removing lines when they are breached. If a price crosses a support or resistance level, the respective line is deleted, ensuring the chart reflects the current state of support and resistance accurately.
MomentumSignal Kit RSI-MACD-ADX-CCI-CMF-TSI-EStoch// ----------------------------------------
// Description:
// ----------------------------------------
// MomentumKit RSI/MACD-ADX-CCI-CMF-TSI-EStoch Suite is a comprehensive momentum indicator suite designed to provide robust buy and sell signals through the consensus of multiple normalized momentum indicators. This suite integrates the following indicators:
// - **Relative Strength Index (RSI)**
// - **Stochastic RSI**
// - **Moving Average Convergence Divergence (MACD)** with enhanced logic
// - **True Strength Index (TSI)**
// - **Commodity Channel Index (CCI)**
// - **Chaikin Money Flow (CMF)**
// - **Average Directional Index (ADX)**
// - **Ehlers' Stochastic**
//
// **Key Features:**
// 1. **Normalization:** Each indicator is normalized to a consistent scale, facilitating easier comparison and interpretation across different momentum metrics. This uniform scaling allows traders to seamlessly analyze multiple indicators simultaneously without the confusion of differing value ranges.
//
// 2. **Consensus-Based Signals:** By combining multiple indicators, MomentumKit generates buy and sell signals based on the agreement among various momentum measurements. This multi-indicator consensus approach enhances signal reliability and reduces the likelihood of false positives.
//
// 3. **Overlap Analysis:** The normalization process aids in identifying overlapping signals, where multiple indicators point towards a potential change in price or momentum. Such overlaps are strong indicators of significant market movements, providing traders with timely and actionable insights.
//
// 4. **Enhanced Logic for MACD:** The MACD component within MomentumKit utilizes enhanced logic to improve its responsiveness and accuracy in detecting trend changes.
//
// 5. **Debugging Features:** MomentumKit includes advanced debugging tools that display individual buy and sell signals generated by each indicator. These features are intended for users with technical and programming skills, allowing them to:
// - **Visualize Signal Generation:** See real-time buy and sell signals for each integrated indicator directly on the chart.
// - **Adjust Signal Thresholds:** Modify the criteria for what constitutes a buy or sell signal for each indicator, enabling tailored analysis based on specific trading strategies.
// - **Filter and Manipulate Signals:** Enable or disable specific indicators' contributions to the overall buy and sell signals, providing flexibility in signal generation.
// - **Monitor Indicator Behavior:** Utilize debug plots and labels to understand how each indicator reacts to market movements, aiding in strategy optimization.
//
// **Work in Progress:**
// MomentumKit is continuously evolving, with ongoing enhancements to its algorithms and user interface. Current debugging features are designed to offer deep insights for technically adept users, allowing for extensive customization and fine-tuning. Future updates aim to introduce more user-friendly interfaces and automated optimization tools to cater to a broader audience.
//
// **Usage Instructions:**
// - **Visibility Controls:** Users can toggle the visibility of individual indicators to focus on specific momentum metrics as needed.
// - **Parameter Adjustments:** Each indicator comes with customizable parameters, allowing traders to fine-tune the suite according to their trading strategies and market conditions.
// - **Debugging Features:** Enable the debugging mode to visualize individual indicator signals and adjust their contribution to the overall buy/sell signals. This requires a basic understanding of the underlying indicators and their operational thresholds.
//
// **Benefits:**
// - **Simplified Analysis:** Normalization simplifies the process of analyzing multiple indicators, making it easier to identify consistent signals across different momentum measurements.
// - **Improved Decision-Making:** Consensus-based signals backed by multiple normalized indicators provide a higher level of confidence in trading decisions.
// - **Versatility:** Suitable for various trading styles and market conditions, MomentumKit offers a versatile toolset for both novice and experienced traders.
//
// **Technical Requirements:**
// - **Programming Knowledge:** To fully leverage the debugging and signal manipulation features, users should possess a foundational understanding of Pine Script and the mechanics of momentum indicators.
// - **Customization Skills:** Ability to adjust indicator parameters and debug filters to align with specific trading strategies.
//
// **Disclaimer:**
// This indicator suite is intended for educational and analytical purposes only and does not constitute financial advice. Trading involves significant risk, and past performance is not indicative of future results. Always conduct your own analysis or consult a qualified financial advisor before making trading decisions.
Stochastics Confluences 4 in 1Description of the Pine Script:
This script plots the Full Stochastic indicator for four different time periods, and highlights conditions where potential buy or sell signals can be identified. The Stochastic indicator measures the position of the current closing price relative to the range of high and low prices over a defined period, helping traders identify overbought and oversold conditions.
Key Features:
Stochastic Calculation for 4 Different Periods:
The script calculates the Stochastic for four separate lookback periods: 9, 14, 40, and 60 bars.
Each Stochastic value is smoothed by a Simple Moving Average (SMA) to reduce noise and provide a clearer signal.
Visual Representation:
It plots each Stochastic value on the chart using different colors, allowing the user to see how the different periods of the indicator behave relative to each other.
Horizontal lines are drawn at 80 (Upper Bound) and 20 (Lower Bound), commonly used to identify overbought and oversold regions.
Highlighting Buy and Sell Conditions:
Green Highlight (Potential Buy Signal):
When all four Stochastic values (for the four different periods) are below 20, this suggests that the asset is in an oversold condition across multiple timeframes. The green background highlight appears when the Stochastic lines converge below 20, indicating a potential buy signal, as the price may be preparing to move upward from an oversold state.
Red Highlight (Potential Sell Signal):
When all four Stochastic values are above 80, the asset is in an overbought condition across multiple timeframes. The red background highlight appears when the Stochastic lines converge above 80, indicating a potential sell signal, as the price may soon reverse downward from an overbought state.
How to Interpret the Signals:
Buy Signals (Green Highlight):
When the chart is highlighted in green, it means the Stochastic indicators for all four periods are below 20, signaling that the asset is oversold and may be nearing a potential upward reversal. This condition suggests a possible buying opportunity, especially when other indicators confirm the potential for an upward trend.
Sell Signals (Red Highlight):
When the chart is highlighted in red, it indicates that the Stochastic indicators for all four periods are above 80, meaning the asset is overbought. This condition signals a possible downward reversal, suggesting a potential selling opportunity if the price begins to show signs of weakness.
By using this script, traders can visually identify periods of strong confluence across different timeframes when the Stochastic indicators are in extreme oversold or overbought conditions, which are traditionally seen as strong buy or sell signals.
This approach helps filter out weaker signals and focuses on moments when all timeframes align, increasing the probability of a successful trade.
Adjusted CoT IndexAdjusted COT Index
Improves upon: "COT Index Commercials vs large and small Speculators" by SystematicFutures
How: CoT Indexes are adjusted by Open Interest to normalise data over time, and threshold background colours are in-line with Larry Williams recommendations from his book.
Note: This indicator is **only** accurate on the Daily time-frame due to the mid-week release date for CoT data.
This script calculates and plots the Adjusted Commitment of Traders (COT) Index for Commercial, Large Speculator, and Retail (Small Speculator) categories.
The CoT Index is adjusted by Open Interest to normalise data through time, following the methodology of Larry Williams, providing insights into how these groups are positioned in the market with an arguably more historically accurate context.
COT Categories
-------------------
- Commercials (Producers/Hedgers): Large entities hedging against price changes in the underlying asset.
- Large Speculators (Non-commercials): Professional traders and funds speculating on price movements.
- Retail Traders (Nonreportable/Small Speculators): Small individual traders, typically less informed.
Features
----------
- Open Interest Adjustment
- The net positions for each category are normalized by Open Interest to account
for varying contract sizes.
- Customisable Look-back Period
- You can adjust the number of weeks for the index calculation to control the
historical range used for comparison.
- Thresholds for Extremes
- Upper and lower thresholds (configurable) are provided to mark overbought and
oversold conditions.
- Defaults
- Overbought: <=20
- Oversold: >= 80
- Hide Current Week Option
- Optionally hide the current week's data until market close for more accurate comparison.
- Visual Aids
- Plot the Commercials, Large Speculators, and Retail indexes, and optionally highlight extreme positioning.
Inputs
--------
- weeks
- Number of weeks for historical range comparison.
- upperExtreme and lowerExtreme
- Thresholds to identify overbought/oversold conditions (default 80/20).
- hideCurrentWeek
- Option to hide current week's data until market close.
- markExtremes
- Highlight extremes where any index crosses the upper or lower thresholds.
- Options to display or hide indexes for Commercials, Large Speculators, and Small Speculators.
Outputs
----------
- The script plots the COT Index for each of the three categories and highlights periods of extreme positioning with customisable thresholds.
Usage
-------
- This tool is useful for traders who want to track the positioning of different market participants over time.
- By identifying the extreme positions of Commercials, Large Speculators, and Retail traders, it can give insights into market sentiment and potential reversals.
- Reversals of trend can be confirmed with RSI Divergence (daily), for example
- Continuation can be confirmed with RSI overbought/oversold conditions (daily), and/or hidden RSI Hidden Divergence, for example
Vektorkerzen HighlightThe indicator highlights candles when:
The volume is at least twice the 20-period moving average.
The range (difference between high and low prices) is at least twice the 20-period average range.
*2.2 Aggregated (Raw Z-scores with MA)***To be used with other 2.2 indicator***
Key Indicators Used:
Oscillating Indicators: RSI, TSI, Stochastic, MACD, CCI, Vortex Indicator, Williams %R.
Perpetual Trend Indicators: EMA, ADX, Parabolic SAR, Supertrend, Donchian Channel, Ichimoku Cloud, RVGI.
How to Use the Indicator:
Raw Z-Score (Blue Line): This represents the real-time aggregated Z-score of all the indicators. It shows how far the current market conditions are from their average, helping you identify trends.
Moving Average of Z-Score (Orange Line): A smoothed version of the Z-score that helps confirm trends and eliminate noise.
Shaded Area: The area between the Z-score and its moving average is shaded green if the Z-score is above the moving average (bullish), and red if below the moving average (bearish).
Zero Line (Gray Line): Serves as a reference point. A Z-score crossing above zero could signal a bullish market, while crossing below zero could indicate bearish conditions.
This indicator helps in identifying market extremes and trend reversals by combining various technical indicators into a single aggregate score, ideal for spotting overbought or oversold conditions and possible trend shifts
*2.2 Aggregate Signal Indicator (trial)How to Use the Indicator:
Trend Detection:
The aggregate trend score will plot above 0 for bullish conditions and below 0 for bearish conditions.
When the trend score is green, it indicates a positive (bullish) trend, while red indicates a negative (bearish) trend.
Visual Representation:
The blue line represents the aggregate trend score, while the grey line at 0 shows the neutral point.
The area between the trend score and the 0-line is filled with green (bullish) or red (bearish) based on the score's direction.
Confirming Trends:
Look for consistency in the trend score remaining above or below 0 to confirm a lasting trend.
Use this indicator alongside other trading strategies to filter out false signals and gain confirmation of market direction.
Customizable Inputs:
The indicator allows you to customize the settings for each individual indicator (e.g., lengths for EMA, ADX, RSI, MACD, etc.) to fine-tune the system to your preference or specific market conditions.