Pivot Points High Low or Close OpenStandard Pivot High Low from tradingview but you can use input close open so it uses the body instead of the wicks.
Wskaźniki i strategie
Volume Weighted Keltner ChannelThis indicator provides a customizable implementation of Keltner Channels (KC), a volatility-based envelope designed to identify trend direction and potential reversal or breakout zones. It allows deep control over its core components and calculation methods.
Key Features:
Customizable Components: This implementation allows for full control over the channel's construction:
Basis Line: Choose from a wide range of moving average types (e.g., EMA, SMA, WMA) for the central line.
Volatility Bands: Select the volatility measure used to construct the bands: Average True Range (ATR), True Range (TR), or bar Range (High-Low).
Volume Weighting: An option (Volume weighted) allows for volume to be incorporated into the calculation of both the basis moving average and the selected volatility measure (e.g., creating a Volume-Weighted ATR). This makes the channel more responsive to moves backed by high market participation.
Logarithmic Scaling: The indicator includes an optional 'Normalize' mode that calculates the channel on a logarithmic scale. This creates bands that represent a constant percentage distance from the basis, making it a suitable tool for analyzing long-term trends in exponential markets.
Multi-Timeframe (MTF) Engine: The indicator includes an MTF conversion block. When a Higher Timeframe (HTF) is selected, advanced options become available: Fill Gaps handles data gaps, and Wait for timeframe to close prevents repainting by ensuring the indicator only updates when the HTF bar closes.
Integrated Alerts: Includes a full set of built-in alerts for the source price crossing over or under the upper band, lower band, and the central basis line.
DISCLAIMER
For Informational/Educational Use Only: This indicator is provided for informational and educational purposes only. It does not constitute financial, investment, or trading advice, nor is it a recommendation to buy or sell any asset.
Use at Your Own Risk: All trading decisions you make based on the information or signals generated by this indicator are made solely at your own risk.
No Guarantee of Performance: Past performance is not an indicator of future results. The author makes no guarantee regarding the accuracy of the signals or future profitability.
No Liability: The author shall not be held liable for any financial losses or damages incurred directly or indirectly from the use of this indicator.
Signals Are Not Recommendations: The alerts and visual signals (e.g., crossovers) generated by this tool are not direct recommendations to buy or sell. They are technical observations for your own analysis and consideration.
Mean Reversion Scalping by XtramaskAvoid using this indicator in aggressively trending markets . Best in Non Treanding Markets
SPY One-Direction Open Drive Detectorno open retracements meaning the chart will probably trend in a certain direction and probably never touch opening range again that day
Volume Weighted Stochastic RSIThis indicator calculates the Stochastic RSI, enhanced with optional Volume Weighting (VWStochRSI). It measures the level of a (Volume-Weighted) RSI relative to its high-low range over a set period, providing a sensitive momentum oscillator.
Key Features:
Volume-Weighted Core: The indicator is built on a Relative Strength Index (RSI) that can be optionally volume-weighted (Volume weighted).
Customizable Smoothing: The %K and %D lines are smoothed using a customizable moving average. The MA type (Smooth Method) can be selected (e.g., EMA, SMA, WMA) and will also be volume-weighted if the main Volume weighted option is enabled.
Full Divergence Suite (Class A, B, C): The primary feature is the integrated divergence engine. It automatically detects and plots all three major types of divergences:
Regular (A): Signals potential trend reversals.
Hidden (B): Signals potential trend continuations.
Exaggerated (C): Signals weakness at double tops/bottoms.
Divergence Filtering and Visualization:
Price Tolerance Filter: Divergence detection is enhanced with a percentage-based price tolerance (pivPrcTol) to filter out insignificant market noise.
Persistent Visualization: Divergence markers are plotted for the entire duration of the signal and are visually anchored to the %K line level of the confirming pivot.
Note on Confirmation (Lag): Divergence signals rely on a pivot confirmation method to ensure they do not repaint.
The Start of a- divergence is only detected after the confirming pivot is fully formed (a delay based on Pivot Right Bars).
The End of a divergence is detected either instantly (if the signal is invalidated by price action) or with a delay (when a new, non-divergent pivot is confirmed).
Multi-Timeframe (MTF) Capability:
MTF VWStochRSI Lines: The %K and %D lines can be calculated on a higher timeframe, with standard options to handle gaps (Fill Gaps) and prevent repainting (Wait for...).
Limitation: The Divergence detection engine (pivDiv) is disabled if a timeframe other than the chart's timeframe is selected. Divergences are only calculated on the active chart timeframe.
Integrated Alerts: Includes 20 comprehensive alerts for:
The start and end of all 6 divergence types.
The %K line crossing the %D line.
The %K line crossing the Overbought, Oversold, or 50-level lines.
DISCLAIMER
For Informational/Educational Use Only: This indicator is provided for informational and educational purposes only. It does not constitute financial, investment, or trading advice, nor is it a recommendation to buy or sell any asset.
Use at Your Own Risk: All trading decisions you make based on the information or signals generated by this indicator are made solely at your own risk.
No Guarantee of Performance: Past performance is not an indicator of future results. The author makes no guarantee regarding the accuracy of the signals or future profitability.
No Liability: The author shall not be held liable for any financial losses or damages incurred directly or indirectly from the use of this indicator.
Signals Are Not Recommendations: The alerts and visual signals (e.g., crossovers) generated by this tool are not direct recommendations to buy or sell. They are technical observations for your own analysis and consideration.
Chaikin Money FlowThis indicator provides an implementation of the classic Chaikin Money Flow (CMF), a volume-weighted oscillator designed to measure money flow pressure. It is enhanced with a customizable signal line and a built-in divergence detection engine.
Key Features:
Full Divergence Suite (Class A, B, C): The primary feature is the integrated divergence engine. It automatically detects and plots all three major types of divergences:
Regular (A): Signals potential trend reversals.
Hidden (B): Signals potential trend continuations.
Exaggerated (C): Signals weakness at double tops/bottoms.
Divergence Filtering and Visualization:
Price Tolerance Filter: Divergence detection is enhanced with a percentage-based price tolerance (pivPrcTol) to filter out insignificant market noise, leading to more robust signals.
Persistent Visualization: Divergence markers are plotted for the entire duration of the signal and are visually anchored to the CMF level of the confirming pivot.
Customizable Signal Line: Includes an optional moving average of the CMF, which serves as a signal line. The type of MA (Signal Smoothing) and its length can be customized. This signal line can also be optionally volume-weighted (Volume weighted).
Note on Confirmation (Lag): Divergence signals rely on a pivot confirmation method to ensure they do not repaint.
The Start of a- divergence is only detected after the confirming pivot is fully formed (a delay based on Pivot Right Bars).
The End of a divergence is detected either instantly (if the signal is invalidated by price action) or with a delay (when a new, non-divergent pivot is confirmed).
Multi-Timeframe (MTF) Capability:
MTF CMF & Signal Lines: The CMF and its signal line can be calculated on a higher timeframe, with standard options to handle gaps (Fill Gaps) and prevent repainting (Wait for...).
Limitation: The Divergence detection engine (pivDiv) is disabled if a timeframe other than the chart's timeframe is selected. Divergences are only calculated on the active chart timeframe.
Integrated Alerts: Includes 16 comprehensive alerts for:
The start and end of all 6 divergence types.
The CMF crossing its signal line.
The CMF crossing the zero line.
DISCLAIMER
For Informational/Educational Use Only: This indicator is provided for informational and educational purposes only. It does not constitute financial, investment, or trading advice, nor is it a recommendation to buy or sell any asset.
Use at Your Own Risk: All trading decisions you make based on the information or signals generated by this indicator are made solely at your own risk.
No Guarantee of Performance: Past performance is not an indicator of future results. The author makes no guarantee regarding the accuracy of the signals or future profitability.
No Liability: The author shall not be liable for any financial losses or damages incurred directly or indirectly from the use of this indicator.
Signals Are Not Recommendations: The alerts and visual signals (e.g., crossovers) generated by this tool are not direct recommendations to buy or sell. They are technical observations for your own analysis and consideration.
ab 3 candle setup range This script identifies a 3-candle range breakout pattern. It looks for two consecutive inside candles following a base candle and triggers a buy or sell signal when price breaks the base candle’s high or low, confirming bullish or bearish momentum.
Price Above PDH - Complete Multi-Confirmation Alert
Cashapp $jmoskyhigh
Initial Breakout: Must have ALL confirmations to even start counting
During Hold Period: If ANY confirmation fails at ANY bar, the counter RESETS to zero
Must Re-qualify: If confirmations fail, must cross PDH again with all confirmations to restart
Alert Only Fires: When ALL confirmations are continuously met for the ENTIRE hold period
3. Visual Feedback:
Green background: Above PDH + ALL confirmations present
Red background: Above PDH but MISSING one or more confirmations
Red X above bar: Shows when a confirmation is lost during breakout (counter resets)
Green triangle with "✓ ALL": Alert triggered after full confirmation period
4. Example Scenario:
Scenario 1 - SUCCESS:
Bar 1: Price crosses PDH, Volume spike, MA bullish, Above VWAP → Counter = 1
Bar 2: Still above PDH, ALL confirmations still met → Counter = 2
Bar 3: Still above PDH, ALL confirmations still met → Counter = 3
Bar 4: Still above PDH, ALL confirmations still met → Counter = 4
Bar 5: Still above PDH, ALL confirmations still met → Counter = 5 → ALERT!
Scenario 2 - FAILURE (resets):
Bar 1: Price crosses PDH, Volume spike, MA bullish, Above VWAP → Counter = 1
Bar 2: Still above PDH, ALL confirmations still met → Counter = 2
Bar 3: Still above PDH, but volume drops below threshold → RESET Counter = 0
Bar 4: Still above PDH, ALL confirmations back → Counter = 1 (starts over)
5. Info Panel:
Shows which specific confirmations are failing
"OFF" displayed for disabled confirmations
Big "ALL CONFIRMED" row shows overall status
Warning message if confirmations are lost during breakout
This ensures you only get alerts when the setup is truly strong with ALL confirmations maintained throughout the entire hold period! 🎯
Relative Distance to Moving AverageThis indicator calculates the Relative Distance to a Moving Average (RDMA), a momentum oscillator that measures how overextended a price is from its moving average baseline. It expresses this distance as a percentage, oscillating around a zero line. High positive values may indicate overbought conditions, while large negative values may suggest oversold conditions.
Key Features:
Customizable MA Baseline: The oscillator's baseline is a moving average. Users can select from a wide range of MA types (e.g., EMA, SMA, WMA) and apply volume weighting (Volume weighted) for enhanced responsiveness.
Normalization (Geometric Average): Includes an optional 'Normalize' mode. When enabled, the indicator uses a Geometric Moving Average (GMA) as its baseline and measures the percentage distance from this compound growth average, making it suitable for exponential markets.
Full Divergence Suite (Class A, B, C): The indicator's primary feature is its integrated divergence engine. It automatically detects and plots all three major divergence classes between price and the RDMA:
Regular (A): Signals potential trend exhaustion and reversals.
Hidden (B): Signals potential trend continuations during pullbacks.
Exaggerated (C): Signals weakness at double tops/bottoms.
Divergence Filtering and Visualization:
Price Tolerance Filter: Divergence detection is enhanced with a percentage-based price tolerance (pivPrcTol) to filter out insignificant market noise.
Persistent Visualization: Divergence markers are plotted for the entire duration of the signal and are visually anchored to the RDMA level of the confirming pivot.
Note on Confirmation (Lag): Divergence signals rely on a pivot confirmation method to ensure they do not repaint.
The Start of a- divergence is only detected after the confirming pivot is fully formed (a delay based on Pivot Right Bars).
The End of a divergence is detected either instantly (if the signal is invalidated by price action) or with a delay (when a new, non-divergent pivot is confirmed).
Multi-Timeframe (MTF) Capability:
MTF RDMA Line: The RDMA oscillator itself can be calculated on a higher timeframe, with standard options to handle gaps (Fill Gaps) and prevent repainting (Wait for...).
Limitation: The Divergence detection engine (pivDiv) is disabled if a timeframe other than the chart's timeframe is selected. Divergences are only calculated on the active chart timeframe.
Integrated Alerts: Includes 14 comprehensive alerts for:
The start and end of all 6 divergence types.
The RDMA oscillator crossing the zero line.
DISCLAIMER
For Informational/Educational Use Only: This indicator is provided for informational and educational purposes only. It does not constitute financial, investment, or trading advice, nor is it a recommendation to buy or sell any asset.
Use at Your Own Risk: All trading decisions you make based on the information or signals generated by this indicator are made solely at your own risk.
No Guarantee of Performance: Past performance is not an indicator of future results. The author makes no guarantee regarding the accuracy of the signals or future profitability.
No Liability: The author shall not be held liable for any financial losses or damages incurred directly or indirectly from the use of this indicator.
Signals Are Not Recommendations: The alerts and visual signals (e.g., crossovers) generated by this tool are not direct recommendations to buy or sell. They are technical observations for your own analysis and consideration.
5 SMA/EMA_ZigzagThis indicator combines five SMA/EMA/WMA lines with the “ZigZag with Fibonacci Levels” indicator by LonesomeTheBlue, designed to trade according to Thắng Đoàn SMT’s method.
EMA 21 34
Zigzag 3/5
Buy&Hold Profitcalculator in EuroTitle: Buy & Hold Strategy in Euro
Description:
This Pine Script implements a simple yet flexible Buy & Hold strategy denominated in Euros, suitable for a wide range of assets including cryptocurrencies, forex pairs, and stocks.
Key Features:
Custom Investment Amount: Define your invested capital in Euros.
Flexible Start & End Dates: Specify exact entry and exit dates for the strategy.
Automatic Currency Conversion: Supports assets priced in USD or USDT, converting the invested capital to chart currency using the EUR/USD exchange rate.
Single Entry and Exit: Executes a one-time Buy & Hold position based on the defined timeframe.
Profit and Performance Tracking: Calculates total profit/loss in Euros and percentage returns.
Smart Exit Label: Displays a dynamic label at the exit showing final position value, net profit/loss, and return percentage. The label automatically adjusts its position above or below the price bar for optimal visibility.
Visual Enhancements:
Position value and profit/loss plotted on the chart.
Background color highlights the active investment period.
Buy and Sell markers clearly indicate entry and exit points.
This strategy is ideal for traders and investors looking to simulate long-term positions and evaluate performance in Euro terms, even when trading USD-denominated assets.
Usage Notes:
Best used on daily charts for medium- to long-term analysis.
Adjust start and end dates, as well as invested capital, to simulate different scenarios.
Works with any asset, but currency conversion is optimized for USD or USDT-pegged instruments.
Order Flow Proxy (Delta & Cumulative)This is an indicator I build with ChatGPT, it helps to analize the momentum of the market to correlate price and volume movement.
Multi-Day SMAmade this script due to the frustration of not having the 5 day SMA added with the 10 20 and 50. I need the 5 SMA for my type of trading to determine when to sell with stocks showing exponential growth.
so heres this: Multi SMA
5 day SMA pink
10 day SMA white
20 day SMA blue
50 day SMA red
200 day SMA green
Advanced Multi-Timeframe Moving AveragesThis indicator combines three fully customizable Moving Averages (MA30, MA80, MA120 by default) with multi-timeframe support, trend detection, and visual highlights — all in one lightweight script.
⚙️ Features
🕒 Multi-Timeframe Control – set a custom timeframe for each MA (e.g. MA30 from 1H, MA80 from 4H, MA120 from Daily).
🟢 Dynamic Trend Coloring – candles and background turn green when price is above all MAs, and red when below.
⚡ Crossover Alerts – built-in alerts for MA1↔MA2, MA2↔MA3, and MA1↔MA3 crossovers.
🎨 Optimized Colors – clear, bright MA colors for better visibility:
MA 1 (short-term): Gold (#FFD700)
MA 2 (mid-term): Deep Sky Blue (#00BFFF)
MA 3 (long-term): Hot Pink (#FF69B4)
🧩 Simple, Modular Design – easily adjust lengths, types (SMA/EMA), and timeframes from inputs.
🧠 How to Use
Add the indicator to your chart.
Set your preferred lengths (e.g. 30, 80, 120).
Optionally assign different timeframes for higher-TF analysis.
Use the color cues and crossovers to spot momentum shifts and trend changes.
🪶 Notes
Works great on all assets (crypto, forex, stocks, indices).
Compatible with both light and dark themes.
Built with Pine Script v5 — no external dependencies.
COT Index v.2COT Index v.2 Indicator
( fix for extreme values)
📊 Overview
The COT (Commitment of Traders) Index Indicator transforms raw COT data into normalized indices ranging from 0-100, with extensions to 120 and -20 for extreme market conditions. This powerful tool helps traders analyze institutional positioning and market sentiment by tracking the net long positions of three key market participant groups.
🎯 What It Does
This indicator converts weekly CFTC Commitment of Traders data into easy-to-read oscillator format, showing:
Commercial Index (Blue Line) - Smart money/hedgers positioning
NonCommercial Index (Orange Line) - Large speculators/funds positioning
Nonreportable Index (Red Line) - Small traders positioning
📈 Key Features
Smart Scaling Algorithm
0-100 Range: Normal market conditions based on recent price action
120 Level: Extreme bullish positioning (above historical maximum)
-20 Level: Extreme bearish positioning (below historical minimum)
Dual Time Frame Analysis
Short Period (26 weeks default): For current market scaling
Historical Period (156 weeks default): For extreme condition detection
Flexible Data Sources
Futures Only reports
Futures and Options combined reports
Automatic symbol detection with manual overrides for HG and LBR
🔧 Customizable Settings
Data Configuration
Adjustable lookback periods for both current and historical analysis
Report type selection (Futures vs Futures & Options)
Display Options
Toggle individual trader categories on/off
Customizable reference lines (overbought/oversold levels)
Optional 0/100 boundary lines
Adjustable line widths and colors
Reference Levels
Upper Bound: 120 (extreme bullish)
Overbought: 80 (default)
Midline: 50 (neutral)
Oversold: 20 (default)
Lower Bound: -20 (extreme bearish)
💡 Trading Applications
Contrarian Signals
High Commercial Index + Low NonCommercial Index = Potential bullish reversal
Low Commercial Index + High NonCommercial Index = Potential bearish reversal
Market Sentiment Analysis
Track institutional vs retail positioning divergences
Identify extreme market conditions requiring attention
Monitor smart money accumulation/distribution patterns
Confirmation Tool
Use alongside technical analysis for trade confirmation
Validate breakouts with positioning data
Assess market structure changes
📊 Visual Elements
Status Table: Displays current settings and symbol information
Color-Coded Lines: Easy identification of each trader category
Reference Levels: Clear overbought/oversold boundaries
Extreme Indicators: Visual cues for unusual market conditions
⚠️ Important Notes
COT data is released weekly on Fridays (Tuesday data)
Best suited for weekly and daily timeframes
Requires symbols with available CFTC data
Works automatically for most futures contracts
🎯 Best Practices
Use in conjunction with price action analysis
Look for divergences between price and positioning
Pay special attention to extreme readings (120/-20 levels)
Consider all three indices together for complete market picture
Allow for data lag (3-day delay from CFTC)
This indicator is ideal for swing traders, position traders, and anyone interested in understanding the positioning dynamics of professional vs retail market participants.
MA 44 moving averages.
There is nothing more to it, but I have to write this otherwise TV wont let me publish.
FVG + CoSD Confirmation Strategy (4:1 RR)This strategy combines two powerful displacement signals — Fair Value Gaps (FVG) and Change of State of Delivery (CoSD) — to capture high-conviction directional moves. It sets a directional bias when either signal appears but only enters a trade once both FVG and CoSD confirm in the same direction. This dual-filter approach helps reduce noise and improve entry precision.
Key features:
✅ Bias lock on first signal: Directional bias is set by either FVG or CoSD, but trades only trigger when both align.
✅ 4:1 reward-to-risk targeting: Take profit is set at four times the stop distance, allowing for high-RR setups.
✅ Fixed stop buffer: SL is calculated using a static tick buffer for simplicity and consistency.
✅ Exit on opposing signal: Trades are closed when an opposite FVG or CoSD appears, signaling structural reversal.
📈 Optimized for EURUSD on the 4-hour timeframe, where its structural logic and risk parameters are best aligned with market rhythm and volatility.
This strategy is ideal for traders who want to combine price imbalance with structural confirmation, while maintaining disciplined risk management and directional clarity.
Relative Strength vs XAUIts a simple relative strength chart, right now i have set it with Gold, as it is outperforming most of indices globally.
Days of the week// This indicator is an alternative version of the popular "Days of Week" script originally created by @BALine.
//This version preserves the core functionality while introducing some slight changes:
//Optimized Code Structure: The original seven repetitive plotchar calls for day labels have been replaced with a single, efficient call utilizing a switch statement, resulting in cleaner and more performant Pine Script code.
//Flexible Day Separation: A vertical line is drawn on the chart to clearly mark the beginning of a new trading day, defaulting to the critical 17:00 (5 PM) New York time session rollover (standard for FX and futures).
//Customizable Label Time: The hour at which the day-of-week labels ("Monday," "Tuesday," etc.) appear on the chart is now controlled by a user input, allowing traders to align the label with their local time zone, a specific market open (e.g., 9:00 AM), or any other relevant hourly mark.
//This tool is essential for traders who incorporate time and daily structure into their analysis. It provides an immediate visual reference for daily trading ranges, market session breaks, and identifying day-of-week biases.
//Attribution: A huge thank you to @BALine for the original concept and foundation of the "Days of Week" indicator.
ATR DashboardThe script calculates and displays an interactive ATR dashboard showing the current volatility level through various ATR metrics. It includes multi-period ATR values (5, 14, 20, 50), the ATR percentage relative to price, an estimated daily range, and suggested Stop Loss levels for both long and short positions.
Optionally, it can plot ATR bands on the chart to visualize the volatility zone.
⚙️ Key Features
Dynamic calculation of ATR and its moving average to detect whether volatility is increasing or decreasing.
Customizable on-chart dashboard (position, colors) displaying:
Current ATR value and % of price
ATR multiplied by a configurable factor
Multi-timeframe ATR (5, 14, 20, 50)
Volatility trend (Increasing / Decreasing)
Suggested Stop Loss levels (Long / Short)
Optional ATR bands plotted directly on the chart.
Built-in alerts for:
ATR crossing its moving average (volatility shift)
50%+ volatility spike in a single bar.
RSI + MFI + VolumeIndicator shows RSI + MFI + Volume in one panel, marks divergences separate for wicks and bodies, green dots shows where MFI and RSI are oversold
Smart Money vs Retail (COT Flow) 0213Smart Money vs Retail (COT Flow) 0213
Smart Money vs Retail (COT Flow) 0213
Smart Money vs Retail (COT Flow) 0213






















