FutureObitz Official Bank Levels// © 2025 FutureObitz - Custom version for private use
This Bank Levels indicator automatically calculates daily high, low, mid, and premium/discount zones using dynamic ranges.
Ideal for intraday traders using supply/demand, liquidity concepts, and institutional levels. Labels are cleanly aligned and update once per day for minimal chart clutter.
This version was customized for my personal trading style and refined for visual clarity.
Penunjuk dan strategi
Shavarie Gordon’s Phantom Trigger The Phantom Trigger is a precision-engineered confluence indicator developed by Shavarie Gordon — the result of 7 years of trading experience distilled into one clean, powerful tool.
This system filters out noise and focuses only on high-quality trades, combining three powerful elements:
🔹 Momentum Bend Detection – custom logic to detect shifts in directional strength
🔹 Delta Volume Pressure – smoothed order flow showing who’s in control (buyers vs sellers)
🔹 RSI Bend Confirmation – micro-level reversal insight from RSI (length 1 by default)
When all three align, the Phantom Trigger activates:
📈 Line bends up → high-probability buy
📉 Line bends down → high-probability sell
Key Features:
Built for confluence-based traders who want sniper accuracy
Filters out random or weak setups — no low-quality trades
Perfect for scalping, swing, or smart intraday positioning
Lightweight, non-repainting, and easy to read
👑 Final Note:
This tool isn’t for guessing — it’s for traders who wait, confirm, and strike.
Every signal reflects the precision and patience of a 7-year trading journey.
Disclaimer:
This indicator is for educational and informational purposes only and does not constitute financial advice. Use at your own discretion and always apply risk management.
Daily High-Low RangeThis Pine Script calculates the daily range (High - Low) for each trading day to measure intraday volatility.
The orange line shows the actual daily high-low range.
The purple line represents the 10-day simple moving average of the daily range, smoothing out fluctuations for trend observation.
This indicator helps identify whether intraday volatility is increasing or decreasing over time and can be used to assess market momentum or risk.
이 Pine Script는 각 거래일의 고가와 저가의 차이 (일중 변동폭)을 계산하여 일중 변동성을 시각화합니다.
주황색 선은 매일의 고가-저가 범위를 나타냅니다.
보라색 선은 일중 변동폭의 10일 단순 이동평균(SMA)으로, 변동성의 추세를 부드럽게 보여줍니다.
이 지표를 통해 최근 시장의 변동성이 커지고 있는지 줄어들고 있는지를 파악할 수 있으며, 시장 리스크 또는 모멘텀 판단에 활용될 수 있습니다.
Price Deviation from MA5 (%)This Pine Script calculates and visualizes the percentage deviation of the current price from the 5-day simple moving average (SMA5).
The blue line represents the daily deviation (%) from the 5-day moving average.
The orange line shows the 10-day average of the deviation, providing a smoother trendline for volatility analysis.
A gray baseline at 0% helps identify whether the price is trading above or below the SMA5.
This indicator is helpful for identifying short-term overbought or oversold conditions and tracking intraday volatility behavior.
이 Pine Script는 현재 종가가 5일 이동평균선(MA5)으로부터 얼마나 떨어져 있는지(이격률, %)를 계산하고 시각화합니다.
파란색 선은 매일의 이격률(%)을 나타냅니다.
주황색 선은 이격률의 10일 평균값으로, 보다 부드러운 추세선을 제공합니다.
**0% 기준선(회색)**을 통해 현재 가격이 MA5 위에 있는지 아래에 있는지를 한눈에 파악할 수 있습니다.
이 지표는 단기 과열/과매도 구간을 파악하거나, 일중 변동성의 흐름을 분석할 때 유용합니다.
Easy Position Size Calculator with Fees# Easy Position Size Calculator with Fees - Manual
## Overview
The Easy Position Size Calculator is a Pine Script indicator designed to help traders calculate the optimal position size for their trades while accounting for trading fees. This tool automatically determines whether you're planning a long or short position and calculates the exact position size needed to risk a specific dollar amount.
## Key Features
- **Automatic Trade Direction Detection**: Determines if you're going long or short based on entry price vs stop loss
- **Fee Integration**: Accounts for trading fees in position size calculations
- **Risk Management**: Calculates position size based on your specified risk amount
- **Risk Factor Adjustment**: Allows you to scale your position size up or down
- **Visual Display**: Shows all calculations in a clear, organized table
## Input Parameters
### Entry Price ($)
- **Purpose**: The price at which you plan to enter the trade
- **Default**: 0.0
- **Range**: Any positive value
- **Step**: 0.01
### Stop Loss ($)
- **Purpose**: The price at which you will exit the trade if it goes against you
- **Default**: 0.0
- **Range**: Any positive value
- **Step**: 0.01
### Risk ($)
- **Purpose**: The maximum dollar amount you're willing to lose on this trade
- **Default**: 0.0
- **Range**: Any positive value
- **Step**: 0.01
### Risk Factor
- **Purpose**: A multiplier to scale your position size up or down
- **Default**: 1.0 (no scaling)
- **Range**: 0.0 to 10.0
- **Step**: 0.1
- **Examples**:
- 1.0 = Normal position size
- 2.0 = Double the position size
- 0.5 = Half the position size
### Fee (%)
- **Purpose**: The percentage fee charged per transaction (buy/sell)
- **Default**: 0.01% (0.01)
- **Range**: 0.0% to 1.0%
- **Step**: 0.001
## How It Works
### Trade Direction Detection
The script automatically determines your trade direction:
- **Long Trade**: Entry price > Stop loss price
- **Short Trade**: Entry price < Stop loss price
### Position Size Calculation
#### For Long Trades:
```
Position Size = -Risk Factor × Risk Amount / (Stop Loss × (1 - Fee) - Entry Price × (1 + Fee))
```
#### For Short Trades:
```
Position Size = -Risk Factor × Risk Amount / (Entry Price × (1 - Fee) - Stop Loss × (1 + Fee))
```
### Fee Adjustment
The script accounts for fees on both entry and exit:
- **Long trades**: You pay fees when buying (entry) and selling (exit)
- **Short trades**: You pay fees when shorting (entry) and covering (exit)
## Output Display
The indicator displays a table with the following information:
### Trade Information
- **Trade Type**: Shows whether it's a LONG, SHORT, or INVALID trade
- **Entry Price**: Your specified entry price
- **Stop Loss**: Your specified stop loss price
- **Fee (%)**: The fee percentage being used
### Risk Parameters
- **Risk Amount**: The dollar amount you're willing to risk
- **Risk Factor**: The multiplier being applied
### Calculated Values
- **Effective Entry**: The actual cost per share including fees
- **Effective Exit**: The actual exit value per share including fees
- **Expected Loss**: The calculated loss if stop loss is hit
- **Deviation from Risk %**: Shows how close the expected loss is to your target risk
- **Position Size**: The number of shares/units to trade
## Usage Examples
### Example 1: Long Trade
- Entry Price: $100.00
- Stop Loss: $95.00
- Risk Amount: $500.00
- Risk Factor: 1.0
- Fee: 0.01%
**Result**: The script will calculate how many shares to buy so that if the stop loss is hit, you lose approximately $500 (accounting for fees). Position Size: 99.61152
### Example 2: Short Trade
- Entry Price: $50.00
- Stop Loss: $55.00
- Risk Amount: $300.00
- Risk Factor: 1.0
- Fee: 0.01%
**Result**: The script will calculate how many shares to short so that if the stop loss is hit, you lose approximately $300 (accounting for fees). Position Size: 59.87426
## Important Notes
### Validation Requirements
For the script to work properly, all of the following must be true:
- Entry price > 0
- Stop loss > 0
- Risk amount > 0
- Entry price ≠ Stop loss (to determine direction)
### Negative Position Sizes
The script may show negative position sizes, which is normal:
- **Negative values for long trades**: Represents shares to buy
- **Negative values for short trades**: Represents shares to short
### Risk Deviation
The "Deviation from Risk %" shows how closely the calculated position size matches your target risk. Small deviations are normal due to:
- Fee calculations
- Rounding
- Market precision
## Color Coding
The table uses color coding for easy identification:
- **Green**: Long trade information
- **Red**: Short trade information
- **Gray**: Invalid trade (when inputs are incorrect)
- **Blue**: Final position size
- **Red background**: Risk-related calculations
## Troubleshooting
### Common Issues
1. **Position Size shows 0**
- Check that all inputs are greater than 0
- Ensure entry price is different from stop loss
2. **Trade Type shows INVALID**
- Verify that entry price and stop loss are both positive
- Make sure entry price ≠ stop loss
3. **Large Risk Deviation**
- This is normal for very small position sizes
- Consider adjusting your risk amount or price levels
## Best Practices
1. **Always validate your inputs** before placing actual trades
2. **Double-check the trade direction** shown in the table
3. **Review the expected loss** to ensure it aligns with your risk management
4. **Consider the effective entry/exit prices** which include fees
5. **Use appropriate risk factors** - avoid extreme values that could lead to overexposure
## Disclaimer
This tool is for educational and planning purposes only. Always verify calculations manually and consider market conditions, liquidity, and other factors before placing actual trades. The script assumes that fees are charged on both entry and exit transactions.
IU Inside/Harami candlestick patternDESCRIPTION
The IU Inside/Harami Candlestick Pattern indicator is designed to detect bullish and bearish inside bar formations, also known as Harami patterns. This tool gives users flexibility by allowing pattern detection based on candle wicks, bodies, or a combination of both. It highlights detected patterns using colored boxes and optional text labels on the chart, helping traders quickly identify areas of consolidation and potential reversals.
USER INPUTS :
Pattern Recognition Based on =
Choose between "Wicks", "Body", or "Both" to determine how the inside candle pattern is identified.
Show Box =
Toggle the appearance of colored boxes that highlight the pattern zone.
Show Text =
Toggle on-screen labels for "Bullish Inside" or "Bearish Inside" when patterns are detected.
INDICATOR LOGIC :
Bullish Inside Bar (Harami) is detected when:
* The current candle's high is lower and low is higher than the previous candle (wick-based),
* or the current candle’s open and close are inside the previous candle’s body (body-based),
* and the current candle is bullish while the previous is bearish.
Bearish Inside Bar (Harami) is detected when:
* The current candle's high is lower and low is higher than the previous candle (wick-based),
* or the current candle’s open and close are inside the previous candle’s body (body-based),
* and the current candle is bearish while the previous is bullish.
The user can choose wick-based, body-based, or both logics for pattern confirmation.
Boxes are drawn between the highs and lows of the pattern, and alert messages are generated upon confirmation.
Optional labels show the pattern name for quick visual identification.
WHY IT IS UNIQUE :
Offers three different logic modes: wick-based, body-based, or combined.
Highlights patterns visually with customizable boxes and labels.
Includes built-in alerts for immediate notifications.
Uses clean and transparent plotting without repainting.
HOW USER CAN BENEFIT FROM IT :
Receive real-time alerts when Inside/Harami patterns are formed.
Use the boxes and text labels to spot price compression zones and breakout potential.
Combine it with other tools like trendlines or support/resistance for enhanced accuracy.
Suitable for scalpers, swing traders, and price action traders looking to trade inside bar breakouts or reversals.
DISCLAIMER :
This indicator is not financial advice, it's for educational purposes only highlighting the power of coding( pine script) in TradingView, I am not a SEBI-registered advisor. Trading and investing involve risk, and you should consult with a qualified financial advisor before making any trading decisions. I do not guarantee profits or take responsibility for any losses you may incur.
VDN 5-IFTC Only - TP/SL Sorarak Ayarlanır Strategy Overview:
This is a simple yet powerful reactive entry strategy based on the Inverse Fisher Transform of CCI (IFTC). The system enters a long trade only when the IFTC crosses above -0.5, signaling a potential momentum shift from oversold conditions.
Entry Rule:
- A long position is opened immediately when IFTC crosses above -0.5.
- No additional filters (trend, volume, or confirmation) are applied for faster execution.
Take-Profit and Stop-Loss:
- By default, the strategy uses a Take-Profit of 10 points and a Stop-Loss of 50 points, suitable for instruments like NAS100 with a 0.1 lot size.
- Manual Control Option: You can enable custom TP/SL values by checking the `Use Manual TP/SL` input. This gives you full control over the trade exit levels.
Custom Inputs:
- `Use Manual TP/SL`: When enabled, allows you to input your own TP and SL values.
- If not enabled, the strategy falls back to the default: TP = 10, SL = 50.
Use Cases:
- Works best in low timeframes (e.g., 1m or 5m) for reactive scalping.
- Can be expanded with trend filters or volume conditions.
- Ideal for manual backtesting and rapid-entry scalpers.
Notes:
- No short entries included in this version.
- No trailing stop or breakeven logic (clean and minimal).
- Compatible with any instrument where point-based profit/loss structure makes sense.
Feel free to clone and modify this script for your specific instrument or trade management logic. Feedback and improvements welcome!
200 EMA, 50 EMA, 21 EMAEMA Indicator 3 in 1 (21,50,200) Why download three individual indicator in you can have all in one.
SPY-ES & QQQ-NQ Live Ratiothis shows the live ratios of SPY and QQQs o you can easily convert them into ES and NQ levels
RSI(2) com MA200 + Alvo + Fecho após 5 dias (Sem Stop)🟢 Entry:
RSI(2) < 25
Price above MA200
🔴 Exit only if:
🎯 Target reached → previous 2 days' high
⏳ 5 business days have passed since entry
🚫 No more fixed stop-loss — assume that:
If the price goes down, you hold the position until it either hits the target or expires
Non-Repainting RSI 30/70 SignalA simple buy and sell indicator that relies on overbought and oversold areas that you enter whenyou get either a buy or sold signal.
VIX-Price Covariance MonitorThe VIX-Price Covariance Monitor is a statistical tool that measures the evolving relationship between a security's price and volatility indices such as the VIX (or VVIX).
It can give indication of potential market reversal, as typically, volatility and the VIX increase before markets turn red,
This indicator calculates the Pearson correlation coefficient using the formula:
ρ(X,Y) = cov(X,Y) / (σₓ × σᵧ)
Where:
ρ is the correlation coefficient
cov(X,Y) is the covariance between price and the volatility index
σₓ and σᵧ are the standard deviations of price and the volatility index
Enjoy!
Features
Dual Correlation Periods: Analyze both short-term and long-term correlation trends simultaneously
Adaptive Color Coding: Correlation strength is visually represented through color intensity
Market Condition Assessment: Automatic interpretation of correlation values into actionable market insights
Leading/Lagging Analysis: Optional time-shift analysis to detect predictive relationships
Detailed Information Panel: Real-time statistics including current correlation values, historical averages, and trading implications
Interpretation
Positive Correlation (Red): Typically bearish for price, as rising VIX correlates with falling markets. This is what traders should be looking for.
Negative Correlation (Green): Typically bullish for price, as falling VIX correlates with rising markets
How to use it
Apply the indicator to any chart to see its correlation with the default VIX index
Adjust the correlation length to match your trading timeframe (shorter for day trading, longer for swing trading)
Enable the secondary correlation period to compare different timeframes simultaneously
For advanced analysis, enable the Leading/Lagging feature to detect if VIX changes precede or follow price movements
Use the information panel to quickly assess the current market condition and potential trading implications
Relative StrengthDescription:
This indicator provides a simplified yet powerful method for measuring a stock's momentum based on its proximity to its recent high. It is a direct implementation of a trading concept discussed in a lecture from the New York Institute of Finance.
Core Concept
The underlying theory, supported by academic research, is that a stock making a new high is one of the most bullish signals possible. Such stocks have a statistical tendency to continue making new highs in the near term.
Instead of requiring complex relative strength calculations against a universe of stocks, this indicator uses a simple and elegant ratio to act as a proxy for momentum:
Indicator Value = Current Close / Highest High of Lookback Period
A value approaching 1.0 indicates the stock is strong and nearing a new high. A value at 1.0 means a new high has just been made.
How to Use This Indicator
The indicator consists of two primary components:
RS Line (Teal): The core momentum calculation (Close / High).
Signal MA (Orange): A moving average of the NHRS Line, which acts as the trigger for signals.
The signals are generated based on the crossover between these two lines:
BUY Signal: When the RS Line crosses ABOVE its moving average. This suggests that short-term momentum is accelerating and a new uptrend may be starting. The background will turn green.
SELL Signal: When the RS Line crosses BELOW its moving average. This indicates that momentum is fading and it may be prudent to exit the position to avoid a decline. The background will turn red.
Indicator Settings
You can customize the indicator to fit your trading style and the timeframe you are analyzing:
High Lookback Period: Choose the period for the "Highest High" calculation. Options range from 1 Month to 12 Months (52 weeks), allowing you to measure short-term or long-term strength.
Moving Average Length: Adjust the length of the signal line's moving average. The lecturer defaults to 26 weeks for a six-month view.
Moving Average Type: Select the type of moving average for the signal line (SMA, EMA, WMA, HMA).
Credits and Inspiration
Proper credit is essential. This script is a practical application of a concept that builds upon foundational academic work.
The core idea that a stock's proximity to its 52-week high is an investable anomaly was detailed in the 2004 Journal of Finance paper:
"The 52 Week High and Momentum Investing" by Thomas J. George and Chuan-Yang Hwang.
The lecturer's contribution, which this script implements, was to simplify this concept into an actionable trading tool by applying a moving average crossover to generate clear and objective buy and sell signals.
Disclaimer: This tool is for educational and informational purposes only. It is not financial advice. All trading involves risk, and you should always perform your own research and backtesting before making any trading decisions.
MA Respect IndicatorThis indicator tells you how much a moving average is being respected.
Green = highly respected
Blue = watch out, transitioning
Red = not respected at all.
If you trade moving averages, you may find this very helpful with determining when and when not to trust a MA. This can be changed to look at a VWAP, and many other different MA calculation types.
Price Action Breakout – CALL/PUT AlertsThis strategy generates CALL or PUT alerts based on price breakouts confirmed by EMA and volume filters.
🔍 Breakout Logic
📈 CALL Alert (Bullish Breakout):
Price closes above EMA
Price breaks above previous high
Volume is above average × multiplier
📉 PUT Alert (Bearish Breakout):
Price closes below EMA
Price breaks below previous low
Volume is above average × multiplier
🎯 Alert Structure
CALL 📈 / PUT 📉
Entry Price
Take Profit (TP) – Based on risk/reward ratio
Stop Loss (SL) – Based on percentage distance from entry
📊 Chart Elements
Labels on breakout candle with full alert info
Horizontal lines for TP and SL levels
Works on any timeframe (e.g., 15min for intraday)
✅ Use Case
Ideal for options traders, scalpers, and automated alerts
Forex Dynamic Momentum Reversal (FDMR) - AlternativeRed and green dashed lines on the last bar represent the upper and lower volatility bands, extending from the previous bar.
Blue and orange labels on the last bar show the fast and slow EMA values.
Green triangles below bars indicate buy signals; red triangles above bars indicate sell signals.
Enable Alerts: Set up alerts in TradingView for buy/sell signals.
Volume Shelf Breakout WatcherThis indicator detects potential breakout opportunities from high-volume price shelves (HVNs) using a custom volume profile engine. It scans the past 100 bars (adjustable) to identify price ranges with heavy volume accumulation, then monitors for a breakout when price is near the top of that range.
To increase accuracy, it optionally confirms momentum using:
✅ MACD bullish crossover
✅ RSI > 55
✅ Volume spike above 20-bar average
When all enabled conditions are met, the indicator highlights the bar with a green label and background shading, and can trigger alerts for trade setups.
Use this indicator to:
Identify volume-based consolidation zones
Anticipate price surges through low-volume areas ("volume gaps")
Catch breakouts with momentum confirmation
Inputs:
Volume Profile Range (bars)
HVN Sensitivity (top % of volume)
MACD confirmation toggle
RSI level toggle
Volume spike toggle
Ideal for:
Traders looking to enter early on momentum moves as price escapes compression zones into areas of less resistance.
Momentum_EMABandThe Momentum EMA Band V1 is a precision tool designed for intraday traders & scalpers. This is the first version of the script, combining three powerful technical elements to help traders identify directional moves while filtering out weak, choppy market phases.
🔧 How the Indicator Works — Combined Logic
This indicator merges well-known but distinct concepts into a unified visual framework:
1️⃣ EMA Price Band — Dynamic Zone Visualization
Plots upper and lower EMA bands based on user input (default: 9-period EMA).
Price relative to the bands provides immediate visual cues:
Green Band: Price above the upper EMA — bullish strength.
Red Band: Price below the lower EMA — bearish pressure.
Yellow Band: Price within the band — neutral zone.
2️⃣ Supertrend Overlay — Reliable Trend Confirmation
ATR-based Supertrend logic (customizable ATR length & factor).
Green Supertrend Line: Uptrend confirmation.
Red Supertrend Line: Downtrend confirmation.
Helps traders ride trends with dynamic levels that adjust to volatility.
3️⃣ ADX-Based No Trade Zone — Choppy Market Filter
Manual ADX calculation measures trend strength (default ADX length: 14).
When ADX is below a user-defined threshold (default: 20) and price is within the EMA Band buffer, a gray background highlights sideways or indecisive market conditions — suggesting no new trade or low momentum zone
Optional gray triangle marker shows the start of each No-Trade Zone phase.
🎯 Key Features
✅ Combines EMA Bands, Supertrend & ADX filtering for comprehensive market context.
✅ Visual No-Trade Zone shading keeps traders out of low-probability setups.
✅ Supertrend Line tracks evolving trend bias.
✅ Fully customizable — adjust EMA, ATR, ADX settings to match different instruments or styles.
✅ Clean, focused chart presentation for easy interpretation.
💡 Practical Application
Momentum Breakouts: Enter trades when price breaks beyond the EMA Band, with Supertrend confirmation.
Avoid Sideways Traps: Refrain from trading during gray-shaded No-Trade Zones, minimizing exposure to whipsaws.
Scalping & Intraday Edge: Particularly effective on lower timeframes where choppy periods are common.
⚠️ Important Disclaimer
This is Version 1 — future versions may expand on features based on trader feedback.
This script is for educational purposes only. Always combine with risk management and thorough strategy validation.
No indicator guarantees profitability — use this tool as part of a broader trading system.
Dynamic Ray BandsAbout Dynamic Ray Bands
Dynamic Ray Bands is a volatility-adaptive envelope indicator that adjusts in real time to evolving market conditions. It uses a Double Exponential Moving Average (DEMA) as its central trend reference, with upper and lower bands scaled according to current volatility measured by the Average True Range (ATR).
This creates a dynamic structure that visually frames price action, helping traders identify areas of potential trend continuation, overextension, or mean reversion.
How It Works
🟡 Centerline (DEMA)
The central yellow line is a Double Exponential Moving Average, which offers a smoother, less laggy trend signal than traditional moving averages. It represents the market’s short- to medium-term “equilibrium.”
🔵 Outer Bands
Plotted at:
Upper Band = DEMA + (ATR × outerMultiplier)
Lower Band = DEMA - (ATR × outerMultiplier)
These bands define the extreme bounds of current volatility. When price breaks above or below them, it can signal strong directional momentum or overbought/oversold conditions, depending on context. They're often used as trend breakout zones or to time exits after extended runs.
🟣 Inner Bands
Plotted closer to the DEMA:
Inner Upper = DEMA + (ATR × innerMultiplier)
Inner Lower = DEMA - (ATR × innerMultiplier)
These are preliminary volatility thresholds, offering early cues for potential expansion or reversal. They may be used for scalping, tight stop zones, or pre-breakout positioning.
🔁 Dynamic Width (Bands are Dynamically Adjusted Per Tick)
The width of both inner and outer bands is based on ATR (Average True Range), which is recalculated in real time. This means:
During high volatility, the bands expand, allowing for wider price fluctuations.
During low volatility, the bands contract, tightening range expectations.
Unlike fixed-width channels or standard Bollinger Bands (which use standard deviation), this per-tick adjustment via ATR enables Dynamic Ray Bands to reduce false signals in choppy markets and remain more reactive during trending conditions.
⚙️ Inputs
DMA Length — Period for the central DEMA.
ATR Length — Lookback used for ATR volatility calculations.
Outer Band Multiplier — Controls sensitivity of extreme bands.
Inner Band Multiplier — Controls proximity of inner bands.
Show Inner Bands — Toggle for plotting the inner zone.
🔔 Alerts
Alert conditions are included for:
Price closing above/below the outer bands (trend momentum or overextension)
Price closing above/below the inner bands (early signs of strength/weakness)
🧭 Use Cases
Breakout detection — Catch price continuation beyond the outer bands.
Volatility filtering — Adjust trade logic based on band width.
Mean reversion — Monitor for snapbacks toward the DEMA after price stretches too far.
Trend guidance — Use band slope and price position to confirm direction.
⚠️ Disclaimer
This script is intended for educational and informational purposes only. It does not constitute financial advice or a recommendation to trade any specific market or security. Always test indicators thoroughly before using them in live trading.
Regression Channel ExtendedBasic regression channel
Tested on QQQ 5 min interval
Edit fixedDeviationAmount based on ticker
Option Maxpain & WallsThis simple script plots three lines on your chart based on options data: Call Wall, Put Wall and Max Pain. These three numbers must be obtained elsewhere. While Tradingview has delayed options data, to my knowledge Pinescript does not allow looping through this data to calculate the numbers within the script. So the user must obtain or calculate them elsewhere then type them into the input dialog. Labels and alerts are included as user options.