My script// This Pine Script™ code is subject to the terms of the Mozilla Public License 2.0 at mozilla.org
// © junxi6147
//@version=6
indicator("My script")
plot(close)
市場センチメントを測るインジケーター
Moving Average Crossover Strategythis is simple moving average crossover strategy with 2 sma. on different time frames and variable sma parameters
Trend-Following Strategy (EMA 50/200)The Trend-Following Strategy is one of the simplest and most effective trading approaches, especially for XAU/USD (gold vs. USD). The goal is to identify the market trend (uptrend or downtrend) and trade in the same direction, avoiding reversals or counter-trend trades.
Pivot Points Standardthis will help in using vwap and piviot together you can use one indicator for both.
Buy/Sell Signals for CM_Williams_Vix_FixThis script in Pine Script is designed to create an indicator that generates buy and sell signals based on the Williams VIX Fix (WVF) indicator. Here’s a brief explanation of how this script works:
Main Components:
Williams VIX Fix (WVF) – This volatility indicator is calculated using the formula:
WVF
=
(
highest(close, pd)
−
low
highest(close, pd)
)
×
100
WVF=(
highest(close, pd)
highest(close, pd)−low
)×100
where highest(close, pd) represents the highest closing price over the period pd, and low represents the lowest price over the same period.
Bollinger Bands are used to determine levels of overbought and oversold conditions. They are constructed around the moving average (SMA) of the WVF value using standard deviation (SD).
Ranges based on percentiles help identify extreme levels of WVF values to spot entry and exit points.
Buy and sell signals are generated when the WVF crosses the Bollinger Bands lines or reaches the ranges based on percentiles.
Adjustable Parameters:
LookBack Period Standard Deviation High (pd): The lookback period for calculating the highest closing price.
Bolinger Band Length (bbl): The length of the period for constructing the Bollinger Bands.
Bollinger Band Standard Devaition Up (mult): The multiplier for the standard deviation used for the upper Bollinger Band.
Look Back Period Percentile High (lb): The lookback period for calculating maximum and minimum WVF values.
Highest Percentile (ph): The percentile threshold for determining the high level.
Lowest Percentile (pl): The percentile threshold for determining the low level.
Show High Range (hp): Option to display the range based on percentiles.
Show Standard Deviation Line (sd): Option to display the standard deviation line.
Signals:
Buy Signal: Generated when the WVF crosses above the lower Bollinger Band or falls below the lower boundary of the percentile-based range.
Sell Signal: Generated when the WVF crosses below the upper Bollinger Band or rises above the upper boundary of the percentile-based range.
These signals are displayed as triangles below or above the candles respectively.
Application:
The script can be used by traders to analyze market conditions and make buying or selling decisions based on volatility and price behavior.
Pivot Points Standardit will help to merge one indicator in 2.like in this you can use piviot and vwap both together.
Hilega Milega Automated Strategythis strategy for nk sir i will make changes , before taken trade please backtest it , i am not responsible for your loss
Meta5 Scalping Indicator//@version=5
indicator("Meta5 Scalping Indicator", shorttitle="MSI", overlay=true)
// Inputs for Moving Averages
fastLength = input.int(9, title="Fast EMA Length")
slowLength = input.int(21, title="Slow EMA Length")
// Inputs for RSI
rsiLength = input.int(14, title="RSI Length")
rsiOverbought = input.int(70, title="RSI Overbought Level")
rsiOversold = input.int(30, title="RSI Oversold Level")
// Inputs for Scalping Conditions
atrLength = input.int(14, title="ATR Length")
atrMultiplier = input.float(1.5, title="ATR Multiplier")
// Calculations
fastEMA = ta.ema(close, fastLength)
slowEMA = ta.ema(close, slowLength)
rsi = ta.rsi(close, rsiLength)
atr = ta.atr(atrLength)
// Conditions for Buy and Sell Signals
bullishCondition = ta.crossover(fastEMA, slowEMA) and rsi < rsiOversold
bearishCondition = ta.crossunder(fastEMA, slowEMA) and rsi > rsiOverbought
// Stop Loss and Take Profit Levels
longStopLoss = close - (atr * atrMultiplier)
shortStopLoss = close + (atr * atrMultiplier)
// Plot Buy and Sell Signals
plotshape(bullishCondition, title="Buy Signal", style=shape.labelup, location=location.belowbar, color=color.new(color.green, 0))
plotshape(bearishCondition, title="Sell Signal", style=shape.labeldown, location=location.abovebar, color=color.new(color.red, 0))
// Plot EMAs
plot(fastEMA, title="Fast EMA", color=color.blue)
plot(slowEMA, title="Slow EMA", color=color.orange)
// Background Color for Overbought and Oversold RSI
bgcolor(rsi > rsiOverbought ? color.new(color.red, 90) : rsi < rsiOversold ? color.new(color.green, 90) : na)
Multi-Timeframe RSI StrategyRSI indicator trend trading, it is also known as GFS trading system. the trading system is develop by Malkan sir
Chained Inside BarsThis script identifies consecutive inside bars by referencing only the most recent non-inside bar, so it avoids excessive lookback. An “inside” bar means its high is lower than the reference bar’s high, and its low is higher than the reference bar’s low. If the current bar is inside, it’s colored white; once price breaks outside, the script updates that new bar as the next reference.
Key Points
• Bars are compared against the last non-inside bar, chaining consecutive inside bars off that same reference bar.
• Inside bars are highlighted in white (non-inside bars retain default chart colors).
• Includes an alert condition for when a new inside bar forms.
• Prevents large dynamic indexing, making it more stable and efficient.
Use this indicator to quickly spot consecutive inside-bar formations without needing to track every single bar-to-bar relationship.
BALA IndicatorThe BALA Indicator is a custom trading tool designed to simplify decision-making by combining multiple technical analysis strategies into one cohesive system. It provides buy and sell signals based on a combination of trend-following and momentum indicators, ensuring traders can identify optimal entry and exit points in the market.
AMG Supply and Demand ZonesSupply and Demand Zones Indicator
This indicator identifies and visualizes supply and demand zones on the chart to help traders spot key areas of potential price reversals or continuations. The indicator uses historical price data to calculate zones based on high/low ranges and a customizable ATR-based fuzz factor.
Key Features:
Back Limit: Configurable look-back period to identify zones.
Zone Types: Options to display weak, untested, and turncoat zones.
Customizable Parameters: Adjust fuzz factor and visualization settings.
Usage:
Use this indicator to enhance your trading strategy by identifying key supply and demand areas where price is likely to react.
You can customize this further based on how you envision users benefiting from your indicator. Let me know if you'd like to add or adjust anything!
Flow-Weighted Volume Oscillator (FWVO)Volume Dynamics Oscillator (VDO)
Description
The Volume Dynamics Oscillator (VDO) is a powerful and innovative tool designed to analyze volume trends and provide traders with actionable insights into market dynamics. This indicator goes beyond simple volume analysis by incorporating a smoothed oscillator that visualizes the flow and momentum of trading activity, giving traders a clearer understanding of volume behavior over time.
What It Does
The VDO calculates the flow of volume by scaling raw volume data relative to its highest and lowest values over a user-defined period. This scaled volume is then smoothed using an exponential moving average (EMA) to eliminate noise and highlight significant trends. The oscillator dynamically shifts above or below a zero line, providing clear visual cues for bullish or bearish volume pressure.
Key features include:
Smoothed Oscillator: Displays the direction and momentum of volume using gradient colors.
Threshold Markers: Highlights overbought or oversold zones based on upper and lower bounds of the oscillator.
Visual Fill Zones: Uses color-filled areas to emphasize positive and negative volume flow, making it easy to interpret market sentiment.
How It Works
The calculation consists of several steps:
Smoothing with EMA: An EMA of the scaled volume is applied to reduce noise and enhance trends. A separate EMA period can be adjusted by the user (Volume EMA Period).
Dynamic Thresholds: The script determines upper and lower bounds around the smoothed oscillator, derived from its recent highest and lowest values. These thresholds indicate critical zones of volume momentum.
How to Use It
Bullish Signals: When the oscillator is above zero and green, it suggests strong buying pressure. A crossover from negative to positive can signal the start of an uptrend.
Bearish Signals: When the oscillator is below zero and blue, it indicates selling pressure. A crossover from positive to negative signals potential bearish momentum.
Overbought/Oversold Zones: Use the upper and lower threshold levels as indicators of extreme volume momentum. These can act as early warnings for trend reversals.
Traders can adjust the following inputs to customize the indicator:
High/Low Period: Defines the period for volume scaling.
Volume EMA Period: Adjusts the smoothing factor for the oscillator.
Smooth Factor: Controls the responsiveness of the smoothed oscillator.
Originality and Usefulness
The VDO stands out by combining dynamic volume scaling, EMA smoothing, and gradient-based visualization into a single, cohesive tool. Unlike traditional volume indicators, which often display raw or cumulative data, the VDO emphasizes relative volume strength and flow, making it particularly useful for spotting reversals, confirming trends, and identifying breakout opportunities.
The integration of color-coded fills and thresholds enhances usability, allowing traders to quickly interpret market conditions without requiring deep technical expertise.
Chart Recommendations
To maximize the effectiveness of the VDO, use it on a clean chart without additional indicators. The gradient coloring and filled zones make it self-explanatory, but traders can overlay basic trendlines or support/resistance levels for additional context.
For advanced users, the VDO can be paired with price action strategies, candlestick patterns, or other trend-following indicators to improve accuracy and timing.
MB 3ST+EMA+StochRSI Martin Buecker 16.01.2025Short Description of the Indicator "MB 3ST+EMA+StochRSI Martin Buecker 16.01.2025"
This trend-following and momentum-based indicator combines Supertrend, EMA 200, and Stochastic RSI to generate buy and sell signals with improved accuracy.
1. Key Components
Supertrend (3 variations):
Uses three Supertrend indicators with different periods to confirm trend direction.
Buy signal when at least 2 Supertrends are bearish.
Sell signal when at least 2 Supertrends are bullish.
EMA 200 (Exponential Moving Average):
Buy signals only when the price is above EMA 200 (uptrend confirmation).
Sell signals only when the price is below EMA 200 (downtrend confirmation).
Multi-Timeframe Stochastic RSI:
Uses a higher timeframe Stoch RSI (default: 15 minutes) to filter signals.
Buy signal when %K crosses above %D (bullish momentum).
Sell signal when %K crosses below %D (bearish momentum).
2. Signal Generation
📈 Buy Signal Conditions:
✅ At least 2 of 3 Supertrends are bearish
✅ Price is above EMA 200
✅ Stoch RSI shows a bullish crossover (%K > %D)
📉 Sell Signal Conditions:
✅ At least 2 of 3 Supertrends are bullish
✅ Price is below EMA 200
✅ Stoch RSI shows a bearish crossover (%K < %D)
3. Visual Representation & Alerts
Supertrend Lines:
Green = Bullish, Red = Bearish
EMA 200: White Line
Buy/Sell Signals:
Green triangle (below bar) = Buy
Red triangle (above bar) = Sell
Alerts:
Notifies users when a buy or sell signal is triggered.
Background Coloring:
Green for Buy signals, Red for Sell signals
4. Purpose & Benefits
🔥 Combines trend (EMA 200, Supertrend) and momentum analysis (Stoch RSI) for better signal accuracy.
🔥 Works best in trending markets, filtering out false signals in sideways movements.
🔥 Suitable for scalping and day trading, providing clear and structured trade entries.
MACD DEMA DEMİRHANMACD Demanın kesişim işaretlenmiş halidir.! Klasik Macd Dema diğer macd göre daha erken sinyal vermesiyle ünlüdür. Bu kodu tasarlayıp yatırımcılara daha etkin al ve sat kesişimleri belirleyip daha rahat ve konforlu analiz etme olanağı sağlamaktadır.
VWMACD-MFI-OBV Composite# MACD-MFI-OBV Composite
A dynamic volume-based technical indicator combining Volume-Weighted MACD, Money Flow Index (MFI), and normalized On Balance Volume (OBV). This composite indicator excels at identifying breakouts and strong trend movements through multiple volume confirmations, making it particularly effective for momentum and high-volatility trading environments.
## Overview
The indicator integrates trend, momentum, and cumulative volume analysis into a unified visualization system. Each component is carefully normalized to enable direct comparison, while the background color system provides instant trend recognition. This version is specifically optimized for breakout detection and strong trend confirmation.
## Core Components
### Volume-Weighted MACD
Visualized through the background color system, this enhanced MACD implementation uses Volume-Weighted Moving Averages (VWMA) instead of traditional EMAs. This modification ensures greater sensitivity to volume-supported price movements while filtering out less significant low-volume price changes. The background alternates between green (bullish) and red (bearish) to provide immediate trend feedback.
### Money Flow Index (MFI)
Displayed as the purple line, the MFI functions as a volume-weighted momentum oscillator. Operating within a natural 0-100 range, it helps identify potential overbought and oversold conditions while confirming volume support for price movements. The MFI is particularly effective at validating breakout momentum.
### Normalized On Balance Volume (OBV)
The white line represents normalized OBV, providing insight into cumulative buying and selling pressure. The normalization process scales OBV to match other components while maintaining its ability to confirm price trends through volume analysis. This component excels at identifying strong breakout movements and volume surges.
## Signal Integration
The indicator generates its most powerful signals when all three components align, particularly during breakout conditions:
Strong Bullish Signals develop when:
- Background shifts to green (VWMACD bullish)
- MFI shows strong upward momentum
- OBV demonstrates sharp volume accumulation
Strong Bearish Signals emerge when:
- Background turns red (VWMACD bearish)
- MFI exhibits downward momentum
- OBV shows significant volume distribution
## Market Application
This indicator variant is specifically designed for:
Breakout Trading:
The OBV component provides excellent sensitivity to volume surges, making it ideal for breakout confirmation and momentum validation.
Trend Following:
Sharp OBV movements combined with MFI momentum help identify and confirm strong trending conditions.
High Volatility Markets:
The indicator's design excels in active, volatile markets where clear signal generation is crucial for decision-making.
## Technical Implementation
Default Parameters:
Volume-Weighted MACD maintains traditional periods (12/26/9) while leveraging volume weighting. MFI uses standard 14-period calculation with 80/20 overbought/oversold thresholds. All components undergo normalization over a 100-period lookback for stable comparison.
Visual Elements:
- Background: VWMACD trend indication (green/red)
- Purple Line: Money Flow Index
- White Line: Normalized OBV
- Yellow Line: Combined signal (arithmetic mean of normalized components)
- Reference Lines: Key levels at 20, 50, and 80
## Trading Methodology
The indicator supports a systematic approach to breakout and momentum trading:
1. Breakout Identification
Monitor for background color changes accompanied by significant OBV movement, indicating potential breakout conditions.
2. Volume Surge Confirmation
Examine OBV slope and magnitude to confirm genuine breakout scenarios versus false moves.
3. Momentum Validation
Use MFI to confirm breakout strength and identify potential exhaustion points.
4. Combined Signal Analysis
The yellow line provides a unified view of all components, helping identify high-probability breakout opportunities.
## Interpretation Guidelines
Breakout Confirmation:
Strong breakouts typically show alignment of all three components with notable OBV surge. This configuration often precedes significant price movements.
Trend Strength:
Continuous OBV expansion during trends, supported by steady MFI readings, suggests sustained momentum.
## Market Selection
Optimal Markets Include:
- High-beta growth stocks
- Momentum-driven securities
- Stocks with significant volatility
- Active trading instruments
- Examples: TSLA, NVDA, growth stocks
## Version Information
Current Version: 2.0.0
This indicator represents a specialized adaptation of volume-based analysis, optimized for breakout trading and momentum strategies in high-volatility environments.
Support Resistance with Moving AveragesFilter Lambda Issue:
Removed the array.filter() lambda call and replaced it with a loop to maintain compatibility.
Improved Support/Resistance Level Management:
Added explicit checks to ensure levels are within the loopback period.
Syntax Fixes:
Verified all parentheses and lambda functions to prevent mismatched input errors.
Streamlined Logic:
Cleaned up redundant or unnecessary conditions.
STOCKDALE VERSION1EMA 골든크로스, RSI 상승 다이버전스, Stochastic RSI 골든크로스, MACD 양수, OBV 상승 조건이 모두 충족되었을 때, 매수 신호를 생성합니다. 또한, 거래량이 높은 구간에서만 신호를 필터링합니다.
FACTOR MONITORThe Factor Monitor is a comprehensive designed to track relative strength and standard deviation movements across multiple market segments and investment factors. The indicator calculates and displays normalized percentage moves and their statistical significance (measured in standard deviations) across daily, 5-day, and 20-day periods, providing a multi-timeframe view of market dynamics.
Key Features:
Real-time tracking of relative performance between various ETF pairs (e.g., QQQ vs SPY, IWM vs SPY)
Standard deviation scoring system that identifies statistically significant moves
Color-coded visualization (green/red) for quick interpretation of relative strength
Multiple timeframe analysis (1-day, 5-day, and 20-day moves)
Monitoring of key market segments:
Style factors (Value, Growth, Momentum)
Market cap segments (Large, Mid, Small)
Sector relative strength
Risk factors (High Beta vs Low Volatility)
Credit conditions (High Yield vs Investment Grade)
The tool is particularly valuable for:
Identifying significant factor rotations in the market
Assessing market breadth through relative strength comparisons
Spotting potential trend changes through statistical deviation analysis
Monitoring sector leadership and market regime shifts
Quantifying the magnitude of market moves relative to historical norms
Enhanced SPX and BTC Overlay with EMASPX-BTC Momentum Gauge and EMA Cross Indicator
Thorough Analysis:
• Combined Overlay (Green/Red Line):
o Function: Plots a wide line over the price chart, representing a composite of SPX and BTC dynamics adjusted by volume data.
o Color Coding:
Green: Indicates bullish conditions when the combined value exceeds its 10-period SMA and Bitcoin volume increases.
Red: Signals bearish conditions when the combined value drops below its 10-period SMA and Bitcoin volume decreases.
o Line Characteristics:
Width: Set at 8 for high visibility.
Transparency: 86% for both colors to overlay without obscuring candlesticks.
Scaling: Uses a factor of 0.02446 to amplify movements, making trend changes more noticeable.
• Continuous Bright Red and Green Lines:
o 20-period EMA of Current Ticker (Red):
Purpose: Acts as a medium-term trend indicator, smoothing price data to reflect the asset's general direction over time.
Color: Bright red for easy identification.
Transparency: 60% to keep it visible but not overpowering.
o 5-period EMA of BTC (Green):
Purpose: Provides insights into short-term Bitcoin momentum, capturing rapid changes in market sentiment.
Color: Bright green to distinguish from the red EMA.
Transparency: 30% for high visibility against price movements.
Detailed Analysis of the EMA Cross:
• Crossing Points:
o Bullish Crossover:
Occurs when the 5-period BTC EMA (green) moves above the 20-period EMA of the current ticker (red).
Suggests that Bitcoin's short-term momentum is gaining strength relative to the asset's medium-term trend, potentially signaling an upcoming uptrend or strengthening of an existing one.
o Bearish Crossover:
When the green line falls below the red, it indicates that Bitcoin's immediate momentum is weakening compared to the asset's medium-term trend, which might precede a downtrend or confirm one.
• Early Trade Signals:
o Entry/Exit Points:
These crossovers can guide traders in making timely decisions to enter or exit trades, especially when corroborated by the combined overlay's color.
o Confirmation:
EMA crossovers can confirm trends indicated by the combined overlay. For example, a bullish crossover with a green combined line could validate a buying opportunity.
o Volatility Insights:
The rapid shifts in Bitcoin's 5-period EMA highlight potential volatility spikes, offering an additional layer of market analysis, particularly useful in volatile markets.
• Strategic Use:
o Multi-Market Insight: The script integrates data from both traditional (SPX) and crypto (BTC) markets, allowing for a more comprehensive analysis of market conditions.
o Decision-Making: Provides traders with visual cues for market sentiment, trend direction, and potential reversals, enhancing strategic trading decisions.
o Trend Confirmation: The combination of EMA crossovers and the overlay's color changes offers a multi-faceted approach to trend confirmation or divergence.
In Summary:
• This script merges elements of traditional stock market analysis with cryptocurrency dynamics, utilizing color changes, line thickness, and EMA crossovers to visually communicate market conditions, offering traders a robust tool for analyzing and acting on market movements.
Internals Elite NYSE [Beta]Overview:
This indicator is designed to provide traders with a quick overview of key market internals and metrics in a single, easy-to-read table displayed directly on the chart. It incorporates a variety of metrics that help gauge market sentiment, momentum, and overall market conditions.
The table dynamically updates in real-time and uses color-coding to highlight significant changes or thresholds, allowing traders to quickly interpret the data and make informed trading decisions.
Features:
Market Internals:
TICK: Measures the difference between the number of stocks ticking up versus those ticking down on the NYSE. Green or red background indicates if it crosses a user-defined threshold.
Advance/Decline (ADD): Shows the net number of advancing versus declining stocks on the NYSE. Color-coded to show positive, negative, or neutral conditions.
Volatility Metrics:
VIX Change (%): Displays the percentage change in the Volatility Index (VIX), a key gauge of market fear or complacency. Color-coded for direction.
VIX Price: Displays the current VIX price with thresholds to indicate low, medium, or high volatility.
Other Market Metrics:
DXY Change (%): Percentage change in the US Dollar Index (DXY), indicating dollar strength or weakness.
VWAP Deviation (%): Percentage of stocks above VWAP (Volume Weighted Average Price), helping traders assess intraday buying and selling pressure.
Asset-Specific Metrics:
BTCUSD Change (%): Percentage change in Bitcoin (BTC) price, useful for monitoring cryptocurrency sentiment.
SPY Change (%): Percentage change in the S&P 500 ETF (SPY), a proxy for the overall stock market.
Current Ticker Change (%): Percentage change in the currently selected ticker on the chart.
US10Y Change (%): Percentage change in the yield of the 10-Year US Treasury Note (TVC:US10Y), an important macroeconomic indicator.
Customizable Appearance:
Adjustable text size to suit your chart layout.
User-defined thresholds for key metrics (e.g., TICK, ADD, VWAP, VIX).
Dynamic Table Placement:
You can position the table anywhere on the chart: top-right, top-left, bottom-right, bottom-left, middle-right, or middle-left.
How to Use:
Add the Indicator to Your Chart:
Apply the indicator to your chart from the Pine Script editor in TradingView.
Customize the Inputs:
Adjust the thresholds for TICK, ADD, VWAP, and VIX according to your trading style.
Enable or disable the metrics you want to see in the table by toggling the display options for each metric (e.g., Show TICK, Show BTC, Show SPY).
Set the table placement to your preferred position on the chart.
Interpret the Table:
Look for color-coded cells to quickly identify significant changes or breaches of thresholds.
Positive values are typically shown in green, negative values in red, and neutral/insignificant changes in gray.
Use metrics like TICK and ADD to gauge market breadth and momentum.
Refer to VWAP deviation to assess intraday buying or selling pressure.
Monitor the VIX and US10Y changes to stay aware of macroeconomic and volatility shifts.
Incorporate Into Your Strategy:
Use the indicator alongside technical analysis to confirm setups or identify areas of caution.
Keep an eye on correlated metrics (e.g., VIX and SPY) for broader market context.
Use BTCUSD or DXY as additional indicators of risk-on/risk-off sentiment.
Ideal Users:
Day Traders: Quickly gauge intraday market conditions and momentum.
Swing Traders: Identify broader sentiment shifts using metrics like ADD, DXY, and US10Y.
Macro Investors: Stay updated on key macroeconomic indicators like the 10-Year Treasury yield (US10Y) and the US Dollar Index (DXY).
This indicator serves as a comprehensive tool for understanding market conditions at a glance, enabling traders to act decisively based on the latest data.
Prior Day High and Low RaysPrior Day High and Low Rays
This custom TradingView indicator projects rays from the prior day's high and low prices, helping you visualize key levels of support and resistance from the previous trading day. The rays extend to the right, continuing from the prior day's high and low throughout the current trading day.
Features:
Displays a ray starting at the prior day's high price.
Displays a ray starting at the prior day's low price.
Rays extend to the right and are only plotted for the immediate prior day.
Customizable ray color and width through the indicator settings.
Use Case:
Track important price levels from the previous day that can act as support or resistance.
Customize the appearance of the rays to match your chart's style and preferences.
This tool is designed for traders who want to incorporate prior day price action into their analysis and maintain a clean, customized chart display.
PDL By iofexPrevious day levels
A Previous Day Level Indicator is a trading tool designed to highlight the key levels from the previous trading session, such as the high, low, and close prices. These levels act as significant support and resistance points, helping traders make informed decisions. By analyzing these levels, traders can anticipate potential price reversals, breakouts, or continuations in the current trading session. This indicator is particularly useful for day traders and scalpers aiming to align their strategies with market trends.