Confirmed market structure buy/sell indicatorOverview
The Swing Point Breakout Indicator with Multi-Timeframe Dashboard is a TradingView tool designed to identify potential buy and sell signals based on swing point breakouts on the primary chart's timeframe while simultaneously providing a snapshot of the market structure across multiple higher timeframes. This dual approach helps traders make informed decisions by aligning short-term signals with broader market trends.
Key Features
Swing Point Breakout Detection
Swing Highs and Lows: Identifies significant peaks and troughs based on a user-defined lookback period.
Breakout Signals:
Bullish Breakout (Buy Signal): Triggered when the price closes above the latest swing high.
Bearish Breakout (Sell Signal): Triggered when the price closes below the latest swing low.
Visual Indicators: Highlights breakout bars with colors (lime for bullish, red for bearish) and plots buy/sell markers on the chart.
Multi-Timeframe Dashboard
Timeframes Monitored: 1m, 5m, 15m, 1h, 4h, 1D, and 1W.
Market Structure Status:
Bullish: Indicates upward market structure.
Bearish: Indicates downward market structure.
Neutral: No clear trend.
Visual Table: Displays each timeframe with its current status, color-coded for quick reference (green for bullish, red for bearish, gray for neutral).
Operational Workflow
Initialization:
Sets up a dashboard table on the chart's top-right corner with headers "Timeframe" and "Status".
Swing Point Detection:
Continuously scans the main timeframe for swing highs and lows using the specified lookback period.
Updates the latest swing high and low levels.
Signal Generation:
Detects when the price breaks above the last swing high (bullish) or below the last swing low (bearish).
Activates potential buy/sell setups and confirms signals based on subsequent price movements.
Dashboard Update:
For each defined higher timeframe, assesses the market structure by checking for breakouts of swing points.
Updates the dashboard with the current status for each timeframe, aiding in trend confirmation.
Visualization:
Colors the bars where breakouts occur.
Plots buy and sell signals directly on the chart for easy identification.
Market
Dynamic Market Correlation Analyzer (DMCA) v1.0Description
The Dynamic Market Correlation Analyzer (DMCA) is an advanced TradingView indicator designed to provide real-time correlation analysis between multiple assets. It offers a comprehensive view of market relationships through correlation coefficients, technical indicators, and visual representations.
Key Features
- Multi-asset correlation tracking (up to 5 symbols)
- Dynamic correlation strength categorization
- Integrated technical indicators (RSI, MACD, DX)
- Customizable visualization options
- Real-time price change monitoring
- Flexible timeframe selection
## Use Cases
1. **Portfolio Diversification**
- Identify highly correlated assets to avoid concentration risk
- Find negatively correlated assets for hedging strategies
- Monitor correlation changes during market events
2. Pairs Trading
- Detect correlation breakdowns for potential trading opportunities
- Track correlation strength for pair selection
- Monitor technical indicators for trade timing
3. Risk Management
- Assess portfolio correlation risk in real-time
- Monitor correlation shifts during market stress
- Identify potential portfolio vulnerabilities
4. **Market Analysis**
- Study sector relationships and rotations
- Analyze cross-asset correlations (e.g., stocks vs. commodities)
- Track market regime changes through correlation patterns
Components
Input Parameters
- **Timeframe**: Custom timeframe selection for analysis
- **Length**: Correlation calculation period (default: 20)
- **Source**: Price data source selection
- **Symbol Selection**: Up to 5 customizable symbols
- **Display Options**: Table position, text color, and size settings
Technical Indicators
1. **Correlation Coefficient**
- Range: -1 to +1
- Strength categories: Strong/Moderate/Weak (Positive/Negative)
2. **RSI (Relative Strength Index)**
- 14-period default setting
- Momentum comparison across assets
3. **MACD (Moving Average Convergence Divergence)**
- Standard settings (12, 26, 9)
- Trend direction indicator
4. **DX (Directional Index)**
- Trend strength measurement
- Based on DMI calculations
Visual Components
1. **Correlation Table**
- Symbol identifiers
- Correlation coefficients
- Correlation strength descriptions
- Price change percentages
- Technical indicator values
2. **Correlation Plot**
- Real-time correlation visualization
- Multiple correlation lines
- Reference levels at -1, 0, and +1
- Color-coded for easy identification
Installation and Setup
1. Load the indicator on TradingView
2. Configure desired symbols (up to 5)
3. Adjust timeframe and calculation length
4. Customize display settings
5. Enable/disable desired components (table, plot, RSI)
Best Practices
1. **Symbol Selection**
- Choose related but distinct assets
- Include a mix of asset classes
- Consider market cap and liquidity
2. **Timeframe Selection**
- Match timeframe to trading strategy
- Consider longer timeframes for strategic analysis
- Use shorter timeframes for tactical decisions
3. **Interpretation**
- Monitor correlation changes over time
- Consider multiple timeframes
- Combine with other technical analysis tools
- Account for market conditions and volatility
Performance Notes
- Calculations update in real-time
- Resource usage scales with number of active symbols
- Historical data availability may affect initial calculations
Version History
- v1.0: Initial release with core functionality
- Multi-symbol correlation analysis
- Technical indicator integration
- Customizable display options
Future Enhancements (Planned)
- Additional technical indicators
- Advanced correlation algorithms
- Enhanced visualization options
- Custom alert conditions
- Statistical significance testing
Momentum Cloud.V33🌟 Introducing MomentumCloud.V33 🌟
MomentumCloud.V33 is a cutting-edge indicator designed to help traders capture market momentum with clarity and precision. This versatile tool combines moving averages, directional movement indexes (DMI), and volume analysis to provide real-time insights into trend direction and strength. Whether you’re a scalper, day trader, or swing trader, MomentumCloud.V33 adapts to your trading style and timeframe, making it an essential addition to your trading toolkit. 📈💡
🔧 Customizable Parameters:
• Moving Averages: Adjust the periods of the fast (MA1) and slow (MA2) moving averages to fine-tune your trend analysis.
• DMI & ADX: Customize the DMI length and ADX smoothing to focus on strong, actionable trends.
• Volume Multiplier: Modify the cloud thickness based on trading volume, emphasizing trends with significant market participation.
📊 Trend Detection:
• Color-Coded Clouds:
• Green Cloud: Indicates a strong uptrend, suggesting buying opportunities.
• Red Cloud: Indicates a strong downtrend, signaling potential short trades.
• Gray Cloud: Reflects a range-bound market, helping you avoid low-momentum periods.
• Dynamic Volume Integration: The cloud thickness adjusts dynamically with trading volume, highlighting strong trends supported by high market activity.
📈 Strength & Momentum Analysis:
• Strength Filtering: The ADX component ensures that only strong trends are highlighted, filtering out market noise and reducing false signals.
• Visual Momentum Gauge: The cloud color and thickness provide a quick visual representation of market momentum, enabling faster decision-making.
🔔 Alerts:
• Custom Alerts: Set up alerts for when the trend shifts or reaches critical levels, keeping you informed without needing to constantly monitor the chart.
🎨 Visual Enhancements:
• Gradient Cloud & Shadows: The indicator features a gradient-filled cloud with shadowed moving averages, enhancing both aesthetics and clarity on your charts.
• Adaptive Visual Cues: MomentumCloud.V33’s color transitions and dynamic thickness provide an intuitive feel for the market’s rhythm.
🚀 Quick Guide to Using MomentumCloud.V33
1. Add the Indicator: Start by adding MomentumCloud.V33 to your chart. Customize the settings such as MA periods, DMI length, and volume multiplier to match your trading style.
2. Analyze the Market: Observe the color-coded cloud and its thickness to gauge market momentum and trend direction. The thicker the cloud, the stronger the trend.
3. Set Alerts: Activate alerts for trend changes or key levels to capture trading opportunities without needing to watch the screen continuously.
⚙️ How It Works:
MomentumCloud.V33 calculates market momentum by combining moving averages, DMI, and volume. The cloud color changes based on the trend direction, while its thickness reflects the strength of the trend as influenced by trading volume. This integrated approach ensures you can quickly identify robust market movements, making it easier to enter and exit trades at optimal points.
Settings Overview:
• Moving Averages: Define the lengths for the fast and slow moving averages.
• DMI & ADX: Adjust the DMI length and ADX smoothing to focus on significant trends.
• Volume Multiplier: Customize the multiplier to control cloud thickness, highlighting volume-driven trends.
📚 How to Use MomentumCloud.V33:
• Trend Identification: The direction and color of the cloud indicate the prevailing trend, while the cloud’s thickness suggests the trend’s strength.
• Trade Execution: Use the green cloud to look for long entries and the red cloud for short positions. The gray cloud advises caution, as it represents a range-bound market.
• Alerts: Leverage the custom alerts to stay on top of market movements and avoid missing critical trading opportunities.
Unleash the power of trend and momentum analysis with MomentumCloud.V33! Happy trading! 📈🚀✨
Relative Strength (Volatility Adjusted)The volatility adjusted relative strength indicator offers a more precise approach to traditional RS indicators by incorporating volatility adjustments into its calculations. This will provide traders with a more nuanced view of relative performance between a selected instrument and a comparison index.
Identifying Relative Strength (RS) and Weakness (RW) against a benchmark like the SPY is crucial for traders, as it highlights institutional activity in an equity, which retail traders rarely achieve on their own. However, the traditional method of simply comparing the rate of change of a stock to the rate of change for the SPY can be flawed. This method often fails to account for the inherent volatility of each stock, leading to misleading RS/RW readings.
Consider two stocks that both move in response to SPY's movements. If SPY moves significantly more than its average (measured by its ATR), and the stock does the same, traditional RS calculations might show strength when, in fact, the stock is just mirroring SPY's increased volatility. For instance, if SPY typically moves $0.25 an hour but suddenly moves $1, and a stock typically moves $0.50 but moves $2, the stock's apparent RS might be overstated, when in reality there is no relative strength for the stock.
By adjusting for volatility using the ATR (Average True Range), we normalize these movements and get a clearer picture of true RS/RW. For example, if SPY moves 5 times its average rate and a stock moves the same multiple of its own ATR, the RS should be considered neutral rather than strong. Similarly if a stock in absolute terms moves $1 while the SPY also moves $1 but the stock usually moves at twice the rate of the SPY, the stock should be considered relatively weak - not neutral.
Usage
Use this to identify stocks with actual strength or weakness compared to the market.
When the RS line is above 0 and above the moving average it indicates a stock with relative strength that is still gaining more strength.
When the RS line is above 0 but above the moving average it indicates a stock with relative strength that is currently losing strength.
When the RS line is below 0 and below the moving average it indicates a stock with relative weakness that is still losing strength.
When the RS line is below 0 but above the moving average it indicates a stock with relative weakness that is starting to gain back some strength.
Alligator + Fractals + Divergent & Squat Bars + Signal AlertsThe indicator includes Williams Alligator, Williams Fractals, Divergent Bars, Market Facilitation Index, Highest and Lowest Bars, maximum and minimum peak of Awesome Oscillator, and signal alerts based on Bill Williams' Profitunity strategy.
MFI and Awesome Oscillator
According to the Market Facilitation Index Oscillator, the Squat bar is colored blue, all other bars are colored according to the Awesome Oscillator color, except for the Fake bars, colored with a lighter AO color. In the indicator settings, you can enable the display of "Green" bars (in the "Green Bars > Show" field). In the indicator style settings, you can disable changing the color of bars in accordance with the AO color (in the "AO bars" field), including changing the color for Fake bars (in the "Fake AO bars" field).
MFI is calculated using the formula: (high - low) / volume.
A Squat bar means that, compared to the previous bar, its MFI has decreased and at the same time its volume has increased, i.e. MFI < previous bar and volume > previous bar. A sign of a possible price reversal, so this is a particularly important signal.
A Fake bar is the opposite of a Squat bar and means that, compared to the previous bar, its MFI has increased and at the same time its volume has decreased, i.e. MFI > previous bar and volume < previous bar.
A "Green" bar means that, compared to the previous bar, its MFI has increased and at the same time its volume has increased, i.e. MFI > previous bar and volume > previous bar. A sign of trend continuation. But a more significant trend confirmation or warning of a possible reversal is the Awesome Oscillator, which measures market momentum by calculating the difference between the 5 Period and 34 Period Simple Moving Averages (SMA 5 - SMA 34) based on the midpoints of the bars (hl2). Therefore, by default, the "Green" bars and their opposite "Fade" bars are colored according to the color of the Awesome Oscillator.
According to Bill Williams' Profitunity strategy, using the Awesome Oscillator, the third Elliott wave is determined by the maximum peak of AO in the range from 100 to 140 bars. The presence of divergence between the maximum AO peak and the subsequent lower AO peak in this interval also warns of a possible correction, especially if the AO crosses the zero line between these AO peaks. Therefore, the chart additionally displays the prices of the highest and lowest bars, as well as the maximum or minimum peak of AO in the interval of 140 bars from the last bar. In the indicator settings, you can hide labels, lines, change the number of bars and any parameters for the AO indicator - method (SMA, Smoothed SMA, EMA and others), length, source (open, high, low, close, hl2 and others).
Bullish Divergent bar
🟢 A buy signal (Long) is a Bullish Divergent bar with a green circle displayed above it if such a bar simultaneously meets all of the following conditions:
The high of the bar is below all lines of the Alligator indicator.
The closing price of the bar is above its middle, i.e. close > (high + low) / 2.
The low of the bar is below the low of 2 previous bars or below the low of one previous bar, and the low of the second previous bar is a lower fractal (▼). By default, Divergent bars are not displayed, the low of which is lower than the low of only one previous bar and the low of the 2nd previous bar is not a lower fractal (▼), but you can enable the display of any Divergent bars in the indicator settings (by setting the value "no" in the " field Divergent Bars > Filtration").
The following conditions strengthen the Bullish Divergent bar signal:
The opening price of the bar, as well as the closing price, is higher than its middle, i.e. Open > (high + low) / 2.
The high of the bar is below all lines of the open Alligator indicator, i.e. the green line (Lips) is below the red line (Teeth) and the red line is below the blue line (Jaw). In this case, the color of the circle above the Bullish Divergent bar is dark green.
Squat Divergent bar.
The bar following the Bullish Divergent bar corresponds to the green color of the Awesome Oscillator.
Divergence on Awesome Oscillator.
Formation of the lower fractal (▼), in which the low of the Divergent bar is the peak of the fractal.
Bearish Divergent bar
🔴 A signal to sell (Short) is a Bearish Divergent bar under which a red circle is displayed if such a bar simultaneously meets all the following conditions:
The low of the bar is above all lines of the Alligator indicator.
The closing price of the bar is below its middle, i.e. close < (high + low) / 2.
The high of the bar is higher than the high of 2 previous bars or higher than the high of one previous bar, and the high of the second previous bar is an upper fractal (▲). By default, Divergent bars are not displayed, the high of which is higher than the high of only one previous bar and the high of the 2nd previous bar is not an upper fractal (▲), but you can enable the display of any Divergent bars in the indicator settings (by setting the value "no" in the " field Divergent Bars > Filtration").
The following conditions strengthen the Bearish Divergent bar signal:
The opening price of the bar, as well as the closing price, is below its middle, i.e. open < (high + low) / 2.
The low of the bar is above all lines of the open Alligator indicator, i.e. the green line (Lips) is above the red line (Teeth) and the red line is above the blue line (Jaw). In this case, the color of the circle under the Bearish Divergent bar is dark red.
Squat Divergent bar.
The bar following the Bearish Divergent bar corresponds to the red color of the Awesome Oscillator.
Divergence on Awesome Oscillator.
Formation of the upper fractal (▲), in which the high of the Divergent bar is the peak of the fractal.
Alligator lines crossing
Bars crossing the green line (Lips) of the open Alligator indicator is the first warning of a possible correction (price rollback) if one of the following conditions is met:
If the bar closed below the Lips line, which is above the Teeth line, and the Teeth line is above the Jaw line, while the closing price of the previous bar is above the Lips line.
If the bar closed above the Lips line, which is below the Teeth line, and the Teeth line is below the Jaw line, while the closing price of the previous bar is below the Lips line.
The intersection of all open Alligator lines by bars is a sign of a deep correction and a warning of a possible trend change.
Frequent intersection of Alligator lines with each other is a sign of a sideways trend (flat).
Signal Alerts
To receive notifications about signals when creating an alert, you must select the condition "Any alert() function is call", in which case notifications will arrive in the following format:
D — timeframe, for example: D, 4H, 15m.
🟢 BDB⎾ - a signal for a Bullish Divergent bar to buy (Long), triggers once after the bar closes and includes additional signals:
/// — if Alligator is open.
⏉ — if the opening price of the bar, as well as the closing price, is above its middle.
+ Squat 🔷 - Squat bar or + Green ↑ - "Green" bar or + Fake ↓ - Fake bar.
+ AO 🟩 - if after the Divergent bar closes, the oscillator color change for the next bar corresponds the green color of the Awesome Oscillator. ┴/┬ — AO above/below the zero line. ∇ — if there is divergence on AO in the interval of 140 bars from the last bar.
🔴 BDB⎿ - a signal for a Bearish Divergent bar to sell (Short), triggers once after the bar closes and includes additional signals:
/// — if Alligator is open.
⏊ — if the opening price of the bar, as well as the closing price, is below its middle.
+ Squat 🔷 - Squat bar or + Green ↑ - "Green" bar or + Fake ↓ - Fake bar.
+ AO 🟥 - if after the Divergent bar closes, the oscillator color change for the next bar corresponds to the red color of the Awesome Oscillator. ┴/┬ — AO above/below the zero line. ∇ — if there is divergence on AO in the interval of 140 bars from the last bar.
Alert for bars crossing the green line (Lips) of the open Alligator indicator (can be disabled in the indicator settings in the "Alligator > Enable crossing lips alerts" field):
🔴 Crossing Lips ↓ - if the bar closed below the Lips line, which is above than the other lines, while the closing price of the previous bar is above the Lips line.
🟢 Crossing Lips ↑ - if the bar closed above the Lips line, which is below the other lines, while the closing price of the previous bar is below the Lips line.
The fractal signal is triggered after the second bar closes, completing the formation of the fractal, if alerts about fractals are enabled in the indicator settings (the "Fractals > Enable alerts" field):
🟢 Fractal ▲ - upper (Bearish) fractal.
🔴 Fractal ▼ — lower (Bullish) fractal.
⚪️ Fractal ▲/▼ - both upper and lower fractal.
↳ (H=high - L=low) = difference.
If you redirect notifications to a webhook URL, for example, to a Telegram bot, then you need to set the notification template for the webhook in the indicator settings in the "Webhook > Message" field (contains a tooltip with an example), in which you just need to specify the text {{message}}, which will be automatically replaced with the alert text with a ticker and a link to TradingView.
‼️ A signal is not a call to action, but only a reason to analyze the chart to make a decision based on the rules of your strategy.
***
Индикатор включает в себя Williams Alligator, Williams Fractals, Дивергентные бары, Market Facilitation Index, самый высокий и самый низкий бары, максимальный и минимальный пик Awesome Oscillator, а также оповещения о сигналах на основе стратегии Profitunity Билла Вильямса.
MFI и Awesome Oscillator
В соответствии с осциллятором Market Facilitation Index Приседающий бар окрашен в синий цвет, все остальные бары окрашены в соответствии с цветом Awesome Oscillator, кроме Фальшивых баров, которые окрашены более светлым цветом AO. В настройках индикатора вы можете включить отображение "Зеленых" баров (в поле "Green Bars > Show"). В настройках стиля индикатора вы можете выключить изменение цвета баров в соответствии с цветом AO (в поле "AO bars"), в том числе изменить цвет для Фальшивых баров (в поле "Fake AO bars").
MFI рассчитывается по формуле: (high - low) / volume.
Приседающий бар означает, что по сравнению с предыдущим баром его MFI снизился и в тоже время вырос его объем, т.е. MFI < предыдущего бара и объем > предыдущего бара. Признак возможного разворота цены, поэтому это особенно важный сигнал.
Фальшивый бар является противоположностью Приседающему бару и означает, что по сравнению с предыдущим баром его MFI увеличился и в тоже время снизился его объем, т.е. MFI > предыдущего бара и объем < предыдущего бара.
"Зеленый" бар означает, что по сравнению с предыдущим баром его MFI увеличился и в тоже время вырос его объем, т.е. MFI > предыдущего бара и объем > предыдущего бара. Признак продолжения тренда. Но более значимым подтверждением тренда или предупреждением о возможном развороте является Awesome Oscillator, который измеряет движущую силу рынка путем вычисления разницы между 5 Периодной и 34 Периодной Простыми Скользящими Средними (SMA 5 - SMA 34) по средним точкам баров (hl2). Поэтому по умолчанию "Зеленые" бары и противоположные им "Увядающие" бары окрашены в соответствии с цветом Awesome Oscillator.
По стратегии Profitunity Билла Вильямса с помощью осциллятора Awesome Oscillator определяется третья волна Эллиота по максимальному пику AO в интервале от 100 до 140 баров. Наличие дивергенции между максимальным пиком AO и следующим за ним более низким пиком AO в этом интервале также предупреждает о возможной коррекции, особенно если AO переходит через нулевую линию между этими пиками AO. Поэтому на графике дополнительно отображаются цены самого высокого и самого низкого баров, а также максимальный или минимальный пик АО в интервале 140 баров от последнего бара. В настройках индикатора вы можете скрыть метки, линии, изменить количество баров и любые параметры для индикатора AO – метод (SMA, Smoothed SMA, EMA и другие), длину, источник (open, high, low, close, hl2 и другие).
Бычий Дивергентный бар
🟢 Сигналом на покупку (Long) является Бычий Дивергентный бар над которым отображается зеленый круг, если такой бар соответствует одновременно всем следующим условиям:
Максимум бара ниже всех линий индикатора Alligator.
Цена закрытия бара выше его середины, т.е. close > (high + low) / 2.
Минимум бара ниже минимума 2-х предыдущих баров или ниже минимума одного предыдущего бара, а минимум второго предыдущего бара является нижним фракталом (▼). По умолчанию не отображаются Дивергентные бары, минимум которых ниже минимума только одного предыдущего бара и минимум 2-го предыдущего бара не является нижним фракталом (▼), но вы можете включить отображение любых Дивергентных баров в настройках индикатора (установив значение "no" в поле "Divergent Bars > Filtration").
Усилением сигнала Бычьего Дивергентного бара являются следующие условия:
Цена открытия бара, как и цена закрытия, выше его середины, т.е. Open > (high + low) / 2.
Максимум бара ниже всех линий открытого индикатора Alligator, т.е. зеленая линия (Lips) ниже красной линии (Teeth) и красная линия ниже синей линии (Jaw). В этом случае цвет круга над Бычьим Дивергентным баром окрашен в темно-зеленый цвет.
Приседающий Дивергентный бар.
Бар, следующий за Бычьим Дивергентным баром, соответствует зеленому цвету Awesome Oscillator.
Дивергенция на Awesome Oscillator.
Образование нижнего фрактала (▼), у которого минимум Дивергентного бара является пиком фрактала.
Медвежий Дивергентный бар
🔴 Сигналом на продажу (Short) является Медвежий Дивергентный бар под которым отображается красный круг, если такой бар соответствует одновременно всем следующим условиям:
Минимум бара выше всех линий индикатора Alligator.
Цена закрытия бара ниже его середины, т.е. close < (high + low) / 2.
Максимум бара выше маскимума 2-х предыдущих баров или выше максимума одного предыдущего бара, а максимум второго предыдущего бара является верхним фракталом (▲). По умолчанию не отображаются Дивергентные бары, максимум которых выше максимума только одного предыдущего бара и максимум 2-го предыдущего бара не является верхним фракталом (▲), но вы можете включить отображение любых Дивергентных баров в настройках индикатора (установив значение "no" в поле "Divergent Bars > Filtration").
Усилением сигнала Медвежьего Дивергентного бара являются следующие условия:
Цена открытия бара, как и цена закрытия, ниже его середины, т.е. open < (high + low) / 2.
Минимум бара выше всех линий открытого индикатора Alligator, т.е. зеленая линия (Lips) выше красной линии (Teeth) и красная линия выше синей линии (Jaw). В этом случае цвет круга под Медвежьим Дивергентным Баром окрашен в темно-красный цвет.
Приседающий Дивергентный бар.
Бар, следующий за Медвежьим Дивергентным баром, соответствует красному цвету Awesome Oscillator.
Дивергенция на Awesome Oscillator.
Образование верхнего фрактала (▲), у которого максимум Дивергентного бара является пиком фрактала.
Пересечение линий Alligator
Пересечение барами зеленой линии (Lips) открытого индикатора Alligator является первым предупреждением о возможной коррекции (откате цены) при выполнении одного из следующих условий:
Если бар закрылся ниже линии Lips, которая выше линии Teeth, а линия Teeth выше линии Jaw, при этом цена закрытия предыдущего бара находится выше линии Lips.
Если бар закрылся выше линии Lips, которая ниже линии Teeth, а линия Teeth ниже линии Jaw, при этом цена закрытия предыдущего бара находится ниже линии Lips.
Пересечение барами всех линий открытого Alligator является признаком глубокой коррекции и предупреждением о возможной смене тренда.
Частое пересечение линий Alligator между собой является признаком бокового тренда (флэт).
Оповещения о сигналах
Для получения уведомлений о сигналах при создании оповещения необходимо выбрать условие "При любом вызове функции alert()", в таком случае уведомления будут приходить в следующем формате:
D — таймфрейм, например: D, 4H, 15m.
🟢 BDB⎾ — сигнал Бычьего Дивергентного бара на покупку (Long), срабатывает один раз после закрытия бара и включает дополнительные сигналы:
/// — если Alligator открыт.
⏉ — если цена открытия бара, как и цена закрытия, выше его середины.
+ Squat 🔷 — Приседающий бар или + Green ↑ — "Зеленый" бар или + Fake ↓ — Фальшивый бар.
+ AO 🟩 — если после закрытия Дивергентного бара, изменение цвета осциллятора для следующего бара соответствует зеленому цвету Awesome Oscillator. ┴/┬ — AO выше/ниже нулевой линии. ∇ — если есть дивергенция на AO в интервале 140 баров от последнего бара.
🔴 BDB⎿ — сигнал Медвежьего Дивергентного бара на продажу (Short), срабатывает один раз после закрытия бара и включает дополнительные сигналы:
/// — если Alligator открыт.
⏊ — если цена открытия бара, как и цена закрытия, ниже его середины.
+ Squat 🔷 — Приседающий бар или + Green ↑ — "Зеленый" бар или + Fake ↓ — Фальшивый бар.
+ AO 🟥 — если после закрытия Дивергентного бара, изменение цвета осциллятора для следующего бара соответствует красному цвету Awesome Oscillator. ┴/┬ — AO выше/ниже нулевой линии. ∇ — если есть дивергенция на AO в интервале 140 баров от последнего бара.
Сигнал пересечения барами зеленой линии (Lips) открытого индикатора Alligator (можно отключить в настройках индикатора в поле "Alligator > Enable crossing lips alerts"):
🔴 Crossing Lips ↓ — если бар закрылся ниже линии Lips, которая выше остальных линий, при этом цена закрытия предыдущего бара находится выше линии Lips.
🟢 Crossing Lips ↑ — если бар закрылся выше линии Lips, которая ниже остальных линий, при этом цена закрытия предыдущего бара находится ниже линии Lips.
Сигнал фрактала срабатывает после закрытия второго бара, завершающего формирование фрактала, если оповещения о фракталах включены в настройках индикатора (поле "Fractals > Enable alerts"):
🟢 Fractal ▲ — верхний (Медвежий) фрактал.
🔴 Fractal ▼ — нижний (Бычий) фрактал.
⚪️ Fractal ▲/▼ — одновременно верхний и нижний фрактал.
↳ (H=high - L=low) = разница.
Если вы перенаправляете оповещения на URL вебхука, например, в бота Telegram, то вам необходимо установить шаблон оповещения для вебхука в настройках индикатора в поле "Webhook > Message" (содержит подсказку с примером), в котором в качестве текста сообщения достаточно указать текст {{message}}, который будет автоматически заменен на текст оповещения с тикером и ссылкой на TradingView.
‼️ Сигнал — это не призыв к действию, а лишь повод проанализировать график для принятия решения на основе правил вашей стратегии.
MVRV Z-ScoreThe MVRV ratio was created by Murad Mahmudov & David Puell. It simply compares Market Cap to Realised Cap, presenting a ratio (MVRV = Market Cap / Realised Cap). The MVRV Z-Score is a later version, refining the metric by normalising the peaks and troughs of the data.
Intraday Volume Profile [BigBeluga]The Intraday Volume Profile aims to show delta volume on lower timeframes to spot trapped shorts at the bottom or trapped longs at the top, with buyers pushing the price up at the bottom and sellers at the top acting as resistance.
🔶 FEATURES
The indicator includes the following features:
LTF Delta precision (timeframe)
Sensibility color - adjust gradient color sensitivity
Source - source of the candle to use as the main delta calculation
Color mode - display delta coloring in different ways
🔶 DELTA EXAMPLE
In the image above, we can see how delta is created.
If delta is positive, we know that buyers have control over sellers, while if delta is negative, we know sellers have control over buyers.
Using this data, we can spot interesting trades and identify trapped individuals within the candle.
🔶 HOW TO USE
In the image above, we can see how shorts are trapped at the bottom of the wick (red + at the bottom), leading to a pump also called a "short squeeze."
Same example as before, but with trapped longs (blue + at the top).
This can also work as basic support and resistance, for example, trapped shorts at the bottom with positive delta at the bottom acting as strong support for price.
Users can have the option to also display delta data within the corresponding levels, showing Buyers vs Sellers for more precise trading ideas.
NOTE:
User can only display the most recent data for the last 8 buyers and sellers.
It is recommended to use a hollow candle while using this script.
Liquidity Hunter [ChartPrime]The Liquidity Hunter helps traders identify areas in the market where reversals may occur by analyzing candle formations and structures.
█ Wick-to-Body Analysis:
The Liquidity Hunter analyses each candlestick to identify those with distinctive wick-to-body ratios. By focusing on candles with significant wick imbalances, it can reveal potential liquidity absorption zones that may influence market behavior. Users can fine-tune this ratio to their preferences through customizable body% and wick% inputs, allowing for tailored analysis.
█ Body Size Significance:
To ensure the relevance and impact of its findings, this indicator evaluates the size of the candle body.
Only candles with bodies meeting a certain size threshold are considered, eliminating noise and highlighting candles of significance.
█ Dynamic Target Setting:
The Liquidity Hunter employs the Average True Range (ATR) as a foundation for target calculation. Users can adjust their trading targets by specifying a multiplier, offering flexibility in capturing potential profit or managing risk. Customizable target inputs ensure adaptability to your trading strategy.
█ Stop Loss Protection:
In addition to setting your profit targets, the Liquidity Hunter incorporates stop loss levels, safeguarding your investments from excessive risk. By implementing a well-balanced risk-reward ratio, users may be better at navigating market fluctuations.
█ Market Character Labels:
The Liquidity Hunter Indicator goes beyond basic analysis by detecting changes in market character. It identifies shifts in sentiment providing traders with invaluable insights into evolving market conditions.
█ Candle Color Highlighting:
To enhance user-friendliness and visualization, the indicator employs distinctive candle colors between trades. These color cues help you easily spot and interpret trading opportunities, drawing your attention to potential entry and exit points.
Overall this indicator is designed to help simplify liquidity analysis and give visual targets in a market.
Market Performance TableThe Market Performance Table displays the performance of multiple tickers (up to 5) in a table format. The tickers can be customized by selecting them through the indicator settings.
The indicator calculates various metrics for each ticker, including the 1-day change percentage, whether the price is above the 50, 20, and 10-day simple moving averages (SMA), as well as the relative strength compared to the 10/20 SMA and 20/50 SMA crossovers. It also calculates the price deviation from the 50-day SMA.
The table is displayed on the chart and can be positioned in different locations.
Credits for the idea to @Alex_PrimeTrading ;)
[TTI] MarketSmith & IBD Style Model Stock Quarters 📜 ––––HISTORY & CREDITS––––
The MarketSmith & IBD Style Model Stock Quarters another Utility indicator is an original creation by TintinTrading inspired by Investor's Business Daily and William O'Neil style of presenting information. While going through the Model Stocks that IBD has been publishing, I realized that I wanted to see the exam same Quarterly presentation on the time axis in order to compare William O'Neil notes better with my own notes from Tradingview. The script is simple and could help you if you study the CANSLIM methodology.
🦄 –––UNIQUENESS–––
The distinctiveness of this indicator lies in its ability to visually delineate stock quarters directly on the price chart. It serves as a handy tool for traders who adopt a quarterly review of stock performance, in line with MarketSmith and IBD's analysis frameworks.
🛠️ ––––WHAT IT DOES––––
Quarter Marking : Draws a black line at the beginning of each financial quarter (January, April, July, and October).
Quarter Labeling : Places a label at the close of the last month in a quarter, indicating the upcoming quarter with its abbreviation and the last two digits of the year.
💡 ––––HOW TO USE IT––––
👉Installation: Add the indicator to your TradingView chart by searching for " MarketSmith & IBD Style Model Stock Quarters" in the indicator library.
👉Add to New Pane and squash the Pane Length: I add the indicator to a new pane under the price and volume charts and squash the height of the pane so that it looks exactly like the MarketSmith visuals.
👉Visual Cues:
Look for the black lines marking the start of a new quarter.
Observe the labels indicating the upcoming quarter and year, positioned at the close of the last month in a quarter.
👉Interpretation: Use these quarterly markers to align your trading strategies with quarterly performance metrics or to conduct seasonal analysis.
👉Settings: The indicator does not require any user-defined settings, making it straightforward to use.
Magic Trend By Market Mindset - Zero To EndlessMagic Trend indicator is an indicator combining the Commodity Channel Index (CCI) and the Average True Range (ATR) indicators.
The indicator is represented by a line that turns red when CCI readings are below 0 and converts to blue when CCI reaches above 0.
Color of the line can be treated as a trend indicator.
When CCI > 0 (Blue Color), price is assumed to be in uptrend and a buying momentum could be seen.
When CCI < 0 (Red Color), price is assumed to be in downtrend and a selling pressure could be seen.
Two Multipliers of ATR have been used. Default values for multiploier are : 1.5 and 3.0
It tells about the volatality in the price and also helps in deciding Entry poits, Stop loss points and sometimes Exit points.
If trend magic lines are not straight and moving upward/downward, continuition of the trend is expected and so Holding the position is adviced.
If the farther line (line with multiplier 3.0) is broken, a trend reversal can be seen soon.
In this case, squaring off and making reverse position is adviced near the other (1.5 mult) line.
If price is revolving in between these two lines... a sideways movement is expected.
Happy Trading
Market Mindset
Modified Mannarino Market Risk Indicator MMMRI MMRIModified Mannarino Market Risk Indicator MMMRI was developed by "Nobody Special Finance" as an enhancement to the original MMRI developed by Gregory Mannarino. The original and modified version were created as a way to gauge current level of risk in the market. This published indicator includes both versions along with ability to customize the symbols, denominators, and ratio factors that are used within their formulas. Additional options have been included to colorize the candles, plot, and level fills, as well as the option to show or hide a table containing the realtime values for both versions, along with the current dollar strength and 10Y yield.
Levels of market risk are denoted by dashed lines which represent the following levels: 0-50 slight risk, 50-100 low risk, 100-200 moderate risk, 200-300 high risk, 300+ extreme risk. The plot displays whichever of the following two formulas has been selected in the indicator settings, the default choice has been set to MMMRI:
MMRI = (USD Strength * USD Interest Rate) / 1.61
MMMRI = (Debt / GDP) * (USD Strength * USD Interest Rate) / 1.61
NOTICE: This is an example script and not meant to be used as an actual strategy. By using this script or any portion thereof, you acknowledge that you have read and understood that this is for research purposes only and I am not responsible for any financial losses you may incur by using this script!
Stock Data Table█ OVERVIEW
This is a table that shows some information about stocks. It is divided into four sections:
1) Correlation
2) Shares
3) Daily Data
4) Extended Session Data
The table is completely modular, which means you can add or remove each element from the settings menu, and it will automatically rearrange its spaces.
It is also highly customizable, to the extent that you can change almost any color, remove or change titles, invert section rows, and much more.
1) Correlation
The script checks if the stock is listed on NASDAQ, and if so, uses the QQQ (Nasdaq-100 ETF) as the reference index in the first cell; otherwise, it uses the SPY (S&P 500 ETF). The length of the correlation is shown in the second cell. The table then displays the correlation between the reference index and the other index, and the correlation between the reference index and the stock.
To make it easier to interpret the correlation values, each row's last cell is color-coded with a gradient to highlight the type of correlation, and the direction of the gradient can be customized.
The correlation coefficient is a statistical measure that quantifies the strength and direction of the relationship between two variables, indicating how changes in one variable are associated with changes in the other variable, so it can be used to identify patterns and trends.
If you are interested in correlation, I suggest taking a look at my dedicated indicator:
2) Shares
This feature provides you with quick access to key information about shares and market capitalization.
On one row, you can view the total shares outstanding and the market capitalization for the fiscal year or the quarterly year. The total shares outstanding represents the total number of shares of the stock that have been issued and are currently outstanding, regardless of whether they are held by insiders or public investors. The market capitalization is a widely used measure of the company's value as determined by the stock market, calculated by multiplying its current stock price with the total number of outstanding shares.
The other row shows the float, which is the number of shares of a company that are available for public trading, and the corresponding free-float market cap, calculated by multiplying the company's current stock price with the float. Because Pine Script does not allow retrieving information about quarterly year float, you can view the float and the free-float market cap of the fiscal year only. The data can be displayed at all times or only when the difference between the total shares outstanding and the float is significant enough to result in a difference between the market cap and free-float market cap.
The classification for market cap and free-float market cap is set in this way:
Mega Cap: $200 billion or more
Large Cap: between $10 billion and $200 billion
Mid Cap: between $2 billion and $10 billion
Small Cap: between $300 million and $2 billion
Micro Cap: less than $300 million
Penny Stocks: less than $5 (customizable)
Comparing the free-float market cap to the market cap can provide insights into the liquidity of a stock. In fact, if the float is relatively small compared to the total shares outstanding, it may be more difficult to find buyers or sellers, which could lead to increased volatility. On the other hand, a larger float indicates that the stock is more liquid and may be easier to trade, potentially resulting in lower volatility. However, market conditions can change quickly and significantly, especially for intraday traders, and the free-float can also change as insiders or other large shareholders buy or sell shares. Therefore, comparing the data of the fiscal year with that of the quarterly year may not provide the most up-to-date and accurate information for making trading decisions. This limitation can be mitigated by combining those data with other indicators and tools, such as technical analysis or news events, to gain a better understand of the stock's performance and potential trading opportunities.
3) Daily Data
This section is available on daily charts only due to the lack of accuracy of real-time daily data on other time frames. Here, you can view the Average Daily Volume (ADV) over a preferred time range (20 days by default), and the Daily Change, which represents the percentage difference between the closing price on two consecutive trading days.
ADV is useful in measuring the stock's volatility, as it provides an indication of how much trading activity there is in it. Generally speaking, stocks with higher trading volume tend to be less volatile than stocks with lower trading volume. High trading volume means there are more buyers and sellers actively trading the stock, which makes it easier for investors to buy and sell shares at fair prices. This increased liquidity can help to stabilize the stock price, reducing the potential for large swings in either direction. On the other hand, stocks with lower trading volume may experience greater volatility, as there are fewer buyers and sellers actively trading the stock. This can result in larger price swings, as it may be more difficult for investors to buy or sell shares at fair prices.
The daily percentage change can provide an indication of the stock's volatility, with larger values indicating greater volatility and risk. It can also be compared to that of a benchmark such an index or other stocks in the same sector, helping to determine whether the stock is outperforming or underperforming relative to them.
4) Extended Session Data
The fourth section is available on intraday charts only. This section provides two pieces of information: the Extended Session Change and the Pre-Market Volume.
The Extended Session Change indicates the percentage difference between the previous day's closing price and the latest price in the extended session. This gives you the extent and the direction of the price gap that occurred during extended trading hours.
The Pre-Market Volume shows the sum of all shares traded during the pre-market session. This can be helpful in understanding how much interest the stock gained before the market opened.
By default, the two rows will be visible at all times. They will stop updating after the end of their respective time range, and resume updating when it starts again. However, you can choose to automatically hide them outside of their time ranges.
Both the extended session and pre-market time ranges can be customized. Please note that if you select time ranges outside of the regular market session (as set by default), you must enable the extended session to view the corresponding rows.
█ GENERAL NOTES
• Total Shares Outstanding, Float, Average Daily Volume and Pre-Market Volume cells use a customizable color system based on two thresholds, to help you quickly identify whether the value is "too low/acceptable/too high" or "too low/not enough high/acceptable".
• If you cannot see certain data, that simply means it is not available.
Drawdown and Drawback || Ranging Hey!
So this indicator tries to spot ranges;
Above the zero line is the data from green candles and below the zero line is the data from the red candles;
When the white area is > than the black area, it indicates that the DrawBack is higher than the DrawDown;
This might work counterintuitively for some people because, for a bullish candle, this means it has to go down for the indicator to recognize it as “good”/ see it as a DrawBack value;
The same is true for a bearish candle, the price has to move up after for it to be seen as a DrawBack value;
There are a few input values:
Length_: This is how many bars a candle gets for the price to move in, the default is 8 bars, so after a bar is formed, from the following 8 bars the DrawBack/DrawDown is saved;
EMA_Length: This is the EMA length, you can change the EMA length and also the MA variant, so you have full flexibility about what might work best for you;
RB_Size: This is how many points a Real Body of a candle has to have before it gets registered within the indicator, what I found it, is that if you put this too low your data gets ruined by candles that have 1-5 points if you use it on a low TimeFrame, but if you want to use it on higher timeframes you maybe have to make the default a bit higher.
Everything is plotted with an Offset of 1, I like it this way so you get a realistic view of the market as you will -most likely- place trades on the next candle either way not on the current candle. But that is just my opinion.
I also added 2 yellow Hlines for visual purposes to see if they were within a certain boundary, see if these add anything for yourself, because they can also make it look a bit messy;
If you have any questions about the code or the indicator itself, feel free to ask them!
I hope it helps at least one person ;)
Prior day and pre-market high lowThis indicator displays the:
- Prior day high
- Prior day low
- Pre-market high
- Pre-market low
as a coloured line across the entire session for each individual session on an intraday chart.
For the extended session, this indicator marks the prior day and pre-market high low for each individual session starting at the pre-market and ending in the post-market, a feature not available on other indicators.
This indicator automatically marks out the levels for the prior day and pre-market high low for each individual session, allowing the user to observe how the price action behaves around the prior day and pre-market high low.
Note:
In this script, request.security() used with lookahead = barmerge.lookahead_on to fetch prices without offsetting the series by for the extended session does not access future data. This is because for extended session, request.security() sees the start of the session to be at the start of the regular session and ends at the end of the pre-market, when in reality the session starts at the start of the pre-market and ends at the end of the post-market.
Hence in each extended session when the line is first drawn in the pre-market, request.security() returns the value of the prior day high/low, and not future data.
Trend and Momentum DashboardI created this indicator to tell me when it's time to trade (going long) and when it's time to wait (or going short).
You can enter up to 13 ticker (default is S&P500 and key market segments).
For each ticker, fibonacci levels are calculated and represented either in 5 color or 3 color mode as single lines.
(Thanks to eykpunter for the fibonacci level implementation. I'm using his code and modified it slightly).
Color coding (5 color mode) explanation:
blue = in uptrend area
light blue = in prudent buyers area
gray = in center area
light red = in prudent sellers area
red = in downtrend area
The topline is a combination of all ticker and shows if the market is either bullish or bearish (threshold adjustable in settings)
The bullish/bearish trend can also be used as background color. Alternatively the last bar in the selected time period is been highlighted.
How to use it:
The indicator works on all timeframes. Use the color coding explanation above to see the status of each asset.
a) You can evaluate "long" term trend using day or week timeframe. e.g. I'm usually trading only long and stay out of the market when it is not bullish (top line & background = blue). I'm also using it to know which segments/assets are currently "hot".
b) You can evaluate short term momentum (using 1h or lower timeframe) and see in which direction the market/assets are moving. e.g. I use this when the exchanges open to see how the day is going to move.
I've attached 3 examples in the screenshot - first is the default, in the second one I'm using different asset classes and the third one is for crypto.
Limitations:
There are security request limits as well as string limitations for the security calls in pine script, so I went to the maximum what is currently possible.
(No financial advise, for testing purposes only)
MarketStructureLibrary "MarketStructure"
This library contains functions for identifying Lows and Highs in a rule-based way, and deriving useful information from them.
f_simpleLowHigh()
This function finds Local Lows and Highs, but NOT in order. A Local High is any candle that has its Low taken out on close by a subsequent candle (and vice-versa for Local Lows).
The Local High does NOT have to be the candle with the highest High out of recent candles. It does NOT have to be a Williams High. It is not necessarily a swing high or a reversal or anything else.
It doesn't have to be "the" high, so don't be confused.
By the rules, Local Lows and Highs must alternate. In this function they do not, so I'm calling them Simple Lows and Highs.
Simple Highs and Lows, by the above definition, can be useful for entries and stops. Because I intend to use them for stops, I want them all, not just the ones that alternate in strict order.
@param - there are no parameters. The function uses the chart OHLC.
@returns boolean values for whether this bar confirms a Simple Low/High, and ints for the bar_index of that Low/High.
f_localLowHigh()
This function finds Local Lows and Highs, in order. A Local High is any candle that has its Low taken out on close by a subsequent candle (and vice-versa for Local Lows).
The Local High does NOT have to be the candle with the highest High out of recent candles. It does NOT have to be a Williams High. It is not necessarily a swing high or a reversal or anything else.
By the rules, Local Lows and Highs must alternate, and in this function they do.
@param - there are no parameters. The function uses the chart OHLC.
@returns boolean values for whether this bar confirms a Local Low/High, and ints for the bar_index of that Low/High.
f_enhancedSimpleLowHigh()
This function finds Local Lows and Highs, but NOT in order. A Local High is any candle that has its Low taken out on close by a subsequent candle (and vice-versa for Local Lows).
The Local High does NOT have to be the candle with the highest High out of recent candles. It does NOT have to be a Williams High. It is not necessarily a swing high or a reversal or anything else.
By the rules, Local Lows and Highs must alternate. In this function they do not, so I'm calling them Simple Lows and Highs.
Simple Highs and Lows, by the above definition, can be useful for entries and stops. Because I intend to use them for trailing stops, I want them all, not just the ones that alternate in strict order.
The difference between this function and f_simpleLowHigh() is that it also tracks the lowest/highest recent level. This level can be useful for trailing stops.
In effect, these are like more "normal" highs and lows that you would pick by eye, but confirmed faster in many cases than by waiting for the low/high of that particular candle to be taken out on close,
because they are instead confirmed by ANY subsequent candle having its low/high exceeded. Hence, I call these Enhanced Simple Lows/Highs.
The levels are taken from the extreme highs/lows, but the bar indexes are given for the candles that were actually used to confirm the Low/High.
This is by design, because it might be misleading to label the extreme, since we didn't use that candle to confirm the Low/High..
@param - there are no parameters. The function uses the chart OHLC.
@returns - boolean values for whether this bar confirms an Enhanced Simple Low/High
ints for the bar_index of that Low/High
floats for the values of the recent high/low levels
floats for the trailing high/low levels (for debug/post-processing)
bools for market structure bias
f_trueLowHigh()
This function finds True Lows and Highs.
A True High is the candle with the highest recent high, which then has its low taken out on close by a subsequent candle (and vice-versa for True Lows).
The difference between this and an Enhanced High is that confirmation requires not just any Simple High, but confirmation of the very candle that has the highest high.
Because of this, confirmation is often later, and multiple Simple Highs and Lows can develop within ranges formed by a single big candle without any of them being confirmed. This is by design.
A True High looks like the intuitive "real high" when you look at the chart. True Lows and Highs must alternate.
@param - there are no parameters. The function uses the chart OHLC.
@returns - boolean values for whether this bar confirms an Enhanced Simple Low/High
ints for the bar_index of that Low/High
floats for the values of the recent high/low levels
floats for the trailing high/low levels (for debug/post-processing)
bools for market structure bias
Market InternalsMarket internals can be a powerful tool for determining future moves, overall trend health and provide a means of directional confidence.
This indicator watches a handful of SPX and US stocks based internals to determine key areas of sentiment changes, the internals monitored are:
US Stocks Ticks
Call and Put SPX Volume
SPX Gamma Dispersion
US Stocks Ask and Big Volume
US Stocks Advancing and Declining Issues
Each time there's a bullish or bearish sentiment change it will be market with green/red flag and a single letter that identifies what market internal has changed.
SPX gamma dispersion events aren't to be considered directional from historical observations made but can be a sign of liquidity adjustments and when paired with any of the other aforementioned internals sentiment changes can be used as a powerful signal.
If it's observed that market internals are changing erratically then it's a clear indication of market chop and best to wait for cleaner trends.
Future updates may include non-SPX based internals analysis, change in display, alerts/alertconditions and more. Feel free to comment with any desired changes and we can discuss!
CM_Williams_Vix_Fix - Market Top and Bottom with multi-timeframeThis is a modification of CM_Williams_Vix_Fix indicator to include both market tops and bottoms with multi-timeframe support. The original indicator only finds market bottoms.
All credits go to the original author ChrisMoody.
Original script link
Working:
The histogram above 0 signifies the trend of market going UP and the histogram below 0 signifies the trend of market going DOWN.
The histogram bar is calculated using "LookBack Period Standard Deviation High" number of candles. A threshold is calculated using bollinger bands and based on percentile of "Look Back Period Percentile High" number of candles.
If the histogram bar above 0 crosses the up threshold then we have market top which is signified by histogram bar having the color green. If the histogram bar below 0 crosses the down threshold then we have market bottom which is signified by histogram bar having the color red.
The market tops and bottoms can also be calculated across multiple timeframes.
Sample usage:
Suppose the market is in an uptrend and the indicator displays red market bottom bar, this might be an indication that the market has reached the end of a pullback. We can use additional indicators like stochastic or rsi to get additional confluence.
This indicator does not repaint but you need to wait for the candle to close.
Session High and Low IndicatorThis script is meant for stocks that have a pre-market session. It is meant to be used on the 1 min time frame. This script will draw a green line at the high of pre-market, and a red line at the low of pre-market and extend these lines across the regular session day
This makes it easy to see if price action during regular market has broken above pre-market high or broken below pre-market low.
The high/low skips any quick spikes in price action (similar to what happens at 8:30 am every day).
VWAP Market Session AnchoredVWAP Market Session Anchored differs from the traditional VWAP or VWAP Auto Anchored indicator in that the Volume Weighted Average Price calculation is automatically anchored to four major market session starts: Sydney, London, Tokyo, New York.
Settings
Source: the source for the VWAP calculation.
Offset: changing this number will move the VWAP either Forwards or Backwards, relative to the current market. Zero is the default.
Band: enabling this will show Standard Deviation bands.
Band Multiplier: the value the Standard Deviation bands will be multiplied by before being plotted on the chart.
Sessions : enabling the sessions will plot the respective anchored VWAP on chart.
Custom: enabling this will show a custom user-defined session.
Custom UTC : the custom session is defined by a starting UTC hour followed by the ending UTC hour.
Usage
Similar to the traditional VWAP, VWAP Market Session Anchored is a technical analysis tool used to measure the average price weighted by volume. VWAP Market Session Anchored can be used to identify the trend during a specific market session.
Limitations
When setting a custom session, be mindful that calculations are based off of the Coordinated Universal Time (UTC) time, you must convert your local time zone to UTC in order to have an accurate representation of your custom session.
It is not recommended to use this indicator on timeframes above 1 hour as market sessions only last a few hours.
Seasonality - Session Performance - Morning Afternoon EveningUse this indicator on Intraday Timeframe. Higher the timeframe, more the data
This script calculates the performance of an instrument for different sessions.
Session inputs can be updated to study performance of
- Morning vs Afternoon vs Evening
- Pre-Market vs Market vs Post-Market (provided the data feed supports pre and post market)
- Overnight vs Intraday
Three session inputs are provided to tweak the session range
Performance is calculated as session close / session open - 1
Session timeframes can be set for various countries. Make sure the session timeframe aligns with the Candle open/close for the timeframe you choose. Some examples below
US Markets: 0930-1130 1130-1430 1430-1630 Timeframe 1 hour
India Markets: 0915-1030 1030-1415 1415-15:30 Timeframe 75min
Zig Zag+ (Macro + Internal Structure Tool)ZigZag+ (Macro + Internal Structure Tool)
ZigZag+ is a simple tool that helps traders to clearly identify and differentiate between macro and internal market structure, to help you keep your bearings of where you are currently in the overall picture.
It is especially difficult to keep your bearings within the larger structural trend when trading the lower timeframes, where for example, a bearish structural trend on a lower timeframe may simply be a retracement of an overall bullish structural trend on a higher timeframe. This indicator primarily aims to help traders maintain awareness of where they are in relationship to the higher timeframe / 'macro' structural trend, and their most significant swing point highs and lows.
The features of this indicator include:
- 2x Zig Zag lines drawn automatically onto your chart. One which has a longer length than the other, which can be used to help identify and differentiate the larger price swings from the smaller price swings found within it. Enabled by default.
- Customisable Zig Zag line color & width settings to help clearly differentiate the higher timeframe 'macro structure' apart from the lower timeframe 'internal structure' within it, enabling it to be tailored to suit your chart colour theme and personal preference.
- Customisable individual length settings for the 2x Zig Zag lines, to allow the fine tuning of each line to any timeframe and asset. By default one lines length is set to a higher value than the other, to illustrate a macro structure (higher length value) as well as the 'internal structure' (lower value length), seen within the larger macro structure.
- Up to a maximum of 500 lines can be drawn meaning you can zoom out considerably, and view historical price action with both Zig Zag lines continuing to print.
- Custom alerts for identifying candlesticks that can offer optimal entries where they are found within valid price markups or markdowns that are already underway. Further details can be found within the tooltips for these signals.
Note: The above list of features are accurate at the time of publishing, but may be updated or added to in future.
Structure
Understanding structure is arguably the foundation of all trading strategies, and therefore very important to understand where you are exactly in the bigger picture, since it can help identify levels at which there is a higher probability of price moving either upward or downward at a given point. Structural trend refers to the typical way that price tends to move in any given trending market, identified by the continuation of higher highs and higher lows in a typical bullish trending market, and lower highs and lower lows in a bearish trending market.
During other times price may not be trending in this way, for example when it is undergoing accumulation or distribution phases, where the consistent higher high & lower low / lower high and lower low patterns will not be evident.
What is Macro Structure?
Macro trend structure refers to the structural trend seen on higher timeframe charts.
What is Internal Structure?
Internal trend structure refers to the structural trend seen on lower timeframe charts, which is found within the higher timeframe structure.
Disclaimer: This indicator is adapted from an original script authored by Tr0sT . With special thanks.