YAS GROUPThis script is a powerful combination of Order Blocks (OB), market structure, and liquidity levels. It helps traders easily identify high-probability areas for entries and exits, detect trend shifts (BOS & CHoCH), and highlight strong support/resistance zones. The script is designed for both scalping and swing trading, offering flexibility and precision. Users can adjust OB sensitivity, show or hide structure labels, and customize visual settings to match their style. Alerts are also included for key signals. Perfect for traders looking to read the market like smart money.
Pine yardımcı programları
SuperPerformance_V1.2📊 SUPER PERFORMANCE INDICATOR
A comprehensive performance analysis tool that compares your stock against selected indices and tracks sector performance across multiple timeframes.
🎯 MAIN FEATURES
✅ Stock Performance Table
• Compares stock vs index performance across 1D, 5D, 10D, 20D, 50D, 200D periods
• Shows ✓/✗ indicators for outperformance tracking
• Displays percentage gains/losses with color coding (green=positive, red=negative)
• Calculates conviction score based on outperformance across timeframes
• Provides performance difference between stock and index
✅ Sector Performance Table
• Ranks top 5 performing sectors across different timeframes
• Shows real-time sector performance with percentage changes
• Tracks 19 major Indian market sectors
• Customizable time periods (1D, 5D, 10D, 20D, 60D)
✅ Sector Display Box
• Shows current stock's sector classification
• Customizable positioning and styling
• Optional sector abbreviations
🔧 CUSTOMIZATION OPTIONS
📋 Display Settings
• Dark/Light mode toggle
• Show/hide individual tables
• Mini mode for compact view
• Index selection (default: NIFTYMIDSML400)
📊 Table Controls
• Enable/disable specific columns and rows
• Adjustable table size (tiny/small/normal/large)
• 9 positioning options for each table
• Color customization for backgrounds and text
🎨 Advanced Features
• Conviction scoring system (Perfect/Solid/Good/Ok/Weak/Poor)
• Real-time performance tracking
• Multi-timeframe analysis
• Sector rotation insights
📈 CONVICTION LEVELS
• Perfect: Outperforms in all periods
• Solid: Outperforms in 67%+ periods
• Good: Outperforms in 50%+ periods
• Ok: Outperforms in 33%+ periods
• Weak: Outperforms in some periods
• Poor: Underperforms in all periods
⚙️ HOW TO USE
1. Add indicator to your chart
2. Select comparison index in Display Settings
3. Customize visible columns/rows as needed
4. Position tables on screen
5. Analyze green ✓ (outperforming) vs red ✗ (underperforming)
6. Use conviction score for overall performance assessment
🎯 IDEAL FOR
• Relative strength analysis
• Sector rotation strategies
• Performance benchmarking
• Indian equity markets
Note: Designed specifically for NSE/Indian market analysis with pre-configured sector indices.
Sniper TP & SLStrong indicators combine that show Tp ans SL
An indicator that build from greece with many tries and attempts and this is the final results
The indicator plan was to adapt it in an AI (ML) brain who can make autotrades and also sending signals
This is the indicator our AI model is based on the only difrence is our AI adjust TP and SL with market needs
DONT TRUST this indicator 100% we havent add Support and Resistance yet so use them in combine to see good entries and kill the market
YAS V1This advanced "All-in-One" indicator combines the most powerful smart money concepts (SMC), order blocks (OB), fair value gaps (FVG), support & resistance (SR), and liquidity voids, along with entry signals based on EMA and RSI filters.
💡 Key Features:
✅ Order Blocks (OB):
Highlights potential bullish and bearish order blocks to identify strong institutional zones where price might reverse.
✅ Fair Value Gaps (FVG):
Marks price gaps that indicate imbalance and possible zones for retracement or continuation.
✅ Support & Resistance (SR):
Automatically plots dynamic support and resistance levels using pivots, helping you to spot key reaction areas.
✅ Liquidity Voids:
Visualizes potential liquidity gaps or low-volume areas that can act as price magnets.
✅ Buy & Sell Signals:
Generates dynamic BUY and SELL signals based on a combination of EMA trend filters and RSI overbought/oversold levels.
✅ Fully Configurable:
Choose which features to display (OB, FVG, SR, Liquidity Voids, signals).
Adjust EMA and RSI settings to match your strategy.
Control the number of signals (reduce or increase) using a signal sensitivity filter.
⚙️ How it Works:
Trend Filter (EMA):
Price above EMA confirms a bullish environment, below EMA confirms bearish.
RSI Filter:
Signals are validated with RSI to avoid overtrading in ranging markets.
Zones & Gaps:
Institutional concepts (order blocks, gaps) help traders understand supply/demand and price inefficiencies.
🎯 Usage:
Perfect for:
Scalpers looking for intraday turning points.
Swing traders spotting high-probability levels.
Anyone interested in smart money concepts.
🚨 Alerts:
Includes built-in alerts for both BUY and SELL signals so you can react instantly without watching the screen all the time.
💬 Note:
This is a beta version designed to be improved with community feedback. Use it as a guide, and always confirm signals with your own analysis and risk management.
🔥 Ready to take your trading to the next level? Add this indicator to your chart, customize the settings, and start seeing the market like smart money!
Bull/Bear Power Strength AlertThis is under construction. Once it is fully complete I will post it in description
YAS V1Use on chart
6
80
This advanced "All-in-One" indicator combines the most powerful smart money concepts (SMC), order blocks (OB), fair value gaps (FVG), support & resistance (SR), and liquidity voids, along with entry signals based on EMA and RSI filters.
💡 Key Features:
✅ Order Blocks (OB):
Highlights potential bullish and bearish order blocks to identify strong institutional zones where price might reverse.
✅ Fair Value Gaps (FVG):
Marks price gaps that indicate imbalance and possible zones for retracement or continuation.
✅ Support & Resistance (SR):
Automatically plots dynamic support and resistance levels using pivots, helping you to spot key reaction areas.
✅ Liquidity Voids:
Visualizes potential liquidity gaps or low-volume areas that can act as price magnets.
✅ Buy & Sell Signals:
Generates dynamic BUY and SELL signals based on a combination of EMA trend filters and RSI overbought/oversold levels.
✅ Fully Configurable:
Choose which features to display (OB, FVG, SR, Liquidity Voids, signals).
Adjust EMA and RSI settings to match your strategy.
Control the number of signals (reduce or increase) using a signal sensitivity filter.
⚙️ How it Works:
Trend Filter (EMA):
Price above EMA confirms a bullish environment, below EMA confirms bearish.
RSI Filter:
Signals are validated with RSI to avoid overtrading in ranging markets.
Zones & Gaps:
Institutional concepts (order blocks, gaps) help traders understand supply/demand and price inefficiencies.
🎯 Usage:
Perfect for:
Scalpers looking for intraday turning points.
Swing traders spotting high-probability levels.
Anyone interested in smart money concepts.
🚨 Alerts:
Includes built-in alerts for both BUY and SELL signals so you can react instantly without watching the screen all the time.
💬 Note:
This is a beta version designed to be improved with community feedback. Use it as a guide, and always confirm signals with your own analysis and risk management.
🔥 Ready to take your trading to the next level? Add this indicator to your chart, customize the settings, and start seeing the market like smart money!
Asian/London Session High/LowMarks out previous Asian session and current London session highs/lows.
Daily 10-ATR & %ATR (Top Right)Better version to be able to see ATR and the percentage it has moved at a glance, no charting just the numbers
EMAs + LSMA Cross Alert (Mejorado)his indicator is designed to identify buy and sell signals based on the behavior of multiple exponential moving averages (EMAs) and a Least Squares Moving Average (LSMA). It includes 5 EMAs and one LSMA, with visual and alert features.
📌 Components:
EMA 4 (purple)
EMA 9 (Fuchsia)
EMA 21 (blue)
EMA 50 (Green)
EMA 200 (maroon)
LSMA 30 (Orange)
🔍 Signal Logic:
✅ Buy Signal:
The LSMA (30) must be below both EMA 4 and EMA 9.
A bullish crossover occurs: EMA 4 crosses above EMA 9.
Only one signal is triggered per crossover, avoiding repeated alerts during trend continuation.
❌ Sell Signal:
The LSMA (30) must be above both EMA 4 and EMA 9.
A bearish crossover occurs: EMA 4 crosses below EMA 9.
Only one signal is triggered per crossover, avoiding repeated alerts during trend continuation.
🖥️ Visual Features:
Option to show/hide each EMA and the LSMA.
Buy/Sell markers appear at cross points.
A white background highlight marks the candle where the signal occurs (optional).
Visuals scale dynamically with the chart zoom and axes.
🔔 Alerts:
Custom alert conditions for Buy and Sell.
Alerts can trigger push notifications to the TradingView mobile app, email, or webhook.
Configured to avoid repeating alerts unless the trend resets and a new valid crossover occurs.
ATR Label (Top Right)Final version easier to run daily ATR first, then move to lower time frames, only purpose is to see the ATR quick
Multi-Time Period Charts with Wicks - ENEXSLWe wanted to see the candle wicks on the official Multi-Time Period Charts indicator.
This version has wick calculations added. Please see www.tradingview.com for the original indicator breakdown.
In short, this indicator will reference larger time periods and draw a candle with the wick around a smaller timeframe chart..
NQ Position Size CalculatorNQ Position Size Line Calculator is designed specifically for Nasdaq 100 futures (NQ) and micro futures (MNQ) traders who want to maintain disciplined risk management. This visual tool eliminates the guesswork from position sizing by displaying distance lines and contract calculations directly on your chart.
The indicator creates horizontal lines at 10-tick intervals from your stop loss level, showing you exactly how many contracts to trade at each distance to maintain your predetermined risk amount. Whether you're trading regular NQ contracts or micro MNQ contracts, this calculator ensures you never risk more than intended while providing instant visual feedback for optimal position sizing decisions.
How to Use the Indicator
Step 1: Configure Your Settings
Stop Loss Price: Enter your exact stop loss level (e.g., 20000.00)
Risk Amount ($): Set your maximum dollar risk per trade (e.g., $500)
Contract Type: Choose between:
NQ (Regular): $5 per tick - for larger accounts
MNQ (Micro): $0.50 per tick - for smaller accounts or conservative sizing
Display Options:
Max Lines: Number of distance lines to show (default: 30)
Show Labels: Toggle tick distance and contract count labels
Line Color: Customize the color of distance lines
Label Size: Choose tiny, small, or normal label sizes
Step 2: Read the Visual Display
Once configured, the indicator displays:
Stop Loss Line:
Thick yellow line marking your exact stop loss level
Yellow label showing the stop loss price
Distance Lines:
Dashed red lines at 10-tick intervals above and below your stop loss
Lines appear on both sides for long and short position planning
Labels (if enabled):
Green labels (right side): For long positions above your stop loss
Red labels (left side): For short positions below your stop loss
Format: "20T 5x" means 20 ticks distance, 5 contracts maximum
Step 3: Use the Information Tables
The indicator provides two helpful tables:
Position Size Table (top-right):
Shows common tick distances (10, 20, 40, 80, 160 ticks)
Displays risk per contract at each distance
Contract count for your specified risk amount
Total risk with rounded contract numbers
Settings Table (bottom-right):
Confirms your current risk amount
Shows selected contract type
Displays current settings for quick reference
Step 4: Apply to Your Trading
For Long Positions:
Look at the green labels on the right side of your chart
Find your desired entry level
Read the label to see: distance in ticks and maximum contracts
Example: "30T 8x" = 30 ticks from stop, buy 8 contracts maximum
For Short Positions:
Look at the red labels on the left side of your chart
Find your desired entry level
Read the label for tick distance and contract count
Example: "40T 6x" = 40 ticks from stop, sell 6 contracts maximum
Step 5: Trading Execution
Before Entering a Trade:
Identify your stop loss level and input it into the indicator
Choose your entry point by looking at the distance lines
Note the contract count from the corresponding label
Verify the risk amount matches your trading plan
Execute your trade with the calculated position size
Risk Management Features:
Contract rounding: All position sizes are rounded down (never up) to ensure you don't exceed your risk limit
Zero position filtering: Lines only show where position size is at least 1 contract
Dual-sided display: Plan both long and short opportunities simultaneously
Rolling Log Returns [BackQuant]Rolling Log Returns
The Rolling Log Returns indicator is a versatile tool designed to help traders, quants, and data-driven analysts evaluate the dynamics of price changes using logarithmic return analysis. Widely adopted in quantitative finance, log returns offer several mathematical and statistical advantages over simple returns, making them ideal for backtesting, portfolio optimization, volatility modeling, and risk management.
What Are Log Returns?
In quantitative finance, logarithmic returns are defined as:
ln(Pₜ / Pₜ₋₁)
or for rolling periods:
ln(Pₜ / Pₜ₋ₙ)
where P represents price and n is the rolling lookback window.
Log returns are preferred because:
They are time additive : returns over multiple periods can be summed.
They allow for easier statistical modeling , especially when assuming normally distributed returns.
They behave symmetrically for gains and losses, unlike arithmetic returns.
They normalize percentage changes, making cross-asset or cross-timeframe comparisons more consistent.
Indicator Overview
The Rolling Log Returns indicator computes log returns either on a standard (1-period) basis or using a rolling lookback period , allowing users to adapt it to short-term trading or long-term trend analysis.
It also supports a comparison series , enabling traders to compare the return structure of the main charted asset to another instrument (e.g., SPY, BTC, etc.).
Core Features
✅ Return Modes :
Normal Log Returns : Measures ln(price / price ), ideal for day-to-day return analysis.
Rolling Log Returns : Measures ln(price / price ), highlighting price drift over longer horizons.
✅ Comparison Support :
Compare log returns of the primary instrument to another symbol (like an index or ETF).
Useful for relative performance and market regime analysis .
✅ Moving Averages of Returns :
Smooth noisy return series with customizable MA types: SMA, EMA, WMA, RMA, and Linear Regression.
Applicable to both primary and comparison series.
✅ Conditional Coloring :
Returns > 0 are colored green ; returns < 0 are red .
Comparison series gets its own unique color scheme.
✅ Extreme Return Detection :
Highlight unusually large price moves using upper/lower thresholds.
Visually flags abnormal volatility events such as earnings surprises or macroeconomic shocks.
Quantitative Use Cases
🔍 Return Distribution Analysis :
Gain insight into the statistical properties of asset returns (e.g., skewness, kurtosis, tail behavior).
📉 Risk Management :
Use historical return outliers to define drawdown expectations, stress tests, or VaR simulations.
🔁 Strategy Backtesting :
Apply rolling log returns to momentum or mean-reversion models where compounding and consistent scaling matter.
📊 Market Regime Detection :
Identify periods of consistent overperformance/underperformance relative to a benchmark asset.
📈 Signal Engineering :
Incorporate return deltas, moving average crossover of returns, or threshold-based triggers into machine learning pipelines or rule-based systems.
Recommended Settings
Use Normal mode for high-frequency trading signals.
Use Rolling mode for swing or trend-following strategies.
Compare vs. a broad market index (e.g., SPY or QQQ ) to extract relative strength insights.
Set upper and lower thresholds around ±5% for spotting major volatility days.
Conclusion
The Rolling Log Returns indicator transforms raw price action into a statistically sound return series—equipping traders with a professional-grade lens into market behavior. Whether you're conducting exploratory data analysis, building factor models, or visually scanning for outliers, this indicator integrates seamlessly into a modern quant's toolbox.
SessionShades: London & NY CTSessionShades: London & NY CT is a lightweight TradingView indicator that visually highlights the London and New York trading sessions using a shaded background — no clutter, no blocks.
🔹 Time Zone: Central Time – automatically adjusts for DST
🔹 Sessions Highlighted:
• London: 2:00 AM – 11:00 AM CT
• New York: 7:00 AM – 4:00 PM CT
🔹 Customizable Colors: Easily change the shading colors and transparency
🔹 Intraday Use: Best viewed on intraday charts (1h, 30m, 15m, etc.)
This tool helps intraday traders and forex scalpers stay aware of key market hours with zero distraction. No indicators — just clean, visual session awareness.
Live Price Watermark (Flashing Overlay)Displays the current price as a large, centered watermark directly on your chart. The text color updates dynamically:
- Green when price rises
- Red when price falls
- Translucent black when unchanged
All SMAs Bullish/Bearish ScreenerTitle: All SMAs Bullish/Bearish Screener: Uncover Powerful Trend Alignment
Description:
Are you tired of sifting through countless charts, desperately trying to find stocks that are truly trending? Do you seek clear, unequivocal signals that scream "Buy!" or "Sell!" based on robust price action? Look no further. Introducing the "All SMAs Bullish/Bearish Screener," a powerful yet elegantly simple Pine Script indicator designed to pinpoint stocks where the current price is in absolute harmony (or discord) with a comprehensive suite of Simple Moving Averages.
The Power of Confluence: Why This Indicator Matters
In the dynamic world of trading, strong trends are often characterized by significant alignment across multiple timeframes. This indicator is built on the profound principle of Moving Average Confluence. Instead of just looking at one or two moving averages, this screener meticulously analyzes the relationship between the current closing price and six critical Simple Moving Averages (SMAs): the 5, 10, 20, 50, 100, and 200-period SMAs.
When the price is trading above ALL these moving averages – from the shortest-term (5-period) to the longest-term (200-period) – it's a powerful declaration of unwavering bullish momentum. This often signifies strong institutional buying, a clear accumulation phase, and a robust uptrend across all market horizons. Imagine easily identifying stocks like the one pictured (SAIL), where price confidently rides above every key average, signaling a prime opportunity.
Conversely, when the price is trading below ALL these moving averages, it indicates a severe and widespread bearish bias. This is a warning sign, often preceding further declines, suggesting strong distribution, and a downtrend that impacts every time horizon.
What This Script Delivers:
Unambiguous Trend Identification: Quickly identify stocks exhibiting exceptionally strong bullish or bearish trends. No more guessing – the alignment of all SMAs provides undeniable clarity.
Customizable SMA Lengths: Tailor the moving average periods to your specific trading style and preferred timeframes. Whether you prefer slightly different short, medium, or long-term averages, you have full control via user-friendly input settings.
Instant Visual Cues: The indicator visually highlights these rare and significant conditions directly on your chart:
A green triangle-up signal appears below the bar when all SMAs are bullish.
A red triangle-down signal appears above the bar when all SMAs are bearish.
The chart background color will subtly shift to lime green for bullish alignment and red for bearish alignment, providing immediate visual feedback at a glance.
Real-time Screener Capability (via TradingView Alerts): This is where the true power of this script shines for efficient trading. Set up custom alerts on TradingView for "All SMAs Bullish" or "All SMAs Bearish" conditions. Receive instant notifications (email, mobile, webhook) on any stock in your watchlist that meets these stringent criteria, allowing you to react swiftly to high-probability setups without constant chart monitoring. The alert message even tells you the ticker!
On-Chart Status Display: A clear, concise status message is displayed directly on your chart, indicating "Current Price is ABOVE ALL SMAs (Bullish)", "Current Price is BELOW ALL SMAs (Bearish)", or "SMAs are Mixed," ensuring you're always aware of the prevailing condition.
Who is This For?
This indicator is invaluable for:
Trend Followers: Identify robust trends early and ride them for significant gains.
Swing Traders: Spot strong directional momentum for intermediate-term trades.
Long-Term Investors: Confirm the health and direction of fundamental trends.
Screener Enthusiasts: Automate your market scanning to find the cleanest setups.
Stop wasting time on ambiguous charts. Leverage the "All SMAs Bullish/Bearish Screener" to gain an edge, simplify your analysis, and focus only on the highest conviction trend opportunities. Add it to your favorites today and transform your trading workflow!
#PineScript #TradingView #SMA #MovingAverage #TrendFollowing #StockScreener #TechnicalAnalysis #Bullish #Bearish #MarketScanner
Weinstein Stage Analysis HelperA helper script to visualize the Weinstein Stages intuitively along with other factors like
- Relative Strength
- Volume (On Balance Volume)
- RoE
- P/E
- Growth Rate
- EPS Growth Rate
TRADING GURU LIVE FLASHHi guys,
If you are looking to add some watermark into your charts. You can use this indicator.
You can add add a title and a subtitle, if you want to write in diferents lines, you can use as you can see in the script.
This is just a watermark, which follows my personal style an aesthetic when it comes to Pinescript tools. I like to keep my charts clean to focus on Time and price, and I love to have a reminder to remain disciplined.
Homo Faber Fortunae Suae is a Latin maxim which loosely translates to: Humans Are The Makers Of Their Own Destiny.
So make your own destiny, master yourself and the charts!
All the features are customizable: position, text size, text color, background.
Enjoy it.
EMA 9 & 150 Cross Arrow//@version=5
indicator("EMA 9 & 150 Cross Arrow", overlay=true)
// Input EMAs
emaShort = ta.ema(close, 9)
emaLong = ta.ema(close, 150)
// Detect Crosses
bullishCross = ta.crossover(emaShort, emaLong)
bearishCross = ta.crossunder(emaShort, emaLong)
// Plot EMAs
plot(emaShort, color=color.green, title="EMA 9")
plot(emaLong, color=color.red, title="EMA 150")
// Plot Arrows
plotshape(bullishCross, title="Bullish Cross", location=location.belowbar, color=color.green, style=shape.arrowup, size=size.small)
plotshape(bearishCross, title="Bearish Cross", location=location.abovebar, color=color.red, style=shape.arrowdown, size=size.small)