TrigWave Suite [InvestorUnknown]The TrigWave Suite combines Sine-weighted, Cosine-weighted, and Hyperbolic Tangent moving averages (HTMA) with a Directional Movement System (DMS) and a Relative Strength System (RSS).
Hyperbolic Tangent Moving Average (HTMA)
The HTMA smooths the price by applying a hyperbolic tangent transformation to the difference between the price and a simple moving average. It also adjusts this value by multiplying it by a standard deviation to create a more stable signal.
// Function to calculate Hyperbolic Tangent
tanh(x) =>
e_x = math.exp(x)
e_neg_x = math.exp(-x)
(e_x - e_neg_x) / (e_x + e_neg_x)
// Function to calculate Hyperbolic Tangent Moving Average
htma(src, len, mul) =>
tanh_src = tanh((src - ta.sma(src, len)) * mul) * ta.stdev(src, len) + ta.sma(src, len)
htma = ta.sma(tanh_src, len)
Sine-Weighted Moving Average (SWMA)
The SWMA applies sine-based weights to historical prices. This gives more weight to the central data points, making it responsive yet less prone to noise.
// Function to calculate the Sine-Weighted Moving Average
f_Sine_Weighted_MA(series float src, simple int length) =>
var float sine_weights = array.new_float(0)
array.clear(sine_weights) // Clear the array before recalculating weights
for i = 0 to length - 1
weight = math.sin((math.pi * (i + 1)) / length)
array.push(sine_weights, weight)
// Normalize the weights
sum_weights = array.sum(sine_weights)
for i = 0 to length - 1
norm_weight = array.get(sine_weights, i) / sum_weights
array.set(sine_weights, i, norm_weight)
// Calculate Sine-Weighted Moving Average
swma = 0.0
if bar_index >= length
for i = 0 to length - 1
swma := swma + array.get(sine_weights, i) * src
swma
Cosine-Weighted Moving Average (CWMA)
The CWMA uses cosine-based weights for data points, which produces a more stable trend-following behavior, especially in low-volatility markets.
f_Cosine_Weighted_MA(series float src, simple int length) =>
var float cosine_weights = array.new_float(0)
array.clear(cosine_weights) // Clear the array before recalculating weights
for i = 0 to length - 1
weight = math.cos((math.pi * (i + 1)) / length) + 1 // Shift by adding 1
array.push(cosine_weights, weight)
// Normalize the weights
sum_weights = array.sum(cosine_weights)
for i = 0 to length - 1
norm_weight = array.get(cosine_weights, i) / sum_weights
array.set(cosine_weights, i, norm_weight)
// Calculate Cosine-Weighted Moving Average
cwma = 0.0
if bar_index >= length
for i = 0 to length - 1
cwma := cwma + array.get(cosine_weights, i) * src
cwma
Directional Movement System (DMS)
DMS is used to identify trend direction and strength based on directional movement. It uses ADX to gauge trend strength and combines +DI and -DI for directional bias.
// Function to calculate Directional Movement System
f_DMS(simple int dmi_len, simple int adx_len) =>
up = ta.change(high)
down = -ta.change(low)
plusDM = na(up) ? na : (up > down and up > 0 ? up : 0)
minusDM = na(down) ? na : (down > up and down > 0 ? down : 0)
trur = ta.rma(ta.tr, dmi_len)
plus = fixnan(100 * ta.rma(plusDM, dmi_len) / trur)
minus = fixnan(100 * ta.rma(minusDM, dmi_len) / trur)
sum = plus + minus
adx = 100 * ta.rma(math.abs(plus - minus) / (sum == 0 ? 1 : sum), adx_len)
dms_up = plus > minus and adx > minus
dms_down = plus < minus and adx > plus
dms_neutral = not (dms_up or dms_down)
signal = dms_up ? 1 : dms_down ? -1 : 0
Relative Strength System (RSS)
RSS employs RSI and an adjustable moving average type (SMA, EMA, or HMA) to evaluate whether the market is in a bullish or bearish state.
// Function to calculate Relative Strength System
f_RSS(rsi_src, rsi_len, ma_type, ma_len) =>
rsi = ta.rsi(rsi_src, rsi_len)
ma = switch ma_type
"SMA" => ta.sma(rsi, ma_len)
"EMA" => ta.ema(rsi, ma_len)
"HMA" => ta.hma(rsi, ma_len)
signal = (rsi > ma and rsi > 50) ? 1 : (rsi < ma and rsi < 50) ? -1 : 0
ATR Adjustments
To minimize false signals, the HTMA, SWMA, and CWMA signals are adjusted with an Average True Range (ATR) filter:
// Calculate ATR adjusted components for HTMA, CWMA and SWMA
float atr = ta.atr(atr_len)
float htma_up = htma + (atr * atr_mult)
float htma_dn = htma - (atr * atr_mult)
float swma_up = swma + (atr * atr_mult)
float swma_dn = swma - (atr * atr_mult)
float cwma_up = cwma + (atr * atr_mult)
float cwma_dn = cwma - (atr * atr_mult)
This adjustment allows for better adaptation to varying market volatility, making the signal more reliable.
Signals and Trend Calculation
The indicator generates a Trend Signal by aggregating the output from each component. Each component provides a directional signal that is combined to form a unified trend reading. The trend value is then converted into a long (1), short (-1), or neutral (0) state.
Backtesting Mode and Performance Metrics
The Backtesting Mode includes a performance metrics table that compares the Buy and Hold strategy with the TrigWave Suite strategy. Key statistics like Sharpe Ratio, Sortino Ratio, and Omega Ratio are displayed to help users assess performance. Note that due to labels and plotchar use, automatic scaling may not function ideally in backtest mode.
Alerts and Visualization
Trend Direction Alerts: Set up alerts for long and short signals
Color Bars and Gradient Option: Bars are colored based on the trend direction, with an optional gradient for smoother visual feedback.
Important Notes
Customization: Default settings are experimental and not intended for trading/investing purposes. Users are encouraged to adjust and calibrate the settings to optimize results according to their trading style.
Backtest Results Disclaimer: Please note that backtest results are not indicative of future performance, and no strategy guarantees success.
趋势分析
Direction finderA trend indicator is a tool used in technical analysis to help identify the direction and strength of a price movement in financial markets. It serves as a guide for traders and investors to understand whether an asset's price is likely to continue moving in a particular direction or if it may reverse. Trend indicators are typically based on historical price data, volume, and sometimes volatility, and they often use mathematical calculations or graphical representations to simplify trend analysis.
Common types of trend indicators include:
Moving Averages (MAs): Averages the asset price over a set period, creating a smooth line that helps identify the general direction of the trend. Popular moving averages include the Simple Moving Average (SMA) and Exponential Moving Average (EMA).
Moving Average Convergence Divergence (MACD): Measures the relationship between two moving averages of an asset’s price, often used to signal trend reversals or continuations based on line crossovers and the direction of the MACD line.
Average Directional Index (ADX): Indicates the strength of a trend rather than its direction. A high ADX value suggests a strong trend, while a low value suggests a weak trend or a range-bound market.
Bollinger Bands: This indicator includes a moving average with bands set at standard deviations above and below. It helps identify price volatility and potential trend reversals when prices move toward the outer bands.
Trend indicators can help identify entry and exit points by suggesting whether a trend is continuing or if the price may be about to reverse. However, they are often used in conjunction with other types of indicators, such as momentum or volume-based tools, to provide a fuller picture of market behavior and confirm trading signals.
Auto Fibonacci LevelsPurpose of the Code:
This Pine Script™ code designed to automatically plot Fibonacci levels on a price chart based on a user-defined lookback period and other customizable settings. By identifying key Fibonacci levels within a specified lookback range, this indicator assists traders in determining potential support and resistance areas. It also allows for flexibility in reversing the trend direction, adding custom levels, and displaying labels for easy reference on the chart.
Key Components and Functionalities:
1. Inputs:
- `lookback` (Lookback): The number of bars to look back when calculating the highest and lowest prices for Fibonacci levels.
- `reverse`: Reverses the trend direction for calculating Fibonacci levels, useful when identifying retracements in both upward and downward trends.
- `lb` (Line Back): A secondary lookback parameter for adjusting the position of lines.
- Color and Label Settings: Options for customizing colors, labels, and whether to display prices at each Fibonacci level.
2. Fibonacci Levels:
- Sixteen Fibonacci levels are defined as inputs (`l1` to `l16`) with each having a customizable value (e.g., 0.236, 0.5, 1.618). This allows traders to select standard or custom Fibonacci levels.
- The calculated levels are dynamically adjusted based on the highest and lowest prices within the lookback period.
3. Price Range Calculation:
- `highest_price` and `lowest_price` are determined within the specified lookback range. These values form the range used to calculate Fibonacci retracement and extension levels.
4. Fibonacci Level Calculation:
- The script calculates the Fibonacci levels as a percentage of the range between the highest and lowest prices.
- Levels are adjusted for upward or downward trends based on user input (e.g., the `reverse` option) and Zigzag indicator direction.
5. Plotting Fibonacci Levels:
- Lines are drawn at each Fibonacci level with customizable colors that can form a gradient from one color to another (e.g., from lime to red).
- Labels with price and level values are also plotted beside each Fibonacci line, with options to toggle visibility and position.
6. Additional Lines:
- Lines representing the highest and lowest prices within the lookback range can be displayed as support and resistance levels for added reference.
Usage:
The Auto Fibonacci Levels indicator is designed for traders who utilize Fibonacci retracement and extension levels to identify potential support and resistance zones, reversal points, or trend continuations. This indicator enables:
- Quick visualization of Fibonacci levels without manual drawing.
- Customization of the levels and the ability to add unique Fibonacci levels.
- Identification of key support and resistance levels based on recent price action.
This tool is beneficial for traders focused on technical analysis and Fibonacci-based trading strategies.
Important Note:
This script is provided for educational purposes and does not constitute financial advice. Traders and investors should conduct their research and analysis before making any trading decisions.
Strong 3rd Wave Signal with Filter By DemirkanThis indicator is a unique tool designed to accurately detect market trends and generate strong buy signals. The technical analysis indicators used here not only determine the direction of the trend but also measure the reliability and strength of price movements by combining a series of volume, momentum, and volatility parameters. This allows the detection of strong trend beginnings such as the third wave. This indicator aims to make market analysis more reliable and effective.
Key Indicators and Their Purposes:
The indicator generates strong buy signals by combining the following key indicators. Each indicator analyzes a specific market behavior, and together they provide investors with a reliable signal of a strong trend beginning.
HMA (Hull Moving Average):
Purpose: HMA is an indicator that responds faster than traditional moving averages and provides a smoother trend line. The HMA rising and price being above the HMA are among the most important signals confirming the strength and direction of the trend.
Why It's Used: HMA helps to quickly identify the beginning of a trend, filtering out unnecessary noise and generating accurate buy signals.
RSI (Relative Strength Index):
Purpose: RSI indicates whether the market is in overbought or oversold conditions. In this indicator, RSI being between the neutral zone and overbought shows that the price has not yet reached overbought levels and provides a potential buy opportunity.
Why It's Used: RSI shows the overall momentum of the market. High RSI values indicate overbought conditions, but in this strategy, using the range between neutral and overbought highlights healthy buying opportunities.
ADX (Average Directional Index):
Purpose: ADX measures the strength of the current trend. When the ADX value rises, it indicates a strong trend. This indicator generates buy signals when ADX shows a strong trend.
Why It's Used: ADX confirms not only that the price is rising but also how strong the trend is. This gives investors a clearer understanding of both the direction and strength of the trend.
Volume:
Purpose: High volume supports the reliability of price movements. Volume being 10% higher than the average volume shows that the price movement is strongly supported and that the trend is reliable.
Why It's Used: Volume is a key factor that confirms the accuracy and strength of price movements. High volume indicates that the trend is sustainable, increasing the reliability of buy signals.
EMA 200 (Exponential Moving Average) and SMA 50 (Simple Moving Average):
Purpose: EMA 200 determines the long-term trend direction, while SMA 50 shows short-term movements. When the price is below EMA 200 and above SMA 50, it indicates a strong buy potential.
Why It's Used: EMA 200 tracks the overall long-term trend, while SMA 50 shows short-term movements. The combination of these two indicators suggests that the market is providing a stronger buy signal.
Strong Buy Signal Conditions:
HMA rising and price above HMA: This indicates an upward trend.
RSI between the neutral zone and overbought: The market is not yet in overbought territory, presenting a healthy buying opportunity.
Price above the highest high of the last 10 bars: This shows the price is moving strongly upwards and is at an ideal point for a buy.
Volume 10% higher than the average: High volume supports the price movement and confirms the trend's strength.
ADX showing a strong trend: This confirms the strength of the trend and validates the potential buy signal.
Price below EMA 200 and above SMA 50: This combination indicates a strong buy opportunity.
How the Buy Signal Works:
The indicator generates strong buy signals when all the conditions mentioned above are met. The signal is displayed on the chart as a green arrow and is accompanied by a sound notification to alert the user. The reliability of this signal is ensured through the confirmation provided by the combination of all these indicators.
Why Is This Unique?
This indicator not only combines traditional technical analysis tools, but also integrates each indicator in a way that confirms one another, providing more reliable and accurate signals. By considering both volatility and volume, it measures the true strength and direction of the market. This approach allows for a more robust and accurate analysis, setting it apart from similar indicators.
Conclusion:
This indicator aims to capture the beginning of strong trends and help investors identify the best buying opportunities. By leveraging both traditional indicators and advanced filtering methods, it offers a more in-depth and reliable market analysis. This makes it easier for investors to make stronger and more confident trading decisions.
Rikki's DikFat Bull/Bear OscillatorRikki's DikFat Bull/Bear Oscillator - Trend Identification & Candle Colorization
Rikki's DikFat Bull/Bear Oscillator is a powerful visual tool designed to help traders easily identify bullish and bearish trends on the chart. By analyzing market momentum using specific elements of the Commodity Channel Index (CCI) , this indicator highlights key trend reversals and continuations with color-coded candles, allowing you to quickly spot areas of opportunity.
How It Works
At the heart of this indicator is the Commodity Channel Index (CCI) , a popular momentum-based oscillator. The CCI measures the deviation of price from its average over a specified period (default is 30 bars). This helps identify whether the market is overbought, oversold, or trending.
Here's how the indicator interprets the CCI:
Bullish Trend (Green Candles) : When the market is showing signs of continued upward momentum, the candles turn green. This happens when the current CCI is less than 200 and moves from a value greater than 100 with velocity, signaling that the upward trend is still strong, and the market is likely to continue rising. Green candles indicate bullish price action , suggesting it might be a good time to look for buying opportunities or hold your current long position.
Bearish Trend (Red Candles) : Conversely, when the CCI shows signs of downward momentum (both the current and previous CCI readings are negative), the candles turn red. This signals that the market is likely in a bearish trend , with downward price action expected to continue. Red candles are a visual cue to consider selling opportunities or to stay out of the market if you're risk-averse.
How to Use It
Bullish Market : When you see green candles, the market is in a bullish phase. This suggests that prices are moving upward, and you may want to focus on buying signals . Green candles are your visual confirmation of a strong upward trend.
Bearish Market : When red candles appear, the market is in a bearish phase. This indicates that prices are moving downward, and you may want to consider selling or staying out of long positions. Red candles signal that downward pressure is likely to continue.
Why It Works
This indicator uses momentum to identify shifts in trend. By tracking the movement of the CCI , the oscillator detects whether the market is trending strongly or simply moving in a sideways range. The color changes in the candles help you quickly visualize where the market momentum is headed, giving you an edge in determining potential buy or sell opportunities.
Clear Visual Signals : The green and red candles make it easy to follow market trends, even for beginners.
Identifying Trend Continuations : The oscillator helps spot ongoing trends, whether bullish or bearish, so you can align your trades with the prevailing market direction.
Quick Decision-Making : By using color-coded candles, you can instantly know whether to consider entering a long (buy) or short (sell) position without needing to dive into complex indicators.
NOTES This indicator draws and colors it's own candles bodies, wicks and borders. In order to have the completed visualization of red and green trends, you may need to adjust your TradingView chart settings to turn off or otherwise modify chart candles.
Conclusion
With Rikki's DikFat Bull/Bear Oscillator , you have an intuitive and easy-to-read tool that helps identify bullish and bearish trends based on proven momentum indicators. Whether you’re a novice or an experienced trader, this oscillator allows you to stay in tune with the market’s direction and make more informed, confident trading decisions.
Make sure to use this indicator in conjunction with your own trading strategy and risk management plan to maximize your trading potential and limit your risks.
Trend Trader-RemasteredThe script was originally coded in 2018 with Pine Script version 3, and it was in invite only status. It has been updated and optimised for Pine Script v5 and made completely open source.
Overview
The Trend Trader-Remastered is a refined and highly sophisticated implementation of the Parabolic SAR designed to create strategic buy and sell entry signals, alongside precision take profit and re-entry signals based on marked Bill Williams (BW) fractals. Built with a deep emphasis on clarity and accuracy, this indicator ensures that only relevant and meaningful signals are generated, eliminating any unnecessary entries or exits.
Key Features
1) Parabolic SAR-Based Entry Signals:
This indicator leverages an advanced implementation of the Parabolic SAR to create clear buy and sell position entry signals.
The Parabolic SAR detects potential trend shifts, helping traders make timely entries in trending markets.
These entries are strategically aligned to maximise trend-following opportunities and minimise whipsaw trades, providing an effective approach for trend traders.
2) Take Profit and Re-Entry Signals with BW Fractals:
The indicator goes beyond simple entry and exit signals by integrating BW Fractal-based take profit and re-entry signals.
Relevant Signal Generation: The indicator maintains strict criteria for signal relevance, ensuring that a re-entry signal is only generated if there has been a preceding take profit signal in the respective position. This prevents any misleading or premature re-entry signals.
Progressive Take Profit Signals: The script generates multiple take profit signals sequentially in alignment with prior take profit levels. For instance, in a buy position initiated at a price of 100, the first take profit might occur at 110. Any subsequent take profit signals will then occur at prices greater than 110, ensuring they are "in favour" of the original position's trajectory and previous take profits.
3) Consistent Trend-Following Structure:
This design allows the Trend Trader-Remastered to continue signaling take profit opportunities as the trend advances. The indicator only generates take profit signals in alignment with previous ones, supporting a systematic and profit-maximising strategy.
This structure helps traders maintain positions effectively, securing incremental profits as the trend progresses.
4) Customisability and Usability:
Adjustable Parameters: Users can configure key settings, including sensitivity to the Parabolic SAR and fractal identification. This allows flexibility to fine-tune the indicator according to different market conditions or trading styles.
User-Friendly Alerts: The indicator provides clear visual signals on the chart, along with optional alerts to notify traders of new buy, sell, take profit, or re-entry opportunities in real-time.
ORB with Buy and Sell Signals BY NAT LOGThis indicator for intraday when first candle of high and low breaches generate buy and sell signals, target should be earlier previous day first 15 min high or low
Volume Flow ConfluenceVolume Flow Confluence (CMF-KVO Integration)
Core Function:
The Volume Flow Confluence Indicator combines two volume-analysis methods: Chaikin Money Flow (CMF) and the Klinger Volume Oscillator (KVO). It displays a histogram only when both indicators align in their respective signals.
Signal States:
• Green Bars: CMF is positive (> 0) and KVO is above its signal line
• Red Bars: CMF is negative (< 0) and KVO is below its signal line
• No Bars: When indicators disagree
Technical Components:
Chaikin Money Flow (CMF):
Measures the relationship between volume and price location within the trading range:
• Calculates money flow volume using close position relative to high/low range
• Aggregates and normalizes over specified period
• Default period: 20
Klinger Volume Oscillator (KVO):
Evaluates volume in relation to price movement:
• Tracks trend changes using HLC3
• Applies volume force calculation
• Uses two EMAs (34/55) with a signal line (13)
Practical Applications:
1. Signal Identification
- New colored bars after blank periods show new agreement between indicators
- Color intensity differentiates new signals from continuations
- Blank spaces indicate lack of agreement
2. Trend Analysis
- Consecutive colored bars show continued indicator agreement
- Transitions between colors or to blank spaces show changing conditions
- Can be used alongside other technical analysis tools
3. Risk Considerations
- Signals are not predictive of future price movement
- Should be used as one of multiple analysis tools
- Effectiveness may vary across different markets and timeframes
Technical Specifications:
Core Algorithm
CMF = Σ(((C - L) - (H - C))/(H - L) × V)n / Σ(V)n
KVO = EMA(VF, 34) - EMA(VF, 55)
Where VF = V × |2(dm/cm) - 1| × sign(Δhlc3)
Signal Line = EMA(KVO, 13)
Signal Logic
Long: CMF > 0 AND KVO > Signal
Short: CMF < 0 AND KVO < Signal
Neutral: All other conditions
Parameters
CMF Length = 20
KVO Fast = 34
KVO Slow = 55
KVO Signal = 13
Volume = Regular/Actual Volume
Data Requirements
Price Data: OHLC
Volume Data: Required
Minimum History: 55 bars
Recommended Timeframe: ≥ 1H
Credits:
• Marc Chaikin - Original CMF development
• Stephen Klinger - Original KVO development
• Alex Orekhov (everget) - CMF script implementation
• nj_guy72 - KVO script implementation
3 CANDLE SUPPLY/DEMANDExplanation of the Code:
Demand Zone Logic: The script checks if the second candle closes below the low of the first candle and the third candle closes above both the highs of the first and second candles.
Zone Plotting: Once the pattern is identified, a demand zone is plotted from the low of the first candle to the high of the third candle, using a dashed green line for clarity.
Markers: A small triangle marker is added below the bars where a demand zone is detected for easy visualization.
Efficient Logic: The script checks the conditions for demand zone formation for every three consecutive candles on the chart.
This approach should be both accurate and efficient in plotting demand zones, making it easier to spot potential support levels on the chart.
Highs and Lows [Scarface Trades]This indicator visualizes a strategy described by Scarface Trades on Youtube. There are three kinds of support/resistance areas based on:
- the previous day's high and low
- the overnight session's high and low
- the high and low of the first five minutes of the day (09:30 - 09:35 Eastern)
The primary goal of the strategy is to trade breaks of these resistance lines after confirmation in form of a pullback into resistance gone support.
Bigbot India Vix SwingApply this indicator only on the India VIX chart. This indicator is designed to track the volatility patterns and swings in India VIX, helping you identify potential market turning points and volatility shifts. It is specially created with a focus on the volatility of the Indian market and aids in effectively observing changes in India VIX.
Is indicator ko sirf India VIX ke chart par hi lagayein. Yeh indicator India VIX ke volatility patterns aur swings ko track karta hai, jisse aapko market ke potential turning points aur volatility shifts ka signal milta hai. Yeh specially Indian market ki volatility ko dhyan mein rakhte hue banaya gaya hai aur India VIX par changes ko effectively observe karne mein madad karta hai.
Market structureHi all!
This script shows you the market structure. You can choose to show internal market structure (with pivots of a default length of 5) and swing market structure (with pivots of a default length of 50). For these two trends it will show you:
• Break of structure (BOS)
• Change of character (CHoCH) (mandatory)
• Equal high/low (EQH/EQL)
It's inspired by "Smart Money Concepts (SMC) " by LuxAlgo that will also show you the market structure.
It will create the two market structures depending on the pivots found. Both of these market structures can be enabled/disabled. The pivots length can be configured separately. The pivots found will be the 'base' of this indicator and will show you when price breaks it. When that happens a break of structure or a change of character will be created. The latest 5 pivots found within the current trends will be kept to take action on. The internal market structure is shown with dashed lines and swing market structure is shown with solid lines.
A break of structure is removed if an earlier pivots within the same trend is broken. Like in the images below, the first pivot (in the first image) is removed when an earlier pivot's higher price within the same trend is broken (the second image):
Equal high/lows have a pink zone (by default but can be changed by the user). These zones can be configured to be extended to the right (off by default). Equal high/lows are only possible if it's not been broken by price and if a later bar has a high/low within the limit it's added to the zone (without it being more 'extreme' (high or low) then the previous price). A factor (percentage of width) of the Average True Length (of length 14) that the pivot must be within to to be considered an Equal high/low. This is configurable and sets this 'limit' and is 10 by default.
You are able to show the pivots that are used. "HH" (higher high), "HL" (higher low), "LH" (lower high), "LL" (lower low) and "H"/"L" (for pivots (high/low) when the trend has changed) are the labels used.
This script has proven itself useful for me to quickly see how the current market is. You can see the pivots (price and bar) where break of structure or change of character happens to see the current trends. I hope that you will find this useful for you.
When programming I focused on simplicity and ease of read. I did not focus on performance, I will do so if it's a problem (haven't noticed it is one yet).
You can set alerts for when a change of character happens. You can configure it to fire on when it happens (all or once per bar) but it defaults to 'once_per_bar_close' to avoid repainting. This has the drawback to alert you when the bar closes.
TLDR: this is an indicator showing you the market structure (break of structures and change of characters) using swing points/pivots. Two trends can be shown, internal (with pivots of length of 5) and swing (with pivots of the length of 50).
Best of trading luck!
[ AlgoChart ] - Compare MarketIndicator Description:
This indicator allows you to display a second asset, selectable from the input panel, in a separate window. Plotted on the same time scale as the first asset but with a distinct price scale, the indicator enables analysis of the relationships and relative movements of two financial instruments. It’s an ideal tool for understanding whether two assets move in a correlated or divergent manner.
Key Features:
Multi-Asset Comparison: Display two assets simultaneously to compare their trends.
Custom Scale: Each asset uses its own price scale, making comparative analysis easier.
Intuitive Interface: Easily select the second asset through the input panel.
Operational Applications:
Spread Trading: Identify optimal moments to execute spread trades when two highly correlated instruments move in opposite directions.
Supply & Demand: Pinpoint zones of interest on both assets, increasing the validity of support and resistance areas.
Exposure Reduction: Monitor instruments that move similarly to avoid exposing the portfolio in identical directions, thereby reducing the risk of double losses.
Additional Features:
Candle Color Change: When a directional divergence occurs between the two assets, the candles change color to highlight the event.
Customizable Notifications: Receive instant alerts when a divergence occurs, allowing you to act promptly.
Trend of Multiple Oscillator Dashboard ModifiedDescription: The "Trend of Multiple Oscillator Dashboard Modified" is a powerful Pine Script indicator that provides a dashboard view of various oscillator and trend-following indicators across multiple timeframes. This indicator helps traders to assess trend conditions comprehensively by integrating popular technical indicators, including MACD, EMA, Stochastic, Elliott Wave, DID (Curta, Media, Longa), Price Volume Trend (PVT), Kuskus Trend, and Wave Trend Oscillator. Each indicator’s trend signal (bullish, bearish, or neutral) is displayed in a color-coded dashboard, making it easy to spot the consensus or divergence in trends across different timeframes.
Key Features:
Multi-Timeframe Analysis: Displays trend signals across five predefined timeframes (1, 2, 3, 5, and 10 minutes) for each included indicator.
Customizable Inputs: Allows for customization of key parameters for each oscillator and trend-following indicator.
Trend Interpretation: Each indicator is visually represented with green (bullish), red (bearish), and yellow (neutral) trend markers, making trend identification intuitive and quick.
Trade Condition Controls: Input options for the number of positive and negative conditions needed to trigger entries and exits, allowing users to refine the decision-making criteria.
Delay Management: Options for re-entry conditions based on both price movement (in points) and the minimum number of candles since the last exit, giving users flexibility in managing trade entries.
Usage: This indicator is ideal for traders who rely on multiple oscillators and moving averages to gauge trend direction and strength across timeframes. The dashboard allows users to observe trends at a glance and make informed decisions based on the alignment of various trend indicators. It’s particularly useful in consolidating signals for strategies that require multiple conditions to align before entering or exiting trades.
Note: Ensure that you’re familiar with each oscillator’s functionality, as some indicators like Elliott Wave and Wave Trend are simplified for visual coherence in this dashboard.
Disclaimer: This script is intended for educational and informational purposes only. Use it with caution and adapt it to your specific trading plan.
Developer's Remark: "This indicator's comprehensive design allows traders to filter noise and identify the most robust trends effectively. Use it to visualize trends across timeframes, understand oscillator behavior, and enhance decision-making with a more strategic approach."
5 SMA with BUY SELL Entry ExitThis script, titled "5 SMA BUY SELL Entry Exit", is a technical trading strategy based on the alignment of five different Simple Moving Averages (SMA). It leverages multiple SMAs with customizable lengths to identify potential buy and sell signals based on the relative order of these SMAs.
Key Features:
Five Adjustable SMAs: The strategy uses five SMAs (SMA7, SMA30, SMA50, SMA100, and SMA200), with configurable lengths to suit various trading styles.
Buy Entry Condition: A buy signal is generated when the SMAs align in an upward order, specifically: SMA7 > SMA30 > SMA50 > SMA100 > SMA200.
Sell Entry Condition: A sell signal is generated when the SMAs align in a downward order, specifically: SMA7 < SMA30 < SMA50 < SMA100 < SMA200.
Flexible Exit Condition:
A buy exit is triggered if any of the SMAs break the upward alignment (SMA7 > SMA30 > SMA50 > SMA100 > SMA200).
A sell exit is triggered if any of the SMAs break the downward alignment (SMA7 < SMA30 < SMA50 < SMA100 < SMA200).
Visual and Alert Support: The script includes clear buy/sell markers on the chart, as well as alerts to notify traders when entry and exit conditions are met.
This strategy is designed to help traders capture trend reversals and sustained moves while minimizing the risk of false signals by requiring strict SMA alignment. It is suitable for trend-following strategies on various timeframes and markets.
Feel free to adjust the SMA lengths and test the strategy across different assets and timeframes to optimize performance. Happy trading! 🚀📈
Combined Indicator for Analysing TrendThis Indicator would be able to analyse the current Trend of the market. However it is advisable to study further parametrs and have own study before following the Trend
VIP GOLD
Introducing VIP GOLD – the ultimate indicator for smart, advanced trading in the forex market, especially tailored for gold trading! Built on robust foundations, this script combines advanced strategies to pinpoint entry and exit points with exceptional accuracy, so you can trade with confidence and precision.
Why VIP GOLD?
Perfect for Gold Traders: VIP GOLD is specifically designed for gold trading, considering the unique volatility characteristics of gold. It quickly identifies trends and provides buy and sell signals at ideal points.
Dominates the Forex Market: Beyond gold, this script is highly effective for the entire forex market, making it perfect for any currency pair. Using the Average True Range (ATR) as a base for calculating trailing stops, VIP GOLD ensures each trade is protected and managed with strategic placements, eliminating the need for constant intervention.
Key Advantages of VIP GOLD:
Sensitivity and Customization: With adjustable "Sensitivity" via the Key Value parameter, you can tailor the trailing stop levels precisely to your trading strategy. Whether you prefer low or high risk trading, VIP GOLD gives you control.
Visual Cues: A smart, color-coded chart shows you precisely when to start and end a trade. Green signals for upward trends, red for downward trends, enabling you to make decisions quickly and confidently.
Clear Buy and Sell Signals: VIP GOLD displays clear signals with pop-up notifications, allowing you to act fast and with confidence. Each signal is calculated based on price movement, finely tuned to a dynamic market.
Real-Time Alerts: VIP GOLD keeps you updated with real-time alerts for every trend change, wherever you are. Get customized buy and sell notifications straight to your phone.
Who Is VIP GOLD For?
VIP GOLD is perfect for traders of all experience levels – from beginners looking to boost their trading confidence to professionals seeking a precise and reliable tool. Ideal for both gold and forex traders, VIP GOLD provides strategies that deliver consistent results in challenging markets.
With VIP GOLD, trade like a pro and face the market with power. Join the smart traders who trust VIP GOLD and discover the real advantage in trading!
Trend Line with Buy/Sell SignalsDescrição do Funcionamento Simplificada
Esse script ajuda a identificar momentos de compra e venda com base nos seguintes critérios:
Linhas de Tendência: Calcula a tendência usando uma média móvel. A linha muda de cor conforme a tendência está para cima (azul) ou para baixo (vermelha).
Filtro de Volatilidade: Usa um indicador de volatilidade (ATR) para garantir que o mercado está suficientemente "movimentado" antes de emitir um sinal.
Sinais de Compra e Venda: Os sinais de compra (seta verde) são dados quando o preço cruza acima da linha de tendência e a volatilidade é alta. Sinais de venda (seta vermelha) aparecem quando o preço cruza abaixo da linha de tendência, com alta volatilidade e confirmação da segunda média móvel.
Esses filtros ajudam a evitar sinais falsos, concentrando-se em momentos em que a tendência e a volatilidade indicam um bom potencial de negociação.
Composite Oscillation Indicator Based on MACD and OthersThis indicator combines various technical analysis tools to create a composite oscillator that aims to capture multiple aspects of market behavior. Here's a breakdown of its components:
* Individual RSIs (xxoo1-xxoo15): The code calculates the RSI (Relative Strength Index) of numerous indicators, including volume-based indicators (NVI, PVI, OBV, etc.), price-based indicators (CCI, CMO, etc.), and moving averages (WMA, ALMA, etc.). It also includes the RSI of the MACD histogram (xxoo14).
* Composite RSI (xxoojht): The individual RSIs are then averaged to create a composite RSI, aiming to provide a more comprehensive view of market momentum and potential turning points.
* MACD Line RSI (xxoo14): The RSI of the MACD histogram incorporates the momentum aspect of the MACD indicator into the composite measure.
* Double EMA (co, coo): The code employs two Exponential Moving Averages (EMAs) of the composite RSI, with different lengths (9 and 18 periods).
* Difference (jo): The difference between the two EMAs (co and coo) is calculated, aiming to capture the rate of change in the composite RSI.
* Smoothed Difference (xxp): The difference (jo) is further smoothed using another EMA (9 periods) to reduce noise and enhance the signal.
* RSI of Smoothed Difference (cco): Finally, the RSI is applied to the smoothed difference (xxp) to create the core output of the indicator.
Market Applications and Trading Strategies:
* Overbought/Oversold: The indicator's central line (plotted at 50) acts as a reference for overbought/oversold conditions. Values above 50 suggest potential overbought zones, while values below 50 indicate oversold zones.
* Crossovers and Divergences: Crossovers of the cco line above or below its previous bar's value can signal potential trend changes. Divergences between the cco line and price action can also provide insights into potential trend reversals.
* Emoji Markers: The code adds emoji markers ("" for bullish and "" for bearish) based on the crossover direction of the cco line. These can provide a quick visual indication of potential trend shifts.
* Colored Fill: The area between the composite RSI line (xxoojht) and the central line (50) is filled with color to visually represent the prevailing market sentiment (green for above 50, red for below 50).
Trading Strategies (Examples):
* Long Entry: Consider a long entry (buying) signal when the cco line crosses above its previous bar's value and the composite RSI (xxoojht) is below 50, suggesting a potential reversal from oversold conditions.
* Short Entry: Conversely, consider a short entry (selling) signal when the cco line crosses below its previous bar's value and the composite RSI (xxoojht) is above 50, suggesting a potential reversal from overbought conditions.
* Confirmation: Always combine the indicator's signals with other technical analysis tools and price action confirmation for better trade validation.
Additional Notes:
* The indicator offers a complex combination of multiple indicators. Consider testing and optimizing the parameters (EMAs, RSI periods) to suit your trading style and market conditions.
* Backtesting with historical data can help assess the indicator's effectiveness and identify potential strengths and weaknesses in different market environments.
* Remember that no single indicator is perfect, and the cco indicator should be used in conjunction with other forms of analysis to make informed trading decisions.
By understanding the logic behind this composite oscillator and its potential applications, you can incorporate it into your trading strategy to potentially identify trends, gauge market sentiment, and generate trading signals.
Precision EMA and SMMA VWAP OverlayThe Precision EMA and SMMA VWAP Overlay is a versatile technical analysis tool designed to provide traders with an edge by combining multiple moving averages with VWAP in a single, cohesive indicator.
Dynamic Time Period CandlesThis indicator gives the dynamic history of the current price over various time frames as a series of candles on the right of the display, with optional lines on the chart, so that you can assess the current trend more easily.
In the library I found lots of indicators that looked at the previous xx time period candle, but they then immediately switched to the new xx time candle when it started to be formed. This indicator looks back at the rolling previous time period. With this indicator, you can clearly see how price has been behaving over time.
IMPORTANT SETUP INFO:
Initially, you must go into the settings and select the timeframe (in minutes) that your chart is displaying. If you don't do this then the indicator will look back the wrong number of candles and give you totally wrong results.
You can then setup how high you want the candle labels to be on the chart.
Then you can select settings for each candle that you want displayed. Anywhere between 1 and 5 different timeframes can be displayed on the chart at once.
I initially published an indicator called 'Dynamic 4-Hour Candle (Accurate Highs and Lows)', but this new indicator is so different that it needs to be forked and published as a separate indicator. The reasons for this are below:
The original indicator only looked at the previous 4 hour time period. This indicator allows the user to select any time period that they choose.
The original indicator only looked at one time period. This indicator allows to select between one and five time periods on the chart at once.
The original indicator did not put lines on the chart to show the lookback period and the highs and lows of that time period. This indicator does both those things.
The name of the original indicator in no way now describes what this new indicator is capable of, and would be very misleading to anyone who came across it. This new indicator has a name that much more accurately reflects what its' purpose and functionality is.