AbdullahThis script is a **3-in-1 Combined Indicator** for Pine Script v6, merging three popular technical analysis tools into a single chart overlay. It's designed to provide a comprehensive view of trend direction, momentum, and volatility-based stops.
Here's a breakdown of the three components:
## 1. ZLSMA - Zero Lag LSMA (Zero Lag Least Squares Moving Average)
The ZLSMA is a fast-reacting moving average that aims to eliminate the lag typically associated with standard moving averages. It does this by calculating the difference between a standard **Least Squares Moving Average (LSMA)** and a smoothed version of that LSMA, then adding that difference back to the original LSMA.
* **Customizable Inputs:** Length, Offset, and Source Price.
* **Plot:** A thick yellow line indicating the zero-lag trend.
---
## 2. Chandelier Exit
The Chandelier Exit is a volatility-based tool that places a trailing stop either above the price (for a long trade exit) or below the price (for a short trade exit). It uses the **Average True Range (ATR)** to set the stop distance.
* **Key Function:** Identifies potential stop-loss levels and trend changes.
* **Customizable Inputs:** ATR Period, ATR Multiplier, and an option to use the Close price for extremum calculations.
* **Visuals:**
    * Plots the **Long Stop (Green)** and **Short Stop (Red)** lines, which switch based on the current trend direction.
    * Optional **Buy/Sell Labels** and **Highlighting** (shaded background) to clearly mark the current trend state (long or short).
---
## 3. Exponential Moving Average (EMA) with Optional Smoothing Bands
This section plots a standard **Exponential Moving Average (EMA)** and includes a unique feature to smooth the EMA's output using another moving average or Bollinger Bands.
* **EMA Plot:** A blue line representing the EMA, with customizable Length, Source, and Offset.
* **Optional Smoothing:** The EMA line itself can be smoothed by applying a secondary moving average (SMA, EMA, WMA, etc.) to the EMA's values.
* **Bollinger Bands Option:** If **SMA + Bollinger Bands** is selected for smoothing, it plots **Upper** and **Lower Bands** based on the standard deviation of the EMA, providing a visual envelope for volatility around the smoothed line. 
移动平均线
Timeframe Anchor Moving Average**This indicator maintains the same real time period regardless of which timeframe you're viewing. If you set a 20-period moving average on 1h as reference, when you switch to 4h it will automatically show a 5-period moving average (because 4h is 4 times larger than 1h), and on 15m it will show 80 periods. This way you always see exactly the same time window, preventing moving averages from becoming distorted when changing timeframes.**
BigMove Pro - Complete SystemOverview of the BigMove Indicator
The BigMove Indicator is a custom technical analysis tool designed to identify significant price movements or "breakouts" in a financial asset. Its core philosophy is to filter out market "noise" and highlight only those price changes that are substantial enough to signal a potential new trend or a powerful continuation.
The goal is to help traders catch major moves early and avoid getting whipsawed by minor, random fluctuations.
Likely Components and How It Works
While the exact formula can vary, a typical BigMove indicator often incorporates the following elements:
1. The "Big Move" Threshold:
The indicator calculates a dynamic threshold, usually based on a measure of recent market volatility. The most common method is using the Average True Range (ATR).
Logic: A "big move" shouldn't be a fixed price value (e.g., $1.00), because a $1 move is significant for a stock priced at $50 but negligible for one priced at $500. Using ATR makes the threshold adaptive.
Calculation: The threshold might be a multiple of the ATR (e.g., 1.5 x ATR(14) or 2.0 x ATR(20)). If the current price change (from the previous close, or from an opening level) exceeds this threshold, a "BigMove" is signaled.
2. Signal Generation:
The indicator provides clear visual and/or alert-based signals.
Buy Signal: Generated when the price makes a significant upward move beyond the positive threshold. This is often represented by a green arrow ↑ below the price bar/candle, or by coloring the price bar green.
Sell Signal: Generated when the price makes a significant downward move beyond the negative threshold. This is often represented by a red arrow ↓ above the price bar/candle, or by coloring the price bar red.
3. Confirmation Filters (Common in Sophisticated Versions):
To reduce false signals, your BigMove indicator might include one or more of these filters:
Volume Confirmation: The "big move" must be accompanied by high volume (e.g., volume greater than the 50-period moving average of volume). A breakout on low volume is less trustworthy.
Trend Filter: It might only show signals that align with a larger trend. For example, it might only show "Buy" signals when the price is above its 200-day Simple Moving Average (SMA) or "Sell" signals when below it.
How to Interpret the Signals
A Green "Buy" Signal: Suggests a strong bullish impulse. Traders might interpret this as an entry point for a long position or a signal that a consolidation period has ended and an uptrend is beginning.
A Red "Sell" Signal: Suggests a strong bearish impulse. Traders might interpret this as an entry point for a short position or an exit point for long positions, indicating a potential downtrend.
A Hypothetical Example
Let's assume your BigMove indicator is set to 2.0 x ATR(14).
Stock ABC has an ATR(14) of $1.50. Therefore, the BigMove threshold is 2.0 * $1.50 = $3.00.
The stock has been trading in a tight range around $100.
On a given day, it opens at $100.50 and rallies to close at $104.00.
The total range of the day is $3.50, which is greater than the $3.00 threshold.
Result: A Green BigMove "Buy" arrow would appear on the chart for that day.
JWAT INDYHere’s a **professional, clear, and trader-friendly description** of your **Bollinger Band Mean Reversion Strategy**, written so you can use it in TradingView, a backtest report, or even in your trading plan document:
---
### 📊 **Bollinger Band Mean Reversion Strategy – Description**
This strategy is designed to exploit short-term overextensions in price relative to its statistical mean using **Bollinger Bands** as the primary volatility framework. It assumes that when price deviates significantly from the mean (the middle band), market conditions are temporarily stretched, creating a high-probability opportunity for **reversion to the mean**.
The system uses a standard **20-period Bollinger Band** with a **2.0 standard-deviation multiplier** to define overbought and oversold zones. When price closes below the **lower band**, it signals potential exhaustion of selling pressure and triggers a **long (buy)** setup. Conversely, when price closes above the **upper band**, it indicates overbought conditions and triggers a **short (sell)** setup.
To improve trade quality and avoid false reversals, the strategy integrates **ADX (Average Directional Index)** or another trend filter to confirm that volatility expansion is not part of a strong trending move. Trades are taken only when the market is in a **low-to-moderate trend environment**, where mean-reverting behavior is statistically favored.
Each trade aims for a modest **take-profit target near the middle Bollinger Band (the moving average)**, representing a return to equilibrium, with a predefined **stop loss** beyond recent highs or lows to control risk. Position sizing can be dynamic—based on account equity or fixed contract size—to allow compounding through consistent percentage-based risk.
This approach is particularly effective on **short intraday timeframes (e.g., 1-minute or 5-minute SPY charts)**, where frequent oscillations occur within tight volatility bands. The goal is to capture small, repeatable edges from market overreactions while maintaining a strict discipline in trade execution and risk management.
---
### 🧩 **Key Features**
* Core indicator: **Bollinger Bands (20, 2.0)**
* Confirmation filter: **ADX threshold (e.g., <25)** to identify ranging conditions
* Entry logic:
  * Long when price closes below lower band
  * Short when price closes above upper band
* Exit logic:
  * Take profit at the mid-band
  * Stop loss beyond prior swing or fixed % distance
* Optional filters: Time of day, session volatility, or multi-timeframe trend confirmation
* Ideal for: **Mean-reversion scalping** on liquid instruments like SPY, QQQ, or futures
---
Would you like me to write a **shorter version (2–3 sentences)** for your TradingView strategy description box — or keep this **full detailed version** for a trading plan document or presentation?
Bitcoin Buy-the-Dip Line (Auto timeframe switch)Many people ask me when is the right time to buy Bitcoin. However, most of them have little trading experience and no time to study technical strategies or tools.
That’s why I created a  simple and intuitive indicator  — easy enough for anyone to use.
 Usage 1 – Buy the Dip 
This indicator works only on  4H, 1D, 1W, and 1M  timeframes.
On each timeframe, you will see a single EMA line.
During a bull market, whenever the price dips below this EMA, it usually represents a good opportunity to  buy the dip .
 Usage 2 – Bull to Bear Transition 
On the daily timeframe, if the price stays below the EMA and continues to make  lower lows , it often signals that the market is transitioning into a  bearish phase .
Colored HMASimply a colored HMA. Perfect for trend following systems in combination with other indicators.
XAUUSD EMA20/50 + RSI + MACD + ATR Stops(with manual ADX)_VladevThe strategy is that when EMA20 crosses below EMA50 in a downward direction, RSI is below 50, and MACD histogram is in red, I enter a SELL/SHORT position, and vice versa, when EMA20 crosses above EMA50 in an upward direction, the RSI is above 50, and the MACD histogram is green, I enter a BUY/LONG position. 
I want you to take a detailed look at my strategy and tell me how you can improve it to make it more successful! Also, give me some ideas on how to position Take Profit and Stop Loss! 
Translated with DeepL.com (free version)
XAU_VladevXAUUSD EMA-RSI-MACD ATR Strategy that analyse the chart and by combining Oscillators, EMA's and trend way, strategy creates exact StopLoss and TakeProfit areas
Candle PlotUsed Linear Regression Candles by ugurvu
Added Regular and Heiken Ashi candles to choices
Added ability to choose timeframe but I find it does not look great when showing higher timeframes
To keep main chart less cluttered, I will add this indicator to my chart and then move a secondary indicator from the chart into it. You will need to pin the scale of the indicator to the scale of the Candle Plot.
Or, you can have the regular chart set to Regular candle and the Candle Plot set to Heiken Ashi or vice versa.
ORBs, EMAs, AVWAPThis Pine Script (version 6) is a multi-session trading indicator that combines Opening Range Breakouts (ORBs), Exponential Moving Averages (EMAs), and an Anchored VWAP (AVWAP) system — all in one overlay script for TradingView.
Here’s a clear breakdown of its structure and functionality:
🕒 1. Session Logic and ORB Calculation
Purpose: Identify and plot the high and low of the first 30 minutes (default) for the Tokyo, London, and New York trading sessions.
Session Anchors (NY time):
Tokyo → 20:00
London → 03:00
New York → 09:30
(All configurable in inputs.)
ORB Duration: Default is 30 minutes (orbDurationMin), also user-configurable.
Resets:
London and NY ORBs reset at the start of each new New York trading day (17:00 NY time).
Tokyo ORB resets independently using a stored timestamp.
Process:
For each session:
While the time is within the ORB window, the script captures the session’s high and low.
Once the window closes, those levels remain plotted until reset.
Plot Colors:
Tokyo → Yellow (#fecc02)
London → Gray (#8c9a9c)
New York → Magenta (#ff00c8)
These form visible horizontal lines marking the prior session ranges — useful for breakout or retest trading setups.
📈 2. EMA System
Purpose: Provide trend and dynamic support/resistance guidance.
It calculates and plots four EMAs:
EMA	Period	Color	Purpose
EMA 9	Short-term	Green	Fast signal
EMA 20	Short-term	Red	Confirms direction
EMA 113	Medium	Aqua	Trend filter
EMA 200	Long-term	Orange	Macro trend baseline
Each EMA is plotted directly on the price chart for visual confluence with ORB and VWAP levels.
⚖️ 3. Anchored VWAP (AVWAP)
Purpose: Display a volume-weighted average price anchored to specific timeframes or events, optionally with dynamic deviation or percentage bands.
Features:
Anchor Options:
Time-based: Session, Week, Month, Quarter, Year, Decade, Century
Event-based: Earnings, Dividends, Splits
VWAP resets when the chosen anchor condition is met (e.g., new month, new earnings event, etc.).
Bands:
Up to three levels of symmetric upper/lower bands.
Choose between Standard Deviation or Percentage-based widths.
Display Toggles:
Each band’s visibility is optional.
VWAP can be hidden on 1D+ timeframes (hideonDWM option).
Color Scheme:
VWAP: Fuchsia (magenta-pink) line
Bands: Green / Olive / Teal with light-filled zones
⚙️ 4. Technical Highlights
Uses ta.vwap() with built-in band calculations.
Handles instruments with or without volume (errors if missing volume).
Uses time-zone aware timestamps (timestamp(NY_TZ, …)).
Uses timeframe.change() to detect new anchors for the VWAP.
Employs persistent variables (var) to maintain session state across bars.
💡 In Practice
This indicator is designed for multi-session intraday traders who:
Trade Tokyo, London, or NY open breakouts or retests.
Use EMA stacking and crossovers for trend confirmation.
Use Anchored VWAP as a fair-value or mean-reversion reference.
Need clear visual structure across different market sessions.
It provides strong session separation, trend context, and volume-weighted price reference — making it ideal for discretionary or semi-systematic trading strategies focused on liquidity zones and session momentum.
200W MA Valuation ZonesInspired by "Crypto Currently" 
📈 200-Week MA Valuation Zones Indicator
This script visualizes long-term valuation zones based on the 200-week moving average (MA) — a widely followed metric for identifying major market cycle bottoms and tops.
It divides price levels into five distinct zones relative to the 200W MA:
🟦 Very Cheap — Below 200W MA
🟩 Cheap — 1.0× to 1.5× 200W MA
🟨 Fair Value — 1.5× to 2.0× 200W MA
🟧 Expensive — 2.0× to 2.5× 200W MA
🟥 Very Expensive — Above 2.5× 200W MA
You can choose to  anchor zones to the current price  or display full historical bands.
Color-coded regions and labels make it easy to identify when an asset is historically undervalued or overvalued based on long-term moving averages.
EMAs de JahazielThis indicator displays seven Exponential Moving Averages (EMA 5, 6, 9, 20, 50, 100, and 200) to help identify short-, medium-, and long-term market trends.
When shorter EMAs (5, 6, 9) cross above longer EMAs (50, 100, 200), it suggests increasing bullish momentum and potential uptrend continuation.  
Conversely, when shorter EMAs cross below longer EMAs, it indicates potential bearish momentum and a possible downtrend.
📈 The combination of these EMAs helps traders visualize market structure, momentum shifts, and key dynamic support/resistance levels.  
🧠 Suitable for scalping, intraday trading, swing trading, or confirming higher time frame trends across any market — Forex, indices, crypto, or commodities.
Volatility Channel Oscillator█ OVERVIEW
"Volatility Channel Oscillator" is a technical indicator that analyzes price volatility relative to dynamic price channels, displaying an oscillator, its moving average, and signals based on crossovers and divergences. The indicator offers customizable overbought and oversold levels, gradient visualization, and divergence detection, supported by alerts for key signals.
█ CONCEPTS
The VCO indicator creates dynamic price channels based on a moving average of the price (calculated as the arithmetic mean of the high and low prices: (high + low) / 2) and market volatility (measured as the average candle range and body size). These channels are not displayed on the chart but are used to calculate the oscillator value, which reflects the position of the closing price relative to the channel width, scaled to a range from -100 to +100, with the zero line as the central point. A moving average of the oscillator (SMA) smooths its values, enabling signals based on crossovers with the zero line or overbought/oversold levels. The indicator also detects divergences between price and the oscillator, which may indicate potential trend reversals. VCO is useful for identifying market momentum, reversal points, and trend confirmation, especially when combined with other technical analysis tools.
█ FEATURES
- Volatility Channels: Calculates invisible chart boundaries based on a simple moving average (SMA) of the price (high + low) / 2 and volatility (average candle range and body). The length parameter (default 30) sets the SMA length, and scale (default 200%) adjusts the channel width.
- Oscillator: Determines the oscillator value in the range of -100 to +100, indicating the closing price's position relative to the volatility channel. Displayed with dynamic coloring (green for positive values, red for negative).
- Oscillator Moving Average: A simple moving average (SMA) of the oscillator values, smoothing its movements. The signalLength parameter (default 20) defines the SMA length. Displayed in yellow with an optional gradient.
- Overbought/Oversold Levels: Configurable thresholds for the oscillator (overbought, default 50; oversold, default -50) and its moving average (maOverbought, default 30; maOversold, default -30), shown as horizontal lines with optional gradients. Band colors change dynamically (red for overbought, green for oversold, gray for neutral) based on the moving average's position relative to maOverbought/maOversold, reinforcing other signals.
- Divergences: Detects bullish (price forms a lower low, oscillator a higher low) and bearish (price forms a higher high, oscillator a lower high) divergences using pivots (pivotLength, default 2). Divergences are displayed with a delay equal to the pivot length; larger lengths increase reliability but delay signals. Use as additional confirmation.
Signals:
- Overbought/Oversold Crossovers: Green triangles (buy) when the oscillator crosses above the oversold level, red triangles (sell) when it crosses below the overbought level.
- Zero Line Crossovers: Buy/sell signals when the oscillator crosses the zero line upward (buy) or downward (sell).
- Moving Average Crossovers: Buy/sell signals when the oscillator's moving average crosses the zero line or the maOverbought/maOversold levels. Dynamic band color changes (red/green) at these crossovers reinforce other signals.
- Visualization: Gradient lines for the oscillator, its moving average, overbought/oversold levels, and zero line, with adjustable transparency. Gradient fill between the oscillator and zero line.
Divergence Labels: "Bull" (bullish) and "Bear" (bearish) labels with customizable color and transparency.
- Alerts: Built-in alerts for divergences, overbought/oversold crossovers, and zero line crossovers by the oscillator and its moving average.
█ HOW TO USE
Add to Chart: Apply the indicator via Pine Editor or the Indicators menu on TradingView.
Configure Settings:
- Channel and Oscillator Settings: Adjust the channel SMA length (length, default 30) and channel scaling (scale, default 200%). Increase scale for high-volatility markets.
- Threshold Levels: Set oscillator overbought (overbought, default 50) and oversold (oversold, default -50) levels, and moving average thresholds (maOverbought, default 30; maOversold, default -30).
- Divergence Settings: Enable/disable divergence detection (calculateDivergence) and set pivot length (pivotLength, default 2). Larger values increase reliability but delay signals.
- Signal Settings: Choose signal types (signalType): overbought/oversold, zero line, moving average, or all.
- Styling: Customize colors for the oscillator, moving average, horizontal levels, and divergence labels. Adjust gradient and fill transparency.
Interpreting Signals:
- Buy Signals: Green triangles below the bar when the oscillator or its moving average crosses above the oversold level or zero line.
- Sell Signals: Red triangles above the bar when the oscillator or its moving average crosses below the overbought level or zero line.
- Moving Average Signals: Green/red triangles when the moving average crosses maOverbought/maOversold levels, indicating potential reversals or trend continuation. Dynamic band color changes (red for overbought, green for oversold) at these crossovers reinforce other signals.
- Divergences: "Bull" (bullish) and "Bear" (bearish) labels indicate potential trend reversals with a delay based on pivot length. Use as confirmation.
- Overbought/Oversold Levels: Monitor price reactions in these zones as potential reversal points. Dynamic band color changes based on the moving average reinforce signals.
Signal Confirmation: Use VCO with other tools, such as pivot levels (for key turning points) or Fibonacci levels (for support/resistance zones).
█ APPLICATIONS
- Trend Trading: Zero line crossovers by the oscillator or its moving average identify momentum in uptrends or downtrends.
- Range Trading: Overbought/oversold levels help identify entry/exit points in sideways markets.
- Divergences: Use bullish/bearish divergences as additional confirmation of reversals, especially near key price levels.
- Trend Identification: To analyze trends over a longer perspective, increase the moving average length (signalLength) for more stable signals.
█ NOTES
- Test the indicator across different timeframes and markets to optimize parameters, such as length and scale, for your trading style.
- In strong trends, overbought/oversold levels may persist, requiring additional signal verification.
- Divergences are more reliable on higher timeframes (H4, D1), where market noise is reduced, but their delay requires caution.
- In low-liquidity markets, signals may be less effective, so use on high-liquidity assets is recommended.
Sicari Momentum OscillatorSicari Momentum Oscillator (SMO) 
 What is it? 
The Sicari Momentum Oscillator (SMO) is a price–volume momentum framework designed to quantify directional conviction in the market. It measures the acceleration of price movement relative to underlying participation, highlighting when momentum is being confirmed or contradicted by volume flow.
i) Uses exponential moving averages (EMAs) to calculate momentum rather than SMAs for faster response
ii) Identifies bullish and bearish divergences between price and momentum to anticipate exhaustion
iii) Integrates On-Balance Volume (OBV) to map volume momentum in real time
iv) Flags confluence where both price and volume momentum align, signalling stronger continuation potential
 How it works 
i) When EMAs expand or contract, the histogram adjusts dynamically to visualise the strength and direction of momentum
ii) Divergences appear when price and oscillator move in opposite directions - often preceding local tops or bottoms
iii) OBV is processed through the same EMA structure to produce a clean, comparable momentum curve
iv) Confluence dots appear only when both price and volume momentum agree in direction, marking periods of high-quality momentum
 How to use it 
i) Combine with the main Sicari indicator to validate directional bias and detect early trend transitions
ii) Watch for divergence to anticipate potential reversals or waning momentum
iii) Confluence dots indicate alignment between price and participation - a signal of underlying market strength or weakness
🟢  Bullish confluence when both price and volume expand upward 
🔴  Bearish confluence when both contract in unison 
The SMO distills the market’s internal rhythm into a single, adaptive pulse - delivering institutional-grade precision, clarity, and timing within the Sicari ecosystem.
Diwali Lights Pro — 7-Diyas Signal Matrix [KedArc Quant]🎯 Overview
“Diwali Lights Pro — 7-Diyas Signal Matrix” is a precision-built trend-sentiment indicator that blends the glow of seven technical “diyas” — each representing a different momentum or strength dimension — into one intuitive signal matrix. It was designed to celebrate light, discipline, and clarity in trading — helping traders filter noise, identify strong trend shifts, and take trades with conviction. Each diya is powered by a proven indicator component: RSI, Stochastic, EMA trend strength, and momentum slopes.Together, they light up your chart with buy/sell signals only when technical confluence aligns — like the diyas of Diwali shining in harmony.
💡 Core Concept
The indicator computes a composite score (–9 to +9) by evaluating seven key parameters:
| # | Diya           | Logic                 | Interpretation                 |
| 1 | RSI            | Overbought / Oversold | Short-term momentum exhaustion |
| 2 | Stochastic     | Direction & zones     | Confirmation of RSI            |
| 3 | Price vs EMA20 | Position of price     | Near-term trend bias           |
| 4 | EMA20 Slope    | Short-term momentum   | Strength confirmation          |
| 5 | EMA50 Slope    | Mid-term trend        | Trend stability                |
| 6 | EMA100 Slope   | Medium-term sentiment | Institutional bias             |
| 7 | EMA200 Slope   | Long-term sentiment   | Market direction baseline      |
The total of these 7 diyas creates a signal matrix that dynamically adapts to trend conditions.
⚙️ Inputs & Configuration
| RSI Length                  | 14               | Standard RSI window                  |
| Stochastic Length           | 14               | Measures momentum oscillation        |
| EMA Periods                 | 20, 50, 100, 200 | Multi-layer trend structure          |
| Overbought / Oversold Zones | 70 / 30          | Configurable thresholds              |
| Show Buy/Sell Labels        | ✅                | Toggle signal markers                |
| Show Banner                 | ✅                | Festive Diwali header with fireworks |
| Twinkle Interval            | 10 bars          | Animation timing                     |
| Fireworks Count             | 18               | Visual celebration intensity         |
| Background Opacity          | 100%             | Style preference                     |
🧭 Entry & Exit Logic
# ✅ Buy Signal (🪔)
A Buy triggers when:
* The total diya score crosses above zero,
* And at least four of seven components turn bullish.
This indicates that short-term oscillators, price action, and moving averages are all turning in unison — a strong entry zone after a pullback.
# 🔥 Sell Signal (🔥)
A Sell triggers when:
* The total diya score crosses below zero,
* And multiple slopes or price conditions flip bearish.
This flags weakening momentum and possible trend exhaustion.
# 💬 Suggested Usage
* Works beautifully on 5-min to 1-hour charts.
* Best when used with trend confirmation tools (volume, price structure).
* Avoid entering trades when signals flip rapidly within narrow ranges (sideways zones).
🧪 Mathematical Formulae
1. RSI Bucket (p₁):
p₁ = 
  2  if RSI < Very Oversold  
  1  if RSI < Oversold  
  0  if neutral  
 -1  if RSI > Overbought  
 -2  if RSI > Very Overbought
2. Stochastic Bucket (p₂): Similar to RSI bucketing.
3. Price vs EMA20 (p₃):
p₃ = sign(close - EMA20)
4–7. Slope Sign (EMA20, 50, 100, 200):
p₄₋₇ = sign(EMA  - EMA )
Total Score = Σ(p₁…p₇)
→ Crossover(total_score, 0) → Buy Signal
→ Crossunder(total_score, 0) → Sell Signal
📊 Why It’s Not Just a Mash-Up
Diwali Lights Pro uses:
* A unified scoring engine with weighted logic rather than conflicting triggers.
* Each component (diya) contributes equally, creating a normalized sentiment index.
* Smart signal filtering prevents repetitive false flips by enforcing trend alignment across multiple time frames.
* A dynamic, responsive structure optimized for clarity and minimal repainting.
 🎆 Unique Add-Ons
* Top-Right Diwali Banner: Festive “Happy Diwali” with animated fireworks 🎇 and diyas 🪔.
* Signal Filtering: Reduces noise in volatile ranges.
* EMA Cloud Context: Visual clarity of multi-layer trend zones.
* Optional Light Mode: Change fireworks opacity for a subtle or bright effect.
 📘 FAQ
Q1: Does this repaint?
No — it uses confirmed values (RSI, Stochastic, EMA slopes). Signals appear only after the bar closes.
Q2: Which timeframes work best?
Between 5m and 1h, depending on your strategy.
Use higher EMAs for swing setups.
Q3: Can I use it with alerts?
Yes, both Buy and Sell triggers come with built-in `alertcondition()` for instant notifications.
Q4: Can it be combined with other indicators?
Absolutely — it pairs well with volume profiles, volatility bands, or order-flow systems.
 🪔 Glossary
| Diya          | Candle or light — here, each diya = one technical indicator         |
| EMA           | Exponential Moving Average — measures smoothed trend bias           |
| RSI           | Relative Strength Index — momentum overbought/oversold oscillator   |
| Stochastic    | Momentum oscillator measuring closing levels relative to highs/lows |
| Slope Sign    | Direction of EMA movement — rising or falling                       |
| Signal Matrix | The combined system of all seven diyas generating a unified score   |
🧭 Final Note
> *Diwali Lights Pro* is not just a trading tool — it’s a visual celebration of confluence and discipline.
> When the diyas align, trends shine. Use it to trade in harmony with light, not against it. 🌟
⚠️ Disclaimer 
This script is provided for educational purposes only.
Past performance does not guarantee future results.
Trading involves risk, and users should exercise caution and use proper risk management when applying this strategy.
SMA RibbonThis indicator overlays multiple Simple Moving Averages (SMAs) on the price chart to help visualize both short- and long-term market trends. It includes five configurable SMA lines — 10, 21, 50, 100, and 200 periods by default — each plotted with distinct colors for quick differentiation.
Short-term averages (10 and 21) highlight near-term momentum, while medium- and long-term averages (50, 100, and 200) provide broader trend context and identify potential areas of dynamic support or resistance.
Users can easily adjust the period lengths and line thickness through the settings panel to fit different timeframes or trading styles.
 Features 
Plots 5 configurable SMAs (default: 10, 21, 50, 100, 200)
Adjustable line width and colors for visual clarity
Works seamlessly on any timeframe and instrument
Useful for identifying trend direction, strength, and key support/resistance zones
PivotBoss Oscillator (PBOsc)PivotBoss Oscillator (PBOsc) – Description
The PivotBoss Oscillator (PBOsc) is a momentum-based indicator derived from the PivotBoss PEMA Method, designed to identify market bias, trend strength, and potential reversals across all timeframes and instruments.
Unlike traditional oscillators, PBOsc measures the differential among three pivot-based EMAs (fast, medium, and slow) relative to the pivot point (PP) of each bar, allowing it to self-adjust dynamically with current market volatility.
Calculation Logic
Pivot Point (PP):
𝑃
𝑃
=
(
𝐻
𝑖
𝑔
ℎ
+
𝐿
𝑜
𝑤
+
𝐶
𝑙
𝑜
𝑠
𝑒
)
/
3
PP=(High+Low+Close)/3
Pivot-Based EMAs:
Fast PEMA = EMA(PP, fast length)
Medium PEMA = EMA(PP, medium length)
Slow PEMA = EMA(PP, slow length)
Differentials:
Diff1 = Fast PEMA − Slow PEMA
Diff2 = Medium PEMA − Slow PEMA
Diff3 = Fast PEMA − Medium PEMA
Oscillator Value:
𝑃
𝐵
𝑂
𝑠
𝑐
=
(
𝐷
𝑖
𝑓
𝑓
1
+
𝐷
𝑖
𝑓
𝑓
2
+
𝐷
𝑖
𝑓
𝑓
3
)
/
𝑃
𝑃
PBOsc=(Diff1+Diff2+Diff3)/PP
Interpretation
Above Zero Line (0): Bullish bias; momentum favors the upside.
Below Zero Line (0): Bearish bias; momentum favors the downside.
Advancing Bars (Green): PBOsc rising → Strengthening trend or positive momentum.
Declining Bars (Red): PBOsc falling → Weakening trend or negative momentum.
Analytical Uses
Change of Bias: Detects short-term shifts in market sentiment.
Trending Markets: Measures pullbacks or continuations within ongoing trends.
Divergence: Divergence between price and PBOsc can signal potential reversals.
Default Settings
Default: (8, 13, 21)
Alternate Presets: (5, 8, 13), (13, 21, 34), (21, 34, 55)
8/13/200 EMA Crossover ScreenerHold your Options Longer
Entry (Long):
-Daily Chart
-8 EMA crosses above 200 and 13 EMA
- Price remains above 200 EMA
-Break of Structure
EXIT/STOP:
-Stop under recent swing low
-Exit when prices crosses below 13 EMA
Why:
Keeps you trading with trend, filters noise, avoids fights with the market.
Run stock Screener with filters: Price > 200 EMA, 8 EMA > 13 EMA, 8 EMA > 200 EMA, Volume > 500,000.
Check for Buy Signal.
Visually confirm a recent swing high (a peak from the last 30 days) and verify if the price broke above it with strong volume.
Use Pine Script, modify it to create an alert of the stock that you screened. 
REMS Synergy OverlayThis 3rd generation REMS indicator builds upon the foundations assessing the relationships between RSI, EMAs, MACDs, and Stochastic RSI across multiple timeframes. Designed to help traders identify less frequent, but high probability entries across 2 time frames. Uses 3 levels of confluence indicators for both long and short moves.
Confluence Level 1 (Highest Conviction):
Evaluates selected criteria across both timeframes. All selected criteria must be in confluence to trigger signal.
Confluence Level 2 (Moderate Conviction):
Selected criteria can be selected by each timeframe individually. All selected criteria must be in confluence to trigger signal.
Confluence Level 3 (Lower/supportive confluence):
Of the selected criteria, this level can evaluate a set number of conditions that must be met. Number of conditions is user-defined.
Includes VWAP and 4 EMAs as optional visual representations.
Includes 'Enhanced Candles' than can colour code candlesticks for better visual identification. (off by default)
Originally designed with 5 minute and 2 minute timeframes in mind, and pairs well with REMS First Strike and/or REMS Snap Shot indicators.
Values coded below:
RSI
-Primary: Length = 14, Smoothing = 20 (via SMA)
-Secondary: Length = 7, Smoothing = 20 (via SMA)
Stochastic RSI
Primary:
-RSI Length = 14
-Stochastic Length = 8
-%K = 3, %D = 3
Secondary:
-RSI Length = 7
-Stochastic Length = 7
-%K = 3, %D = 2
MACD - applied to both timeframes
-Fast = 12, Slow = 26, Signal = 9
Kalman Exponentialy Weighted Moving Average | MisinkoMasterThe  Kalman Exponentialy Weighted Moving Average  is a technical analysis tool providing users with more responsive and smoother signals, providing crystal-clear signals and giving investors valuable insights on market trends, however it could be used in many cases.
A deeper dive into the indicator:
When going through my creation of strategies, I had stumbled on an indicator called "EWMA", which worked decently, but it was far too simple in my opinion so I decided to combine the EMA & WMA, but with a little more complexity,  and it has worked .
I began by learning how both MAs work, I already knew how WMA works, but EMA I did not.
After learning both I found out they were quite simple in principle and that there was a way to combine them in such way that you would get really good signals, however it was way too noisy.
While it could avoid major dumps that were not avoided by most indicators, it would lose that edge because of being too noisy.
After testing out many conditions, combinations & more, the best working one was this one:
WMA > KEWMA = long
WMA < KEWMA = short
I will explain this later, but this gave fast signals, and while it still was noisy it was better then before.
To smooth it out, I started testing price filters => Gaussian Filter and many more were tested out, but they either slowed it down to the point it was no longer of much use, or did not smooth it at all.
After testing the Kalman filter on this thing, I was shocked.
It was just right and made the indicator a lot better, smoothed it and kept most of the responsivness it had.
Now to the big question: "How is it calculated?"
Now first it needs to calculate the Kalman source, which smooths the source which will be used.
After that, we calculate the Weighted Moving Average for " n " period on the Kalman source.
Now that we have our WMA values, we need to calculate " a ".
a is calculated in the following formula:
 a  = 2/(1+ n )
where  n  is the user defined length
Now for the last part:
KEWMA = WMAyesterday * (1-a) + WMAtoday * a
This creates a very accurate and reactive indicator, that can prove useful in many uses, beyond those I will and did talk about.
For the trend logic as mentioned before:
Long = WMA > KEWMA
Short = WMA < KEWMA
This worked best, but you might find better ways of using it.
I think that is all I have to say about it, I left it open source so you can all code it in your strategies and play around with it.
Enjoy Gs!






















