MARKET TREND//@version=5
indicator("MARKET TREND",overlay = false)
// Position and size inputs
meter_pos = input.string("right", "Trend Meter Position", options= ) // New meter position input
pos_y = input.string("bottom", "Vertical Position", options= )
table_pos = input.string("right", "Table Position", options= )
label_size = input.string("normal", "Label Size", options= )
// Moving Average inputs
fast_length = input.int(9, "Fast MA Length")
med_length = input.int(21, "Medium MA Length")
slow_length = input.int(50, "Slow MA Length")
ma_type = input.string("EMA", "MA Type", options= )
offset = 2
radius = 10
y_axis = 0.00
y_scale = 100
var float pi = 2 * math.asin(1)
// Calculate Moving Averages based on selected type
f_get_ma(src, length, ma_type) =>
float result = 0.0
if ma_type == "SMA"
result := ta.sma(src, length)
else if ma_type == "EMA"
result := ta.ema(src, length)
else if ma_type == "HMA"
result := ta.hma(src, length)
result
fast_ma = f_get_ma(close, fast_length, ma_type)
med_ma = f_get_ma(close, med_length, ma_type)
slow_ma = f_get_ma(close, slow_length, ma_type)
// Calculate x-axis positions based on meter position
bar_width = time - time
chart_right_edge = time + bar_width * 5
chart_left_edge = time - bar_width * 25
x_axis = array.new_int(radius * 2, 0)
if meter_pos == "right"
for i = offset to offset + 2 * radius - 1 by 1
array.set(x_axis, i - offset, chart_right_edge - bar_width * (2 * radius - i))
else
for i = offset to offset + 2 * radius - 1 by 1
array.set(x_axis, i - offset, chart_left_edge + bar_width * i)
one_bar = int(ta.change(time))
right_side = array.get(x_axis, 2 * radius - 1)
left_side = array.get(x_axis, 0)
x_center = array.get(x_axis, radius - 1)
f_draw_sector(_sector_num, _total_sectors, _line_limit, _radius, _y_axis, _y_scale, _line_color, _line_width) =>
_segments_per_sector = math.floor(_line_limit / _total_sectors)
_total_segments = _segments_per_sector * _total_sectors
_radians_per_segment = pi / _total_segments
_radians_per_sector = pi / _total_sectors
_start_of_sector = _radians_per_sector * (_sector_num - 1)
for _i = 0 to _segments_per_sector - 1 by 1
_segment_line = line.new(x1=array.get(x_axis, int(math.round(math.cos(_start_of_sector + _radians_per_segment * _i) * (_radius - 1) + radius - 1))), y1=_y_axis + math.sin(_start_of_sector + _radians_per_segment * _i) * _y_scale, x2=array.get(x_axis, int(math.round(math.cos(_start_of_sector + _radians_per_segment * (_i + 1)) * (_radius - 1) + radius - 1))), y2=_y_axis + math.sin(_start_of_sector + _radians_per_segment * (_i + 1)) * _y_scale, xloc=xloc.bar_time, color=_line_color, width=_line_width)
line.delete(_segment_line )
f_draw_base_line(_left, _right, _y_axis, _color, _width) =>
_base_line = line.new(x1=_left, y1=_y_axis, x2=_right, y2=_y_axis, xloc=xloc.bar_time, color=_color, width=_width)
line.delete(_base_line )
f_draw_needle(_val, _x_center, _radius, _y_axis, _y_scale, _color, _width) =>
_needle = line.new(x1=array.get(x_axis, int(math.round(math.cos(pi / 100 * _val) * (_radius - 1) + radius - 1))), y1=_y_axis + math.sin(pi / 100 * _val) * _y_scale, x2=_x_center, y2=_y_axis, xloc=xloc.bar_time, color=_color, width=_width)
line.delete(_needle )
f_draw_tick(_num, _divisions, _radius_perc, _x_center, _radius, _y_axis, _y_scale, _color, _width) =>
_pos = pi / _divisions * _num
_tick = line.new(x1=array.get(x_axis, int(math.round(math.cos(_pos) * (_radius - 1) + radius - 1))), y1=_y_axis + math.sin(_pos) * _y_scale, x2=array.get(x_axis, int(math.round(math.cos(_pos) * (_radius - 1) * (1 - _radius_perc / 100) + _radius - 1))), y2=_y_axis + math.sin(_pos) * _y_scale * (1 - _radius_perc / 100), xloc=xloc.bar_time, color=_color, width=_width)
line.delete(_tick )
f_draw_sector_label(_num, _divisions, _radius, _y_axis, _y_scale, _color, _txtcolor, _text) =>
_pos = pi / _divisions * _num
_x_coord = array.get(x_axis, int(math.round(math.cos(_pos) * (_radius - 1)) + _radius - 1))
_y_coord = _y_axis + math.sin(_pos) * _y_scale
_sector_label = label.new(x=_x_coord, y=_y_coord, xloc=xloc.bar_time, color=_color, textcolor=_txtcolor, style=_pos <= pi / 6 ? label.style_label_right : _pos < pi / 6 * 2 ? label.style_label_lower_right : _pos <= pi / 6 * 4 ? label.style_label_down : _pos <= pi / 6 * 5 ? label.style_label_lower_left : label.style_label_left, text=_text, size=label_size)
label.delete(_sector_label )
f_draw_title_label(_radius_perc, _x_center, _y_axis, _y_scale, _color, _txtcolor, _text, _pos_y, _size) =>
_y = _y_axis
_style = label.style_label_center
if _pos_y == "top"
_y := _y_axis + _y_scale * 1.2
_style := label.style_label_down
else
_y := _y_axis - _radius_perc / 100 * _y_scale
_style := label.style_label_up
_title_label = label.new(x=_x_center, y=_y, xloc=xloc.bar_time, color=_color, textcolor=_txtcolor, style=_style, text=_text, size=_size)
label.delete(_title_label )
// Draw base components
f_draw_base_line(left_side, right_side, y_axis, color.white, 5)
// Plot sectors with modified colors for MA trends
f_draw_sector(1, 5, 20, radius, y_axis, y_scale, color.red, 10)
f_draw_sector(1, 5, 20, radius, y_axis, y_scale, color.white, 1)
f_draw_sector(2, 5, 20, radius, y_axis, y_scale, color.orange, 10)
f_draw_sector(2, 5, 20, radius, y_axis, y_scale, color.white, 1)
f_draw_sector(3, 5, 20, radius, y_axis, y_scale, color.yellow, 10)
f_draw_sector(3, 5, 20, radius, y_axis, y_scale, color.white, 1)
f_draw_sector(4, 5, 20, radius, y_axis, y_scale, color.lime, 10)
f_draw_sector(4, 5, 20, radius, y_axis, y_scale, color.white, 1)
f_draw_sector(5, 5, 20, radius, y_axis, y_scale, color.green, 10)
f_draw_sector(5, 5, 20, radius, y_axis, y_scale, color.white, 1)
// Draw ticks
f_draw_tick(1, 5, 8, x_center, radius, y_axis, y_scale, color.white, 5)
f_draw_tick(2, 5, 8, x_center, radius, y_axis, y_scale, color.white, 5)
f_draw_tick(3, 5, 8, x_center, radius, y_axis, y_scale, color.white, 5)
f_draw_tick(4, 5, 8, x_center, radius, y_axis, y_scale, color.white, 5)
f_draw_tick(1, 10, 6, x_center, radius, y_axis, y_scale, color.white, 5)
f_draw_tick(3, 10, 6, x_center, radius, y_axis, y_scale, color.white, 5)
f_draw_tick(5, 10, 6, x_center, radius, y_axis, y_scale, color.white, 5)
f_draw_tick(7, 10, 6, x_center, radius, y_axis, y_scale, color.white, 5)
f_draw_tick(9, 10, 6, x_center, radius, y_axis, y_scale, color.white, 5)
// Draw sector labels with MA-specific terminology
f_draw_sector_label(1, 10, radius, y_axis, y_scale, color.red, color.white, 'Strong Down')
f_draw_sector_label(3, 10, radius, y_axis, y_scale, color.orange, color.black, 'Down')
f_draw_sector_label(5, 10, radius, y_axis, y_scale, color.yellow, color.black, 'Neutral')
f_draw_sector_label(7, 10, radius, y_axis, y_scale, color.lime, color.black, 'Up')
f_draw_sector_label(9, 10, radius, y_axis, y_scale, color.green, color.white, 'Strong Up')
// Calculate MA trend strength (0-100)
ma_trend = 50.0
if fast_ma > med_ma and med_ma > slow_ma
ma_trend := 75 + (math.min(math.abs((fast_ma - slow_ma) / slow_ma * 100), 25))
else if fast_ma < med_ma and med_ma < slow_ma
ma_trend := 25 - (math.min(math.abs((fast_ma - slow_ma) / slow_ma * 100), 25))
else if fast_ma > slow_ma
ma_trend := 60 + (math.min(math.abs((fast_ma - slow_ma) / slow_ma * 100), 15))
else if fast_ma < slow_ma
ma_trend := 40 - (math.min(math.abs((fast_ma - slow_ma) / slow_ma * 100), 15))
// Draw the needle and title
f_draw_needle(ma_trend, x_center, radius, y_axis, y_scale, color.blue, 3)
f_draw_title_label(5, x_center, y_axis, y_scale, color.blue, color.black, ma_type + ' TREND', pos_y, label_size)
Göstergeler ve stratejiler
Global M2 Money Supply w/ Days OffsetYet another iteration of the Global M2 Money Supply indicator. This one is grabbed from Colin Talks Crypto who collected it from various sources. It combines numerous M2 charts into a single unified chart and allows time-shifting it against the base chart. Try it with offset values such as 45 or 72.
My changes: This one should have the correct offset in days regardless of the chart time frame. It's still probably a good idea to hide it with timeframes lower than a day or so.
My TMwP## Indicator Description
This indicator is an enhanced version of the Trend Magic indicator, incorporating a clearly defined pivot line to visually indicate potential trend reversals.
The original Trend Magic indicator leverages two key components:
- **Commodity Channel Index (CCI)**: A momentum-based oscillator developed by Donald Lambert in 1980, which measures the current price relative to its average over a specified period.
- **Average True Range (ATR)**: A volatility indicator that captures market volatility by measuring price movement ranges.
### How the Indicator Works
The Commodity Channel Index (CCI) calculation involves three primary steps:
1. **Typical Price Calculation**
The typical price is the average of each period's high, low, and close prices:
$$
\text{Typical Price} = \frac{\text{High} + \text{Low} + \text{Close}}{3}
$$
*(In this indicator, the built-in variable `hlc3` is used.)*
2. **Simple Moving Average (SMA) of Typical Price**
The indicator calculates an SMA of the typical price over a user-defined period.
3. **CCI Calculation**
Finally, the CCI is computed as the difference between the typical price and its SMA, divided by a multiple of the mean deviation.
### Pivot Line and Trend Reversal
The pivot line added to this enhanced Trend Magic indicator clearly marks the price level at which a trend reversal would occur. Specifically, when the asset's price crosses and closes beyond the SMA of the typical price, a pivot occurs—signaling a potential change in market direction. This pivot line thus provides traders with an intuitive visual reference for identifying critical trend reversal points.
### Customizable Parameters
Users can easily customize key parameters through input settings:
- **CCI Period**: Adjusts sensitivity to momentum shifts.
- **ATR Multiplier**: Modifies volatility responsiveness.
- **ATR Period**: Defines the lookback period for volatility calculations.
By fine-tuning these parameters, you can adapt the indicator to their preferred trading style and market conditions.
lucasI designed this indictor to give long/short signals on >30m htf, with entries on lower timeframes <15m. it also gives a bias on market conditions with a highlighted background. green/red/blue to represent a higher likelihood of a trade working in a specific direction. you can set alerts as well! I programmed the functionality with heikin ashi candles, and i highly recommend enabling them. you can tip me on my twitter/X page @100x_leverage (:
PVSRA Candles Auto Override with 5 EMAs - Semper v1PVSRA Candles, 5 EMAs(10, 20, 50, 200, 800), LOD. HOD< LOW, HOW and Asia 50%
Moving Average Convergence DivergenceThis script creates a MACD indicator that not only plots the MACD histogram but also highlights when the histogram switches from rising to falling (or vice versa), which can be useful for identifying potential reversals. The indicator also includes customizable options such as the lengths of the fast and slow EMAs, the type of moving averages used, and the Signal line smoothing period. Alerts are triggered when the MACD histogram changes direction, and a zero line is plotted for better visual reference.
B4100 - NW Trend Ribbon StrategyB4100 - NW Trend Ribbon Strategy: Adaptive Trend Following with Kernel Smoothing
This strategy is a sophisticated trend-following system designed to identify and capitalize on sustained market trends. It combines a ribbon of custom-built moving averages with multiple layers of filtering and confirmation to generate high-probability entry and exit signals. It's highly customizable, allowing you to fine-tune its sensitivity and responsiveness to adapt to various market conditions and timeframes.
What the Strategy Does:
The NW Trend Ribbon Strategy aims to:
Identify the prevailing trend: It uses a ribbon of five moving averages (MAs), each with configurable length and smoothing type, to visually represent and quantify the current market trend.
Filter out noise and false signals: It employs several filters, including an RSI filter, a trend strength filter (based on the RSI of a selected MA), and a trend confirmation period, to reduce the likelihood of entering trades based on short-term fluctuations.
Generate precise entry signals: Entry signals are triggered only when a specified number of MA crossovers occur, the RSI filter (optional) is satisfied, the trend strength filter (optional) is met, and the trend conditions have persisted for a user-defined confirmation period.
Manage risk and protect profits: The strategy includes multiple exit options:
Percentage Trailing Stop: A classic trailing stop that activates at a specified percentage profit and trails the price by a defined offset.
ATR Trailing Stop: A volatility-based trailing stop that uses the Average True Range (ATR) to dynamically adjust the stop level.
ATR Take Profit: A volatility-based take profit that uses the ATR to set a profit target.
Hard Stop Loss: A fixed stop loss, either percentage-based or ATR-based, for maximum risk control.
Control Trade Direction : Allow the user to decide whether they want to enter Long trades, short trades, or both.
How It Works:
The strategy's core logic revolves around these key components:
Kernel-Smoothed Moving Averages: Instead of standard moving averages (SMA, EMA, etc.), this strategy uses *kernel smoothing*. This allows for more flexible and adaptive smoothing than traditional MAs. You can choose from three kernel types:
Beta Kernel: This is the most versatile option. It allows you to control *positive* and *negative* lag independently using the `alpha` and `beta` parameters. This means you can make the MA react slower to price increases and faster to price decreases (or vice versa), which can be particularly useful in trending markets.
Gaussian Kernel: A classic smoothing kernel that creates a bell-shaped weighting. The `bandwidth` parameter controls the width of the bell curve; a smaller bandwidth makes the MA more responsive.
Epanechnikov Kernel: Similar to the Gaussian kernel, but with a slightly different shape. It also uses a `bandwidth` parameter.
MA Ribbon: The five MAs form a "ribbon" on the chart. The alignment and relative positions of the MAs provide a visual indication of trend strength and direction.
Crossover Detection: The strategy monitors the crossovers between consecutive MAs in the ribbon. You can specify how many crossovers are required to generate a potential signal.
RSI Filter (Optional): This filter helps avoid entries during overextended market conditions. For long entries, the RSI must be below the oversold level; for short entries, it must be above the overbought level.
Trend Strength Filter (Optional): This unique filter uses the RSI of one of the moving averages (you choose which one) to measure the *strength* of the trend. This helps to ensure that you're entering trades in the direction of a strong, established trend.
Trend Confirmation: To further reduce false signals, the strategy requires that the entry conditions (MA crossovers, RSI, and trend strength) be met for a specified number of consecutive bars before a trade is actually triggered.
Exit Logic: The strategy prioritizes exits in the following order: Hard Stop Loss, Trailing Stop (Percentage or ATR-based), and Take Profit (ATR-based). This ensures that losses are minimized and profits are protected.
What Makes It Unique:
This strategy stands out from other indicators and strategies due to several key features:
Highly Customizable Kernel Smoothing: The use of kernel smoothing, especially the Beta kernel, provides a level of control over MA responsiveness that is not available with standard MAs. This allows for a much more adaptive and nuanced approach to trend following.
Combined Trend Strength and Confirmation: The combination of the trend strength filter (using the RSI of an MA) and the trend confirmation period provides a robust filtering mechanism that goes beyond simple MA crossovers or RSI readings. This helps to filter out weak trends and whipsaws.
Multiple, Prioritized Exit Options: The strategy's exit logic is sophisticated, offering a combination of fixed and dynamic stops and take profit levels. The prioritization ensures that the most conservative exit (hard stop) is triggered first, followed by the trailing stops, and finally the take profit.
Comprehensive Input Grouping: All inputs have been sorted into groups that control certain aspects of the strategy. This allows users to easily and quickly locate and adjust inputs as they see fit.
Trade Direction Control : Unlike many strategies, this one lets you independently enable or disable long and short trades.
All-in-one trend system: This indicator combines multiple aspects needed for trading: entry signals, stop loss calculations, take profit calculations.
In summary, the NW Trend Ribbon Strategy is a powerful and flexible trend-following system that combines the visual clarity of a moving average ribbon with the advanced filtering and risk management capabilities of kernel smoothing, RSI, trend strength, and multiple exit options. It's designed for traders who want a customizable and robust tool for identifying and trading sustained market trends.
Scalping PullBack Tool + RSI CrossoverThis Pine Script code is designed for **scalping trading strategies** by combining **Price Action Channel (PAC) & RSI Crossover signals**. It provides trend visualization, buy/sell signals, and alerts.
---
## **📌 Features:**
### ✅ **1. Price Action Channel (PAC)**
- A channel based on **Exponential Moving Averages (EMAs)**:
- `pacC`: EMA of closing price
- `pacL`: EMA of low price
- `pacU`: EMA of high price
- Used to detect price **pullbacks and breakouts**.
### ✅ **2. Exponential Moving Averages (EMAs)**
- Three EMAs to determine trend direction:
- **Fast EMA (89)**
- **Medium EMA (200)**
- **Slow EMA (600)** (optional)
- Trend is **Bullish** if `fastEMA > mediumEMA` and `pacL > mediumEMA`, and **Bearish** if `fastEMA < mediumEMA` and `pacU < mediumEMA`.
### ✅ **3. RSI Crossover System**
- **Relative Strength Index (RSI)** is calculated to measure momentum.
- **RSI-based EMA (9-period EMA of RSI)**
- **Buy Signal**: RSI crosses **above** RSI-EMA & RSI-EMA > 50.
- **Sell Signal**: RSI crosses **below** RSI-EMA & RSI-EMA < 50.
### ✅ **4. Visualization**
- **PAC Channel Fill**: Gray shading to highlight the price channel.
- **EMA Ribbons**: Green (Fast), Blue (Medium), Black (Slow).
- **Bar Coloring**:
- **Blue** if price > PAC upper band.
- **Red** if price < PAC lower band.
- **Background Coloring**:
- **Green** for bullish trends.
- **Red** for bearish trends.
- **Yellow** for neutral.
### ✅ **5. Alerts for Buy/Sell**
- **Buy Alert**: When RSI crosses **above** RSI-based EMA.
- **Sell Alert**: When RSI crosses **below** RSI-based EMA.
---
## **🛠 How to Use:**
1. **Apply the script** to a TradingView chart.
2. **Enable EMA and PAC Channel** to see trend direction.
3. **Watch for Buy/Sell signals**:
- **Green ‘BUY’ label** below bars.
- **Red ‘SELL’ label** above bars.
4. **Use alerts** to notify you of trading opportunities.
---
### **🔍 Summary**
This script helps scalpers and short-term traders **identify pullbacks & momentum shifts** using **PAC and RSI crossovers**. It provides clear **visual indicators & alerts** to assist in **quick decision-making**.
Let me know if you need modifications or explanations for specific parts! 🚀
Fibonacci-Only Strategy V2Fibonacci-Only Strategy V2
This strategy combines Fibonacci retracement levels with pattern recognition and statistical confirmation to identify high-probability trading opportunities across multiple timeframes.
Core Strategy Components:
Fibonacci Levels: Uses key Fibonacci retracement levels (19% and 82.56%) to identify potential reversal zones
Pattern Recognition: Analyzes recent price patterns to find similar historical formations
Statistical Confirmation: Incorporates statistical analysis to validate entry signals
Risk Management: Includes customizable stop loss (fixed or ATR-based) and trailing stop features
Entry Signals:
Long entries occur when price touches or breaks the 19% Fibonacci level with bullish confirmation
Short entries require Fibonacci level interaction, bearish confirmation, and statistical validation
All signals are visually displayed with color-coded markers and dashboard
Trading Method:
When a triangle signal appears, open a position on the next candle
Alternatively, after seeing a signal on a higher timeframe, you can switch to a lower timeframe to find a more precise entry point
Entry signals are clearly marked with visual indicators for easy identification
Risk Management Features:
Adjustable stop loss (percentage-based or ATR-based)
Optional trailing stops for protecting profits
Multiple take-profit levels for strategic position exit
Customization Options:
Timeframe selection (1m to Daily)
Pattern length and similarity threshold adjustment
Statistical period and weight configuration
Risk parameters including stop loss and trailing stop settings
This strategy is particularly well-suited for cryptocurrency markets due to their tendency to respect Fibonacci levels and technical patterns. Crypto's volatility is effectively managed through the customizable stop-loss and trailing-stop mechanisms, making it an ideal tool for traders in digital asset markets.
For optimal performance, this strategy works best on higher timeframes (30m, 1h and above) and is not recommended for low timeframe scalping. The Fibonacci pattern recognition requires sufficient price movement to generate reliable signals, which is more consistently available in medium to higher timeframes.
Users should avoid trading during sideways market conditions, as the strategy performs best during trending markets with clear directional movement. The statistical confirmation component helps filter out some sideways market signals, but it's recommended to manually avoid ranging markets for best results.
ORB MOTORB MOT - Opening Range Breakout Indicator (Educational purpos only)
The ORB MOT (Opening Range Breakout Multi-Option Tool) is a powerful TradingView indicator designed to help traders identify and capitalize on market breakouts based on the opening range. This tool provides extensive customization options, allowing traders to fine-tune their breakout strategies according to different timeframes and trading sessions.
Key Features:
Configurable Opening Range: Traders can define the opening range period (1, 2, 3, 5, 15, or 30 minutes) to suit their trading strategy.
Session-Based Analysis: The indicator automatically adjusts for market session times and provides an optional international override for different time zones.
Visual Representation: ORB levels are displayed with clear labels, shaded regions, and customizable colors for easy identification.
Breakout and Retest Detection: Identifies breakout points and potential retests, helping traders make informed decisions.
Multiple Price Targets: Calculates and plots key levels such as 50%, 100%, 150%, and 200% price targets for potential trade exits.
Fibonacci Extensions: Optional Fibonacci targets (21.2%, 61.8%) can be displayed for additional market confluence.
Alerts and Notifications: Provides alerts for breakout conditions, ensuring traders don’t miss critical movements.
How It Works:
The indicator calculates the high and low of the selected opening range.
Breakout points are identified when price crosses above or below the range.
The indicator plots multiple price targets based on the range's size.
Traders can visualize past ORB levels and retests for better trend analysis.
Alerts notify users of significant breakout events.
Who Can Use This Indicator?
Scalpers & Day Traders: Perfect for identifying quick breakout opportunities.
Swing Traders: Helps determine key levels for potential reversals or trend continuations.
Institutional & Retail Traders: Useful for analyzing market structure and setting price targets.
The ORB MOT indicator is a must-have tool for traders looking to refine their breakout strategy with precision and ease. Whether you're a beginner or an experienced trader, this indicator provides valuable insights into market movements and trading opportunities.
Cryptogenik's Inflation-Adjusted Candles v2025Inflation-Adjusted Price Indicator by Cryptogenik
This indicator adjusts price data for inflation, allowing you to visualize how stock/asset prices would look with constant purchasing power. By using Consumer Price Index (CPI) data from FRED, it transforms nominal prices into inflation-adjusted values that reflect real-world purchasing power.
What This Indicator Does
The Inflation-Adjusted Price indicator converts traditional price charts to show what prices would be if the purchasing power of currency remained constant. This is essential for long-term analysis, as it removes the distortion caused by inflation when comparing prices across different time periods.
Key Features
Displays inflation-adjusted price candles alongside original prices
Uses official CPI data from the Federal Reserve (FRED:CPIAUCSL)
Allows easy comparison between nominal and real prices
Helps identify true price movements by filtering out the effects of inflation
Perfect for long-term investors and macroeconomic analysis
How To Use It
Apply the indicator to any chart
Green/red candles show the inflation-adjusted prices
Gray line shows the original unadjusted price
The information label displays the current CPI value
This indicator is particularly valuable for analyzing stocks, commodities, and other assets over periods of 5+ years, where inflation effects become significant. It helps answer the question: "Has this asset truly increased in value, or is the price increase just reflecting inflation?"
Technical Details
The indicator calculates adjusted prices using the formula: (price / CPI) * 100, which effectively shows prices as a percentage of current purchasing power. This approach normalizes all prices to a consistent standard, making historical comparisons more meaningful.
Cryptogenik's Inflation-Adjusted Candles v2025
Opening Lines (M15, H1 & H4) with Wickless Candle DetectorTailored for day traders, this technical analysis indicator serves as a multi-timeframe opening price visualization tool, displaying real-time and historical opening price levels across three distinct time intervals to enhance pattern identification and strategic decision-making. Additionally, the tool incorporates a ‘Wickless Candle Detector’ feature, which annotates candles that open without upper or lower wicks. Empirical observations suggest these wickless candles often act as future price magnets, particularly in index futures such as the Nasdaq and S&P500, making them critical reference points for market analysis.
Key Features:
1) Multi-Timeframe Opening Price Visualization:
◦ Plots horizontal reference lines for opening prices across:
▪ 15-minute (M15)
▪ 1-hour (H1)
▪ 4-hour (H4) timeframes
◦ Lines dynamically extend throughout their respective periods or can be configured to a fixed bar offset
2) Wickless Candle Detection System:
◦ Automatically marks wickless candles with a discrete symbol at their opening price level
◦ Symbols are removed upon either:
▪ Price breaching the opening level by ≥1 tick
▪ A 24-hour expiration period (whichever occurs first)
3) Customization and Flexibility:
◦ Toggle visibility for individual timeframes, historical opening lines, and the Wickless Candle Detector
◦ Full customization of visual elements (colors, line styles, symbols) to align with user preferences or trading platform themes
Clustering & Divergences (RSI-Stoch-CCI) [Sam SDF-Solutions]The Clustering & Divergences (RSI-Stoch-CCI) indicator is a comprehensive technical analysis tool that consolidates three popular oscillators—Relative Strength Index (RSI), Stochastic, and Commodity Channel Index (CCI)—into one unified metric called the Score. This Score offers traders an aggregated view of market conditions, allowing them to quickly identify whether the market is oversold, balanced, or overbought.
Functionality:
Oscillator Clustering: The indicator calculates the values of RSI, Stochastic, and CCI using user-defined periods. These oscillator values are then normalized using one of three available methods: MinMax, Z-Score, or Z-Bins.
Score Calculation: Each normalized oscillator value is multiplied by its respective weight (which the user can adjust), and the weighted values are summed to generate an overall Score. This Score serves as a single, interpretable metric representing the combined oscillator behavior.
Market Clustering: The indicator performs clustering on the Score over a configurable window. By dividing the Score range into a set number of clusters (also configurable), the tool visually represents the market’s state. Each cluster is assigned a unique color so that traders can quickly see if the market is trending toward oversold, balanced, or overbought conditions.
Divergence Detection: The script automatically identifies both Regular and Hidden divergences between the price action and the Score. By using pivot detection on both price and Score data, the indicator marks potential reversal signals on the chart with labels and connecting lines. This helps in pinpointing moments when the price and the underlying oscillator dynamics diverge.
Customization Options: Users have full control over the indicator’s behavior. They can adjust:
The periods for each oscillator (RSI, Stochastic, CCI).
The weights applied to each oscillator in the Score calculation.
The normalization method and its manual boundaries.
The number of clusters and whether to invert the cluster order.
Parameters for divergence detection (such as pivot sensitivity and the minimum/maximum bar distance between pivots).
Visual Enhancements:
Depending on the user’s preference, either the Score or the Cluster Index (derived from the clustering process) is plotted on the chart. Additionally, the script changes the color of the price bars based on the identified cluster, providing an at-a-glance visual cue of the current market regime.
Logic & Methodology:
Input Parameters: The script starts by accepting user inputs for clustering settings, oscillator periods, weights, divergence detection, and manual boundary definitions for normalization.
Oscillator Calculation & Normalization: It computes RSI, Stochastic, and CCI values from the price data. These values are then normalized using either the MinMax method (scaling between a lower and upper band) or the Z-Score method (standardizing based on mean and standard deviation), or using Z-Bins for an alternative scaling approach.
Score Computation: Each normalized oscillator is multiplied by its corresponding weight. The sum of these products results in the overall Score that represents the combined oscillator behavior.
Clustering Algorithm: The Score is evaluated over a moving window to determine its minimum and maximum values. Using these values, the script calculates a cluster index that divides the Score into a predefined number of clusters. An option to invert the cluster calculation is provided to adjust the interpretation of the clustering.
Divergence Analysis: The indicator employs pivot detection (using left and right bar parameters) on both the price and the Score. It then compares recent pivot values to detect regular and hidden divergences. When a divergence is found, the script plots labels and optional connecting lines to highlight these key moments on the chart.
Plotting: Finally, based on the user’s selection, the indicator plots either the Score or the Cluster Index. It also overlays manual boundary lines (for the chosen normalization method) and adjusts the bar colors according to the cluster to provide clear visual feedback on market conditions.
_________
By integrating multiple oscillator signals into one cohesive tool, the Clustering & Divergences (RSI-Stoch-CCI) indicator helps traders minimize subjective analysis. Its dynamic clustering and automated divergence detection provide a streamlined method for assessing market conditions and potentially enhancing the accuracy of trading decisions.
For further details on using this indicator, please refer to the guide available at:
Swing Trading Trend DirectionEasily identify trend direction. Use in conjuction with analysis of other confirmation to make probable trading decisions.
Taka Swing Didi IndexEs un indicador de un solo me todo de entrada, hacemos entradas tan pronto salga el punto y haga un cierre de velas. Lo cual se podría combinar con otros indicadores
M2 Global Liquidity Index - 10 Week Lead
M2 Global Liquidity Index - Forward Projection (10 Weeks)
This indicator provides a 10-week forward projection of the M2 Global Liquidity Index, offering traders insight into potential future market conditions based on global money supply trends.
What This Indicator Shows
The M2 Global Liquidity Index aggregates M2 money stock data from five major economies:
- China (CNY)
- United States (USD)
- European Union (EUR)
- Japan (JPY)
- Great Britain (GBP)
All values are converted to USD and presented as a unified global liquidity metric, providing a comprehensive view of worldwide monetary conditions.
Forward Projection Feature
This adaptation displays the indicator 10 weeks ahead of the current price, allowing you to visualize potential future liquidity conditions that might influence market behavior. The projection maintains data integrity while providing an advanced view of the liquidity landscape.
Trading Applications
- Anticipate potential market reactions to changing global liquidity conditions
- Identify divergences between projected liquidity and current price action
- Develop longer-term strategic positions based on forward liquidity projections
- Enhance your macro-economic analysis toolkit
Credit
This indicator is an adaptation of the original "M2 Global Liquidity Index" created by Mik3Christ3ns3n. Full credit for the original concept and implementation goes to the original author. This version simply adds a 10-week forward projection to the existing calculations.
Disclaimer
This indicator is for informational purposes only and should be used as one of many tools in your analysis. Past performance and projections are not guarantees of future results.
Buy/Sell Signals based on EMA CrossI, Kimaya Bavakay have done some backtesting for you, Please use this on DAILY TF ONLY and It shall only be used for EQUITY STOCKS!!!
Enhanced MACD with Volume Strength and EMA SignalsEnhanced MACD with volume strength and ema signals. Cleaner chart look with higher accuracy. and buy sell signals.
Moving Average with Multiplier_AshuMoving Average with Multiplier_Ashu. this script takes into account lower and upper extremes and moving average multipliers