NIFTY Option Buy Strategy MASTER v1This script is a complete option buying strategy framework for NIFTY, designed for both intraday and positional swing trades.
🔹 Built using multi-timeframe analysis (EMAs, MACD, RSI)
🔹 Combines key macro filters: India VIX, PCR, FII/DII net cash flows
🔹 Supports both Call (CE) and Put (PE) entries
🔹 Includes manual input dashboard for real-time market context
🔹 Trade logic includes:
Bollinger Band breakouts
Volume confirmation
VWAP filtering
EMA crossover + MACD alignment
Resistance/support proximity from option chain (manual)
📈 Smart Trade Management:
Multi-target system (e.g., exit 50% at RR=1, 50% at RR=2)
Trailing stop-loss after target 1 hits
Automatic exit on SL/TP or reverse signals
Visual markers for all entries, exits, and stops
📊 Built-in Dashboard:
Displays India VIX, PCR, FII/DII flows, and S/R levels
Strike price selection (ATM + offset logic)
🧪 Ideal for backtesting, alerts, and real-time execution.
Can be used with alerts + webhook for automated trading or signal generation.
⚠️ Note: This script is for educational purposes only. Always test on paper trading before going live.
Análise Fundamentalista
CPR-NIFTY-BUY-SELL-BY APRThis indicator will enable the Novice traders to find the write entry and exit for nifty option / spot trading.
Traders can use it carefully when the more option towards the expected direction. Take the entry after signal and hold it until you find the red candle close below the previous green candle for buy vice versa for sell trade.
if any updates or suggestion kindly send mail to jsbaskaran1@gmail.com
📊 VWAP + 시가선 + 필터 전략 (완성형)This is an indicator that generates trading signals by applying the market price + VWAP.
Discount to Net Asset ValueOverview
This indicator helps investors and analysts identify when a company’s stock is trading below or above its intrinsic value. A persistent discount may highlight potential value opportunities, while a sustained premium could signal overvaluation or strong market sentiment. By visually shading the background and plotting the discount/premium percentage, users can quickly screen for undervalued stocks, confirm fundamental research, and make more informed buy or sell decisions.
Usage
Calculates the Net Asset Value discount (or premium) for any symbol.
By default the indicator uses the current chart symbol’s TOTAL_ASSETS, TOTAL_LIABILITIES, and TOTAL_SHARES_OUTSTANDING.
You can select another symbol by checking “Use Custom Symbol” and entering the ticker of the other symbol. This is useful for comparing the Discount to NAV across symbols.
Shows the percentage discount (or premium) of market capitalization relative to net asset value.
Recommended timeframes: daily bars or higher.
Reporting Periods:
• FQ = Fiscal Quarter
• FY = Fiscal Year
• TTM = Trailing Twelve Months
Note: NAV is pulled on the chosen reporting period (FQ, FY, TTM).
By default the background is shaded red to illustrate a discount to NAV and green to illustrate a premium to NAV. This can be toggled in the settings.
Quarterly Earnings with NPMThis indicator is designed in a way so that it can indicate the quarterly earnings and also it can show us the change in sales and net profit margin as shown by Mark Minervini in his classes.
PER Bands (Auto EPS)PER Bands Indicator - Technical Specification
Function
This PineScript v6 overlay indicator displays horizontal price bands based on Price-to-Earnings Ratio multiples. The indicator calculates price levels by multiplying earnings per share values by user-defined PER multiples, then plots these levels as horizontal lines on the chart.
Data Sources
The script attempts to automatically retrieve earnings per share data using TradingView's `request.financial()` function. The system first queries trailing twelve months EPS data, then annual EPS data if TTM is unavailable. When automatic retrieval fails or returns zero values, the indicator uses manually entered EPS values as a fallback.
Configuration Options
Users can configure five separate PER multiples (default values: 10x, 15x, 20x, 25x, 30x). Each band supports individual color customization and adjustable line width settings from 1 to 5 pixels. The indicator includes toggles for band visibility and optional fill areas between adjacent bands with 95% transparency.
Visual Components
The indicator plots five horizontal lines representing different PER valuation levels. Optional fill areas create colored zones between consecutive bands. A data table in the top-right corner displays current EPS source, EPS value, current PER ratio, and calculated price levels for each configured multiple.
Calculation Method
The indicator performs the following calculations:
- Band Price = Current EPS × PER Multiple
- Current PER = Current Price ÷ Current EPS
These calculations update on each bar close using the most recent available EPS data.
Alert System
The script includes alert conditions for price crossovers above the lowest PER band and crossunders below the highest PER band. Additional alert conditions can be configured for any band level through the alert creation interface.
Debug Features
Debug mode displays character markers on the chart indicating when TTM or annual EPS data is available. This feature helps users verify which data source the indicator is using for calculations.
Data Requirements
The indicator requires positive, non-zero EPS values to function correctly. Stocks with negative earnings or zero EPS will display "N/A" for current PER calculations, though bands will still plot using the manual EPS input value.
Exchange Compatibility
Automatic EPS data availability varies by exchange. United States equity markets typically provide comprehensive fundamental data coverage. International markets may have limited automatic data availability, requiring manual EPS input for accurate calculations.
Technical Limitations
The indicator cannot fetch real-time EPS updates and relies on TradingView's fundamental data refresh schedule. Historical EPS changes are not reflected in past band positions, as the indicator uses current EPS values for all historical calculations.
Display Settings
The information table shows EPS source type (TTM Auto, Annual Auto, Manual, or Manual Fallback), allowing users to verify data accuracy. The table refreshes only on the last bar to optimize performance and reduce computational overhead.
Code Structure
Built using PineScript v6 syntax with proper scope management for plot and fill functions. The script uses global scope for all plot declarations and conditional logic within plot parameters to handle visibility settings.
Version Requirements
This indicator requires TradingView Pine Script version 6 or later due to the use of `request.financial()` functions and updated syntax requirements for plot titles and fill operations.
Simple Position CalculatorThis indicator provides a real-time position sizing calculator designed for fast momentum trading. It instantly calculates optimal trade size based on your risk parameters, entry/exit prices, and exchange conditions (fees/slippage). Perfect for high-speed entries during candle closes and breakouts.
Futures vs CFD Price Display
🎯 Trading the same asset in CFDs and Futures but tired of switching charts to compare prices? This is your indicator!
Stop the constant chart hopping! This live price comparison shows you instantly where the better conditions are.
✨ What you get:
Bidirectional: Works in both Futures AND CFD charts
Live prices: Real-time comparison of both markets
Spread calculation: Automatic difference in points and percentage
Fully customizable: Colors, position, size to your liking
Professional design: Clean display with symbol header
🎯 Perfect for:
Gold traders (Futures vs CFD)
Arbitrage strategies
Spread monitoring
Multi-broker comparisons
⚙️ Customization:
3 sizes (Small/Normal/Large) for all screens
4 positions available
Individual color schemes
Toggle features on/off
💡 Simply enter the symbol and keep both markets in sight!
Notice: "Co-developed with Claude AI (Anthropic) - because even AI needs to pay the server bills! 😄"
Economic Event Timer & Alerts [AlgoXcalibur]Stay ahead of market-moving news with this real-time event tracker and countdown alert system.
This essential algorithm displays critical scheduled events that may influence sudden spikes in market volatility, helping you stay aware and reduce exposure to unpredictable moves before they even happen. Featuring a captivating on-chart display with event titles, adjustable time zone, real-time countdowns, and live alert notifications — you’ll always know what’s ahead, so you can prepare — not react.
🧠 Algorithm Logic
The Economic Event Timer & Alerts system delivers critical market awareness through an array of integrated functions. At its core, a live countdown table provides real-time updates on the day’s scheduled economic events, with dynamic, color-coded countdowns that ensure fast and easy interpretation at a glance. Complementing the table, Countdown Alerts notify you 30 minutes, 10 minutes, and 1 minute prior to each event—giving you clear, timely reminders without the need to constantly monitor your chart. The adjustable time zone input supports ET, CT, MT, PT, or UTC, so the displayed time-of-event aligns with your trading session. Rigorously refined, the algorithm updates the table daily—and clearly displays No Scheduled Events Today to provide certainty and reassurance on days without scheduled events. Packaged in a minimalist, unobtrusive design, the tool remains visually clean and focused for serious traders.
Updated automatically for hassle-free peace of mind.
⚙️ User-Adjustable Features
• Time Zone Selector: Easily toggle between time zones to match your trading session.
• Countdown Alerts: Enable real-time notifications to keep you informed and aware of events without having to monitor the chart.
🚨 Protect Your Capital
At AlgoXcalibur, we understand that the best way to be profitable is to avoid unnecessary risk.
Dedicated to empowering traders with insight that matters, we designed this tool to transform inconvenient economic calendars into effortless, essential information—displayed directly on your chart. Whether you’re managing open positions or timing new trades, knowing when impactful events are about to hit is crucial to being proactive, protecting capital, and trading with confidence. This is not a technical analysis indicator—this is a risk management tool that provides traders with a fundamental edge.
Built for traders who value risk management, market awareness, and algorithm automation.
🛡️ Access & Membership
This script is exclusively available on TradingView via the AlgoXcalibur Membership, which includes access to all premium indicators, updates, support, and more.
🔐 To request access or learn more, please visit our website in the Author’s Instructions section or message directly via TradingView.
CPR + SMA Distance SignalWILL TELL THE CPR STATUS AND SMA STATUS
IT will be useful when you open the script you will come to know the current status wheather it is buy or sell
Session HighlightsCrypto relevant global equity market open/close indicator, high opacity background highlights follow the following color scheme & daily time ranges (times in EST):
Orange: 8:00 PM to 9:30 PM (Sunday - Thursday): Japan/South Korea
Yellow: 9:30 PM to +1D 4:00 AM (Sunday - Thursday): Hong Kong
Aqua: 8:00 AM to 9:30 AM (Monday - Friday): US Premarket / Macro Data Release
Blue: 9:30 AM to 4:00 PM (Monday - Friday): US
White: 4:00 PM to +2D 6:00 PM (Friday - Sunday): Weekend
*Market Holidays not accounted for
High Volume Color ChangeHigh Volume Color Change Strategy
This indicator combines volume analysis with MACD to identify potential trading opportunities. It tracks trading performance and provides real-time P&L calculations.
Key Features:
1. Volume Analysis:
- Detects high volume candles (1.5x above average volume)
- Uses a 10-bar lookback period for volume comparison
- Marks high volume candles on the chart (optional)
2. Trading Signals:
- Generates buy signals when price changes direction after a high volume candle
- Generates sell signals when price changes direction after a high volume candle
- Uses MACD convergence as an additional filter
- Shows signal markers on the chart
3. Performance Tracking:
- Tracks total trades and profitable trades
- Calculates cumulative P&L
- Shows current position and unrealized P&L
- Displays win rate percentage
4. Money Management:
- Uses initial balance to determine position size
- Compounds profits/losses for subsequent trades
- Calculates P&L based on percentage changes
- Tracks current balance and total P&L
5. Customization:
- Adjustable volume threshold
- Configurable lookback period
- Optional display of volume and signal labels
- Date range selection for analysis
6. Alerts:
- Separate alerts for buy and sell signals
- Clear messages indicating signal type
The strategy is designed for traders who want to:
- Identify high-volume price reversals
- Track their trading performance
- Manage position sizing based on account balance
- Compound their profits/losses
- Get clear buy/sell signals with alerts
Sesiones, FVG + Alertas [terrylag]Indicate the highs and lows of the most important sessions and alert when there is manipulation in the new session by marking the FVG imbalances to make an optimal entry.
True SeasonalityCONCEPTS
True Seasonality Indicator designed to forecast price based on historical data, best use on daily chart.
DETAILS & EXAMPLE OF HOW TO USE
On Gold chart, the blue graph indicate the few projected days in the future. On 8 April 2025, the indicator showing potential uptrend movement until mid of April, and after that sideways for sometimes.
FEATURES
Adjustable forecast bars & lookback
LIMITATIONS
The Indicator is best applied on daily chart.
Not intended as a stand-alone signal, but should be as part of long-term strategy analysis.
Should be combined with other lower-timeframe technical tools like supply and demand to find entry and confirmation.
Valuation ToolOVERVIEW
Valuation Indicator is a trading tool which designed to help you identify the relative value of an asset, compared to the other asset.
CONCEPTS
The Indicator help you calculate the relative value between chosen assets by measuring their price deviation, for example comparing NASDAQ with Dollar Index or Treasury Bond. It is used primarily to identify overbought and oversold conditions.
To understand its relative value, Equities and Indices are usually compared to the Treasury Bond and Dollar Index, meanwhile other asset like Major FX Pairs, Precious Metals, and Energies are compared to Dollar Index.
The Indicator comes with adjustable parameters, like threshold, timeframe, and smooth value to flexibly reduce noice and improve accuracy.
DETAILS & EXAMPLE OF HOW TO USE
An example of Nasdaq chart to demonstrate the indicator in real market scenario.
Blue graph indicate the Dollar Index (DYX) Index, showing undervalued under -0.75 level.
On the same time, Orange graph indicate the Treasury Bond Index, showing also an undervalued level under -0.75.
Base on those information, combine with other technical strategy on the same timeframe or even lower timeframe. For example using Supply & Demand to find the entry.
The result is a massive push to the upside hitting more than 1:3.
FEATURES
3 Flexible symbols to pairing in 1 indicator.
Show and hide each symbol independently.
Adjustable timeframe, smoothing value, lower & upper threshold.
LIMITATIONS
The Indicator is best applied on weekly or daily chart.
Not intended as a stand-alone signal, but should be as part of long-term strategy analysis.
Should be combined with other lower-timeframe technical tools like supply and demand.
COT Commitment of Traders IndexOVERVIEW
Commitment of Traders (COT) Indicator is a trading tool which designed to visualise net positions/commitment of traders that is reported weekly basis to the commissions.
CONCEPTS
The Indicator help you understand the position of long or short trades by market participants relative to their historical positioning. The change in position will help you in analysing the medium-to-long term market trend.
The commercial traders represents producers or consumers of the commodity that usually positions as hedgers in the market, protecting their asset over market fluctuation risk. The non-commercial traders represents fund or money managers that the goal is speculate and take profit from the market fluctuations. Non-reportable represents small or retail traders.
Understand the relative of those all traders will give better insight of how to positions ourselves in the market.
DETAILS & EXAMPLE OF HOW TO USE
An example of Gold Future chart (GC1!) to demonstrate the indicator in real market scenario.
Blue graph indicate the Commercial Index, showing on the extreme low under 20 level. Commercial traders as a hedgers indicate the turning point over an asset in extreme value. This showing the potential change in market direction the upside.
On the same time, Orange graph indicate the Non-Commercial Index, showing an extreme high level above 80. Non-Commercial traders will most of the time trade with the trend. This showing the potential continuation of market direction to the upside.
Base on those information, combine with other technical strategy on the same timeframe or even lower timeframe. For example using Supply & Demand to find the entry.
The result is a massive push to the upside in the long term direction.
FEATURES
3 Index in 1 indicator
Customisable historical period and threshold
LIMITATIONS
The Indicator is best applied on weekly, due to the weekly release of COT data.
Not intended as a stand-alone signal, but should be as part of long-term strategy analysis.
Should be combined with other lower-timeframe technical tools like supply and demand.
Enhanced Seasonality Trade BacktestEnhanced Seasonality Trade Backtest
Overview
A comprehensive Pine Script indicator that backtests seasonal trading strategies by analyzing historical price performance during specific date ranges. The tool provides detailed statistics, visual markers, and election cycle filtering to identify profitable seasonal patterns.
Key Features
📊 Backtesting Engine
Tests up to 50 years of historical data
Configurable entry/exit dates (day/month)
Automatic holiday/weekend date adjustment
Separate analysis for long and short positions
🗳️ Election Cycle Filter
All Years: Test every year in the lookback period
Election Years: US presidential election years only (2024, 2020, 2016...)
Pre-Election Years: Years before elections (2023, 2019, 2015...)
Post-Election Years: Years after elections (2021, 2017, 2013...)
📈 Comprehensive Statistics
Win rate percentage
Total and average returns
Best/worst performing years
Detailed trade-by-trade breakdown
Years tested vs. years filtered
🎯 Visual Indicators
Entry/exit lines for all historical trades
Future trade date projections
Background highlighting during trade periods
Color-coded performance labels
⚙️ Customization Options
Toggle between long/short analysis
Show/hide price and date details
Adjustable table position
Future trade date visualization
Use Cases
Seasonal Trading: Identify recurring profitable periods (e.g., "Sell in May")
Election Cycle Analysis: Test how political cycles affect market performance
Strategy Validation: Backtest specific date-range strategies
Risk Assessment: Analyze worst-case scenarios and drawdowns
Perfect For
Swing traders looking for seasonal edges
Portfolio managers timing market entries/exits
Researchers studying market cyclicality
Anyone wanting to quantify seasonal market behavior
ONLY WORKS IN 1D TIME FRAME
ATR (14) Watermark📈 ATR (14) Watermark – Volatility Snapshot on Your Chart
This lightweight overlay displays the ATR (14) value and its percentage of the current price directly on your chart — along with a visual cue (🔴🟡🟢) to indicate volatility levels.
🔧 Features:
ATR (14) value and percentage of current price
🔴 High, 🟡 Medium, 🟢 Low volatility indicator
Adjustable vertical & horizontal positioning
Fully configurable text size and color
Clean, unobtrusive table watermark overlay
This tool is perfect for traders who want to quickly assess volatility without crowding the chart with lines or indicators.
DXY - JaviZzThe DXY indicator is a technical analysis tool used to compare the US Dollar Index (DXY) with other financial assets, such as the EUR/USD, in order to identify divergence signals. These divergences occur when the price movement of the DXY does not match the price movement of the other asset, which can be an indication of a possible trend change.
Features of the DXY Divergence Indicator:
- Allows you to select TVC or Capitol sources.
- Direct and in-line comparison: You can directly compare the movements of the DXY with the EUR/USD in a convenient, practical, and visual way on a single chart.
- It is an extremely accurate indicator, capable of clearly and effectively identifying local highs and lows.
- Since it is inverted and follows the same direction as the EUR/USD, it is very easy to detect divergences.
Ideal for traders who use smartphones or tablets and are looking to take advantage of the differences in the behavior of these two assets and make informed trading decisions anytime, anywhere.
Enhanced Zones with Volume StrengthEnhanced Zones with Volume Strength
Your reliable visual guide to market zones — now with Multi-Timeframe (MTF) power!
What you get:
Clear visual zones on your chart — color-coded boxes that highlight important price areas.
Blue Boxes for neutral zones — easy to spot areas of indecision or balance.
Gray Boxes to show normal volume conditions, giving you context without clutter.
Green Boxes highlighting bullish zones where strength is showing.
Red Boxes marking bearish zones where weakness might be in play.
Multi-Timeframe Support:
Seamlessly visualize these zones from higher timeframes directly on your current chart for a bigger-picture view, helping you make smarter trading decisions.
How to use it:
Adjust the box width (in bars) to fit your trading style and timeframe.
Customize colors and opacity to suit your chart theme.
Toggle neutral blue and gray volume boxes on/off to focus on what matters most to you.
Set the maximum number of boxes to keep your chart clean and performant.
Why you’ll love it:
This indicator cuts through the noise by visually marking zones where volume and price action matter the most — without overwhelming your chart. The MTF feature means you’re always aligned with higher timeframe trends without switching views.
Pro tip:
Use these boxes as dynamic support/resistance areas or to confirm trade setups alongside your favorite indicators.
No complicated formulas here, just crisp, actionable visuals designed for clarity and confidence.
COT-Index-NocTradingCOT Index Indicator
The COT Index Indicator is a powerful tool designed to visualize the Commitment of Traders (COT) data and offer insights into market sentiment. The COT Index is a measurement of the relative positioning of commercial traders versus non-commercial and retail traders in the futures market. It is widely used to identify potential market reversals by observing the extremes in trader positioning.
Customizable Timeframe: The indicator allows you to choose a custom time interval (in months) to visualize the COT data, making it flexible to fit different trading styles and strategies.
How to Use:
Visualize Market Sentiment: A COT Index near extremes (close to 0 or 100) can indicate potential turning points in the market, as it reflects extreme positioning of different market participant groups.
Adjust the Time Interval: The ability to adjust the time interval (in months) gives traders the flexibility to analyze the market over different periods, which can be useful in detecting longer-term trends or short-term shifts in sentiment.
Combine with Other Indicators: To enhance your analysis, combine the COT Index with your technical analysis.
This tool can serve as an invaluable addition to your trading strategy, providing a deeper understanding of the market dynamics and the positioning of major market participants.
Doganayy2 Buy/Sell & liquidityTrap🔧 User-Changeable Settings and Their Meanings
1. ✅ Is Wick Filter Active?
What does it do?: Controls the length of the candle wick.
Effect: If active, a long wick is considered a trap (a sign of manipulation).
2. 📊 Is Volume Filter Active?
What does it do?: Controls abnormally high volume according to the volume average.
Effect: If active, high volume candles are considered for a liquidity trap signal.
3. 📈 Is RSI Filter Active?
What does it do?: Controls overbought/oversold according to the RSI level.
Effect: If active;
If RSI > ?, a long trap is searched.
If RSI < ?, a short trap is searched.
4. 🔴🟢 Is Candle Color (Direction) Filter Active?
What does it do?: Controls whether the candle is green or red.
Effect: If active;
A red candle (selling pressure) is required for a long trap.
A green candle (buying pressure) is required for a short trap.
5. 🧮 Is Fibonacci Level Filter Active?
What does it do?: Checks whether the price has reached important Fibonacci levels.
Effect: If active;
For a long trap, the price must rise above the Fibo level.
For a short trap, the price must fall below the Fibo level.
6. 📏 Is ATR Filter Active?
What does it do?: Checks whether there is sufficient deviation in the price according to the ATR.
Effect: If active;
A trap signal is given according to whether the price has moved too far from the ATR.
📌 As a result:
As these filters are activated, the system's long/short trap detection becomes tighter and produces fewer but more reliable signals. If you close the filters, you will receive more signals, but reliability may decrease.
Purpose of the indicator: To present buy/sell opportunities by detecting liquidity traps.