Index & Stock Options Reference Tool-(ISORT) [Arjo]The Index & Stock Options Reference Tool-(ISORT) is an indicator that helps users observe price trend direction together with commonly used option strike levels for selected indices and stocks in Indian market .
The indicator integrates a smoothed trend framework with structured option-related data to help users observe how price direction aligns with commonly referenced option strike levels .
It does not generate trading signals, does not provide buy or sell recommendations, and does not evaluate profitability .
Key Features
1. Trend Context Engine
Uses a Super-Smoother filter combined with EMA smoothing
Highlights directional context through color-based trend states
Designed to reduce short-term noise
2. Dynamic ATM & Strike Reference
Automatically computes ATM strike and offset strike levels to select OTM strike
Strike intervals adapt to the selected index or stock
Supports both NSE and BSE instruments, including SENSEX
3. Expiry Awareness
User-selectable expiry date inputs
Displays a visual warning if the selected expiry has already passed
Helps avoid referencing outdated option contracts
4. Option Price Reference Panel
Displays last observed CALL and PUT prices (when available)
Allows optional manual entry values for analytical comparison
All price values are shown strictly as references
5. Informational Table Overlay
Customizable on-chart table layout
Displays strike, timestamp, price reference, and arithmetic P&L values
Table values are informational only, not predictive or advisory
How to Use
1. Select the Underlying Instrument
Choose whether to reference the current chart symbol or a custom index/stock from the input settings
Supported instruments include major NSE indices, selected stocks, and SENSEX
2. Configure Expiry Parameters
Enter the option expiry date using the Day, Month, and Year inputs
If an expired date is selected, the indicator will display a visual warning
This helps ensure option references remain time-relevant
3. Observe Trend Context
The smoothed trend line provides directional context only
Color changes reflect shifts in price structure, not trade instructions
This trend is intended for contextual analysis, not timing entries
4. Review Strike References
The indicator automatically calculates ATM and offset strike levels
Strike spacing adjusts based on the selected index or stock
These values serve as reference levels commonly observed in options markets
5. Interpret the Information Table
The on-chart table displays:
Strike level
Timestamp of the most recent context change
Last observed option price (when available)
Arithmetic price difference values
All values are informational references only and do not represent performance or outcomes
6. Optional Manual Inputs
Manual price fields can be used to compare external reference values
These inputs do not trigger signals or automated calculations
Important Notes
This indicator is not a trading system
It does not generate buy or sell signals
It does not provide financial or trading advice
It is intended for learning, observation, and market study
Disclaimer
This script is provided for educational and analytical purposes only. It does not constitute investment advice, trading advice. The author assumes no responsibility for decisions made using this indicator.
Happy Trading (Arjo)
Rata-Rata Pergerakan / Moving Averages
Hull MA Al-Sat/@version=6
indicator("Hull MA Al-Sat", overlay=true, max_lines_count=500, max_labels_count=500)
// Kullanıcı girişi
length = input.int(21, "HMA Periyodu")
hma_source = input.source(close, "HMA Kaynağı")
plotThickness = input.int(3, "Çizgi Kalınlığı")
// HMA hesaplama
wma1 = ta.wma(hma_source, math.round(length / 2))
wma2 = ta.wma(hma_source, length)
diff = 2 * wma1 - wma2
hma = ta.wma(diff, math.round(math.sqrt(length)))
// Renkli çizgi
hmaColor = hma > hma ? color.green : color.red
plot(hma, color=hmaColor, linewidth=plotThickness)
// Al/Sat okları
plotshape(ta.crossover(hma, hma ), title="Al", location=location.belowbar, color=color.green, style=shape.triangleup, size=size.large)
plotshape(ta.crossunder(hma, hma ), title="Sat", location=location.abovebar, color=color.red, style=shape.triangledown, size=size.large)
RMA Trend
indicator("RMA Trend İndikatörü", overlay=true, timeframe="", timeframe_gaps=true)
length = input.int(14, "RMA Periyodu", minval=1)
src = input(close, "Kapanış Kaynağı")
rma_val = ta.rma(src, length)
rma_color = rma_val > rma_val ? color.new(color.lime, 0) : color.new(color.red, 0)
plot(rma_val, title="RMA", color=rma_color, linewidth=3
longSignal = ta.crossover(src, rma_val)
shortSignal = ta.crossunder(src, rma_val)
plotshape(longSignal, title="AL Sinyali", style=shape.triangleup, location=location.belowbar, color=color.new(color.lime, 0), size=size.large, text="AL")
plotshape(shortSignal, title="SAT Sinyali", style=shape.triangledown, location=location.abovebar, color=color.new(color.red, 0), size=size.large, text="SAT")
bgcolor(rma_val > rma_val ? color.new(color.lime, 90) : color.new(color.red, 90))
SB - Ultimate Clean Trend Pro Uses dynamic Moving colour coding for spotting chage of bias. Use set up with keeping VWAP in reference.
Commodity Channel IndexThe Commodity Channel Index (CCI) is a technical indicator that measures the strength of the momentum in the market, it is calculated using a Moving average (default 20 SMA, users can change the legth and the type of the MA from dashboard) using formula: cci = (src - ma) / (0.015 * ta.dev(src, ccilength)).
When CCI is under -100 that indicates a strong downtrend, and above +100 level a strong uptrend, above 0 level a bullish trend start and bellow 0 level bearish momentum.
Crossing back above -100 and bellow + 100 levels not means it is a reversal of the trend, could be just a pullback or a bounce before trend continuation.
The indicator display on the main chart a color coded moving average with the length and type selected by users for CCI calculation.
The CCI Moving average and the CCI lines in oscillator are both color coded :
1. CCI and MA both red = > Bearish trend
2. CCI and MA both green = > Bullish trend
3. MA color turn yellow or the CCI turn blue that means a possible consolidation will be next or trend change.
4 type of Divergences are detected by the script Bullish, Bearish, Hidden Bullish and Hidden bearish divergences, users can setup alarms for them, by default the divergences ae not displayed, users need to select them to be displayed on the oscillator.
A table displaying the vurrent timeframe and 2 higher timeframes of the stats of CCI and its MA.
There are 13 alerts that users can setup akarms:
Alert for Regular Bullish Divergence
Alert for Hidden Bullish Divergence
Alert for Regular Bearish Divergence
Alert for Hidden Bearish Divergence
Alert for CCI Back Above -100
Alert for CCI Back Bellow 100
Alert for CCI Extreme Overbought
Alert for CCI Extreme Oversold
Alert for trend change by CCI MA => Moving Average Color turned to yellow, that means sideways or possible trend change
Alert for CCI Crossing Above CCI MA
Alert for CCI Crossing Bellow CCI MA
Alert for cci Crossing Above 0
Alert for CCI Crossing Bellow 0
Stepped Multi Timeframe MAs with PDH PDL TDH TDL Dynamic Labels
Plots stepped (blocky) higher‑timeframe moving averages and VWAP on the current chart (HMA/EMA/VWMA/SMA/VWAP toggles).
Automatically switches MA source to the chart’s timeframe on Daily/Weekly/Monthly (e.g., Weekly chart shows weekly MAs), while intraday charts can use a user-selected higher timeframe.
Draws Previous Day High/Low (PDH/PDL) anchored from the exact candle that formed the level, then extends the line across the chart up to the latest bar.
Draws Today’s High/Low (TDH/TDL) the same way, and updates dynamically as new intraday highs/lows are made (the anchor shifts to the new wick candle).
Keeps labels readable by placing them above/below each line with no background and a clean grey style, and repositions label X based on the visible chart window (so labels stay at a consistent % from the right edge while you pan/zoom)
SB-VDEMA + PivotsBest use - Intraday Scalping ( 1 Mt, 3 Mts, 5 Mts )
Uses Volatility weighted DEMA for smoother and reliable signals.
One can use dynamic colour coding of VWDEMA for entering call or puts. VWAP and Henkin ashi Supertrend is also there but, i think VWDEMA is quite enogh for decision making.
SUPERTREND VALIDADO ADX EMAS VWAP # Modular Trading System - SuperTrend + ADX + Multi-Filter Confirmation
## Overview
Professional modular trading system designed for trend-following strategies on 4H timeframes. Features a clean, mobile-optimized interface with customizable filters and real-time status monitoring.
## Core Features
### Validated Components (Backtested)
- **SuperTrend (ATR 10, Multiplier 3.0)**: Primary trend direction filter with visual fill
- **ADX >23**: Trend strength confirmation (14-period)
- Proven performance: 52.11% win rate, 3.162 profit factor over 4 years
### Additional Filters (Optional)
- **DI Spread >9**: Directional movement confirmation
- **Volume > EMA20**: Volume confirmation above 20-period average
- **EMA System**: 7/21/50 with dynamic coloring
- **VWAP**: Daily volume-weighted average price
### Visual Elements
- **SuperTrend Line**: Green (bullish) / Red (bearish) with background fill
- **EMA 7**: Yellow when ADX >23, White when ADX ≤23
- **EMA 21**: Green (price above) / Red (price below)
- **EMA 50**: Blue reference line
- **VWAP**: Orange line
- **PDH/PDL**: Previous day high/low levels
- **EMA Cross Signals**: Small dots marking 7/21 crossovers
### Smart Money Concepts
- Automatic Previous Day High (PDH) / Previous Day Low (PDL) tracking
- Horizontal lines extending from current price
- Clear labeling for support/resistance levels
## Status Dashboard
Compact 2-column table (top-right) shows:
```
FILTERS | STATUS
1. ADX >23 | 47.6 OK / 18.2 NO
2. DI Spread >9 | Bullish / Bearish
3. SuperTrend | Bullish / Bearish
4. Volume >EMA20 | 1.25x OK / 0.14x NO
─────────────────────────────
SIGNAL | BUY / SELL / WAIT
```
Color-coded backgrounds:
- Green: Condition met
- Red: Condition not met
- Yellow: Waiting for confirmation
## Signal Logic
### Entry Conditions
**LONG**: All active filters must align
- SuperTrend bullish (green)
- ADX >23
- DI+ > DI- (if DI Spread enabled)
- Volume > EMA20 (if Volume enabled)
- Price > EMA21 and EMA7 > EMA21 (if EMAs enabled)
**SHORT**: All active filters must align
- SuperTrend bearish (red)
- ADX >23
- DI- > DI+ (if DI Spread enabled)
- Volume > EMA20 (if Volume enabled)
- Price < EMA21 and EMA7 < EMA21 (if EMAs enabled)
### Exit Conditions
- SuperTrend direction change
- Clear "EXIT" markers on chart
### Position Management
- One position per trend (no pyramiding)
- Prevents multiple entries in same direction
- "WAIT" status when conditions partially met
## Settings & Customization
### Filters (Enable/Disable)
**Core Filters:**
- ✓ SuperTrend (VALIDATED)
- ✓ ADX >23 (VALIDATED)
**Additional Filters:**
- ⚠️ DI Spread >9 (EXPERIMENTAL)
- ⚠️ Volume > EMA20 (EXPERIMENTAL)
- ⚠️ EMAs 7/21/50 (EXPERIMENTAL)
**Visual:**
- Show EMA 7/21 Crosses (dots)
### Parameters
**SuperTrend:**
- ATR Period: 10 (default)
- ATR Multiplier: 3.0 (default)
**ADX/DI:**
- ADX Length: 14 (default)
- ADX Threshold: 23 (default)
- DI Spread Threshold: 9 (default)
**Volume:**
- Volume EMA: 20 (default)
**EMAs:**
- Fast EMA: 7 (default)
- Medium EMA: 21 (default)
- Slow EMA: 50 (default)
## Alerts
Pre-configured alerts for:
- Long Signal (BUY - Entry confirmed)
- Short Signal (SELL - Entry confirmed)
- Exit Long (EXIT LONG - SuperTrend changed)
- Exit Short (EXIT SHORT - SuperTrend changed)
- EMA Cross Up (EMA 7 crossed above EMA 21)
- EMA Cross Down (EMA 7 crossed below EMA 21)
## Best Practices
### Recommended Setup (Validated System)
```
Enable ONLY:
- SuperTrend: ON
- ADX >23: ON
- All other filters: OFF
```
### Testing New Filters
1. Enable experimental filters
2. Backtest thoroughly before live trading
3. Compare performance metrics
4. Validate with demo account first
### Timeframe
- Optimized for: 4H charts
- Tested on: Bitcoin/USDT
- Works on: Any trending instrument
## Risk Management
This indicator provides entry/exit signals but does NOT include:
- Stop loss levels
- Take profit targets
- Position sizing
Always use proper risk management:
- Maximum 1-2% risk per trade
- Use stop losses
- Follow your trading plan
## Performance Notes
**Validated Backtest Results (SuperTrend + ADX only):**
- Win Rate: 52.11%
- Profit Factor: 3.162
- Return: +45.46% (4 years)
- Tested Period: 2020-2024
- Instrument: BTC/USDT 4H
**Important:** Adding additional filters changes the system. Results may vary. Always backtest your specific configuration before live trading.
## Mobile Optimization
- Compact table design
- Clear color coding
- Minimal chart clutter
- Large signal text
- Optimized for small screens
## Use Cases
✅ **Ideal for:**
- Trend-following strategies
- Swing trading (4H timeframe)
- Clear market conditions
- Systematic traders
❌ **NOT ideal for:**
- Scalping (too slow)
- Range-bound markets
- Counter-trend strategies
- Lateral/choppy conditions
## Credits & Methodology
Based on proven technical analysis principles:
- SuperTrend (volatility-based trend following)
- ADX (trend strength measurement)
- Directional Indicators (DI+/DI-)
- Volume analysis
- EMA systems
**Designed for:** Disciplined execution over frequent trading
**Philosophy:** Quality setups > Quantity of trades
## Disclaimer
This indicator is for educational purposes only. Past performance does not guarantee future results. Always:
- Test on demo account first
- Use proper risk management
- Never risk more than you can afford to lose
- Consult a financial advisor
Trading involves substantial risk. This tool does not constitute financial advice.
---
## Version History
**v2.0 (Current)**
- Modular filter system
- 2-column compact status table
- EMA 7 dynamic coloring (yellow when ADX >23)
- EMA 50 + VWAP added
- PDH/PDL levels
- EMA cross markers
- Improved signal logic
- One position per trend
- Multiple alert conditions
---
**For support, updates, or feedback, contact the developer.**
VWAP Histogram with EMAsBased on VWAP and Moving Averages.
Bias turns +ve if dynamic colour of the moving averages turns green. All moving avaerages are customisable.
Programmers Toolbox of ta LibraryA programmer's "Swiss army knife" for selecting functions from the " ta Library by Trading View " during coding. Illustrates the results of the individual library functions. Adds a few extra features. Extensively and uniquely documented.
3SMA Multi Time FrameThis is a Multi-Time Frame 3 Simple Moving Averages (SMA) indicator, built on Pine Script v6. The indicator is designed to display three SMAs with customizable periods directly on the chart, allowing traders to visualize multiple timeframes and make more informed decisions.
Key Features:
3 SMAs (Simple Moving Averages): The script plots three SMAs with different user-defined periods, helping you analyze trends across different timeframes.
SMA1 (default period: 7)
SMA2 (default period: 25)
SMA3 (default period: 99)
Customization: All three SMA periods are customizable through the input settings, enabling you to adjust the SMAs according to your trading strategy.
Timeframe Flexibility: The indicator uses the timeframe parameter, allowing for multi-timeframe analysis, which helps you view the same indicator across different time periods simultaneously.
The three SMAs are displayed in distinct colors for quick identification:
SMA1 (7-period) in red.
SMA2 (25-period) in yellow.
SMA3 (99-period) in purple.
What’s New in This Version:
Upgraded to Pine Script v6: The script has been updated to use the latest features and optimizations of Pine Script v6, making it faster and more efficient. It now utilizes color.new for better control over transparency, and the plotting is more reliable.
Multi-Timeframe Support: The addition of the timeframe parameter provides flexibility, enabling you to apply the same indicator to different timeframes for more comprehensive market analysis.
Improved Input Handling: The script now uses input.int for integer inputs, which is more intuitive and aligns with the best practices in Pine Script v6.
Special Thanks:
A huge thanks to the original creator of this idea, @VictorGrego for the foundational work and inspiration behind this script. This updated version builds on their excellent concept and introduces enhancements with the latest Pine Script updates.
And another special thanks to my teacher @tradecitypro for the incredible strategy
Key Notes:
The script uses Pine Script's built-in functions ta.sma() for calculating the SMAs and color.new() to manage colors and transparency effectively.
The updated script has better performance and looks sleeker with updated handling of colors and timeframes.
NQ BB+PS StrategyBollinger Band and ProScalper combined strategy/indicators. Designed to take quick 1:1 Risk to Reward trades. Entry on close of signal bar, set auto SL and TP levels to 50 ticks. If a signal in the opposing direction populates, close open trade and follow current signal or simply reverse positions. There is a "+" Sign above signals that fire in the direction of the current EMA trend signaling an A+ set up. Recommended following the first 4-6 signals of the day prior to 11am before the mid day "chop".
T3 MA Basit ve Stabil//@version=5
indicator("T3 MA Basit ve Stabil", overlay=true)
length = input.int(14, "T3 Length")
vFactor = input.float(0.7, "vFactor")
lineWidth = input.int(3, "Çizgi Kalınlığı")
ema1 = ta.ema(close, length)
ema2 = ta.ema(ema1, length)
ema3 = ta.ema(ema2, length)
ema4 = ta.ema(ema3, length)
ema5 = ta.ema(ema4, length)
ema6 = ta.ema(ema5, length)
c1 = -vFactor * vFactor * vFactor
c2 = 3 * vFactor * vFactor + 3 * vFactor * vFactor * vFactor
c3 = -6 * vFactor * vFactor - 3 * vFactor - 3 * vFactor * vFactor * vFactor
c4 = 1 + 3 * vFactor + vFactor * vFactor * vFactor + 3 * vFactor * vFactor
t3 = c1*ema6 + c2*ema5 + c3*ema4 + c4*ema3
colorUp = color.green
colorDown = color.red
col = t3 > t3 ? colorUp : colorDown
plot(t3, color=col, linewidth=lineWidth)
barcolor(col)
plotshape(t3 > t3 and t3 <= t3 , location=location.belowbar, color=colorUp, style=shape.triangleup, size=size.small)
plotshape(t3 < t3 and t3 >= t3 , location=location.abovebar, color=colorDown, style=shape.triangledown, size=size.small)
Hammer/Inv Hammer + ema and other settings + stratok, so thrown everything at this one as the previous only had longs.
so we have all the options, but main feature is the ema to divide up the longs and short, shorts above, longs below, we all know price ends up back to the ema at some point.
I have added a volume filter, this calculates the average volume from the last "20" candles (which can be adjusted) then when a hammer appears it has to be larger than the average volume to be valid.
Also added trading hours in, if you are switching between RTH and ETH it can cause issue if it enters a position EOD then you get an anomaly trade as we can hold positions past certain times.
Also added some trading strategy, so after 2 wins it wont trade again that day or after 1 loss. you decide.
So much to play with now.
Day Trading MA Crossover IndicatorDay Trading MA Crossover Indicator Overview The Day Trading MA Crossover Indicator is a simple yet effective tool designed for day traders to identify potential buy and sell opportunities based on moving average crossovers. It plots two customizable moving averages on your chart and generates clear visual signals when they cross, helping you spot trend reversals or continuations in fast-paced markets.This indicator is ideal for intraday trading on lower timeframes (e.g., 5-min, 15-min charts) but can be adapted for swing trading or higher timeframes. It's built with flexibility in mind, allowing you to tweak the MA lengths and types to suit your strategy.Key FeaturesMoving Average Crossovers: Generates "BUY" signals when the fast MA crosses above the slow MA (potential bullish entry) and "SELL" signals when it crosses below (potential bearish entry or exit).
Visual Signals: Green "BUY" labels below bars for long entries and red "SELL" labels above bars for short entries or exits. Optional subtle background coloring highlights signals for quick spotting.
Customizable Parameters:Fast MA Length (default: 9): Period for the shorter moving average.
Slow MA Length (default: 21): Period for the longer moving average.
MA Type (default: EMA): Choose between SMA (Simple), EMA (Exponential), or WMA (Weighted) for different smoothing behaviors.
Overlay Mode: Plots directly on your price chart without cluttering separate panes.
Lightweight and Efficient: Minimal computation for real-time performance on TradingView.
How It WorksMoving Averages Calculation: The indicator computes two MAs based on your selected type and lengths using closing prices.
Signal Detection: A buy signal triggers on an upward crossover (fast MA > slow MA), indicating potential momentum shift to the upside. A sell signal triggers on a downward crossunder (fast MA < slow MA), signaling possible downside momentum.
Visual Aids: Signals appear as labeled shapes with optional background tints to emphasize key bars.
Usage TipsFor Day Trading: Apply on volatile instruments like forex pairs, stocks, or crypto. Combine with support/resistance levels or other indicators (e.g., RSI for overbought/oversold confirmation) to filter false signals in ranging markets.
Backtesting: Test on historical data to optimize MA lengths for your asset—shorter periods for aggressive trading, longer for smoother trends.
Risk Management: Always use stop-losses and position sizing. Signals are not foolproof and work best in trending conditions.
Customization: Adjust inputs via the indicator settings panel after adding it to your chart.
Example SetupOn a 5-min EUR/USD chart: Use EMA (9/21) for quick crossovers. Look for buy signals above key support with increasing volume.
Avoid choppy markets where frequent false crossovers ("whipsaws") can occur.
This indicator is provided for educational and informational purposes only. It is not financial advice, and past performance does not guarantee future results. Trading involves risk; consult a professional advisor before using any strategy. If you have feedback or suggestions for improvements, feel free to comment!
Forexsebi - NASDAQ Psychological Levels - TrendflowTrendflow is an advanced TradingView indicator combining psychological price levels with trend and multi-timeframe analysis.
The indicator automatically plots psychological levels in around the current price. Each level is visualized using horizontal lines and price zones (boxes) to clearly highlight potential support and resistance areas.
Psychological Levels – Trendflow ist ein fortschrittlicher TradingView-Indikator , der wichtige psychologische Preislevel mit einer klaren Trend- und Multi-Timeframe-Analyse kombiniert.
Trend Analysis with SMAs
SMA 50 & SMA 200 plotted directly on the chart
Individually toggleable
Clear color separation for fast trend recognition
Multi-Timeframe SMA Trend Table
Trend status (BULLISH / BEARISH / NEUTRAL) across:
5M, 15M, 1H, 4H, 1D
Logic: Price relative to SMA 50 & SMA 200
Color-coded, easy-to-read table
Info Box
Current Gold price
Nearest psychological level above and below price
Alert System
Alerts when price approaches a psychological level
User-defined alert distance
Green AverageGA (Green Average) is used as a bias and context tool. The indicator is not an entry signal by itself,
but answers the question: Should I even be looking for longs or shorts right now?
1. What the indicator shows
• BP (green line): buying pressure – how much of the upward movement is driven by green
candles.
• SP (red line): selling pressure – how much of the downward movement is driven by red candles.
• GA % (box): proportion of candles that are green (frequency / flow).
2. Quick market read (3 seconds)
• BP above SP → bullish bias
• SP above BP → bearish bias
• Lines close together → chop / uncertain market
• Both lines spiking simultaneously → high energy / volatility
3. Core rules
• Bias first, entry second: trade only in the direction of dominant pressure.
• Crossovers indicate regime shifts, not automatic entries.
• GA % is context, not a buy/sell signal.
4. Entry models
A) Trend continuation
BP > SP with clear separation. Wait for a pullback (VWAP, support, MA) and enter on trend
resumption.
B) Regime shift after crossover
After a BP/SP crossover, wait for price confirmation (15m swing break or VWAP reclaim).
C) Mean reversion (range)
Only when both lines are low and cross frequently. Small targets, defensive sizing.
5. Common mistakes
• Taking every crossover as a trade
• Oversizing when lines are glued together
• Assuming high GA % guarantees upside
6. Day types
• Trend day: BP dominates, GA % often above 52–55.
• Chop day: BP ≈ SP, GA % around 50.
• Distribution: GA % high but SP takes control.
7. Default settings (ETH 5m)
• Window N = 24 (≈ 2 hours)
• BP/SP smoothing = 3
• GA used together with VWAP and price structure
ZLSMA Trend + Al/Sat Sinyali/@version=6
indicator("ZLSMA Trend + Al/Sat Sinyali", overlay=true, max_labels_count=500)
length = input.int(25, "ZLSMA Periyodu")
src = input.source(close, "Kaynak")
thickness = input.int(4, "Çizgi Kalınlığı")
colorUp = input.color(color.new(color.lime, 0), "Yükselen Renk")
colorDown = input.color(color.new(color.red, 0), "Düşen Renk")
ema1 = ta.ema(src, length)
ema2 = ta.ema(ema1, length)
zlsma = 2 * ema1 - ema2
trendUp = zlsma > zlsma
trendDown = zlsma < zlsma
zlsmaColor = trendUp ? colorUp : colorDown
plot(zlsma, title="ZLSMA", color=zlsmaColor, linewidth=thickness)
buySignal = ta.crossover(close, zlsma)
sellSignal = ta.crossunder(close, zlsma)
plotshape(buySignal, title="Al", location=location.belowbar, color=color.new(color.lime, 0), style=shape.triangleup, size=size.large, text="AL")
plotshape(sellSignal, title="Sat", location=location.abovebar, color=color.new(color.red, 0), style=shape.triangledown, size=size.large, text="SAT")
bgcolor(trendUp ? color.new(color.lime, 90) : color.new(color.red, 90))
EMA Slope Angle# EMA Slope Angle Indicator
A professional, non-repainting overlay indicator that visualizes EMA slope strength as an angle in degrees, providing instant visual feedback through dynamic EMA coloring and comprehensive trend analysis.
## ORIGINALITY
This indicator is original in its approach to slope measurement:
- **Angle-based calculation**: Uses arctangent to calculate slope as an angle in degrees (not percentage), providing a more intuitive measure of trend strength
- **Dynamic visual feedback**: Combines real-time EMA line coloring with regime detection, creating a continuous visual representation of market conditions
- **Comprehensive analysis**: Integrates angle-based trend shift signals with optional statistical analysis in a single, cohesive tool
- **Non-repainting design**: All calculations use confirmed bars only, ensuring reliable, deterministic output
## HOW IT WORKS
The indicator calculates the EMA slope angle using trigonometric functions:
```
Angle = arctan((EMA_current - EMA_past) / lookback_bars) × 180/π
```
This provides an intuitive measure where:
- **Steep angles** = strong trends (visualized with saturated colors)
- **Shallow angles** = weak trends (visualized with lighter colors)
- **Near-zero angles** = flat/consolidation (visualized in gray)
The EMA line color dynamically reflects:
- **Direction**: Green shades for uptrends, red shades for downtrends
- **Strength**: Color intensity based on normalized angle (stronger slopes = more saturated colors)
- **Regime**: Gray for flat conditions when angle is below threshold
## KEY FEATURES
### Dynamic EMA Coloring
- EMA line color changes continuously based on slope strength
- Color intensity reflects trend strength (50-100% opacity range)
- Instant visual feedback without cluttering the chart
### Regime Detection
- Automatically classifies market conditions: **RISING**, **FALLING**, or **FLAT**
- Configurable angle thresholds for regime classification
- Real-time regime updates on confirmed bars only
### Trend-Shift Signals
- Detects transitions from FLAT to RISING/FALLING regimes
- Visual arrows on chart when significant trend shifts occur
- Prevents signal spam by only triggering from FLAT state
- Configurable trigger thresholds for signal sensitivity
### KPI Dashboard
- Real-time angle display (rounded to 1 decimal place)
- Current regime status with color coding
- Last signal tracking (UP/DOWN/NONE)
- Positioned in top-right corner for easy reference
### Advanced Angle Statistics (Optional)
- Detailed breakdown of angle distribution across 9 granular buckets:
- 0-0.2°, 0.2-0.5°, 0.5-1°, 1-1.5°, 1.5-2°, 2-3°, 3-5°, 5-10°, >10°
- Shows count and percentage for each bucket
- Automatically resets on symbol/timeframe changes
- Useful for analyzing historical slope patterns
## SETTINGS
### Main Settings
- **EMA Length**: Period for exponential moving average (default: 50)
- **Slope Lookback Bars**: Number of bars to compare for slope calculation (default: 5)
### Angle Settings
- **Flat Angle Threshold**: Maximum angle for FLAT regime classification (default: 2.0°)
- **Rising Angle Trigger**: Minimum angle to trigger RISING regime and UP signals (default: 1.0°)
- **Falling Angle Trigger**: Maximum angle to trigger FALLING regime and DOWN signals (default: -1.0°)
- **Max Angle for Color Saturation**: Maximum angle for full color intensity (default: 30.0°)
### Display Options
- **Uptrend Color**: Color for rising trends (default: dark green)
- **Downtrend Color**: Color for falling trends (default: dark red)
- **Flat Color**: Color for flat conditions (default: gray)
- **Show Trend-Shift Signals**: Toggle signal arrows on/off (default: true)
- **Show Angle Statistics**: Toggle statistics dashboard on/off (default: false)
## NON-REPAINTING GUARANTEE
- All calculations use confirmed bars only (`barstate.isconfirmed`)
- No future bar references
- No higher timeframe calls using `request.security()`
- Deterministic output - what you see is what you get
- Reliable for backtesting and live trading
## USE CASES
- **Trend Identification**: Instantly identify trend strength and direction at a glance
- **Reversal Detection**: Spot trend reversals early through regime changes
- **Trade Filtering**: Filter trades based on slope strength and regime
- **Consolidation Monitoring**: Identify flat market conditions for range trading
- **Pattern Analysis**: Study historical angle distributions to understand market behavior
- **Momentum Assessment**: Gauge trend momentum through visual color intensity
## LIMITATIONS
- Angle calculation depends on EMA length and lookback period settings
- Regime classification is based on configurable thresholds - adjust to match your trading style
- Signals only trigger when transitioning from FLAT state to prevent spam
- Statistics reset on symbol/timeframe changes (by design)
- Color intensity is normalized to max angle setting - adjust for your market's typical ranges
## TECHNICAL NOTES
- Uses Pine Script v6
- Overlay indicator (plots on price chart)
- No external dependencies
- Compatible with all TradingView chart types
- Works on all timeframes and symbols
## DISCLAIMER
This indicator is designed for visual trend analysis and educational purposes. Always combine with other technical analysis tools, fundamental analysis, and proper risk management strategies. Past performance does not guarantee future results. Trading involves risk of loss.
---
**Perfect for**: Swing traders, day traders, trend followers, and market analysts seeking intuitive trend strength visualization.
Ultimate Reversion BandsURB – The Smart Reversion Tool
URB Final filters out false breakouts using a real retest mechanism that most indicators miss. Instead of chasing wicks that fail immediately, it waits for price to confirm rejection by retesting the inner band—proving sellers/buyers are truly exhausted.
Eliminates fakeouts – The retest filter catches only genuine reversions
Triple confirmation – Wick + retest + optional volume/RSI filters
Clear visuals – Outer bands show extremes, inner bands show retest zones
Works on any timeframe – From scalping to swing trading
Perfect for traders tired of getting stopped out by false breakouts.
Core Construction:
Smart Dynamic Bands:
Basis = Weighted hybrid EMA of HLC3, SMA, and WMA
Outer Bands = Basis ± (ATR × Multiplier)
Inner Bands = Basis ± (ATR × Multiplier × 0.5) → The "retest zone"
The Unique Filter: The Real Retest
Step 1: Identify an extreme wick touching the outer band
Step 2: Wait 1-3 bars for price to return and touch the inner band
Why it works: Most false breakouts never retest. A genuine reversal shows seller/buyer exhaustion by allowing price to come back to the "halfway" level.
Optional Confirmations:
Volume surge filter (default ON)
RSI extremes filter (optional)
Each can be toggled ON/OFF
How to Use:
Watch for extreme wicks touching the red/lime outer bands
Wait for the retest – price must return to touch the inner band (dotted line) within 3 bars
Enter on confirmation with built-in volume/RSI filters
Set stops beyond the extreme wick
Al Brooks - EMA20Instead of simply fetching data from the 60-minute or 15-minute charts, this script mathematically simulates the internal logic of those EMAs directly on your current timeframe.
Just for fun.
Sinals 15m - RSI 7 e 9This strategy is designed to capture continuation moves on the 15-minute chart by combining trend filters, momentum indicators, and strong-candle confirmation. The core idea is to enter trades shortly after EMA crossovers that signal direction, as long as momentum and candle strength support the move.
[SM-021] Gaussian Trend System [Optimized]This script is a comprehensive trend-following strategy centered around a Gaussian Channel. It is designed to capture significant market movements while filtering out noise during consolidation phases. This version (v2) introduces code optimizations using Pine Script v6 Arrays and a new Intraday Time Control feature.
1. Core Methodology & Math
The foundation of this strategy is the Gaussian Filter, originally conceptualized by @DonovanWall.
Gaussian Poles: Unlike standard moving averages (SMA/EMA), this filter uses "poles" (referencing signal processing logic) to reduce lag while maintaining smoothness.
Array Optimization: In this specific iteration, the f_pole function has been refactored to utilize Pine Script Arrays. This improves calculation efficiency and rendering speed compared to recursive variable calls, especially when calculating deep historical data.
Channel Logic: The strategy calculates a "Filtered True Range" to create High and Low bands around the main Gaussian line.
Long Entry: Price closes above the High Band.
Short Entry: Price closes below the Low Band.
2. Signal Filtering (Confluence)
To reduce false signals common in trend-following systems, the strategy employs a "confluence" approach using three additional layers:
Baseline Filter: A 200-period (customizable) EMA or SMA acts as a regime filter. Longs are only taken above the baseline; Shorts only below.
ADX Filter (Volatility): The Average Directional Index (ADX) is used to measure trend strength. If the ADX is below a user-defined threshold (default: 20), the market is considered "choppy," and new entries are blocked.
Momentum Check: A Stochastic RSI check ensures that momentum aligns with the breakout direction.
3. NEW: Intraday Session Filter
Per user requests, a time-based filter has been added to restrict trading activity to specific market sessions (e.g., the New York Open).
How it works: Users can toggle a checkbox to enable/disable the filter.
Configuration: You can define a specific time range (Default: 09:30 - 16:00) and a specific Timezone (Default: New York).
Logic: The strategy longCondition and shortCondition now check if the current bar's timestamp falls within this window. If outside the window, no new entries are generated, though existing trades are managed normally.
4. Risk Management
The strategy relies on volatility-based exits rather than fixed percentage stops:
ATR Stop Loss: A multiple of the Average True Range (ATR) is calculated at the moment of entry to set a dynamic Stop Loss.
ATR Take Profit: An optional Reward-to-Risk (RR) ratio can be set to place a Take Profit target relative to the Stop Loss distance.
Band Exit: If the trend reverses and price crosses the opposite band, the trade is closed immediately to prevent large drawdowns.
Credits & Attribution
Original Gaussian Logic: Developed by @DonovanWalll. This script utilizes his mathematical formula for the pole filters.
Strategy Wrapper & Array Refactor: Developed by @sebamarghella.
Community Request: The Intraday Session Filter was added to assist traders focusing on specific liquidity windows.
Disclaimer: This strategy is for educational purposes. Past performance is not indicative of future results. Please use the settings menu to adjust the Session Time and Risk parameters to fit your specific asset class.






















