Multi-TF T1W E1DTest
MA of 3 line cross with multi time frame
This one is for test how stock price react to each moving average
Penunjuk dan strategi
RUBX Индекс рубляThe ruble index, similar to the DXY, offsets the weakness or strength of the dollar in the USD/RUB
индекс рубля на подобии DXY, невелирует слабость или силу доллара в USD/RUB
My script1// This Pine Script® code is subject to the terms of the Mozilla Public License 2.0 at mozilla.org
2// © Lkkahar99
3
4//@version=6
5indicator("My script")
6plot(close)
7
📊 Smart Money Trend Scanner ComboThis script combines EMA price direction with smart money concepts and gives you trading sessions as well with volumetric arrows
🔺 Smart Money Candle HighlightThis highlights SMC Candles red which helps in identifying retracements zones
Nifty/BankNifty Scanner - RSI, MACD, BB, VWAP1. RSI (Relative Strength Index)
Purpose: Measures market momentum and identifies overbought (>70) or oversold (<30) conditions.
Benefit: Helps catch potential reversal zones or trend exhaustion points.
📈 2. MACD (Moving Average Convergence Divergence)
Purpose: Detects changes in trend direction via crossovers of the MACD line and signal line.
Benefit: Flags bullish and bearish momentum shifts, useful for confirming trade entries/exits.
📉 3. Bollinger Bands
Purpose: Shows volatility using a moving average with upper/lower bands.
Benefit: When price touches the upper/lower bands, it may indicate overextended conditions—potential reversal or breakout areas.
🟠 4. VWAP (Volume Weighted Average Price)
Purpose: Tracks the average price traded based on both volume and price.
Benefit: Acts as a dynamic support/resistance level, especially useful for intraday trading in Nifty/Bank Nifty. Crossing VWAP often signals institutional buying/selling zones.
✅ Overall Benefits
Combines momentum, trend, volatility, and volume-based signals
Helps in multi-angle analysis—confirming trades with multiple indicators
Useful for intraday and swing trading on Nifty/Bank Nifty
Clean visuals and alerts make decision-making faster
market relative strengthOverview
market relative strength is a custom indicator that visualizes how strong or weak a given asset is compared to a selected market benchmark — such as KOSPI, NASDAQ100, BTC dominance, or total crypto market cap.
How It Works
The indicator calculates the relative return between the current asset and the selected benchmark over a user-defined period. It then normalizes the difference into a 0–100 score:
Above 50 = outperforming the market
Below 50 = underperforming the market
Above 70 / Below 30 = strong divergence from market trend
Use Case
This is ideal for identifying assets with strong relative performance, detecting trend leaders or laggards, and rotating positions between sectors or assets based on strength.
Customization
Choose from a list of market indexes or crypto metrics
Set the comparison period and normalization range
Visual cues with background shading for strong/weak zones
Note
This is not the same as RSI. This indicator is based on relative performance to a benchmark, not price momentum.
Top & Bottom Search🧩 ~ Experimental🔧📌 Top & Bottom Search🧩 ~ Experimental🔧
This script is designed to identify potential market reversal zones using a combination of classic candlestick patterns (Piercing Line & Dark Cloud Cover) and trend confirmation tools like EMA positioning and optional RSI filters.
🔍 Core Features:
✅ Detects Piercing Line and Dark Cloud Cover patterns.
✅ Optional EMA filter to confirm bullish or bearish alignment.
✅ Optional RSI filter to confirm oversold or overbought conditions.
✅ Visual plot of the selected EMA (customizable thickness & color).
✅ Clean and toggleable inputs for user flexibility.
⚙️ Customizable Settings:
Enable/disable EMA confirmation.
Enable/disable RSI confirmation.
Choose whether to display the EMA on the chart.
Adjust EMA period, RSI thresholds, and candle visuals.
🧪 Note:
This is an experimental tool, best used as a supplement to your existing analysis. Not every signal is a guaranteed reversal—this script aims to highlight potential turning points that deserve closer attention.
I HIGHLY recommend using this in coherence with many other indicators in a robust system of indicators that meet your desired time frames and signal periods.
NOTES*
1.) An alternative way to view this indicator is as a "Piercing & Dark Cloud Candle Indicator/Strategy w/ EMA & RSI Logic - Either EMA or RSI Logics are Optional."
2.) When toggling between the RSI and EMA Filters, the default is set to EMA filter applied, however you cannot have both RSI signals and EMA filters on the chart at the same time, it can only be one or the other. So be aware that if you have EMA filter ON and select RSI filter, it will only be displaying the RSI filtered outputs. The ONLY WAY to see the EMA filtered outputs is to only have the EMA filter box checked and NOT the RIS filter box.
Z-Score V2Z-Score Reversal Indicator for TradingView
Catch Overextended Trends & Potential Reversals Using Statistical Z-Scores
📌 Overview
This indicator calculates the Z-score of price movements, helping traders identify overbought and oversold conditions based on standard deviations from the mean.
Plots the Z-score (forest green line) to visualize momentum strength.
Key levels at ±1, ±2, ±3 standard deviations (dashed white lines) highlight potential reversal zones.
Customizable lookback period to adjust sensitivity.
Ideal for:
Mean-reversion strategies
Trend exhaustion detection
Breakout confirmation
📊 How It Works (The Math Behind It)
The Z-score measures how far the current price is from its mean, normalized by standard deviation.
🔹 Formula:
Z = (X − μ) / σ
X = Current price (or selected source)
μ = Simple Moving Average (SMA) over the lookback period
σ = Standard deviation over the lookback period
🎯 Trading Applications
Reversal Trading (Mean Reversion):
Short near +2 or +3 (expecting a pullback toward the mean).
Long near -2 or -3 (expecting a bounce toward the mean).
Trend Continuation (Breakout Confirmation):
If price breaks above +2 or +3, momentum may continue further.
If price breaks below -2 or -3, downtrend may accelerate.
Divergence Detection:
If price makes a new high but Z-score fails to reach prior highs, weakening momentum (bearish divergence).
If price makes a new low but Z-score fails to reach prior lows, potential bullish reversal.
⚙️ Customization Options
Adjustable Lookback Period – Modify sensitivity (shorter = more responsive, longer = smoother).
Source Selection – Apply to close, open, hl2, etc.
Clean Visuals – Plotlines do not distort scaling (only Z-score affects autofit).
Multi-Timeframe EMA Signal - StyledTrend reminder, what is based on the 39 MA. Looking after 14 CLOSED candles. The minute TF is calculated from the 1m chart, the 1H, 4h, 1D is calculated from the 1h TF.
If you go higher on the minute TF you see that the calculation goes bad, so you dont see the minute TF-s trend if you are on the 5m or on the 15M or higher TF. It's ok for my needs i usualy trade on the 1m chart so i see everything.
It's simple.
I was looking for a srcipt like this, and did not find anything.
It's not my work, its Veronika's script from chatGPT based on my needs. :)
A/E/VWAPA/E/VWAP Indicator Description
The A/E/VWAP (Anchor/Event VWAP) indicator is a versatile tool for traders, designed to calculate and display the Volume Weighted Average Price (VWAP) anchored to specific time periods or events. It supports customizable anchor periods, such as sessions, weeks, months, or significant events like earnings, dividends, splits, or the third Friday of the month (commonly associated with options expiration for SPY). The indicator also includes optional upper and lower bands, which can be calculated using either standard deviation or percentage-based methods, providing additional context for price action relative to the VWAP.
Key Features:
Customizable Anchor Periods:
Choose from a variety of anchor periods: Session, Week, Month, Quarter, Year, Decade, Century, Earnings, Dividends, Splits, or ThirdFriday (specifically for SPY or quarterly options expiration).
Automatically defaults to "Earnings" for non-intraday charts (except for SPY, which uses "ThirdFriday") and "Session" for intraday charts.
Supports event-driven VWAPs by anchoring to earnings, dividends, or splits data when available.
Flexible Source Input:
The VWAP calculation uses a user-defined price source (default: HLC3, the average of high, low, and close prices).
Allows customization to suit different trading strategies.
Offset Adjustment:
Apply an offset to shift the VWAP and bands forward or backward on the chart for better visualization or strategy alignment.
Configurable Bands:
Optionally display up to three sets of upper and lower bands around the VWAP.
Bands can be calculated using:
Standard Deviation: Measures volatility relative to the VWAP.
Percentage: Uses a percentage of the VWAP value (e.g., a multiplier of 1 = 1% deviation).
Each band set has a customizable multiplier (default: 1.0, 2.0, 3.0) to adjust the distance from the VWAP.
Bands are color-coded (green, olive, teal) with transparent fills for easy identification.
Visual and Performance Features:
The VWAP line is plotted in blue (#2962FF) for clear visibility.
Bands are optionally displayed with customizable visibility and color-coded fills for better chart clarity.
Includes error handling for cases where volume data is unavailable from the data vendor.
Use Cases:
Intraday Trading: Anchor the VWAP to the start of the trading session to identify key support/resistance levels.
Swing Trading: Use longer-term anchors (e.g., Week, Month, or Quarter) to track broader price trends.
Event-Based Trading: Anchor the VWAP to earnings, dividends, or splits to analyze price behavior around significant corporate events.
Options Trading: Use the "ThirdFriday" anchor for SPY to monitor VWAP levels during options expiration weeks.
Volatility Analysis: Enable bands to gauge price deviations and identify overbought/oversold conditions.
Settings:
VWAP Settings:
Anchor Period: Select the time or event to anchor the VWAP (e.g., Session, Earnings, ThirdFriday).
Source: Choose the price input for VWAP calculation (default: HLC3).
Offset: Shift the VWAP and bands by a specified number of bars (default: 0).
Bands Settings:
Bands Calculation Mode: Choose between Standard Deviation or Percentage for band calculations.
Bands Multiplier #1, #2, #3: Set the multiplier for each band set (default: 1.0, 2.0, 3.0).
Show Bands: Toggle visibility for each band set individually.
Notes:
The indicator requires volume data to function correctly. If no volume is provided, an error message will be displayed.
Event-based anchors (Earnings, Dividends, Splits) rely on data availability from the data vendor.
The "ThirdFriday" anchor is particularly useful for SPY or instruments tied to quarterly options expiration cycles.
This indicator is ideal for traders seeking a flexible VWAP tool that adapts to both time-based and event-driven trading strategies, with customizable bands to enhance price analysis.
Day of Week and HTF Period SeparatorThis indicator displays vertical lines to separate each day of the week, along with optional 1H and 4H period separators. It also shows day-of-week labels (MON, TUE, etc.) at a specified hour for quick visual reference. Useful for intraday traders who want a clear view of daily and higher timeframe transitions.
First 5-Minute Candle: Adjusted Levelsdifference of first five levels of high and low pine script code
Renko Momentum Wave (RMW)Renko Momentum Wave
The Renko Momentum Wave (RMW) is a custom momentum oscillator specifically designed for Renko-based price action analysis. Unlike traditional oscillators that rely on time-based data, the RMW focuses on the directional consistency of Renko bricks, measuring the strength of trend momentum purely based on price movement.
MACD_V1New Features:
Golden/Death Crossover Markers
Golden/Death Crossover Alerts
新增功能
1、金叉死叉标识
2、金叉死叉警报
20 & 50 EMA + ATR, TR & DATRIndicator Name: 20 & 50 EMA + ATR, TR & DATR
This custom indicator combines trend and volatility analysis into a single tool, helping you make smarter trading decisions with fewer indicators on your chart.
---
1. 20 & 50 Exponential Moving Averages (EMAs)
EMA 20 (Blue Line): A short-term trend indicator that reacts quickly to price changes.
EMA 50 (Orange Line): A medium-term trend indicator that smooths out more of the noise.
How to Use:
Bullish signal: EMA 20 crosses above EMA 50
Bearish signal: EMA 20 crosses below EMA 50
Use crossovers or distance between EMAs to confirm trends or potential reversals
---
2. True Range (TR)
Definition: The greatest of the following:
High - Low
High - Previous Close
Previous Close - Low
Use: Shows how much the asset moved during the candle. Useful for understanding raw price movement.
---
3. Average True Range (ATR)
Definition: The average of the True Range over a 14-bar period
Line color: Red (shown in the status line above your chart)
How to Use:
High ATR = High volatility
Low ATR = Low volatility
Use ATR to help determine stop-loss and take-profit levels, or to avoid low-volatility periods
---
4. Daily ATR (DATR)
Definition: ATR calculated from the daily timeframe, regardless of the chart's current timeframe
Line color: Green (also shown in the status line)
How to Use:
Know how much the asset typically moves in a full day
Helps intraday traders set realistic targets or detect when the market is unusually quiet or active
Midnight (Daily) OpenMidnight (Daily) Open v1.0
Overview
Plots a real‑time horizontal line at the U.S. session “midnight” open (i.e. the daily candle’s open price) on any intraday chart. Optionally displays a label with the exact price, making it easy to see how price reacts to the session open.
Key Benefits
Immediate Context: See at a glance where today’s session began, helping identify support/resistance.
Consistent Reference: Works on any symbol or intraday timeframe.
Customizable Styling: Tweak colors, line thickness, and label appearance to match your chart theme.
Features
Retrieves the daily open via request.security() (Pine v6).
Draws or updates a single horizontal line that extends into the future.
Optional price label on the last bar, with user‑defined text and background colors.
Zero repainting—always shows the true daily open.
compare strength
---
Compare Strength – Multi-Timeframe Relative Strength Indicator
**Author:** @martin_alpha
**License:** Mozilla Public License 2.0
**Script version:** Pine Script™ v6
What does this indicator do?
This indicator is designed to **compare the relative strength of any asset against a chosen benchmark**. It provides traders and analysts with a clear visual representation of how one asset is performing compared to another over different time horizons.
Key Features:
- **Benchmark Comparison**: Compares the current asset’s price action against a user-defined symbol (default: `BTCUSDT` from Binance).
- **Relative Strength Ratio**: Calculates a scaled ratio of the asset’s price relative to the benchmark.
- **Multi-EMA Smoothing**: Applies three Exponential Moving Averages (EMAs) with user-defined lengths to smooth the strength ratio and highlight trends.
- **Customizable Inputs**: Allows traders to input their own benchmark symbol and EMA lengths for full flexibility.
How it works:
1. **Relative Ratio Calculation**:
```
ratio = (close / benchmark close) * 1000
```
This gives a scaled value showing how strong the current asset is relative to the benchmark.
2. **EMAs of the Ratio**:
- `ratio_ma1`: Fast smoothing (default length 10)
- `ratio_ma2`: Medium smoothing (default length 20)
- `ratio_ma3`: Long-term smoothing (default length 100)
3. **Plotting**:
- The raw ratio is plotted as a dynamic line.
- The smoothed ratios are plotted in **Red**, **Green**, and **Blue**, respectively.
How to Use:
- Choose any benchmark to compare strength — for example, `BINANCE:ETHUSDT` or a sector ETF like `SPY` if using on stocks.
- Observe **crossovers** between the ratio and its moving averages:
- When the ratio is above the moving averages, it indicates **relative outperformance**.
- When it is below, it may indicate **relative weakness**.
- Great for **pair trading**, **sector rotation**, or identifying **leading assets** in a trend.
Inputs:
- `length` (default 10): EMA length for short-term strength smoothing.
- `length2` (default 20): EMA length for medium-term strength.
- `length3` (default 100): EMA length for long-term trend view.
- `s01`: Symbol to use as a benchmark (default: `BINANCE:BTCUSDT`).
Notes:
- The benchmark is normalized by dividing by 100 to improve visual scaling.
- The final ratio is scaled by 1000 for better chart readability — this has no impact on actual strength interpretation.
- Best used on **higher timeframes** for macro trend comparison or on **shorter timeframes** for intra-day relative strength setups.
---