BIST30 % Above Moving Average (Breadth)
BIST30 % Above Moving Average (Breadth)
This indicator shows the percentage of BIST30 stocks trading above a selected moving average.
It is a market breadth tool, designed to measure the overall health and participation of the market.
How it works
By default, it uses the 50-day SMA.
You can switch between SMA/EMA and choose different periods (5 / 20 / 50 / 200).
The script checks each BIST30 stock individually and counts how many are closing above the chosen MA.
Interpretation
Above 80% → Overbought zone (short-term correction likely).
Below 20% → Oversold zone (potential rebound).
Around 50% → Neutral / indecisive market.
If the index (BIST:XU030) rises while this indicator falls → the rally is narrow-based, led by only a few stocks (a warning sign).
Use cases
Short-term traders → Use MA=5 or 20 for momentum signals.
Swing / Medium-term investors → Use MA=50 for market health.
Long-term investors → Use MA=200 to track bull/bear market cycles.
Notes
This script covers only BIST30 stocks by default.
The list can be updated for BIST100 or specific sectors (e.g., banks, industrials).
Breadth indicators should not be used as standalone buy/sell signals — combine them with price action, volume, and other technical tools for confirmation.
Wskaźniki i strategie
[Outperforms Bitcoin Since 2011] Professional MA StrategyThis Strategy OUTPEFORMS Bitcoin since 2011.
Timeframe: Daily
MA used (Fast and Slow): WMA (Weighted Moving Average)
Fast MA Length: 30 days (Reflects the Monthly Trend - Short Term Perspective)
Slow MA Length: 360 days (Reflects the Annual Trend - Long Term Perspective)
Position Size: 100% of equity
Margin for Long = 10% of equity
Margin for Short = 10% of equity
Open Long = Typical Price Crosses Above its Fast MA and Price is above its Slow MA
Open Short = Typical Price Crosses Below its Fast MA and Price is below its Slow MA
Close Long = Typical Price Crosses Below its Fast MA
Close Short = Typical Price Crosses Below its Fast MA
note: Typical Price = (high + low + close) / 3
Average Directional Index + MA (with Fill trend color)Description
This indicator combines the Average Directional Index (ADX) with a configurable moving average (SMA, EMA, RMA, or WMA) and visual fill. It helps traders assess the strength of a trend by highlighting when ADX is above or below its moving average.
When ADX is rising above the MA, it suggests strengthening momentum; when falling below, it indicates weakening momentum. The dynamic green/red fill makes these transitions easy to spot.
Horizontal threshold levels at 20 and 25 are included as key references:
Below 20 → often signals ranging or sideways/consolidation markets.
Crossing above 20 or 25 → may suggest the beginning of a breakout or trend, useful for trend-following strategies.
How to use
Filter out sideways/consolidation phases and focus on breakout or trend-following opportunities when price action coincides with ADX crossing above the 20/25 thresholds.
Customization
ADX length & smoothing.
Moving average type and length.
Adjustable fill transparency.
Optional threshold lines at 20 and 25.
KCandle Strategy 1.0# KCandle Strategy 1.0 - Trading Strategy Description
## Overview
The **KCandle Strategy** is an advanced Pine Script trading system based on bullish and bearish engulfing candlestick patterns, enhanced with sophisticated risk management and position optimization features.
## Core Logic
### Entry Signal Generation
- **Pattern Recognition**: Detects bullish and bearish engulfing candlestick formations
- **EMA Filter**: Uses a customizable EMA (default 25) to filter trades in the direction of the trend
- **Entry Levels**:
- **Long entries** at 25% of the candlestick range from the low
- **Short entries** at 75% of the candlestick range from the low
- **Signal Validation**: Orange candlesticks indicate valid setup conditions
### Risk Management System
#### 1. **Stop Loss & Take Profit**
- Configurable stop loss in pips
- Risk-reward ratio setting (default 2:1)
- Visual representation with colored lines and labels
#### 2. **Break-Even Management**
- Automatically moves stop loss to break-even when specified R:R is reached
- Customizable break-even offset for added protection
- Prevents losing trades after reaching profitability
#### 3. **Trailing Stop System**
- **Activation Trigger**: Activates when position reaches specified R:R level
- **Distance Control**: Maintains trailing stop at defined distance from entry
- **Step Management**: Moves stop loss forward in incremental R steps
- **Dynamic Protection**: Locks in profits while allowing for continued upside
### Advanced Features
#### Position Management
- **Pyramiding Support**: Optional multiple position entries with size reduction
- **Order Expiration**: Pending orders automatically cancel after specified bars
- **Position Sizing**: Percentage-based allocation with pyramid level adjustments
#### Visual Interface
- **Real-time Monitoring**: Comprehensive information panel with all strategy metrics
- **Historical Tracking**: Visual representation of past trades and levels
- **Color-coded Indicators**: Different colors for break-even, trailing, and standard stops
- **Debug Options**: Optional labels for troubleshooting and optimization
## Key Parameters
### Basic Settings
- **EMA Length**: Trend filter period
- **Stop Loss**: Risk per trade in pips
- **Risk/Reward**: Target profit ratio
- **Order Validity**: Duration of pending orders
### Risk Management
- **Break-Even R:R**: Profit level to trigger break-even
- **Trailing Activation**: R:R level to start trailing
- **Trailing Distance**: Stop distance from entry when trailing
- **Trailing Step**: Increment for stop loss advancement
## Strategy Benefits
1. **Objective Entry Signals**: Based on proven candlestick patterns
2. **Trend Alignment**: EMA filter ensures trades align with market direction
3. **Robust Risk Control**: Multiple layers of protection (SL, BE, Trailing)
4. **Profit Optimization**: Trailing stops maximize winning trade potential
5. **Flexibility**: Extensive customization options for different market conditions
6. **Visual Clarity**: Complete visual feedback for trade management
## Ideal Use Cases
- **Swing Trading**: Medium-term positions with trend-following approach
- **Breakout Trading**: Capturing momentum from engulfing patterns
- **Risk-Conscious Trading**: Suitable for traders prioritizing capital preservation
- **Multi-Timeframe**: Adaptable to various timeframes and instruments
---
*The KCandle Strategy combines traditional technical analysis with modern risk management techniques, providing traders with a comprehensive tool for systematic market participation.*
Bollinger Band Oscillator (Distance between 2 bands)📌 Bollinger Band Width Oscillator
Description
This indicator measures the distance between the Upper and Lower Bollinger Bands and displays it as an oscillator. It is designed to help traders track squeeze (contraction) and expansion phases in the market, which often precede significant price moves.
Calculation
Bollinger Bands are built from a moving average (MA) and standard deviation.
Band Width = Upper Band – Lower Band.
Users can normalize the width in three ways:
Absolute: raw value in price units.
% of Basis: width relative to the MA (useful for cross-asset or multi-timeframe comparison).
ATR-normalized: width divided by ATR, filtering out absolute volatility effects.
Interpretation
Low oscillator values → Bands are contracting → market is consolidating, often a precursor to volatility breakouts.
High oscillator values → Bands are expanding → market is experiencing strong volatility or following a breakout.
The included Signal line can help identify turning points when the oscillator crosses above/below it.
Customization
Select MA type (SMA, EMA, SMMA, WMA, VWMA).
Adjust StdDev multiplier.
Choose normalization (Absolute, % Basis, ATR).
Optional smoothing and histogram/line display.
👉 Practical Use:
Detect upcoming breakouts by spotting “squeeze” conditions.
Compare volatility regimes across assets or timeframes.
Enhance breakout or trend-following strategies with volatility context.
🔹 Short Description (for TradingView search/preview)
Measures the width of Bollinger Bands as an oscillator. Helps identify squeeze and expansion phases, anticipate breakouts, and track volatility across assets or timeframes.
Intraday Bar CounterThis indicator plots a counter on the chart that tracks the number of bars since the beginning of the current day.
The counter resets to zero on the first bar of each new calendar day (midnight). This functionality is provided only on intraday and tick charts.
The indicator is designed to operate on a wide range of symbols without requiring manual adjustments for specific trading sessions.
Weekend Hunter Ultimate v6.2 Weekend Hunter Ultimate v6.2 - Automated Crypto Weekend Trading System
OVERVIEW:
Specialized trading strategy designed for cryptocurrency weekend markets (Saturday-Sunday) when institutional traders are typically offline and market dynamics differ significantly from weekdays. Optimized for 15-minute timeframe execution with multi-timeframe confluence analysis.
KEY FEATURES:
- Weekend-Only Trading: Automatically activates during configurable weekend hours
- Dynamic Leverage: 5-20x leverage adjusted based on market safety and signal confidence
- Multi-Timeframe Analysis: Combines 4H trend, 1H momentum, and 15M execution
- 10 Pre-configured Crypto Pairs: BTC, ETH, LINK, XRP, DOGE, SOL, AVAX, PEPE, TON, POL
- Position & Risk Management: Max 4 concurrent positions, -30% account protection
- Smart Trailing Stops: Protects profits when approaching targets
RISK MANAGEMENT:
- Maximum daily loss: 5% (configurable)
- Maximum weekend loss: 15% (configurable)
- Per-position risk: Capped at 120-156 USDT
- Emergency stops for flash crashes (8% moves)
- Consecutive loss protection (4 losses = pause)
TECHNICAL INDICATORS:
- CVD (Cumulative Volume Delta) divergence detection
- ATR-based dynamic stop loss and take profit
- RSI, MACD, Bollinger Bands confluence
- Volume surge confirmation (1.5x average)
- Weekend liquidity adjustments
INTEGRATION:
- Designed for Bybit Futures (0.075% taker fee)
- WunderTrading webhook compatibility via JSON alerts
- Minimum position size: 120 USDT (Bybit requirement)
- Initial capital: $500 recommended
TARGET METRICS:
- Win rate target: 65%
- Average win: 5.5%
- Average loss: 1.8%
- Risk-reward ratio: ~3:1
IMPORTANT DISCLAIMERS:
- Past performance does not guarantee future results
- Leveraged trading carries substantial risk of loss
- Weekend crypto markets have 13% of normal liquidity
- Not suitable for traders who cannot afford to lose their entire investment
- Requires continuous monitoring and adjustment
USAGE:
1. Apply to 15-minute charts only
2. Configure weekend hours for your timezone
3. Set up webhook alerts for automation
4. Monitor performance table in top-right corner
5. Adjust parameters based on your risk tolerance
This is an experimental strategy for educational purposes. Always test with small amounts first and never invest more than you can afford to lose completely.
Waves of Wealth Pair Trading RatioThis versatile indicator dynamically plots the ratio between two user-selected instruments, helping traders visualize relative performance and detect potential mean-reversion or trend continuation opportunities.
Features include:
User inputs for selecting any two instrument symbols for comparison.
Adjustable moving average period to track the average ratio over time.
Customizable standard deviation multiplier to define statistical bands for overbought and oversold conditions.
Visual display of the ratio line alongside upper and lower bands for clear trading signals.
Ideal for pair traders and market analysts seeking a flexible tool to monitor inter-asset relationships and exploit deviations from historical norms.
Simply set your preferred symbols and parameters to tailor the indicator to your trading style and assets of interest.
How to Use the Custom Pair Trading Ratio Indicator
Select symbols: Use the indicator inputs to set any two instruments you want to compare—stocks, commodities, ETFs, or indices. No coding needed, just type or select from the dropdown.
Adjust parameters: Customize the moving average length to suit your trading timeframe and style. The standard deviation multiplier lets you control sensitivity—higher values mean wider bands, capturing only larger deviations.
Interpret the chart:
The ratio line shows relative strength between the two instruments.
The middle line represents the average ratio (mean).
The upper and lower bands indicate statistical extremes where price action is usually overextended.
Trading signals:
Look to enter pair trades when the ratio moves outside the bands—expecting a return to the mean.
Use the bands and mean to set stop-loss and profit targets.
Combine with other analysis or fundamental insight for best results.
tclibLibrary "tclib"
super_smoother(data, smoothing_period)
Parameters:
data (float)
smoothing_period (int)
The Best Strategy Template[LuciTech]Hello Traders,
This is a powerful and flexible strategy template designed to help you create, backtest, and deploy your own custom trading strategies. This template is not a ready-to-use strategy but a framework that simplifies the development process by providing a wide range of pre-built features and functionalities.
What It Does
The LuciTech Strategy Template provides a robust foundation for building your own automated trading strategies. It includes a comprehensive set of features that are essential for any serious trading strategy, allowing you to focus on your unique trading logic without having to code everything from scratch.
Key Features
The LuciTech Strategy Template integrates several powerful features to enhance your strategy development:
•
Advanced Risk Management: This includes robust controls for defining your Risk Percentage per Trade, setting a precise Risk-to-Reward Ratio, and implementing an intelligent Breakeven Stop-Loss mechanism that automatically adjusts your stop to the entry price once a specified profit threshold is reached. These elements are crucial for capital preservation and consistent profitability.
•
Flexible Stop-Loss Options: The template offers adaptable stop-loss calculation methods, allowing you to choose between ATR-Based Stop-Loss, which dynamically adjusts to market volatility, and Candle-Based Stop-Loss, which uses structural price points from previous candles. This flexibility ensures the stop-loss strategy aligns with diverse trading styles.
•
Time-Based Filtering: Optimize your strategy's performance by restricting trading activity to specific hours of the day. This feature allows you to avoid unfavorable market conditions or focus on periods of higher liquidity and volatility relevant to your strategy.
•
Customizable Webhook Alerts: Stay informed with advanced notification capabilities. The template supports sending detailed webhook alerts in various JSON formats (Standard, Telegram, Concise Telegram) to external platforms, facilitating real-time monitoring and potential integration with automated trading systems.
•
Comprehensive Visual Customization: Enhance your analytical clarity with extensive visual options. You can customize the colors of entry, stop-loss, and take-profit lines, and effectively visualize market inefficiencies by displaying and customizing Fair Value Gap (FVG) boxes directly on your chart.
How It Does It
The LuciTech Strategy Template is meticulously crafted using Pine Script, TradingView's powerful and expressive programming language. The underlying architecture is designed for clarity and modularity, allowing for straightforward integration of your unique trading signals. At its core, the template operates by taking user-defined entry and exit conditions and then applying a sophisticated layer of risk management, position sizing, and trade execution logic.
For instance, when a longCondition or shortCondition is met, the template dynamically calculates the appropriate position size. This calculation is based on your specified risk_percent of equity and the stop_distance (the distance between your entry price and the calculated stop-loss level). This ensures that each trade adheres to your predefined risk parameters, a critical component of disciplined trading.
The flexibility in stop-loss calculation is achieved through a switch statement that evaluates the sl_type input. Whether you choose an ATR-based stop, which adapts to market volatility, or a candle-based stop, which uses structural price points, the template seamlessly integrates these methods. The ATR calculation itself is further refined by allowing various smoothing methods (RMA, SMA, EMA, WMA), providing granular control over how volatility is measured.
Time-based filtering is implemented by comparing the current bar's time with user-defined start_hour, start_minute, end_hour, and end_minute inputs. This allows the strategy to activate or deactivate trading during specific market sessions or periods of the day, a valuable tool for optimizing performance and avoiding unfavorable conditions.
Furthermore, the template incorporates advanced webhook alert functionality. When a trade is executed, a customizable JSON message is formatted based on your webhook_format selection (Standard, Telegram, or Concise Telegram) and sent via alert function. This enables seamless integration with external services for real-time notifications or even automated trade execution through third-party platforms.
Visual feedback is paramount for understanding strategy behavior. The template utilizes plot and fill functions to clearly display entry prices, stop-loss levels, and take-profit targets directly on the chart. Customizable colors for these elements, along with dedicated options for Fair Value Gap (FVG) boxes, enhance the visual analysis during backtesting and live trading, making it easier to interpret the strategy's actions.
How It's Original
The LuciTech Strategy Template distinguishes itself in the crowded landscape of TradingView scripts through its unique combination of integrated, advanced risk management features, highly flexible stop-loss methodologies, and sophisticated alerting capabilities, all within a user-friendly and modular framework. While many templates offer basic entry/exit signal integration, LuciTech goes several steps further by providing a robust, ready-to-use infrastructure for managing the entire trade lifecycle once a signal is generated.
Unlike templates that might require users to piece together various risk management components or code complex stop-loss logic from scratch, LuciTech offers these critical functionalities out-of-the-box. The inclusion of dynamic position sizing based on a user-defined risk percentage, a configurable risk-to-reward ratio, and an intelligent breakeven mechanism significantly elevates its utility. This comprehensive approach to capital preservation and profit targeting is a cornerstone of professional trading and is often overlooked or simplified in generic templates.
Furthermore, the template's provision for multiple stop-loss calculation types—ATR-based for volatility adaptation, and candle-based for structural support/resistance—demonstrates a deep understanding of diverse trading strategies. The underlying code for these calculations is already implemented, saving developers considerable time and effort. The subtle yet powerful inclusion of FVG (Fair Value Gap) related inputs also hints at advanced price action concepts, offering a sophisticated layer of analysis and execution that is not commonly found in general-purpose templates.
The advanced webhook alerting system, with its support for various JSON formats tailored for platforms like Telegram, showcases an originality in catering to the needs of modern, automated trading setups. This moves beyond simple TradingView pop-up alerts, enabling seamless integration with external systems for real-time trade monitoring and execution. This level of external connectivity and customizable data output is a significant differentiator.
In essence, the LuciTech Strategy Template is original not just in its individual features, but in how these features are cohesively integrated to form a powerful, opinionated, yet highly adaptable system. It empowers traders to focus their creative energy on developing their core entry/exit signals, confident that the underlying framework will handle the complexities of risk management, trade execution, and external communication with precision and flexibility. It's a comprehensive solution designed to accelerate the development of robust and professional trading strategies.
How to Modify the Logic to Apply Your Strategy
The LuciTech Strategy Template is designed with modularity in mind, making it exceptionally straightforward to integrate your unique trading strategy logic. The template provides a clear separation between the core strategy management (risk, position sizing, exits) and the entry signal generation. This allows you to easily plug in your own buy and sell conditions without altering the robust underlying framework.
Here’s a step-by-step guide on how to adapt the template to your specific trading strategy:
1.
Locate the Strategy Logic Section:
Open the Pine Script editor in TradingView and navigate to the section clearly marked with the comment //Strategy Logic Example:. This is where the template’s placeholder entry conditions (a simple moving average crossover) are defined.
2.
Define Your Custom Entry Conditions:
Within this section, you will find variables such as longCondition and shortCondition. These are boolean variables that determine when a long or short trade should be initiated. Replace the existing example logic with your own custom buy and sell conditions. Your conditions can be based on any combination of indicators, price action patterns, candlestick formations, or other market analysis techniques. For example, if your strategy involves a combination of RSI and MACD, you would define longCondition as (rsi > 50 and macd_line > signal_line) and shortCondition as (rsi < 50 and macd_line < signal_line).
3.
Leverage the Template’s Built-in Features:
Once your longCondition and shortCondition are defined, the rest of the template automatically takes over. The integrated risk management module will calculate the appropriate position size based on your Risk % input and the chosen Stop Loss Type. The Risk:Reward ratio will determine your take-profit levels, and the Breakeven at R feature will manage your stop-loss dynamically. The time filter (Use Time Filter) will ensure your trades only occur within your specified hours, and the webhook alerts will notify you of trade executions.
Inside Bar Breakout Indicator V2 by Tek Tek Teknik AnalizThis indicator contains 7 parameter RSIs (relative power index). (It can be changed from the code because it is open source.)
Inside follows the formation of the bar and the price is under the EMA line, if the RSI rises above 70, it starts to produce a signal for sales with a red colored label. (Not every signal does not represent net sales. It is only for aid purposes!)
If the price is above the EMA line and the RSI goes below the value of 30, the green colored label starts to produce purchase signals. (Not every signal does not represent clearly. It is only for help!)
Youtube channel: Tek Tek Teknik Analiz
X : @TTTeknikanaliz
Turtle Trading by the Nato FinancialsFor the Turtle-style breakout system (with ATR stop, 20-day breakout, 10-day exit, and filters like ADX/volume), I will share the win rates once testing is done.
RSI/Stochastic with overlays a moving average + Bollinger BandsCompact oscillator panel that lets you switch the base between RSI and Stochastic %K, then overlays a moving average + Bollinger Bands on the oscillator values (not on price) to read momentum strength and squeeze/expansion.
What’s added
Selectable base: RSI ↔ Stochastic %K (plots %D when Stoch is chosen).
MA + BB on oscillator to gauge momentum trend (MA) and volatility (bands).
Adjustable bands 70/50/30 with optional fill, plus optional regular divergence and alerts.
How to read
Bull bias: %K above osc-MA and pushing/closing near Upper BB; confirm with %K > %D.
Bear bias: %K below osc-MA and near Lower BB; confirm with %K < %D.
Squeeze: BB on oscillator tightens → expect momentum breakout.
Overextension: repeated touches of Upper/Lower BB in 70/30 zones → strong trend; watch for %K–%D recross.
Quick settings (start here)
Stoch: 14 / 3 / 3; Bands: 70/50/30.
Osc-MA: EMA 14.
BB on oscillator: StdDev 2.0 (tune 1.5–2.5).
Note
Analysis tool, not financial advice. Backtest across timeframes and use risk management.
SatoshiFrame Pivot DetectorThis script detects pivot highs and lows on the chart and plots the last three pivots as fixed horizontal rays that do not shift when the chart moves. It also optionally displays labels for each pivot and can color the levels based on strength thresholds.
RSI Custom Crossermarks custom RSI cross upwards. Just to help identify wherever there is crossover. It can be used for analysis of psi. Not a strategy
Panchak Dates High/Low 2024-2025 - UpdatedThis is showing Panchak Periods High and Low and plot line on high value and low value
LB PortLag Exit IndicatorAllows you to compare a benchmark against any asset over the last X candles. Simple.
Triple RSI | MisinkoMasterThe Triple RSI (TRSI) is an advanced trend-following oscillator designed to capture trend reversals with speed and smoothness, combining concepts from traditional RSI, multi-timeframe momentum analysis, and layered moving average smoothing.
By blending multiple RSI lengths and applying a unique smoothing sequence, the TRSI creates a fast, momentum-driven RSI oscillator that reduces noise without sacrificing responsiveness.
🔎 Methodology
The indicator is built in three main steps:
Multi-Length RSI Calculation
Three RSIs are calculated using different lengths derived from the user’s input n:
RSI(√n) → very fast, highly responsive.
RSI(n/2) → moderately fast.
RSI(n) → slower, more stable baseline.
Each RSI is normalized by subtracting 50, centering values around zero.
Triple RSI Formula
The three RSIs are combined into the base formula:
TRSI=RSI(√n)+RSI(n/2)−RSI(n)
TRSI=RSI(√n)+RSI(n/2)−RSI(n)
This subtracts the slower RSI from the faster ones, boosting responsiveness and making the TRSI more momentum-oriented than a standard RSI.
Layered Smoothing
The raw TRSI is smoothed in three steps:
RMA(n/2)
RMA(√n)
HMA(√n)
This sequence balances stability and speed:
RMA provides consistency and reduces false noise.
HMA adds responsiveness and precision.
The result is a smooth yet reactive oscillator, optimized for reversal detection.
📈 Trend Classification
The TRSI offers three ways to interpret trend direction:
Oscillator Values
Above 0 → Bullish (uptrend).
Below 0 → Bearish (downtrend).
Oscillator Colors
Green TRSI line → Positive momentum.
Red TRSI line → Negative momentum.
Background Colors
Green background flash → Reversal into bullish trend.
Red background flash → Reversal into bearish trend.
This makes it easy to scan past price history and quickly identify turning points.
🎨 Visualization
TRSI line plotted with dynamic coloring (green/red).
Filled area between TRSI and zero-line reflects momentum bias.
Background flashes highlight trend reversal points, adding context and clarity for visual traders.
⚡ Features
Adjustable length parameter (n).
Dynamic use of √n and n/2 for multi-speed RSI blending.
Built-in smoothing with 2× RMA + 1× HMA.
Multiple trend detection methods (value, color, background).
Works across all assets and timeframes (crypto, forex, stocks, indices).
✅ Use Cases
Reversal Detection → Catch early shifts in trend direction.
Trend Confirmation → Stay aligned with momentum.
Momentum Filter → Avoid counter-trend trades in trending markets.
Historical Analysis → Quickly scan past reversals via background coloring.
⚠️ Limitations
As with all oscillators, TRSI may give false signals in sideways/choppy markets.
Optimal sensitivity depends on asset volatility → adjust n for best results.
It is not a standalone system and should be combined with other tools (trend filters, volume, higher timeframe confluence).
Z-Score For Loop | MisinkoMasterThe Z-Score For Loop (ZSFL) is a unique trend-following oscillator designed to detect potential reversals and momentum shifts earlier than traditional tools, providing traders with fast, adaptive, and reliable signals.
Unlike common smoothing techniques (moving averages, medians, or modes), the ZSFL introduces a for-loop comparison method that balances speed and noise reduction, resulting in a powerful reversal-detection system.
🔎 Methodology
The indicator is built in two main stages:
Z-Score Calculation
Formula:
Z=(Source−Mean)/Standard Deviation
Z=
Standard Deviation
(Source−Mean)
The user can select the averaging method for the mean: SMA, EMA, WMA, HMA, DEMA, or TEMA.
Recommended: EMA, SMA, or WMA for balanced accuracy.
The choice of biased (sample) or unbiased (population) standard deviation is also available.
➝ On its own, the raw Z-score is fast but noisy, requiring additional filtering.
For Loop Logic (Noise Reduction)
Instead of using traditional smoothing (which adds lag), the indicator applies a for loop comparison.
The current Z-score is compared against previous values over a user-defined range (start → end).
Each comparison adds or subtracts “points”:
+1 point if the current Z-score is higher than a past Z-score.
-1 point if it is lower.
The final value is the cumulative score, reflecting whether the Z-score is generally stronger or weaker than its historical context.
➝ This approach keeps speed intact while removing much of the false noise that raw Z-scores generate.
📈 Trend Logic
Bullish Signal (Cyan) → Triggered when the score crosses above the upper threshold (default +45).
Bearish Signal (Magenta) → Triggered when the score crosses below the lower threshold (default -25).
Neutral → When the score remains between the thresholds.
Thresholds are adjustable, making the tool flexible for different assets and timeframes.
🎨 Visualization
The ZSFL score is plotted as a main oscillator line.
Upper and lower thresholds are plotted as static reference levels.
The price chart can also be color-coded with trend signals (cyan for bullish, magenta for bearish) to provide immediate visual confirmation.
⚡ Features
Adjustable Z-score length (len).
Multiple average types for the mean (SMA, EMA, WMA, HMA, DEMA, TEMA).
Toggle between biased vs. unbiased SD calculations.
Adjustable For Loop range (start, end).
Adjustable upper and lower thresholds for signal generation.
Works as both an oscillator and a price overlay tool.
✅ Use Cases
Reversal Detection → Spot early shifts before price confirms them.
Trend Confirmation → Use thresholds to filter false reversals.
System Filter → Combine with trend indicators to refine entries.
Multi-Timeframe Setup → Works well across different timeframes for swing, day, or intraday trading.
⚠️ Limitations
As with all oscillators, the ZSFL will generate false signals in sideways/choppy markets.
Optimal parameters (length, loop size, thresholds) may differ across assets.
It is not a standalone trading system — use alongside other forms of analysis (trend filters, volume, higher timeframe confluence).
Double Median SD Bands | MisinkoMasterThe Double Median SD Bands (DMSDB) is a trend-following tool designed to capture market direction in a way that balances responsiveness and smoothness, filtering out excessive noise without introducing heavy lag.
Think of it like a house:
A jail (too restrictive) makes you miss opportunities.
No house at all (too unsafe) leaves you exposed to false signals.
DMSDB acts like a comfortable house with windows—protecting you from the noise while still letting you see what’s happening in the market.
🔎 Methodology
The script works in the following steps:
Standard Deviation (SD) Calculation
Computes the standard deviation of the selected price source (ohlc4 by default).
The user can choose whether to use biased (sample) or unbiased (population) standard deviation.
Raw Bands Construction
Upper Band = source + (SD × multiplier)
Lower Band = source - (SD × multiplier)
The multiplier can be adjusted for tighter or looser bands.
First Median Smoothing
Applies a median filter over half of the length (len/2) to both bands.
This reduces noise without creating excessive lag.
Second Median Smoothing
Applies another median filter over √len to the already smoothed bands.
This produces a balance:
Cutting the length → maintains responsiveness.
Median smoothing → reduces whipsaws.
The combination creates a fast yet clean band system ideal for trend detection.
📈 Trend Logic
The trend is detected based on price crossing the smoothed bands:
Long / Bullish (Purple) → when price crosses above the upper band.
Short / Bearish (Gold) → when price crosses below the lower band.
Neutral → when price remains between the bands.
🎨 Visualization
Upper and lower bands are plotted as colored lines.
The area between the bands is filled with a transparent zone that reflects the current bias:
Purple shading = Bullish zone.
Golden shading = Bearish zone.
This creates a visual tunnel for trend confirmation, helping traders quickly identify whether price action is trending or consolidating.
⚡ Features
Adjustable Length parameter (len) for dynamic control.
Adjustable Band Multiplier for volatility adaptation.
Choice between biased vs. unbiased standard deviation.
Double median smoothing for clarity + responsiveness.
Works well on cryptocurrencies (e.g., BTCUSD) but is flexible enough for stocks, forex, and indices.
✅ Use Cases
Trend Following → Ride trends by staying on the correct side of the bands.
Entry Timing → Use crossovers above/below bands for entry triggers.
Filter for Other Strategies → Can serve as a directional filter to avoid trading against the trend.
⚠️ Limitations & Notes
This is a trend-following tool, so it will perform best in trending conditions.
In sideways or choppy markets, whipsaws may still occur (although smoothing reduces them significantly).
The indicator is not a standalone buy/sell system. For best results, combine with volume, momentum, or higher-timeframe confluence.
All of this makes for a really unique & original tool, as it removes noise but keeps good responsitivity, using methods from many different principles which make for a smooth a very useful tool
NY Session Candle (09:30-16:00 ET, Mon-Fri)This indicator plots one synthetic candle per day that represents the official New York trading session (09:30–16:00 ET).
It aggregates the open, high, low, and close across the entire session and draws a single candle on your chart, making it easier to compare session ranges, direction, make studies and volatility.
Features:
-Aggregates intraday OHLC into one candle per session.
-Colors the candle green/red depending on close vs. open.
-Excludes weekends (Sat/Sun) automatically.
-Adjustable timezone and session window in settings.
Use case:
Helps traders visually analyze how each New York session behaved without changing chart timeframes. It is a visualization tool only and does not generate trading signals or predictions.
Notes:
The script does not repaint and does not use lookahead.
The candle of the session only shows once the FULL session is closed, it is not a dynamic candle.
It is for analysis purposes only, not a trading strategy.
Original code and idea; no third-party scripts reused
Multi-Indicator Panel (RSI, Stoch, MACD, VIX Fix, MFI)A versatile single-pane oscillator panel combining RSI, Stochastic, MACD (scaled to 0–100), Williams VIX Fix (normalized & inverted: low value = high fear), and MFI. Each module is toggleable, with reference levels, background highlights, and ready-made alerts.
Key features
Per-indicator toggles: RSI, Stoch %K/%D, MACD (lines + optional histogram), inverted 0–100 VIX Fix, and MFI.
Standard levels & center line at 50; adjustable overbought/oversold thresholds.
Contextual background coloring (optional) for extreme conditions.
Built-in alerts: RSI/Stoch OB/OS, MACD–Signal cross, VIX Fix “High Fear/Low Fear,” and MFI OB/OS.
Unified scale: MACD mapped around 50 to align with other oscillators; VIX Fix normalized to 0–100.
How to use (quick)
Add the indicator → enable needed modules via “Indicator Toggles.”
Tune periods & levels (e.g., RSI 14, Stoch 14/3, MACD 12-26-9, VIX Fix 22/252, MFI 14).
(Optional) Turn on MACD histogram.
Create alerts from “Add alert on…” using the provided conditions.
Interpretation notes
Inverted VIX Fix: low values ⇒ high fear/volatility (potential bounces); high values ⇒ complacency.
Scaled MACD: lines around 50 ≈ MACD zero; line crosses remain valid despite scaling.
Disclaimer
Analysis tool, not financial advice. Test across timeframes/instruments and pair with risk management.