Relative volume zone + Smart Order Flow Dynamic S/ROverview:
The Relative Volume Zone + Smart Order Flow with Dynamic S/R indicator is designed to help traders identify key trading opportunities by combining multiple technical components. This script integrates relative volume analysis, order flow detection, VWAP, RSI filtering, and dynamic support and resistance levels to offer a comprehensive view of the market conditions. It is particularly effective on shorter timeframes (M5, M15), making it suitable for scalping and day trading strategies.
Key Components:
1. Relative Volume Zones:
• The script calculates the relative volume by comparing the current volume with the average volume over a defined lookback period (volLookback). When the relative volume exceeds a specified multiplier (volMultiplier), it indicates a high volume zone, signaling potential accumulation or distribution areas.
• Purpose: Identifies high-volume trading zones that may act as significant support or resistance, indicating possible entry or exit points.
2. Smart Order Flow Analysis:
• The indicator uses Volume Delta (the difference between buying and selling volume) and a Cumulative Delta to detect order imbalances in the market.
• Order Imbalance is identified using a moving average of the Volume Delta (orderImbalance), which helps highlight hidden buying or selling pressure.
• Purpose: Reveals market sentiment by showing whether buyers or sellers dominate the market, aiding in the identification of trend reversals or continuations.
3. VWAP (Volume Weighted Average Price):
• VWAP is calculated over a default daily length (vwapLength) to show the average price a security has traded at throughout the day, based on both volume and price.
• Purpose: Provides insight into the fair value of the asset, indicating whether the market is in an accumulation or distribution phase.
4. RSI (Relative Strength Index) Filter:
• RSI is used to filter buy and sell signals, preventing trades in overbought or oversold conditions. It is calculated using a specified period (rsiPeriod).
• Purpose: Reduces false signals and improves trade accuracy by only allowing trades when RSI conditions align with volume and order flow signals.
5. Dynamic Support and Resistance Levels:
• The script dynamically plots support and resistance levels based on recent swing highs and lows (swingLookback).
• Purpose: Identifies potential reversal zones where price action may change direction, allowing for more precise entry and exit points.
How It Works:
• Buy Signal:
A buy signal is generated when:
• The price enters a high-volume zone.
• The price crosses above a 5-period moving average.
• The cumulative delta shows more buying pressure (cumulativeDelta > SMA of cumulativeDelta).
• The RSI is below 70 (not in overbought conditions).
• Sell Signal:
A sell signal is generated when:
• The price enters a high-volume zone.
• The price crosses below a 5-period moving average.
• The cumulative delta shows more selling pressure (cumulativeDelta < SMA of cumulativeDelta).
• The RSI is above 30 (not in oversold conditions).
• Dynamic Support and Resistance Lines:
Drawn based on recent swing highs and lows, these lines provide context for potential price reversals or breakouts.
• VWAP and Order Imbalance Lines:
Plotted to show the average traded price and highlight order flow shifts, helping to validate buy/sell signals.
How to Use:
1. Apply the Indicator:
Add the script to your chart and adjust the settings to match your trading style and preferred timeframe (optimized for M5/M15).
2. Interpret the Signals:
Use the buy and sell signals in conjunction with dynamic support/resistance, VWAP, and order imbalance lines to identify high-probability trade setups.
3. Monitor Alerts:
Set alerts for significant order flow events to receive notifications when there is a positive or negative order imbalance, indicating potential market shifts.
What Makes It Unique:
This script is unique because it combines multiple market analysis tools — relative volume zones, smart order flow, VWAP, RSI filtering, and dynamic support/resistance — to provide a well-rounded, multi-dimensional view of the market. This integration allows traders to make more informed decisions by validating signals across various indicators, enhancing overall trading accuracy and effectiveness.
Niftytrend
Nifty 50 5mint Strategy
The script defines a specific trading session based on user inputs. This session is specified by a time range (e.g., "1000-1510") and selected days of the week (e.g., Monday to Friday). This session definition is crucial for trading only during specific times.
Lookback and Breakout Conditions:
The script uses a lookback period and the highest high and lowest low values to determine potential breakout points. The lookback period is user-defined (default is 10 periods).
The script also uses Bollinger Bands (BB) to identify potential breakout conditions. Users can enable or disable BB crossover conditions. BB consists of an upper and lower band, with the basis.
Additionally, the script uses Dema (Double Exponential Moving Average) and VWAP (Volume Weighted Average Price) . Users can enable or disable this condition.
Buy and Sell Conditions:
Buy conditions are met when the close price exceeds the highest high within the specified lookback period, Bollinger Bands conditions are satisfied, Dema-VWAP conditions are met, and the script is within the defined trading session.
Sell conditions are met when the close price falls below the lowest low within the lookback period, Bollinger Bands conditions are satisfied, Dema-VWAP conditions are met, and the script is within the defined trading session.
When either condition is met, it triggers a "long" or "short" position entry.
Trailing Stop Loss (TSL):
Users can choose between fixed points ( SL by points ) or trailing stop (Profit Trail).
For fixed points, users specify the number of points for the stop loss. A fixed stop loss is set at a certain distance from the entry price if a position is opened.
For Profit Trail, users can enable or disable this feature. If enabled, the script uses a "trail factor" (lookback period) to determine when to adjust the stop loss.
If the price moves in the direction of the trade and reaches a certain level (determined by the trail factor), the stop loss is adjusted, trailing behind the price to lock in profits.
If the close price falls below a certain level (lowest low within the trail factor(lookback)), and a position is open, the "long" position is closed (strategy.close("long")).
If the close price exceeds a certain level (highest high within the specified trail factor(lookback)), and a position is open, the "short" position is closed (strategy.close("short")).
Positions are also closed if they are open outside of the defined trading session.
Background Color:
The script changes the background color of the chart to indicate buy (green) and sell (red) signals, making it visually clear when the strategy conditions are met.
In summary, this script implements a breakout trading strategy with various customizable conditions, including Bollinger Bands, Dema-VWAP crossovers, and session-specific rules. It also includes options for setting stop losses and trailing stop losses to manage risk and lock in profits. The "trail factor" helps adjust trailing stops dynamically based on recent price movements. Positions are closed under certain conditions to manage risk and ensure compliance with the defined trading session.
CE=Buy, CE_SL=stoploss_buy, tCsl=Trailing Stop_buy.
PE=sell, PE_SL= stoploss_sell, tpsl=Trailing Stop_sell.
Remember that trading involves inherent risks, and past performance is not indicative of future results. Exercise caution, manage risk diligently, and consider the advice of financial experts when using this script or any trading strategy.
BankNifty Dash
This indicator to be used only in BankNifty , shows Values of BankNifty Index & its top constituents.
Dashboard Interpretation :
LTP - Last Traded Price.
D High - Day High.
D Low - Day Low.
I Points - Shows the contribution of top BankNifty constituents according to its weightage.
PH-PL - "PH - PL" means LTP is trading between Previous Days High( PH ) & Previous Days Low( PL ) which indicates Rangebound-ness.
"+ PH" means LTP is trading above Previous Days High( PH ) which indicates Bullish-ness.
"- PL" means LTP is trading below Previous Days Low( PL ) which indicates Bearish-ness.
ATR - Displays the Daily ATR (Average True Range) (14 period).
DTR - Current Day Range.
DTR% - Current Day Range percentage.
( DTR & DTR%, changes colour based on percent value. < 61.8 is green and > 61.8 is red.)
For example if the Daily ATR is 100 and the current range of the day is 200 this would be 200% the original move.
EMA:-
Default value of 5 is used in Fast EMA.
Default value of 21 is used in Slow EMA.
Default value of 200 is used in EMA (Used for trend direction).
User can change values from input section.
If the colour filled between Fast EMA and Slow EMA is green, the market is in a uptrend
If the colour filled between Fast EMA and Slow EMA is red, the market is in a downtrend.
ADR :-
Plots ADR (Average Day Range) zones are used as support and resistance, ADR zones are calculated using a 5 or 10 day period unless you change the settings.
PDH/PDL :-
Plots Previous Day High(PDH) and Previous Day low(PDL).
SGX Nifty OHLC for Nifty 50 IndexSGX Nifty OHLC for Nifty 50 Index
What is this Indicator?
• This indicator calculates the OHLC levels of SGX Nifty.
How does SGX Nifty impact NIFTY and the Indian Market?
• Helps in predicting NIFTY50 Index behavior.
• The closing price of today's 9.14 am (IST) SGX Nifty will be the Open of today's Nifty50 Open. This helps to determine the opening Gap of Nifty50.
• SGX Nifty OHLC levels can act as support and resistance in Nifty50.
Who to use?
• Beneficial for Day Traders, who trade in NIFTY Index.
What timeframe to use?
• Use 1 minute for better accuracy.
• Other timeframes will also work.
Important Note
• Use 1 min timeframe for accurate OHLC.
• In other timeframes OHLC will have negligible difference, it won't be huge.
• This indicator will appear only on NIFTY Index and Futures chart.
• To hide the warning label go to the indicator Menu.
nifty_alchemistTimeframe : 5 Min
*When Indicator show Buy signal look only for buy entries at CPR and 50 EMA High and low
*When Indicator show Sell signal look only for sell entries at CPR and 50 EMA High Low
for any quieries contact on twitter @nifty_alchemist
NIFTY Trend OverlayThis will be useful to check with other NSE stocks and give real time updates on NIFTY trend on top of your stock of interest. The percentage change from previous day and a 3 bar immediate trend has been aggregated to show the trend