BTC Swinger v1Daily interval swing trading algorithm based on momentum techniques using ATR Stops. Made by Kory Hoang from Stably.
Shout out to the Advanced Crypto Asset Trading crew! ;)
在脚本中搜索"daily"
MY_CME eod OI vs CFTC eow OIDaily e-o-d Open Interest as published by CME.
As CFTC COT Open Interest relates to last Tuesday, here you can have an idea how things evolved day-by-day since then.
As CME total OI is not accessibl as data, here I sum OI of the next 9 outstanding contracts, which gives a fair idea of the trend in OI
MTF EMA Combo with Background ColorDaily/Weekly EMA combo for longer term trend direction, with combo background color for varying trend direction.
Daily Average True Range OverlayPlots the upper and lower average true range away from the previous days close on all time frames.
Daily Deviations (Lazy Edition)
Plots the standard deviation resistance/support lines.
Uses Previous days close and the VIX as the volatility factor.
credit to u/UberBotMan and u/Living_Granger for the idea and formulas
Daily Deviations (Self Input Version)
Plots the standard deviation resistance/support levels.
Input the previous settlement price and the implied volatility.
credit to u/UberBotMan and u/Living_Granger for the idea and formulas
(preview example is using settlement of 2420 and IV of 11)
Daily Returns & STDWhat happened last time when xx increased by xx%? - Start collecting some stats!
You can choose the ticker and the timeframe you're interested in
RSI Oversold/UndersoldThe study script will place GREEN BUY arrows BELOW oversold conditions and RED SHORT arrows ABOVE overbought conditions. You can configure the period
Most RSI(14) indicators use a 14-period, I prefer a 5-period. The period, overbought and oversold periods are settings that can easily be changed by adding this study to your chart and clicking the "gear" icon next to the study inside your chart.
Daily SMAThis pine script on intraday chart is exactly the same SMA as built-in MovingAverage on a 1Day chart (with the same lengths)
OB & FVG IndicatorOB & FVG Indicator
SHORT DESCRIPTION
Clean and simple visualization of Order Blocks (OB) and Fair Value Gaps (FVG) with automatic detection and customizable display settings. Perfect for Smart Money Concepts (SMC) traders.
FULL DESCRIPTION
📊 OVERVIEW
This indicator automatically detects and displays two key Smart Money Concepts (SMC) elements on your chart:
Order Blocks (OB) - Institutional supply and demand zones
Fair Value Gaps (FVG) - Price imbalances that often get revisited
Designed for clarity and simplicity, this tool helps traders identify high-probability reversal zones and potential entry points based on institutional trading behavior.
🔧 KEY FEATURES
Order Blocks Detection:
Automatically identifies bullish OB (last bearish candle before upward move)
Automatically identifies bearish OB (last bullish candle before downward move)
Customizable colors for bullish/bearish zones
Optional labels for easy identification
Minimum size filter to eliminate noise
Fair Value Gaps Detection:
Detects bullish FVG (gap between candle high and previous candle low)
Detects bearish FVG (gap between candle low and previous candle high)
Color-coded zones for instant recognition
Auto-deletion of filled gaps (optional)
Minimum size filter in pips
Visual Customization:
Adjustable transparency levels
Custom color schemes for all elements
Configurable box extension length
Toggle labels on/off
Clean, non-cluttered chart display
Performance Optimization:
Automatic deletion of old boxes to maintain chart performance
Maximum 100 boxes stored at once
Lightweight code for fast rendering
⚙️ HOW TO USE
1. Installation
Click "Add to Chart"
The indicator will appear on your chart overlay
2. Configuration
Open Settings panel (gear icon)
Customize colors, transparency, and filters under respective groups
Adjust minimum size filters to match your trading style and timeframe
3. Interpretation
Order Blocks:
Blue zones = Bullish OB (potential support/demand)
Orange zones = Bearish OB (potential resistance/supply)
Price often reacts strongly when revisiting these zones
Fair Value Gaps:
Green zones = Bullish FVG (potential retracement target in uptrends)
Red zones = Bearish FVG (potential retracement target in downtrends)
Gaps are often "filled" before continuation moves
📈 BEST PRACTICES
Timeframe Recommendations:
15m - 1H charts: Best for intraday trading
4H - Daily charts: Best for swing trading
Higher timeframes produce more reliable zones
Trading Strategy Tips:
Wait for price to return to OB/FVG zones before entry
Combine with other confirmation signals (candlestick patterns, volume)
Higher timeframe OBs/FVGs carry more weight
Use as confluence with support/resistance levels
Filter Settings:
Lower timeframes: Increase minimum size filters to reduce noise
Higher timeframes: Can use smaller minimum size settings
Adjust based on asset volatility (crypto vs. forex vs. stocks)
⚠️ IMPORTANT NOTES
This indicator identifies potential zones but does not guarantee reversals
Always use proper risk management and stop losses
Combine with price action analysis for best results
Not all OBs/FVGs will result in reactions
Past performance does not guarantee future results
🎯 IDEAL FOR:
Smart Money Concepts (SMC) traders
ICT (Inner Circle Trader) methodology followers
Swing traders and day traders
Support/resistance zone identification
Confluence-based trading strategies
📝 SETTINGS OVERVIEW
FVG Settings:
Enable/disable FVG display
Bullish and bearish color selection
Extension length (bars)
Auto-delete filled gaps option
Minimum gap size filter (pips)
OB Settings:
Enable/disable OB display
Bullish and bearish color selection
Extension length (bars)
Show/hide labels
Minimum block size filter (pips)
✨ Clean, Simple, Effective
No complicated signals or cluttered displays - just clear visualization of the institutional footprints that matter most.
OB & FVG IndicatorClean and simple visualization of Order Blocks (OB) and Fair Value Gaps (FVG) with automatic detection and customizable display settings. Perfect for Smart Money Concepts (SMC) traders.
FULL DESCRIPTION
📊 OVERVIEW
This indicator automatically detects and displays two key Smart Money Concepts (SMC) elements on your chart:
Order Blocks (OB) - Institutional supply and demand zones
Fair Value Gaps (FVG) - Price imbalances that often get revisited
Designed for clarity and simplicity, this tool helps traders identify high-probability reversal zones and potential entry points based on institutional trading behavior.
🔧 KEY FEATURES
Order Blocks Detection:
Automatically identifies bullish OB (last bearish candle before upward move)
Automatically identifies bearish OB (last bullish candle before downward move)
Customizable colors for bullish/bearish zones
Optional labels for easy identification
Minimum size filter to eliminate noise
Fair Value Gaps Detection:
Detects bullish FVG (gap between candle high and previous candle low)
Detects bearish FVG (gap between candle low and previous candle high)
Color-coded zones for instant recognition
Auto-deletion of filled gaps (optional)
Minimum size filter in pips
Visual Customization:
Adjustable transparency levels
Custom color schemes for all elements
Configurable box extension length
Toggle labels on/off
Clean, non-cluttered chart display
Performance Optimization:
Automatic deletion of old boxes to maintain chart performance
Maximum 100 boxes stored at once
Lightweight code for fast rendering
⚙️ HOW TO USE
1. Installation
Click "Add to Chart"
The indicator will appear on your chart overlay
2. Configuration
Open Settings panel (gear icon)
Customize colors, transparency, and filters under respective groups
Adjust minimum size filters to match your trading style and timeframe
3. Interpretation
Order Blocks:
Blue zones = Bullish OB (potential support/demand)
Orange zones = Bearish OB (potential resistance/supply)
Price often reacts strongly when revisiting these zones
Fair Value Gaps:
Green zones = Bullish FVG (potential retracement target in uptrends)
Red zones = Bearish FVG (potential retracement target in downtrends)
Gaps are often "filled" before continuation moves
📈 BEST PRACTICES
Timeframe Recommendations:
15m - 1H charts: Best for intraday trading
4H - Daily charts: Best for swing trading
Higher timeframes produce more reliable zones
Filter Settings:
Lower timeframes: Increase minimum size filters to reduce noise
Higher timeframes: Can use smaller minimum size settings
Adjust based on asset volatility (crypto vs. forex vs. stocks)
⚠️ IMPORTANT NOTES
This indicator identifies potential zones but does not guarantee reversals
Always use proper risk management and stop losses
Combine with price action analysis for best results
Not all OBs/FVGs will result in reactions
Past performance does not guarantee future results
📝 SETTINGS OVERVIEW
FVG Settings:
Enable/disable FVG display
Bullish and bearish color selection
Extension length (bars)
Auto-delete filled gaps option
Minimum gap size filter (pips)
OB Settings:
Enable/disable OB display
Bullish and bearish color selection
Extension length (bars)
Show/hide labels
Minimum block size filter (pips)
✨ Clean, Simple, Effective
No complicated signals or cluttered displays - just clear visualization of the institutional footprints that matter most.
OB & FVG シンプル表示Here's a professional TradingView indicator description in English:
OB & FVG Indicator
SHORT DESCRIPTION
Clean and simple visualization of Order Blocks (OB) and Fair Value Gaps (FVG) with automatic detection and customizable display settings. Perfect for Smart Money Concepts (SMC) traders.
FULL DESCRIPTION
📊 OVERVIEW
This indicator automatically detects and displays two key Smart Money Concepts (SMC) elements on your chart:
Order Blocks (OB) - Institutional supply and demand zones
Fair Value Gaps (FVG) - Price imbalances that often get revisited
Designed for clarity and simplicity, this tool helps traders identify high-probability reversal zones and potential entry points based on institutional trading behavior.
🔧 KEY FEATURES
Order Blocks Detection:
Automatically identifies bullish OB (last bearish candle before upward move)
Automatically identifies bearish OB (last bullish candle before downward move)
Customizable colors for bullish/bearish zones
Optional labels for easy identification
Minimum size filter to eliminate noise
Fair Value Gaps Detection:
Detects bullish FVG (gap between candle high and previous candle low)
Detects bearish FVG (gap between candle low and previous candle high)
Color-coded zones for instant recognition
Auto-deletion of filled gaps (optional)
Minimum size filter in pips
Visual Customization:
Adjustable transparency levels
Custom color schemes for all elements
Configurable box extension length
Toggle labels on/off
Clean, non-cluttered chart display
Performance Optimization:
Automatic deletion of old boxes to maintain chart performance
Maximum 100 boxes stored at once
Lightweight code for fast rendering
⚙️ HOW TO USE
1. Installation
Click "Add to Chart"
The indicator will appear on your chart overlay
2. Configuration
Open Settings panel (gear icon)
Customize colors, transparency, and filters under respective groups
Adjust minimum size filters to match your trading style and timeframe
3. Interpretation
Order Blocks:
Blue zones = Bullish OB (potential support/demand)
Orange zones = Bearish OB (potential resistance/supply)
Price often reacts strongly when revisiting these zones
Fair Value Gaps:
Green zones = Bullish FVG (potential retracement target in uptrends)
Red zones = Bearish FVG (potential retracement target in downtrends)
Gaps are often "filled" before continuation moves
📈 BEST PRACTICES
Timeframe Recommendations:
15m - 1H charts: Best for intraday trading
4H - Daily charts: Best for swing trading
Higher timeframes produce more reliable zones
Trading Strategy Tips:
Wait for price to return to OB/FVG zones before entry
Combine with other confirmation signals (candlestick patterns, volume)
Higher timeframe OBs/FVGs carry more weight
Use as confluence with support/resistance levels
Filter Settings:
Lower timeframes: Increase minimum size filters to reduce noise
Higher timeframes: Can use smaller minimum size settings
Adjust based on asset volatility (crypto vs. forex vs. stocks)
⚠️ IMPORTANT NOTES
This indicator identifies potential zones but does not guarantee reversals
Always use proper risk management and stop losses
Combine with price action analysis for best results
Not all OBs/FVGs will result in reactions
Past performance does not guarantee future results
📝 SETTINGS OVERVIEW
FVG Settings:
Enable/disable FVG display
Bullish and bearish color selection
Extension length (bars)
Auto-delete filled gaps option
Minimum gap size filter (pips)
OB Settings:
Enable/disable OB display
Bullish and bearish color selection
Extension length (bars)
Show/hide labels
Minimum block size filter (pips)
✨ Clean, Simple, Effective
No complicated signals or cluttered displays - just clear visualization of the institutional footprints that matter most.
ADR % RangesThis indicator is designed to visually represent percentage lines from the open of the day. The % amount is determined by X amount of the last days to create an average...or Average Daily Range (ADR).
1. ADR Percentage Lines: The core function of the script is to apply lines to the chart that represent specific percentage changes from the daily open. It first calculates the average over X amount of days and then displays two lines that are 1/3rd of that average. One line goes above the other line goes below. The other two lines are the full "range" of the average. These lines can act as boundaries or targets to know how an asset has moved recently. *Past performance is not indicative of current or future results.
The calculation for ADR is:
Step 1. Calculate Today's Range = DailyHigh - DailyLow
Step 2. Store this average after the day has completed
Step 3. Sum all day's ranges
Step 4. Divide by total number of days
Step 5. Draw on chart
2. Customizable Inputs: Users have the flexibility to customize the script through various inputs. This includes the option to display lines only for the current trading day (`todayonly`), and to select which lines are displayed. The user can also opt to show a table the displays the total range of previous days and the average range of those previous days.
3. No Secondary Timeframe: The ADR is computed based on whatever timeframe the chart is and does not reference secondary periods. Therefore the script cannot be used on charts greater than daily.
This script is can be used by all traders for any market. The trader might have to adjust the "X" number of days back to compute a historical average. Maybe they only want to know the average over the past week (5 days) or maybe the past month (20 days).
Humble Student OB/OS Trifecta indicatorAfter reading Cam Hui's blog post about his "Trifecta" bottom spotting model I thought I'd try my hand at scripting it as an indicator. The results are pretty close to what he describes. Though the data TradingView feeds me doesn't seem to be identical to what he's using on StockCharts.com the results are close enough that I will call the effort a success worth publishing.
MTF 20 SMA Table - DXY**MTF 20 SMA Table - Multi-Timeframe Trend Analysis Dashboard**
**Overview:**
This indicator provides a comprehensive multi-timeframe analysis dashboard that displays the relationship between price and the 20-period Simple Moving Average (SMA) across four key timeframes: 15-minute, 1-hour, 4-hour, and Daily. It's designed to help traders quickly identify trend alignment and potential trading opportunities across multiple timeframes at a glance. It's definitely not perfect but has helped me speed up my backtesting efforts as it's worked well for me eliminating flipping back and forth between timeframes excpet when I have confluence on the table, then I check the HTF.
**How It Works:**
The indicator creates a table overlay on your chart showing three critical metrics for each timeframe:
1. **Price vs SMA (Row 1):** Shows whether price is currently above (bullish) or below (bearish) the 20 SMA
- Green = Price Above SMA
- Red = Price Below SMA
2. **SMA Direction (Row 2):** Indicates the trend direction of the SMA itself over a lookback period
- Green (↗ Rising) = Uptrend
- Red (↘ Falling) = Downtrend
- Gray (→ Flat) = Ranging/Consolidation
3. **Strength (Row 3):** Displays the distance between current price and the SMA in pips
- Purple background = Strong move (>50 pips away)
- Orange background = Moderate move (20-50 pips)
- Gray background = Weak/consolidating (<20 pips)
- Text color: Green for positive distance, Red for negative
**Key Features:**
- **Customizable Table Position:** Place the table anywhere on your chart (9 position options)
- **Adjustable SMA Lengths:** Modify the SMA period for each timeframe independently (default: 20)
- **Direction Lookback Settings:** Fine-tune how far back the indicator looks to determine SMA direction for each timeframe
- **Flat Threshold:** Set the pip threshold for determining when an SMA is "flat" vs trending (default: 5 pips)
- **DXY Optimized:** Calculations are calibrated for the US Dollar Index (1 pip = 0.01)
**Best Use Cases:**
1. **Trend Alignment:** Identify when multiple timeframes align in the same direction for higher probability trades
2. **Divergence Spotting:** Detect when lower timeframes diverge from higher timeframes (potential reversals)
3. **Entry Timing:** Use lower timeframe signals while higher timeframes confirm overall trend
4. **Strength Assessment:** Gauge how extended price is from the mean (SMA) to avoid overextended entries
**Settings Guide:**
- **SMA Settings Group:** Adjust the SMA period for each timeframe (15M, 1H, 4H, Daily)
- **SMA Direction Group:** Control lookback periods to determine trend direction
- 15M: Default 5 candles
- 1H: Default 10 candles
- 4H: Default 15 candles
- Daily: Default 20 candles
- **Flat Threshold:** Set sensitivity for "flat" detection (lower = more sensitive to ranging markets)
**Trading Strategy Examples:**
1. **Trend Following:** Look for all timeframes showing the same direction (all green or all red)
2. **Pullback Trading:** When Daily/4H are green but 15M/1H show red, wait for lower timeframes to flip green for entry
3. **Ranging Markets:** When multiple SMAs show "flat", consider range-bound strategies
**Important Notes:**
- This is a reference tool only, not a standalone trading system
- Always use proper risk management and combine with other analysis methods
- Best suited for trending instruments like indices and major forex pairs
- Calculations are optimized for DXY but can be used on other instruments (pip calculations may need adjustment)
**Credits:**
Feel free to modify and improve this code! Suggestions for enhancements are welcome in the comments.
---
**Installation Instructions:**
1. Add the indicator to your TradingView chart
2. Adjust the table position via settings to avoid overlap with price action
3. Customize SMA lengths and lookback periods to match your trading style
4. Monitor the table for timeframe alignment and trend confirmation
---
This indicator is published as open source for the community to learn from and improve upon. Happy trading! 📈
BTC Backwardation SearcherThis Pine Script code is a custom indicator named "BTC Backwardation Searcher" designed for the TradingView platform. The indicator aims to identify and visualize the price difference between two Bitcoin futures contracts: CME:BTC1! and CME:BTC2!.
Here's a breakdown of the code:
1. The script fetches the daily close prices of CME:BTC1! and CME:BTC2! using the security() function.
2. It calculates the percentage price difference between the two contracts using the formula: (btc1Price - btc2Price) / btc2Price * 100.
3. The script also calculates the price difference for the previous two days (2 days ago and 3 days ago) using the same formula.
4. Two conditions are defined:
(1) dailyGreenCondition: If the price difference is greater than or equal to 0.3% for three
consecutive days, including the current day and the previous two days.
(2) dailyRedCondition(commented): If the price difference is less than or equal to -1% for three consecutive days, including the current day and the previous two days.
(I commented it out because I don't think it's useful.)
5. The plotshape() function is used to display green triangles on the chart when the dailyGreenCondition is met, and red triangles when the dailyRedCondition is met. These triangles are displayed on the daily, weekly, and monthly timeframes.
The purpose of this indicator is to help traders identify potential trading opportunities based on the price difference between the two Bitcoin futures contracts. The green triangles suggest a bullish scenario where CME:BTC1! is significantly higher than CME:BTC2!, while the red triangles indicate a bearish scenario where CME:BTC2! is significantly lower than CME:BTC1!.
However, it's important to note that this indicator should be used in conjunction with other technical analysis tools and fundamental analysis. Traders should also consider their risk tolerance, investment goals, and market conditions before making any trading decisions based on this indicator.






















