Venta's DikFat Spread Visualizer & Dynamic Options Chain
**Venta's DikFat Spread Visualizer and Options Chain Strike Scanner** is a powerful trading tool designed to give users an immediate view of the nearest options strikes relative to the current price of the underlying asset. This script dynamically displays a selected number of call and put options strikes from the **options chain**, visualizing them directly on the chart for better decision-making.
By default, the script shows options strikes for the current chart’s price, but users have the flexibility to extend the view to include strikes on the opposite side of the market. The available options allow you to show either 3, 6, or 9 strikes on either side of the current price level.
This tool is essential for options traders who want to track strike prices in relation to the underlying asset's price movements. It provides key visual clues such as strike price distributions, volatility, and potential areas of market basing—all in a customizable and user-friendly interface.
---
█ CONCEPTS
This script pulls real-time **options strikes** directly from the **options chain**, providing traders with the ability to see call and put strikes as dynamic price markers on their chart. The concept revolves around understanding the proximity and distribution of strikes based on the current price and market conditions.
Key Features
**Dynamic Options Strike Display**: The script automatically identifies and displays the options strikes closest to the current market price of the underlying asset.
**Customizable Strike Range**: Choose between 3, 6, or 9 strikes on either side of the current price, giving flexibility in visualizing different strike ranges.
**Current Chart Focused by Default**: When added to the chart, the script focuses on the strikes closest to the current price. However, users can opt to include strikes on the opposite side of the market for a broader view.
**Instant Market Context**: The displayed
strikes offer a snapshot of the options market and how the current price relates to potential option expiration levels, helping traders understand key zones.
**Visual Clues on Spreads & Volatility**: This script not only displays the strikes but also provides instant visual clues that reflect the volatility and spread of the options market.
---
█ HOW IT WORKS
The script operates by accessing the **options chain** for the underlying asset, identifying the nearest call and put strikes, and plotting them as visual markers on the chart. This real-time strike data is dynamic, adjusting automatically as the market price moves.
Strike Calculation
The script uses the current price of the underlying asset as a base point and calculates the nearby **options strikes** from the **options chain**.
Depending on the user's settings, the script will plot up to 9 strikes on either side of the price level.
This calculation is performed using live market data, making sure the plotted strikes always reflect the most current market conditions.
Visual Clues
**Spreads**: The space between the plotted call and put options strikes provides immediate insights into the current bid/ask spreads. If the spread between strike prices is wide, it suggests increased volatility or a higher level of uncertainty in the market. Conversely, narrow spreads often indicate market stability or a lack of price movement.
**Market Basing**: When options strikes form a concentrated group near a certain price level, it can indicate that the market is building up or basing at a key level. This might signal the potential for a breakout or a reversal.
**Volatility Insights**: Wider gaps between strikes, particularly on the call side versus the put side (or vice versa), can indicate an imbalance in options trading activity, often a reflection of higher volatility expectations. This visual clue can help traders assess when the market is pricing in significant movements.
Customization and User Settings
**Number of Strikes**: The number of options strikes shown is fully customizable, allowing users to display 3, 6, or 9 strikes on either side.
**Show Opposite Strikes**: By default, the script shows strikes on the current side of the market, but users can enable the option to show strikes on the opposite side to gain a more complete view of the market's options landscape.
**Strike Colors & Width**: Customize the visual appearance of the plotted strikes by adjusting the color and line width for better clarity and chart aesthetics.
---
█ POTENTIAL USE CASES
This indicator is especially valuable for **options traders**, **market analysts**, and anyone interested in gaining insights into the underlying options market. Here are some of the key use cases:
**Options Traders**: Quickly identify the nearest strike prices and understand the risk/reward potential for options positions. The ability to customize the number of strikes shown allows traders to focus on the most relevant price levels.
**Volatility Monitoring**: Use the visual clues from the spread between strike prices to assess the level of volatility in the options market. A wider spread suggests that options traders are expecting more significant price moves, while a narrow spread indicates less expected movement.
**Support and Resistance Identification**: The clustering of strike prices on one side of the market can indicate a potential support or resistance level. By monitoring these levels, traders can get a sense of where the market may reverse or consolidate.
**Market Sentiment Analysis**: A large concentration of call strikes above the current price level, or put strikes below, can be an indication of market sentiment, such as whether traders are generally bullish or bearish.
**Risk Management**: By tracking nearby options strikes, traders can adjust their strategies to minimize risk, especially when market price levels approach significant strike points.
---
█ FEATURES
**Real-Time Data**: The script pulls data from the **options chain**, ensuring that the plotted strikes are always up-to-date with the current market price.
**User-Friendly Interface**: Clear and customizable inputs allow users to easily adjust the number of strikes displayed and control visual settings such as colors and line widths.
**Visual Strike Indicators**: Instantly spot volatility, market basing, and spread imbalances through visual clues from the plotted strikes, enhancing your market analysis.
---
█ LIMITATIONS
**Accuracy Depends on Market Data**: This indicator relies on the available **options chain** data. While the data is updated in real-time, its accuracy may depend on the liquidity and availability of options contracts in the market.
**Not Suitable for Non-Options Traders**: If you don’t trade options, the relevance of this indicator may be limited as it is designed specifically to provide insight into the options market.
**Data Delays**: In fast-moving markets, there may be a slight delay in the updating of strike prices, depending on the data feed.
---
█ HOW TO USE
**Load the Script**: Add the **Venta's DikFat Spread Visualizer and Options Chain Strike Scanner** script to your TradingView chart.
**Adjust Settings**: Use the input options to select the number of strikes you want to display (3, 6, or 9). You can also choose whether to display only the current chart’s strikes or include strikes from the opposite side.
**Interpret the Strikes**: Look at the plotted strikes to gain insights into where the market is currently pricing options and where major strike prices are located. Pay attention to the spreads, concentrations, and volatility signals.
**Monitor the Market**: As the market moves, watch how the strikes shift and cluster, providing you with real-time information about market sentiment and potential volatility.
---
█ THANKS
We would like to extend our gratitude to the PineCoders community for their ongoing support and contributions to the TradingView Pine Script ecosystem. Special thanks to The Options Team.
Indicators and strategies
13W High/Low/Fibs w/100D SMAIndicator: 13 Week High/100 Day SMA/13 Week Low with 0.382, 0.5, and 0.618 Fibonacci Levels
Description:
This indicator for TradingView, written in Pine Script version 6
It displays a table on the chart that provides a visual analysis of key price levels based on a 13-week timeframe and a 100-day Simple Moving Average (SMA).
Core Calculations:
100-Day SMA: The indicator calculates the 100-day Simple Moving Average of the closing price using daily data. The SMA is a widely used trend-following indicator.
13-Week High and Low: The indicator calculates the highest high and lowest low over the past 13 weeks using weekly data. This provides a longer-term perspective on the price range.
13-Week Fibonacci Retracement Levels: Based on the calculated 13-week high and low, the script determines the 0.382, 0.5, and 0.618 Fibonacci retracement levels.
The table includes the following information:
13W High: The highest price reached over the last 13 weeks.
100D SMA: The calculated 100-day Simple Moving Average value.
13W Low: The lowest price reached over the last 13 weeks.
Fibonacci Levels: The 0.382, 0.5, and 0.618 Fibonacci retracement levels, labeled as "↗," "|," and "↘," respectively.
SMA Ichimoku CrossesSMA Ichimoku Crosses displays the moving average between the last two crossings of the Tenkan-Sen and Kijun-Sen lines from Ichimoku Kinko Hyo. The line is calculated based on the closing prices at the time of the crossings and is added directly to the price chart, making it a convenient tool for trend analysis and identifying entry and exit points.
Features:
- Automatic calculation of Tenkan-Sen and Kijun-Sen lines.
- Fixation of closing prices at the point of line crossings.
- Calculation of the average price between the last two crossings.
- Display of a pink line on the price chart for convenient analysis.
How to use:
- Identify potential trend reversal zones by observing the line’s position relative to the price.
- Use the line as a dynamic level of support or resistance.
- Include the indicator in your Ichimoku strategies to enhance the accuracy of signals.
Suitable for:
- Traders using Ichimoku in their trading.
- Trend analysis enthusiasts.
- Those looking for additional filters for entry and exit points.
Previous Candle Sweep IndicatorThis script identifies candlesticks where the current candle's high is higher than the previous candle's high, and the current candle's low is lower than the previous candle's low. If both conditions are met, the candle's body is highlighted in blue on the chart, allowing traders to quickly spot these patterns.
Features:
Highlights candles with both higher highs and lower lows.
Uses clear visual cues (blue body) for easy identification.
Ideal for traders looking to identify specific volatility patterns or reversals.
Demo GPT - PowerOfStocks 5EMA updated strategy that includes both buy and sell signals, ensuring it handles both conditions correctly. It allows selling for analysis but only executes long and flat positions, as per your initial request.
High Volume Levels with 9 EMAThe script looks back 30 candles and determine highest volume candle in last 30 candles.
High and Low of these candles acts as support and resistance.
Typically price is rising above 9 ema and breaks out of high of the volume candle is bullish.
Similarly, if price is below 9ema and breaking the low of volume candle its bearish.
MalcolmXxc xc xbsjhydygf shdbfklhsbdklasdbfa dfsabdfhibsadkhfbsadfsad fsad fas dfas dfsa dfsadfsad fsa df asdfnput for lunch session time
lunchStartHour = input.int(12, title="Lunch Start Hour", minval=0, maxval=23, group="Session")
lunchStartMinute = input.int(0, title="Lunch Start Minute", minval=0, maxval=59, group="Session")
lunchEndHour = input.int(13, title="Lunch End Hour", minval=0, maxval=23, group="Session")
lunchEndMinute = input.int(0, title="Lunch End Minute", minval=0, maxval=59, group="Session")
// STYLE
colorTwo = input.color(color.new(color.black, 65), title="Lunch:", inline="s_2", group="Style")
colorTwoFill = input.color(color.new(color.orange, 90), title="-", inline="s_2", group="Style")
lineStyleTwo = input.string(title="-", defval=line.style_solid, options= , inline="s_2", group="Style")
// Get current bar time in the specified timezone
barHour = hour(time, i_tz)
barMinute = minute(time, i_tz)
// Check if current bar is within the lunch time range
in_lunch = (barHour > lunchStartHour or (barHour == lunchStartHour and barMinute >= lunchStartMinute)) and
(barHour < lunchEndHour or (barHour == lunchEndHour and barMinute < lunchEndMinute))
// PLOTTING LUNCH SESSION
var line lunchOpen = na, var line lunchCl sad fasdfasdfasdfsad fsadfs
Multi-Timeframe Moving AveragesThis indicator offers a clear and intuitive view of moving averages across multiple timeframes. Whether you're trading on seconds, minutes, or days, it provides a comprehensive trend perspective to enhance your strategy.
Features:
Multi-Timeframe Averages: Displays short-term, medium-term, and long-term moving averages on a single chart, offering a complete view of market trends.
Customizable Lengths: Easily adjust the moving average lengths for each timeframe to suit your trading style.
Smoothing Options: Strongly smoothed long-term lines provide a clear, flowing trendline without noise, while short-term lines remain responsive.
Color-Coded Lines: Quickly identify trends with distinct, professional colors for each timeframe.
How to Use:
Short-Term Trends: Use the blue line for short-term trends matching your current chart interval. Ideal for scalping and quick decisions.
Medium-Term Trends: Green (1-minute) and orange (5-minute) lines help confirm trends across slightly longer timeframes, perfect for intraday trading.
Long-Term Trends: Purple (daily) and red (weekly) lines represent broader market sentiment. Great for swing trading or identifying key support/resistance levels.
Adjust Settings: Experiment with moving average lengths and smoothing factors to tailor the indicator to your strategy. For example:
Use smaller lengths for more reactive trends.
Increase smoothing for a clearer picture of long-term trends.
Why Use It?
This tool simplifies multi-timeframe analysis by showing you the bigger picture at a glance. By combining trend insights across timeframes, it helps you avoid false signals and align your trades with the dominant market direction.
Pro Tip: Combine this indicator with volume or momentum tools to validate trends and improve your decision-making further.
Smoothed MACDMACD Line Calculation: The MACD is calculated as the difference between the fast and slow exponential moving averages (EMAs).
Smoothed MACD: The regular MACD line is smoothed using a simple moving average (SMA).
Signal Line: The signal line is calculated using the smoothed MACD, with its own smoothing factor.
Histogram: The histogram is plotted as the difference between the smoothed MACD and the signal line, to visualize momentum.
MAG 7 - Weighted Multi-Symbol Momentum + ExtrasOverview
This indicator aggregates the percentage change of multiple symbols into a single “weighted momentum” value. You can set individual weights to emphasize or de-emphasize particular stocks. The script plots two key items:
The default tickers in the script are:
AAPL (Apple)
AMZN (Amazon)
NVDA (NVIDIA)
MSFT (Microsoft)
GOOGL (Alphabet/Google)
TSLA (Tesla)
META (Meta Platforms/Facebook)
Raw Weighted Momentum (Histogram):
Each bar represents the combined (weighted) percentage change across your chosen symbols for that bar.
Bars are colored green if the momentum is above zero, or red if below zero.
Smoothed Momentum (Yellow Line):
An Exponential Moving Average (EMA) of the raw momentum for a smoother trend view.
Helps visualize when short-term momentum is accelerating or decelerating relative to its average.
Features
Symbol Inputs: Up to seven user-defined tickers, with weights for each symbol.
Smoothing Period: Set a custom lookback length to calculate the EMA (or switch to SMA in the code if you prefer).
Table Display: A built-in table in the top-right corner lists each symbol’s real-time percentage change, plus the total weighted momentum.
Alerts:
Configure alerts for when the weighted momentum crosses above or below user-defined thresholds.
Helps you catch major shifts in sentiment across multiple symbols.
How To Use
Select Symbols & Weights: In the indicator’s settings, specify the tickers you want to monitor and their corresponding weights. Weights default to 1 (equal weighting).
Watch the Bars vs. Zero:
Bars above zero mean a positive weighted momentum (the basket is collectively moving up).
Bars below zero mean negative weighted momentum (the basket is collectively under pressure).
Check the Yellow Line: The EMA of momentum.
If the bars consistently stay above the line, short-term momentum is stronger than its recent average.
If the bars dip below the line, momentum is weakening relative to its average.
Review the Table: Quick snapshot of each symbol’s daily percentage change plus the total basket momentum, all color-coded red or green.
Caution & Tips
This indicator measures rate of change, not absolute price levels. A rising momentum can still be part of a larger downtrend.
Always combine momentum readings with other technical and/or fundamental signals for confirmation.
For better reliability, experiment with different smoothing lengths to suit your trading style (shorter for scalping, longer for swing or positional approaches).
3 Moving AverageThe 3 Moving Averages Indicator (SMA) script, provided by Money Ocean, is a dynamic tool designed for Trading View charts. It features three Simple Moving Averages (SMAs) with predefined periods: SMA-9, SMA-33, and SMA-66, all based on closing prices. This configuration delivers a clear visualization of short-term, medium-term, and long-term market trends. By analyzing the crossovers and alignment of these SMAs, traders can identify trend reversals, confirm market direction, and optimize entry and exit points. Tailored for traders seeking precision and clarity, this indicator is ideal for improving decision-making in trending markets.
The 3 Moving Averages Indicator (SMA) script on Trading View uses three Simple Moving Averages (SMAs) with preset periods of 9, 33, and 66, all calculated using the closing prices. This setup offers a balanced view of short-term, medium-term, and long-term market trends. The SMA-9 captures recent price action, SMA-33 provides an intermediate perspective, and SMA-66 smooths out long-term trends. By analyzing the alignment and crossovers of these SMAs, traders can identify potential trend reversals, confirm market direction, and spot trading opportunities with greater precision. It's an effective tool for trend-followers and swing traders.
whales/ballenas/鯨魚/baleias/киты/balene/ by Ger Whale Sniper y Whale jumping out of the Ocean son dos indicadores por separados ambos creados por Blackcat 1402, yo los integre en un solo indicador. Sirve para detectar compras de ballenas.
4-Hour High and Low//@version=5
indicator("4-Hour High and Low", overlay=true)
// Define the 4-hour timeframe
four_hour_high = request.security(syminfo.tickerid, "240", high, lookahead=barmerge.lookahead_on)
four_hour_low = request.security(syminfo.tickerid, "240", low, lookahead=barmerge.lookahead_on)
// Plot the 4-hour high and low
plot(four_hour_high, title="4-Hour High", color=color.new(color.green, 0), linewidth=2, style=plot.style_line)
plot(four_hour_low, title="4-Hour Low", color=color.new(color.red, 0), linewidth=2, style=plot.style_line)
Link Long/Short Strategy - Long1. Introduction and structure
Your strategy is divided into several logical blocks, each block corresponding to a specific trading configuration (e.g. ‘Long_1’, ‘Long_2’, etc.). These configurations follow the same pattern:
Entry conditions (long/short): Based on the price position between predefined levels (LongRangeHigh, LongRangeLow, etc.) and a cross of EMA9 and SMA6 indicators.
Exit conditions: Conditional closing of a position if certain conditions are met (positive profit, inverse cross, etc.).
Stop Loss (SL) and Take Profit (TP): Defined by fixed levels for each configuration.
2. Technical indicators
You use two main indicators:
EMA9: Exponential moving average calculated over 9 periods.
SMA6: Simple moving average calculated over 6 periods.
These indicators are used to detect crossovers for entry and exit signals. The EMA9 crossover above the SMA6 triggers long opportunities, while the opposite crossover generates exit signals.
3. Price ranges and trading logic
For each ‘block’ in the strategy :
Price ranges are defined (LongRangeHigh, LongRangeLow, etc.) to determine where the price must be to execute a position.
Each range is divided into levels for long and short positions.
Example: Block 1
Long Range: Between 9.3 (LongRangeLow) and 10.85 (LongRangeHigh).
Short Range: Between 10.85 (ShortRangeLow) and 11.70 (ShortRangeHigh).
Special features:
An EMA9 crossover above SMA6 in the Long Range generates a long entry.
An inverse cross in the Short Range generates a conditional output.
4. Risk management
Each position is associated with Stop Loss (SL) and Take Profit (TP) levels. These are defined as follows:
TP: Often equal to the upper limit of the Long Range or Short Range.
SL: Based on the lower levels of the ranges or other configurations.
Example: Block 1
TP set to LongRangeHigh (10.85).
SL could be adjusted according to ShortRangeHigh.
5. Visual display
The script uses plot to display the following elements on the chart:
The EMA9 (blue) and SMA6 (orange) indicators.
Price levels (LongRangeHigh, LongRangeLow, etc.) and SL/TP limits.
EDIT :
SMA: 1
EMA: 23
Period : From May 2024 to January 2024
Candle Prediction//@version=5
indicator("Candle Prediction", overlay=true)
// تنظیمات اندیکاتورها
lengthRSI = input(14, title="RSI Length")
lengthEMA = input(9, title="EMA Length")
// محاسبه اندیکاتورها
rsi = ta.rsi(close, lengthRSI)
ema = ta.ema(close, lengthEMA)
// شرایط پیشبینی کندل بعدی
bullishSignal = close > ema and rsi < 30
bearishSignal = close < ema and rsi > 70
// رسم سیگنالها روی چارت
plotshape(bullishSignal, style=shape.labelup, location=location.belowbar, color=color.green, size=size.small, title="Bullish Signal", text="Bullish")
plotshape(bearishSignal, style=shape.labeldown, location=location.abovebar, color=color.red, size=size.small, title="Bearish Signal", text="Bearish")
Price Oscillator ClassicShows the classic version of the Price Oscillator in a histogram. This is a lagging indicator used to confirm trends
Custom RSI with ColorsHow to Use
Copy the script and paste it into the Pine Script Editor on TradingView.
Save and click "Add to Chart."
Adjust the parameters:
RSI Length: Change the calculation length.
RSI Method: Select between SMA and EMA for smoothing.
Levels and Colors: Define your four RSI thresholds and their corresponding colors.
Custom Timeframe: Specify a timeframe (e.g., 1D, 4H) or leave it blank to use the chart’s timeframe.
Explanation:
The RSI is calculated using the specified smoothing method.
Based on user-defined levels, the RSI line changes color dynamically.
Horizontal lines mark the levels for better visual reference.
DrNon Supertrend Strategy With Date FilterHow This Works
1. User Inputs for Date Range
• You specify a Start Date (Year, Month, Day) and an End Date (Year, Month, Day).
2. Create Timestamps
• startTime and endTime define the exact Unix timestamps for when you want the strategy to begin and stop taking trades.
3. Filtering Condition
• inDateRange is true only if the current bar’s time lies between startTime and endTime.
4. Conditional Trading
• The trading logic (entries) executes only if inDateRange is true.
5. Supertrend Logic
• Pine Script’s ta.supertrend() returns .
• We monitor ta.change(direction) to detect switching signals for Long or Short.
Volume Standard Deviation Alert GusPurpose
The script detects and alerts traders when the volume of a trading asset significantly exceeds a calculated threshold based on the standard deviation of volume over a specified lookback period. It optionally filters these alerts based on whether the price action is bullish or bearish.
Key Components
Inputs
lookback (default: 20)
The number of bars to consider when calculating the moving average and standard deviation of volume.
stdDevFactor (default: 2.0)
The multiplier for the standard deviation to determine the threshold for a volume spike.
alertOnClose (default: true)
Determines whether alerts should only be triggered after the bar has closed.
checkBullBear (default: false)
Enables filtering of alerts based on the bullishness or bearishness of the bar.
Calculations
volSMA
The simple moving average (SMA) of the volume over the lookback period.
volStd
The standard deviation of the volume over the lookback period.
threshold
The alert threshold is calculated as:
Threshold
=
volSMA
+
(
stdDevFactor
×
volStd
)
Threshold=volSMA+(stdDevFactor×volStd)
isBullish & isBearish
Determines whether the current bar is bullish (close > open) or bearish (close < open).
volumeSpikeCondition
A condition that triggers when the current volume exceeds the calculated threshold.
bullishCondition & bearishCondition
Refines the spike condition by requiring the bar to be bullish or bearish when checkBullBear is enabled.
finalCondition
The ultimate alert condition based on the user’s preference for bullish/bearish filtering.
finalTrigger
Ensures the alert only triggers at bar close if alertOnClose is set to true.
Visualization
Plots the SMA of the volume (volSMA) and the threshold line (threshold), helping traders visually understand the conditions.
Histograms the current volume and colors the bars:
Red: Volume exceeds the threshold.
Blue: Volume is below the threshold.
Alerts
The script generates an alert message when the finalTrigger condition is met:
"Bullish Volume Spike!" if the bar is bullish.
"Bearish Volume Spike!" if the bar is bearish.
"High Volume Spike!" if no bull/bear filter is applied.
Alerts are sent using alert() with the message and set to trigger once per bar close.
Usage
Traders can use this script to identify unusual volume activity, which often precedes significant price movements.
Customizability allows traders to tune the lookback period, standard deviation multiplier, and whether to filter for bullish/bearish spikes.
Visual and audible cues help in identifying important market events in real time.
This indicator is particularly useful for spotting market breakouts or breakdowns driven by high trading activity.
BELIKENOOTHER34 SOPORTE Y RESISTENCIA FIBO Y PORCENTUALNos indica el soporte y la resistencia del timeframe seleccionado y nos da 3 lineas de fibonacci para detectar retrocesos y optimizar la entrada, las lineas de soporte y resistencia son del mismo color en función de si la vela cerro alcista respecto a la anterior o rojas si cerro bajista.