TL QL RT v9QLU = quad level upper
QLL = quad level lower
TLU = tri level upper
TLL = tri level lower
RT = NTK
Options
Monthly Options Expiration 2025Monthly Options Expiration 2025
Plots the monthly options expiration dates in advance for the year 2025.
Happy trading and all the best.
Straddle2.01) Straddle with an bollinger band.
2) Add your 6 strike price it will automatically give lowest straddle from 6 strikeprice.
3) how to use: for entry below avg or while pull back at avg & for full conformation take entry below 2bolliangerband.
4) For exit it upto your appetite.
5)I've backtested this strategy & its worked from 2019 till 2025 with 70% accuracy.
Pivots @carlosk26🔍 Características Principales
Detección de Pivots:
Identifica pivots altos y bajos utilizando un rango de velas configurable.
Los pivots se detectan cuando una vela es el máximo o mínimo de un número específico de velas a la izquierda y a la derecha.
Marcado Visual:
Los pivots altos se marcan con un círculo rojo encima de la vela.
Los pivots bajos se marcan con un círculo verde debajo de la vela.
Etiquetas Informativas:
Muestra una etiqueta en el gráfico con el último pivot detectado.
Las etiquetas incluyen el tipo de pivot (alto o bajo) y su ubicación exacta.
⚙️ Parámetros Configurables
Velas a la izquierda: Número de velas a la izquierda para detectar un pivot (por defecto: 5).
Velas a la derecha: Número de velas a la derecha para detectar un pivot (por defecto: 5).
7 Trading Setups with Codesit uses 7 indicator breakouts for trading , RSI SMA ORB TRIPLE TOP AND BOTTOM
Condition CheckThis script checks the following conditions:
- Latest Open < 1 day ago High
- Latest Close < 1 day ago High
- Latest Open > Latest Low
- Latest Close > 1 day ago Low
- 1 day ago Open < Latest High
- 1 day ago Open < Latest High ( duplicate condition)
- 1 day ago Open > Latest Low
- 1 day ago Close > Latest Low
KON SET By Sai"KON SET By Sai is a trend-following strategy that utilizes ATR-adjusted moving averages to determine entry and exit points. The strategy enters a long position when the price crosses above a custom moving average (adjusted by the ATR value) and exits at a defined target or stop-loss based on the ATR. Additionally, it incorporates re-entry logic, allowing the strategy to re-enter when the price reverses back to the entry point. This strategy is suitable for trend traders who want to manage risk with dynamically calculated stop-loss and target levels."
Tags:
Trend-following
ATR-based strategy
Entry and exit strategy
Stop-loss and target
Re-entry logic
Pine Script strategy
Algorithmic trading
Example Use Case:
"This strategy can be used to trade in trending markets. It provides clear entry and exit signals with automated risk management, making it ideal for traders who prefer systematic approaches to trade management. It works best on lower timeframes (like 5min) for capturing medium-term trends."
How It Works:
Entry Point: The strategy enters a long position when the price crosses above an ATR-adjusted moving average (set by the user).
Exit Points:
Stop-loss is set dynamically based on the ATR value.
Target is also based on the ATR, with an additional multiplier for customization.
Re-entry Logic: If the price retraces back to the entry level, the strategy re-enters the position.
Exit Conditions: The strategy exits when the price hits the stop-loss or target price.
Example:
If the current ATR is 2.0, the strategy will:
Stop-loss: 2x ATR below the entry price.
Target: 5 + user-defined multiplier x ATR above the entry price.
Buy/Sell Indicator-SMA (5/8/21/50/200)Buy-Sell indicator: are tools or signals used in financial markets to help traders and investors identify potential entry (buy) and exit (sell) points for their trades. These indicators are typically derived from technical analysis and aim to simplify decision-making by providing visual or numerical cues based on price, volume, or momentum.
Buy-sell indicators often need confirmation from additional analysis or tools for reliable decision-making.
Note: No indicator is foolproof, and market conditions can result in misleading signals.
SMA: SMA (Simple Moving Average) indicators are among the most popular tools used in technical analysis to identify trends in the price of an asset. They smooth out price data by calculating the average price over a specified number of periods. Here's an overview:
The numbers 5, 8, 21, 50, and 200 refer to the number of periods used in the calculation of the SMA. Here's what each represents:
A short-term indicator:
SMA 5 (5-day Moving Average):
Tracks the average price over the last 5 periods. Often used to spot short-term trends.
SMA 8 (8-day Moving Average):
Similar to the 5-day SMA but smooths price action slightly more.
A mid-term indicator:
SMA 21 (21-day Moving Average):
Reflects a full trading month (approximately 21 trading days in a month).Helps to identify medium-term trend direction.
SMA 50 (50-day Moving Average):
Often used to assess the overall trend direction. A crossover with other SMAs, like the 200-day SMA, can indicate trend reversals.
A long-term indicator.
SMA 200 (200-day Moving Average): Commonly used to assess the overall market trend.
If the price is above the 200-day SMA, the security is considered in a long-term uptrend, and vice versa.
Note :
Crossovers: When shorter-term SMAs (e.g., 5 or 8) cross above longer-term SMAs (e.g., 50 or 200), it can signal a bullish trend. The opposite signals a bearish trend.
0DTE Trend Reversal StrategyChange the RSI setting to 7
MACD Fast: 6
MACD Slow: 13
MACD Signal: 4
Short SMA: 10
Long SMA: 30
ATR: 7
Dynamic Price Change Percentage TrackerSet price in plugin's configuration and watch the percentage change between the configured price and the current ticker's price.
candle close alarmA simple Alarm to each candle close, helpfull to keep your eye in the right moment to open a position.
9/21 EMA_DSWThe 9 and 21 EMA strategy involves using the 9-day and 21-day exponential moving averages to identify potential buy and sell signals. A buy signal is generated when the 9 EMA crosses above the 21 EMA, and a sell signal is generated when the 9 EMA crosses below the 21 EMA.
Jinx Systems - AdvancedWorking solution to the question, "Hey, where the heck is the market going?"
Run this script on as many securities as one can manage.
AllDay Session TimesIndicator: Custom Session Times
This indicator is designed to assist traders by visualizing specific trading session times on the TradingView platform. It highlights two important trading sessions: the Day Session and the Evening Session, providing a visual aid that helps traders navigate the markets with greater accuracy.
Day Session Time Range:
Starts: 10:55 UTC+2
Ends: 13:30 UTC+2
Evening Session Time Range:
Starts: 16:55 UTC+2
Ends: 18:30 UTC+2
How It Works:
Colors and Backgrounds: This indicator uses background colors to differentiate the sessions. The green background appears during the Day Session, while the blue background indicates the Evening Session.
Lines: Session time ranges are also marked with clear lines on the chart, making it easier to identify the specific session periods.
Time Zone: The time zone is set to UTC+2 (Europe/Helsinki), but it can easily be adjusted to match your local time zone.
Why Use This Indicator?
This indicator is especially useful for traders who focus on specific market sessions. For example:
The Day Session might be when the market is more active, and trends are clearer.
The Evening Session could be a good time to observe market adjustments based on the events of the day and find potential trading opportunities.
By visualizing these specific time frames, the indicator helps reduce distractions and enables a more focused approach to trading.
Use Cases:
This indicator is ideal for:
Day traders and swing traders who want to focus on certain market sessions.
Technical analysts who prefer to visualize market behavior within specific time frames.
Strategy optimization and a more precise assessment of market conditions.
Features:
Visual session markers that help traders focus on key trading periods.
Easy customization of time zone and session time ranges.
Background colors and lines that improve chart readability and session tracking.
Made By AllDayEsa
Weekly Change(Green&Red) & Percentage Change(Blue&Yellow)Display bar chart of weekly price action. Use to determine the maximum price change in one week. It would be the possible strike price for a covered call option for weekly income.
WD Gann: Vertical Lines for Predefined Days/Bars AgoThis Pine Script draws vertical lines on the chart at specific time intervals, inspired by WD Gann’s theories of time cycles . WD Gann, a famous trader, believed that market movements were influenced by predictable time cycles. This script enables traders to visualize these key time cycles on the chart by placing vertical lines at predefined intervals (in bars ago), helping to identify potential turning points in the market.
The time intervals used in this script are inspired by Gann’s work, as well as astrological and numerological principles , which many traders believe influence market behavior . You can customize which time intervals (such as 3, 7, 9, 21, etc.) you want to track by enabling or disabling specific vertical lines on the chart.
Key Features:
Time Cycles Based on Gann’s Theory: Draws vertical lines at significant time intervals such as 3, 7, 9, 21, 27 bars ago, which are commonly used by Gann traders.
Astrological & Numerological Significance: The predefined intervals also align with key numerological and astrological values, allowing for a broader perspective on market cycles.
Customizable Intervals: You can choose which time intervals to display by enabling or disabling checkboxes for each cycle, allowing flexibility in chart analysis.
Visual Labels: Each vertical line is labeled with its corresponding "bars ago" value, providing clear reference points for the selected time cycles.
What Users Can Do:
Track and analyze market movements based on time cycles that are significant to Gann’s theory, as well as numerological and astrological influences.
Enable or disable vertical lines for specific cycles, like the 3-bar cycle, 9-bar cycle, or 365-bar cycle, depending on the intervals that align with your trading strategy.
Combine with other technical analysis tools and Gann techniques (e.g., Gann Angles, Gann Fans, or Square of Nine) for a more comprehensive trading approach.
This tool is designed for traders who believe in the power of time cycles to influence market behavior, and is especially useful for predicting turning points or key price movements based on these cycles.
Precision Trade Zone By KittisakThis indicator is designed for Money Management calculations, helping to facilitate risk management in trading, determining suitable leverage based on acceptable risk, and adjusting the Stop Loss level to align with the calculated leverage.
Abbreviation Descriptions
LR : Suitable Leverage.
EP : Entry Price.
BEP : Break-Even Point (a point where you can move your Stop Loss to prevent losses once the price reaches a certain level).
SL : Stop Loss (a recalculated Stop Loss level to match the leverage. You should use this as the Stop Loss price instead of the initial level you set).
TP : Take Profit (a point where you take profit based on the defined risk-reward ratio).
Note
When first activating the indicator, an error may occur, and no output will be displayed. This happens because you must first specify the Entry Price and Stop Loss in the indicator settings.
How Much Leverage Should You Use?
It may seem like a simple question but is difficult to answer.
Method for Calculating Suitable Leverage
Use the formula:
Leverage = Acceptable Loss / (Distance between Entry Price and Stop Loss + (Buy Fee + Sell Fee))
Calculating the Correct Stop Loss Point
(Stop Loss levels will be slightly adjusted or extended)
For Long Positions :
New Stop Loss = Entry Price * (1 - Acceptable Loss / (Calculated Leverage * 100))
For Short Positions :
New Stop Loss = Entry Price * (1 + Acceptable Loss / (Calculated Leverage * 100))
Calculating the Correct Take Profit Point
(Take Profit levels will be slightly adjusted or extended)
For Long Positions :
Take Profit = Entry Price * (1 + (Acceptable Loss / (Calculated Leverage * 100) * RR) + ((Buy Fee + Sell Fee) / 100))
For Short Positions :
Take Profit = Entry Price * (1 - (Acceptable Loss / (Calculated Leverage * 100) * RR) + ((Buy Fee + Sell Fee) / 100))
Benefits of This Calculation
1. Accurate Risk Assessment
The calculated leverage accounts for trading fees. For example, if you aim for a 2% loss, this method ensures the actual loss is exactly 2%, not more (e.g., 2% plus fees).
2. Eliminates Guesswork
Randomly setting leverage can lead to risks because the Stop Loss level may not align with your position. This calculation ensures that the leverage aligns precisely with your desired Stop Loss level.
3. Realistic Profit Targets
For example, with a 2% acceptable loss and a 1:2 RR, you expect a 4% profit. However, without this calculation, fees may reduce your profit below 4%. This method includes fees, ensuring your profit matches the intended target.
Caution
This indicator does not account for slippage or requotes. Use it with caution and allow a buffer for slippage in your calculations.
Indicator นี้มีไว้สำหรับคำนวณ Money Management ซึ่งจะช่วยอำนวยความสะดวกในการจัดการความเสี่ยงในการเทรด การคำนวณ Leverage ที่เหมาะสมกับความเสี่ยงที่คุณยอมรับได้ และจัดการจุด Stop Loss ให้เหมาะสมกับ Leverage นั้น
คำอธิบายเกี่ยวกับคำย่อ
LR หมายถึง Leverage ที่เหมาะสม
EP หมายถึง Entry Price หรือราคาเข้าซื้อ
BEP หมายถึง Break-Even Point หรือจุดคุ้มทุน (คุณสามารถย้าย Stop Loss มาที่จุดนี้เมื่อราคาไปถึงจุดหนึ่งเพื่อป้องกันการขาดทุนได้)
SL หมายถึง Stop Loss (ซึ่งเป็น Stop Loss ที่คำนวณใหม่เพื่อให้ตำแหน่งเหมาะสมกับ Leverage ที่คำนวณได้ คุณควรใช้จุดนี้เพื่อเป็นราคา Stop Loss แทนจุด Stop Loss ที่คุณกำหนดไว้ในตอนแรก)
TP หมายถึง Take Profit (เป็นจุดที่คุณจะขายทำกำไรตาม RR ที่กำหนดไว้)
* หมายเหตุ เมื่อเริ่มเปิด Indicator จะเกิด Error ขึ้น และไม่มีผลลัพท์ใด ๆ แสดงให้เห็น นั่นเป็นเพราะคุณต้องเข้าไปกำหนด Entry Price และ Stop Loss ในการตั้งค่าของ Indicator เสียก่อน
ต้องใช้ Leverage เท่าไหร่? มันเป็นคำถามที่ดูเหมือนง่าย แต่ตอบยาก
วิธีคำนวณ Leverage ที่เหมาะสม ใช้สมการคือ
Levarage = การขาดทุนที่ยอมรับได้ / (ระยะห่างระหว่าง Entry Price และ Stop Loss + (ค่าธรรมเนียมซื้อ + ค่าธรรมเนียมขาย))
นำผลลัพท์ Leverage ที่ได้มาคำนวณเพื่อหาจุด Stop Loss ที่ถูกต้อง (จุดของ Stop Loss จะมีการยืดขยายออกไปเล็กน้อย) โดยใช้สมการ
ตำแหน่ง Stop Loss ใหม่ = Entry Price * (1 - การขาดทุนที่ยอมรับได้ / (Leverage ที่คำนวณได้ * 100)) // สำหรับ Long
ตำแหน่ง Stop Loss ใหม่ = Entry Price * (1 + การขาดทุนที่ยอมรับได้ / (Leverage ที่คำนวณได้ * 100)) // สำหรับ Short
นำผลลัพท์ Leverage ที่ได้มาคำนวณเพื่อหาจุด Take Profit ที่ถูกต้อง (จุดของ Take Profit จะมีการยืดขยายออกไปเล็กน้อย) โดยใช้สมการ
ตำแหน่ง Take Profit = Entry Price * (1 + (การขาดทุนที่ยอมรับได้ / (Leverage ที่คำนวณได้ * 100) * RR) + ((ค่าธรรมเนียมซื้อ + ค่าธรรมเนียมขาย) / 100)) // สำหรับ Long
ตำแหน่ง Take Profit = Entry Price * (1 - (การขาดทุนที่ยอมรับได้ / (Leverage ที่คำนวณได้ * 100) * RR) + ((ค่าธรรมเนียมซื้อ + ค่าธรรมเนียมขาย) / 100)) // สำหรับ Short
ข้อดีของการคำนวณคือ
1. คุณจะได้ค่า Leverage ที่เหมาะสมกับความเสี่ยงที่คุณยอมรับได้โดยรวมค่าธรรมเนียมเข้าไปในนั้นแล้ว นั่นหมายความว่า ความสูญเสียจะเป็น 2% (ตามตัวอย่าง) จริง ๆ ไม่ใช่ 2% และถูกหักค่าธรรมเนียมเพิ่มอีก กลายเป็นสูญเสียมากกว่า 2%
2. การตั้ง Leverage มั่ว ๆ กลายเป็นความเสี่ยง นั่นเพราะตำแหน่งของ Stop Loss ไม่ได้อยู่ในจุดที่ควรจะเป็น การคำนวณนี้ช่วยให้คุณได้ Leverage ในตำแหน่ง Stop Loss ที่คุณต้องการโดยแท้จริง
3. ผลกำไรที่ได้รับตรงกับความต้องการจริง ๆ เช่น การขาดทุนที่ยอมรับได้ 2% และ RR 1:2 สิ่งที่คุณคิดคือกำไร 4% แต่จริง ๆ แล้วไม่ถึง 4% นั่นเพราะว่าโดนหักค่าธรรมเนียมไปส่วนหนึ่ง การคำนวณนี้ได้รวมค่าธรรมเนียมให้แล้ว คุณจึงได้กำไรที่ 4% อย่างถูกต้องตามต้องการ
ข้อควรระวัง
Indicator นี้ไม่ได้มีการควบคุมความเสี่ยงในเรื่องของ slippage หรือ requote โปรดใช้งานอย่างระมัดระวังและมีการเผื่อระยะสำหรับ slippage ด้วย
Best of Option Indicator - Manoj WadekarPlot this indicator for both CALL and PUT options and buy only when color of candle is YELLOW and above BLACK line.
Options Levels Support and ResistanceAre you sometimes clueless of where you are going to find support or resistance for the stock price? Nothing can be more powerful than market positioning via options levels.
This indicator visualizes key institutional options levels including short-term and longer-term Put/Call Walls, and projected implied move ranges.
Key Features:
Displays major support/resistance levels derived from options data
Shows institutional Put Walls (PW) and Call Walls (CW) - areas of significant options activity
Identifies short-term and longer-term gamma levels for more precise trading
Includes an option statistics (IV, Put/Call ratio, trend) in a clean dashboard
Automatically(*) updates throughout the trading day to reflect current market positioning
Currently supporting 440 of the most popular tickers.
Presents gamma flip levels for indexes SPX, RUT, NDX and VIX
Trading Applications:
Identify key price levels where institutional options activity may influence price movement
Gauge market sentiment through IV levels, Put/Call ratios, and options positioning
Plan entries/exits around major Put/Call walls where price reversals are more likely
Monitor changes in institutional positioning through level trends
Levels are calculated externally using comprehensive options data and updated into the indicator multiple times per day. Note that I can't guarantee it will be timely updated since TradingView offers no access to external data nor a way to programmatically update the script.
This code simply renders the levels I calculate using external software. I had to make the code as short as possible to accommodate more tickers, reason why there is no commenting.
The last update time (New York/EST) is shown in the dashboard.
OHOL_VWAP_STIts all about OH and OL concept for Nifty Future.
1.When OH candle formed and breaks the high we can enter the position, candle should be below supertrend , moving average and vwap .
2..When OL candle formed and breaks the high we can enter the position, candle should be above supertrend , moving average and vwap .
Rich's DikFat Money-Counter - ITM/OTM Options Price ViewerScript Overview
This Pine Script is a custom indicator designed for use on the TradingView platform. It analyzes options contracts, extracting key information from the options symbol, and then visualizes the relationship between the current price of the underlying asset and the option's strike price. Here’s a detailed explanation of the script and its components:
Key Features
Symbol Format Validation: The script checks whether the current symbol matches the expected format of an options symbol (like TSLA250131C400.0).
Extraction of Option Components: It extracts the base symbol (e.g., TSLA), expiration date (e.g., 250131), option type (C for call, P for put), and strike price (e.g., 400.0) from the options symbol.
Price Difference Calculation: It calculates the difference between the current price of the base asset (e.g., TSLA) and the option's strike price. Depending on whether the option is a call or put, the calculation is adjusted.
Visualization: The result is plotted on the chart, with color-coded filling to indicate whether the price difference is positive (ITM) or negative (OTM).
Detailed Explanation of Code Components
1. Indicator Definition
indicator("Rich's DikFat Money-Counter - In the Money/Out of the Money Options Price Viewer", shorttitle="Options Price Viewer", overlay=true)
This line defines the indicator's name, short title, and specifies that it should be plotted on the price chart (with overlay=true).
2. Symbol Detection
currentSymbol = syminfo.ticker
This retrieves the symbol of the current asset being analyzed. The script expects this symbol to be an options contract, for example, TSLA250131C400.0.
3. Symbol Format Validation
isOptionSymbol = str.length(currentSymbol) >= 9 and str.match(currentSymbol, "^ + {6} +(\. +)?$") != ""
This checks whether the current symbol matches the expected format for an option:
The symbol must have at least 9 characters.
It must follow a specific pattern: a base symbol (letters), a 6-digit expiration date, an option type (C for Call or P for Put), and a strike price that could include decimals.
[/list>
4. Extracting Option Components
If the symbol is a valid option symbol, the following code extracts the components:
baseSymbol := str.match(currentSymbol, "^ +")
expirationDate := str.substring(currentSymbol, str.length(baseSymbol), str.length(baseSymbol) + 6)
optionType := str.substring(currentSymbol, str.length(baseSymbol) + 6, str.length(baseSymbol) + 7)
strikePrice := str.substring(currentSymbol, str.length(baseSymbol) + 7, str.length(currentSymbol))
baseSymbol: Extracts the letters representing the stock symbol (e.g., TSLA).
expirationDate: Extracts the expiration date in the form of a 6-digit number (e.g., 250131).
optionType: Extracts the option type (C for Call, P for Put).
strikePrice: Extracts the strike price, which is the value after the option type (e.g., 400.0).
[/list>
5. Fetching the Base Symbol Price
baseSymbolClose = request.security(baseSymbol, "1", close)
This line uses the request.security() function to get the most recent close price of the base symbol (e.g., TSLA) on a 1-minute chart.
6. Converting the Strike Price to a Float
strikePriceFloat = na(strikePrice) ? na : str.tonumber(strikePrice)
Converts the strike price string to a numerical value (float). If the strike price is not available (i.e., na), it will not proceed with calculations.
7. Price Difference Calculation
priceDifference = baseSymbolClose - strikePriceFloat
This calculates the difference between the base symbol's close price and the strike price. For a Call option, this represents how much the stock price is above or below the strike price.
8. Adjusting for Put Options
if optionType == "P"
priceDifference := strikePriceFloat - baseSymbolClose
If the option is a Put, the price difference is reversed because a Put option becomes valuable when the stock price is below the strike price.
9. Plotting the Price Difference
priceDiffPlot = plot(priceDifference, title="Price Difference (Strike - Base)", color=color.blue, linewidth=2, style=plot.style_line, offset=0)
This line plots the calculated price difference as a blue line.
10. Zero Line Plot
zeroLinePlot = plot(0, "Zero Midline", color=color.white, linewidth=1, style=plot.style_line, offset=0)
This plots a white line at the zero level. This helps visually separate when the price difference is positive or negative.
11. Filling the Area Between the Price Difference and Zero Line
fill(priceDiffPlot, zeroLinePlot, color=color.new(priceDifference > 0 ? color.green : color.red, 70))
This fills the area between the price difference plot and the zero line:
Green if the price difference is positive (indicating the option is In the Money for Calls or Out of the Money for Puts).
Red if the price difference is negative (indicating the option is Out of the Money for Calls or In the Money for Puts).
Final Thoughts
This script is useful for traders and options investors who want to track the status of an option relative to the current price of the underlying asset. The green and red fill colors provide an immediate visual cue for whether the option is ITM or OTM. By applying this indicator on TradingView, users can easily see whether a particular option is valuable (ITM) or worthless (OTM) based on the current market price of the underlying asset. This makes it a valuable tool for quick decision-making in options trading.