Open Interest:CME e-o-d vs CFTC e-o-wCFTC only publishes total OI on fridays, related to last Tuesday.
But what happened since last Tuesday?
CME Vol & Open Interest data is recorded&exported daily by quandl.com to tradingview
via the che CHRIS/CME datasets
www.quandl.com
Eg. Nat Gas next outstanding cntract n. 20, field n. 7(OI)
@quandl.com:
www.quandl.com
is exported @tradingview:
www.tradingview.com
Every outstanding contract's OI & vol is exported (black column), but not the total (yellow line):
tiny.cc
This script sums up all the existing outstanding contract's OI for the future (the black column), so one can have an idea of the total OI for the day (Yellow line).
As numer of outstanding contracts varies from future to future,Eg:
E-mini (ES) has 4 contracts, Gold(GC) 16 cntrcts, NatGas(NG) has 43, WTI(CL) has 38 etc
the scrips tries to guess how many exist for it and sums them up, to have the total OI for tha day
Number ofoutstanding contracts exported by quandl.com to tradingview is taken from
s3.amazonaws.com
There are 2 params you can enter on the script:
* override the ticket symbol on the chart ,if script cannot guessit or you need a different one
* enter the "preliminary" OI that is published by CME early the next day, butb not yet exported by quandl to tradingview
This script is Open so anyone can copy and modifyit for its use.
Please post comments and ideas if you find it useful
I try to keep a log of my work here:
Pesquisar nos scripts por "Futures"
Colored Volume Bars All Markets: Combining Volume SourcesUsing volume in Forex is potentially misleading as we are only provided the broker volume or futures exchange volume for the currency or commodity in a decentralised market. This code combines the volumes from FXCM, Onanda and futures for the instrument being studied. The combination of the volumes could improve the reliability of the volume being considered. Using this approach other volume indicators can also be improved.
Bitmex Bitcoin BasisInspired by the Ugly Old Goat's articles about the Bitcoin basis - medium.com
with the help of @Plumptoiletduck this indicator was created to show the Bitmex futures premium or discount.
Note you need to add in the new futures ticker every 3 months.
ACM22 not repaintedДелал данный скрипт для FORTS.Идеально подойдет тем,кто использует трейлинг стопы.В основе стратегии лежит RSI.Как по мне,хорошая вещь для проверки стратегии и ее оптимизиации.На скрине 50 контрактов,так что не сильно радуйтесь,а просто делите на 50 и получите показатели на 1 контракт.
Script make for futures on MICEX.U can change paramets of RSI,traling stop and stop loss .On a ps 50 futures USDollar-russian ruble.Use for testing and optimisation.
Vertical Horizontal Filter BacktestVertical Horizontal Filter was initiated by Adam White. It was first published
in a magazine called “Issues of Futures” in August, 1991. The Vertical Horizontal
Filter (VHF) is a very common Indicator used by traders to find out the Phase of
a Price Trend. Normally, a price trend can be in a Trending Phase or a Congestion
Phase/Choppy Movement Phase. Adam White created this particular Technical Indicator
to determine whether prices are trending in a particular direction or are they going
through a transitional period. He used it to measure the range of Futures available
in the market.
You can change long to short in the Input Settings
WARNING:
- For purpose educate only
- This script to change bars colors.
Vertical Horizontal Filter Strategy Vertical Horizontal Filter was initiated by Adam White. It was first published
in a magazine called “Issues of Futures” in August, 1991. The Vertical Horizontal
Filter (VHF) is a very common Indicator used by traders to find out the Phase of
a Price Trend. Normally, a price trend can be in a Trending Phase or a Congestion
Phase/Choppy Movement Phase. Adam White created this particular Technical Indicator
to determine whether prices are trending in a particular direction or are they going
through a transitional period. He used it to measure the range of Futures available
in the market.
WARNING:
- This script to change bars colors.
Vertical Horizontal Filter Vertical Horizontal Filter was initiated by Adam White. It was first published
in a magazine called “Issues of Futures” in August, 1991. The Vertical Horizontal
Filter (VHF) is a very common Indicator used by traders to find out the Phase of
a Price Trend. Normally, a price trend can be in a Trending Phase or a Congestion
Phase/Choppy Movement Phase. Adam White created this particular Technical Indicator
to determine whether prices are trending in a particular direction or are they going
through a transitional period. He used it to measure the range of Futures available
in the market.
BKSqueezeThis is a price volatility compression and expansion indicator that uses the ratio of the Bollinger Band and Keltner Ratio.
Red segments indicate extreme price volatility compression that can be ideal entry points for stock/futures/forex and/or options positions.
Aqua segments indicate price volatility is expanding.
Blue segments indicate price volatility is compressing - can be used as an exit point or partial scale out point.
Note that the indicator doesn't indicate direction. One suggestion is to use the DMI indicator for this purpose - really depends on how early you enter the trade.
Suggest using a time period of 15 bars for volatile stocks, such as TSLA for example, otherwise a period of 20 bars suits most stocks/futures/forex symbols.
T7 JNSARJNSAR stands for Just Nifty -0.14% Stop & Reverse. This is a Trend Following Daily Bar Trading System for NIFTY -0.14% . Original idea belongs to ILLANGO @ I coded the pine version of this system based on a request from @stocksonfire. Use it at your own risk after validation at your end. Neither me or my company is responsible for any losses you may incur using this system. Hope you like this system and enjoy trading it !!!
Updated V3 code for the T7 JNSAR system earlier published here V2 and here V1
Following updates made to the code
1. Added a 22 Period Simple moving average filter over and above the standard JNSAR value for generating trading signals. This simple filter reduces the whipsaw trades drastically along with similar improvements in the max draw down and overall profitability of the system. The SMA filter is turned ON by default but can be turned OFF by user through the settings window.
2. Backtest option is now turned ON by default.
Also am republishing the trading rules here again with some modification
1. Go Long when the daily close is above the JNSAR line. Go Short when the daily close is below the JNSAR line. JNSAR line is the varying green line overlayed over the price chart. Once a signal comes at market close enter in the direction of the signal @ market price @ next day market open.
2. Trade only Nifty -0.14% Index. This system was developed and backtested only for NIFTY -0.14% Index. So trade in its Futures or Options, as you may deem fit. My recommendation is to choose futures for simplicity. If you want to reduce the trading cost and go with options, trade with deep in the money options, preferably 2 strikes far from the spot price.
3. Trade all signals. Markets trend only 30-35% of the time and hence the system is only accurate to that extend. But system tends to make enough money, in this small trending window, to keep the overall profitability in good health. But one never knows when a big trend may come and when it comes its absolutely imperative that you take it. To ensure that, trade all signals and don't be choosy about what signals you are going to trade. Also I wouldn't recommend using your own analysis to trade this system. Too many drivers will crash the car.
4. Like all trend following systems, this system will have many whipsaws during flat markets along with large trade and account drawdowns. Also some months and even years may not be profitable. But to trade this system profitably, it is necessary to take these in one's stride and keep trading. As the backtester results from 1990 to 2017 proves, this system is profitable overall thus far. Take confidence from that objective fact.
5. Trade with only that amount of money you can afford to loose. Initial capital that you need to have to trade one lot of NIFTY -0.14% should be atleast - (Margin Money required to take and hold 1 lot position + maximum drawdown amount per lot)*1.2. Be prepared to add more if need be, but the above formula will give a rough idea of what you need to have to start trading and be in the game always.
6. Place an After Market Order @ Market Price with your broker after market close so that you get to execute the trade next trading day @ Market open to capture near similar price as the daily open price seen on the chart. This execution mode will give you the best chance to minimize the slippage and mimic the backtester results as closely as practically possible.
7. Follow all the 6 rules above religiously, as if your life depends on it. If you cant, then don't trade this system; You will certainly loose money.
Happy Trading !!! As always am looking out for your valuable feedback.
T7 JNSARUpdated code for the T7 JNSAR system earlier published here -
Following updates made to the code
1. Buy / Sell arrows now appear when the corresponding conditions are met.
2. Support for Heikin-Ashi Candles added
3. Different Backtesting Position Sizing Algorithms added for evaluation
Also am republishing the trading rules here again with some modification
1. Go Long when the daily close is above the JNSAR line. Go Short when the daily close is below the JNSAR line. JNSAR line is the varying green line overlayed over the price chart. Once a signal comes at market close enter in the direction of the signal @ market price @ next day market open.
2. Trade only Nifty Index. This system was developed and backtested only for NIFTY Index. So trade in its Futures or Options, as you may deem fit. My recommendation is to choose futures for simplicity. If you want to reduce the trading cost and go with options, trade with deep in the money options, preferably 2 strikes far from the spot price.
3. Trade all signals. Markets trend only 30-35% of the time and hence the system is only accurate to that extend. But system tends to make enough money, in this small trending window, to keep the overall profitability in good health. But one never knows when a big trend may come and when it comes its absolutely imperative that you take it. To ensure that, trade all signals and don't be choosy about what signals you are going to trade. Also I wouldn't recommend using your own analysis to trade this system. Too many drivers will crash the car.
4. Like all trend following systems, this system will have many whipsaws during flat markets along with large trade and account drawdowns. Also some months and even years may not be profitable. But to trade this system profitably, it is necessary to take these in one's stride and keep trading. As the backtester results from 1990 to 2016 proves, this system is profitable overall thus far. Take confidence from that objective fact.
5. Trade with only that amount of money you can afford to loose. Initial capital that you need to have to trade one lot of NIFTY should be atleast - (Margin Money required to take and hold 1 lot position + maximum drawdown amount per lot)*1.2. Be prepared to add more if need be, but the above formula will give a rough idea of what you need to have to start trading and be in the game always.
6. Place an After Market Order @ Market Price with your broker after market close so that you get to execute the trade next trading day @ Market open to capture near similar price as the daily open price seen on the chart. This execution mode will give you the best chance to minimise the slippage and mimic the backtester results as closely as practically possible.
7. Follow all the 6 rules above religiously, as if your life depends on it. If you cant, then don't trade this system; You will certainly loose money.
Happy Trading !!! As always am looking out for your valuable feedback.
T7 JNSARJNSAR stands for Just Nifty Stop & Reverse. This is a trend following daily bar trading system for NIFTY. Original idea belongs to ILLANGO @ I coded the pine version of this system based on a request from @stocksonfire. Use it at your own risk after validation at your end. Neither me or my company is responsible for any losses you may incur using this system. Hope you like this system and enjoy trading it !!!
While trading this system you must follow these simple rules.
1. Go Long when the daily close is above the JNSAR line. Go Short when the daily close is below the JNSAR line. JNSAR line is the varying green line overlayed over the price chart. Once a signal comes at market close enter in the direction of the signal @ market price @ next day market open.
2. Trade only Nifty Index. This system was developed and backtested only for NIFTY Index. So trade in its Futures or Options, as you may deem fit. My recommendation is to choose futures for simplicity. If you want to reduce the trading cost and go with options, trade with deep in the money options, preferably 2 strikes far from the spot price.
3. Trade all signals. Markets trend only 30-35% of the time and hence the system is only accurate to that extend. But system tends to make enough money, in this small trending window, to keep the overall profitability in good health. But one never knows when a big trend may come and when it comes its absolutely imperative that you take it. To ensure that, trade all signals and don't be choosy about what signals you are going to trade. Also I wouldn't recommend using your own analysis to trade this system. Too many drivers will crash the car.
4. Like all trend following systems, this system will have many whipsaws during flat markets along with large trade and account drawdowns. Also some months and even years may not be profitable. But to trade this system profitably, it is necessary to take these in one's stride and keep trading. As the backtester results from 1990 to 2016 proves, this system is profitable overall thus far. Take confidence from that objective fact.
5. Initial capital that you need to have to trade one lot of NIFTY should be atleast - (Margin Money required to take and hold 1 lot position + maximum drawdown amount per lot)*1.2. Be prepared to add more if need be, but the above formula will give a rough idea of what you need to have to start trading and be in the game always.
6. Follow all the 5 rules above religiously as if your life depends on it. If you cant, then don't trade this system; You will certainly loose money.
Accumulation Swing Index The Accumulation Swing Index is a cumulative total of the Swing Index.
The Accumulation Swing Index was developed by Welles Wilder.
The SwingIndex function was developed to help cut through the maze of
Open, High, Low and Close prices to indicate the real strength and direction
of the market. The Swing Index function looks at the Open, High, Low and
Close values for a two-bar period. The theory is that there are four cross-bar
and one intra-bar comparisons that are strong indicators of an up or down day.
The Swing Index returns a number between -100 and 100. If the factors point toward
an up day, then the function value will be positive and vice versa. In this way,
the Swing Index gives us definite short-term swing points, and it can be used to
supplement other methods as a breakout indicator. A breakout is indicated when the
value of the Accumulation Swing Index (ASI) exceeds the ASI value on the day when a
previous significant High Swing Point was made. A downside breakout is indicated when
the value of the ASI drops below the ASI value on a day when a previous significant
low swing point was made.
Since only futures have a relative daily limit value, this function only makes sense
when applied to a futures contract. If you use this function and it only plots a zero
flat line, check the Daily Limit value.
Accumulation Swing Index (ASI) The Accumulation Swing Index is a cumulative total of the Swing Index.
The Accumulation Swing Index was developed by Welles Wilder.
The SwingIndex function was developed to help cut through the maze of
Open, High, Low and Close prices to indicate the real strength and direction
of the market. The Swing Index function looks at the Open, High, Low and
Close values for a two-bar period. The theory is that there are four cross-bar
and one intra-bar comparisons that are strong indicators of an up or down day.
The Swing Index returns a number between -100 and 100. If the factors point toward
an up day, then the function value will be positive and vice versa. In this way,
the Swing Index gives us definite short-term swing points, and it can be used to
supplement other methods as a breakout indicator. A breakout is indicated when the
value of the Accumulation Swing Index (ASI) exceeds the ASI value on the day when a
previous significant High Swing Point was made. A downside breakout is indicated when
the value of the ASI drops below the ASI value on a day when a previous significant
low swing point was made.
Since only futures have a relative daily limit value, this function only makes sense
when applied to a futures contract. If you use this function and it only plots a zero
flat line, check the Daily Limit value.
HOHO Oscillator Squeeze With AGAIG TurnsHOHO OSCILLATOR SQUEEZE WITH AGAIG TURN DETECTION
═════════════════════════════════════════════════════════════
OVERVIEW
This powerful indicator combines three proven trading concepts into one visually stunning, highly accurate momentum and trend analysis tool:
• HOHO (Hump Oscillator) - Multi-timeframe momentum oscillator
• Squeeze Indicator - Bollinger Bands/Keltner Channel volatility compression detector
• AGAIG (As Good As It Gets) Turn Detection - Intelligent price reversal identification
The result is a comprehensive trading system that identifies high-probability entry and exit points with exceptional visual clarity.
═════════════════════════════════════════════════════════════
KEY FEATURES
HOHO OSCILLATOR
The foundation of this indicator is the Hump Oscillator, which creates distinctive wave patterns ("humps") above and below the zero line. These colorful columns provide instant visual feedback on momentum direction and strength:
• Fast oscillator (thin columns) - Responsive to immediate price action
• Slow oscillator (wide columns) - Confirms underlying trend momentum
• Color-coded bars shift from bright (strong momentum) to dark (weakening momentum)
• Fully customizable MA types (EMA/SMA) and lengths
SQUEEZE DETECTION
Integrated Bollinger Band and Keltner Channel analysis identifies volatility compression:
• Yellow zero-line dots signal active squeeze conditions
• Optional yellow background highlights compression zones
• Anticipates explosive breakout moves
• Adjustable BB and KC parameters for different markets and timeframes
AGAIG TURN DETECTION
Intelligent price reversal identification based on the "As Good As It Gets" methodology:
• Automatically identifies significant market turning points
• Adjustable sensitivity via "Turn Detection Length" (lower = more signals, higher = fewer signals)
• Strength filter ensures only quality setups are marked (1-10 scale)
• Eliminates noise and false signals common in traditional pivot indicators
VISUAL SIGNALS
• BUY arrows (green triangles) mark bullish reversal opportunities
• SELL arrows (red triangles) mark bearish reversal opportunities
• Text labels positioned for optimal readability
• All arrows appear at actual turning points with configurable lookback offset
FLEXIBLE CUSTOMIZATION
• Choose between EMA or SMA for all moving average calculations
• Adjustable oscillator lengths for different trading styles
• Configurable turn detection sensitivity
• Optional bar coloring based on Fast or Slow momentum
• Clean, professional visual design
═════════════════════════════════════════════════════════════
HOW TO USE
ENTRY SIGNALS
Look for BUY/SELL arrows combined with:
1. Squeeze conditions (yellow markers) for highest-probability setups
2. Oscillator color confirmation (green for longs, red for shorts)
3. Turn strength that meets your minimum requirements
TREND CONFIRMATION
• Strong green humps = bullish momentum building
• Strong red humps = bearish momentum building
• Oscillator crossing zero = momentum shift
• Color transitions = momentum strengthening or weakening
VOLATILITY ANALYSIS
• Yellow zero-line dots = consolidation/squeeze active
• Expansion after squeeze = high-probability breakout opportunity
• Combine with turn arrows for precise entry timing
PARAMETER TUNING
For scalping/day trading (5m-15m charts):
• Turn Detection Length: 3-5
• Turn Strength: 2-4
For swing trading (1H-4H charts):
• Turn Detection Length: 5-8
• Turn Strength: 3-5
For position trading (Daily charts):
• Turn Detection Length: 8-15
• Turn Strength: 5-7
═════════════════════════════════════════════════════════════
CREDITS & ATTRIBUTION
This indicator builds upon the excellent work of:
• HOHO (Hump Oscillator) - Original concept from ThinkorSwim community
• Squeeze Indicator - Based on TTM Squeeze by John Carter
• AGAIG (As Good As It Gets) - Turn detection methodology by NPR21
Converted and enhanced for TradingView with permission from the trading community.
═════════════════════════════════════════════════════════════
BEST PRACTICES
✓ Use on liquid markets (major indices, forex pairs, crypto)
✓ Combine with support/resistance levels for confluence
✓ Wait for oscillator color confirmation before entry
✓ Higher turn strength settings = fewer but higher-quality signals
✓ Squeeze breakouts offer exceptional risk/reward opportunities
✓ Practice proper risk management and position sizing
✗ Don't trade every arrow - wait for confluence
✗ Don't ignore the oscillator colors - they show momentum health
✗ Don't use overly sensitive settings in choppy markets
✗ Don't trade counter to the oscillator trend without strong confirmation
═════════════════════════════════════════════════════════════
WHAT MAKES THIS INDICATOR UNIQUE
Unlike standalone momentum oscillators or simple pivot indicators, this tool synthesizes three proven methodologies into a single, coherent visual system. The combination of momentum analysis (HOHO), volatility detection (Squeeze), and intelligent turn identification (AGAIG) provides traders with a comprehensive view of market conditions and high-probability trading opportunities.
The indicator's visual design uses color psychology and positioning to make complex market analysis instantly understandable at a glance - critical for fast-moving markets and quick decision-making.
═════════════════════════════════════════════════════════════
SUITABLE FOR
• Day traders on 5m-30m timeframes
• Swing traders on 1H-Daily timeframes
• Scalpers seeking momentum confirmation
• Options traders identifying reversal points
• Futures traders (especially /ES, /NQ, /YM)
• Forex traders on major pairs
• Cryptocurrency traders
HTR Reclaim Hunter
🏹 HTR Reclaim Hunter
(1H Execution + Zones + 4H Bias)
HTR Reclaim Hunter is a trend-continuation indicator designed to identify high-probability pullback & reclaim entries using multi-timeframe bias, EMA structure, and dynamic reclaim zones.
This indicator is best suited for swing trading and intraday continuation setups, especially in trending markets.
🔑 CORE CONCEPT
Trade WITH the higher-timeframe trend.
Enter on pullbacks.
Confirm strength on reclaim.
HTR Reclaim Hunter combines:
4H trend bias
1H execution logic
EMA reclaim structure
Supply & demand reclaim zones
Built-in SL / TP visualization
🧭 RECOMMENDED SETTINGS
Best timeframe: 1H (designed for this)
Markets: Stocks, Crypto, Futures, Forex
Works best in: Trending markets (not chop)
📊 WHAT YOU SEE ON THE CHART
🔹 EMA Structure
EMA 50 (green): Trend filter
EMA 9 (colored): Momentum & pullback guide
🔹 Reclaim Zones
Green boxes: Support / demand zones
Red boxes: Resistance / supply zones
These zones highlight areas where price previously reacted and may reclaim.
🔹 Trade Signals
LONG label: Bullish reclaim setup
SHORT label: Bearish reclaim setup
🔹 Risk Levels (Optional)
Stop Loss (Red)
TP1 (Orange)
TP2 (Green)
🟢 LONG TRADE RULES
A LONG signal appears when ALL of the following are true:
4H trend is bullish
Price above 4H EMA 50
EMA 50 is rising
1H trend is bullish
Price above EMA 50
EMA 9 above EMA 50
Pullback occurs
Price pulls back below EMA 9
Reaches or taps EMA 50
Reclaim confirmation
Strong bullish candle closes back above EMA 9
Candle is not a doji
Signal prints
A green LONG label appears
👉 This indicates a trend continuation entry, not a reversal.
🔴 SHORT TRADE RULES
A SHORT signal appears when ALL of the following are true:
4H trend is bearish
Price below 4H EMA 50
EMA 50 is falling
1H trend is bearish
Price below EMA 50
EMA 9 below EMA 50
Pullback occurs
Price pulls back above EMA 9
Reaches or taps EMA 50
Reclaim confirmation
Strong bearish candle closes back below EMA 9
Candle is not a doji
Signal prints
A red SHORT label appears
🛑 STOP LOSS & TAKE PROFIT
When enabled, the indicator automatically plots:
Stop Loss
Based on recent swing high / low
TP1
1R (1× risk)
TP2
Configurable runner target (default 2R)
These are visual guides only — always manage risk according to your plan.
⚠️ IMPORTANT NOTES
This indicator is not meant for ranging or choppy markets
Best results occur when:
EMA 50 is clearly sloped
Price respects reclaim zones
Always confirm with:
Market structure
Volume
Higher-timeframe context
🔔 ALERTS
Alerts are available for:
HRH LONG
HRH SHORT
Alerts trigger on confirmed reclaim signals, not on every pullback.
❗ DISCLAIMER
This indicator is for educational purposes only.
It does not provide financial advice.
Always test and manage risk appropriately.
🏹 FINAL TIP
HTR Reclaim Hunter works best when you are patient.
Skip chop.
Wait for clean trends.
Hunt only high-quality reclaims.
If you want, I can also:
Write a short description version
Create a “Quick Start” section
Add example captions for screenshots
Help you choose TradingView tags & category
trend-following
ema reclaim
pullback strategy
multi-timeframe
price action
NSDT LatticeThis script automatically detects the Open price once the Futures markets open (6PM Eastern Time) and plots Support/Resistance levels based on the "Ticks Between Levels" that the trader enters in the settings.
The trader can also chose to set their own Custom Start Price should they wish to. For example: If they want to use the New York session Open price (for RTH) instead of the Asia session Open price (ETH).
You can change the colors and thickness of the lines, as well as the numbers of levels plotted.
GMS EMA'sGMS EMA’s is a clean, structure-focused indicator designed to help traders understand trend direction, market structure, and momentum shifts without cluttering the chart.
This indicator combines key exponential moving averages with internal and external market structure, Break of Structure (BOS), and Change of Character (CHOCH) logic to support discretionary, price-action-based trading.
It does not provide buy or sell signals. Instead, it helps traders read the market clearly and make informed decisions.
🔹 What’s Included
9 / 20 / 200 EMA system
Toggle each EMA on or off to match your trading style.
Internal & External Structure Detection
Clearly labeled swing highs and lows:
ISH / ISL (internal)
ESH / ESL (external)
Break of Structure (BOS)
Identifies structure continuation in the direction of the trend.
Change of Character (CHOCH)
Highlights potential shifts in momentum and early trend transitions.
Custom Structure Mode
View internal structure, external structure, or both.
Clean, candle-based visualization
No oscillators, no separate panels, no zigzag lines.
🔹 Who This Indicator Is For
Price-action traders
Structure-based traders
Forex, indices, crypto, and futures traders
Traders using top-down analysis
Traders who prefer clarity over complexity
🔹 How to Use
Use the 200 EMA and external structure to determine market bias.
Look for BOS to confirm trend continuation.
Use internal structure to refine entries.
Treat CHOCH as a warning, not a signal.
🔹 Philosophy
GMS EMA’s is built on the idea that less information leads to better decisions.
It’s designed to support discipline, awareness, and structure-based thinking — not to replace it.
Disclaimer:
This indicator is for educational purposes only and does not constitute financial advice. Always manage risk appropriately.
Abertura do Dia juscy# Complete Description of TradingView Code: "Daily Open + Moving Averages"
## Overview
This is an advanced TradingView indicator (Pine Script v5) that combines multiple visual elements and technical analysis tools focused on the daily opening price. The indicator is highly customizable and allows traders to quickly visualize key levels based on the daily opening price, plus includes optional moving averages.
## Structure and Main Functionalities
### 1. **Initial Settings**
- **Indicator name**: "Daily Open + Moving Averages"
- **Overlay**: True (draws directly on the price chart)
- **Maximum lines**: 500 (to avoid system overload)
### 2. **Visual Elements Based on Daily Open**
#### **Dynamic Vertical Line**
- Drawn on the first candle of each day
- Automatically adjusts its height to reflect the daily high and low
- Updated in real-time as new extremes form
- Customizable color and transparency
#### **Horizontal Opening Line**
- Dashed line marking the daily opening price
- Extends horizontally throughout the entire session
- Serves as reference for percentage movements
#### **Percentage Levels**
- Four levels calculated relative to the opening:
- +0.5% (green/up)
- +1.0% (green/up)
- -0.5% (red/down)
- -1.0% (red/down)
- Useful for identifying nearby support/resistance zones
#### **Daily VWAP (Volume Weighted Average Price)**
- Calculates volume-weighted average price for each day
- Optional (can be disabled for better performance)
- Updated in real-time during the session
### 3. **Moving Averages System**
The indicator includes 7 popular moving averages:
- **EMA 9**: 9-period exponential moving average (short-term)
- **SMA 12**: 12-period simple moving average
- **SMA 21**: 21-period simple moving average (common in strategies)
- **SMA 34**: 34-period simple moving average
- **SMA 55**: 55-period simple moving average (medium-term)
- **SMA 89**: 89-period simple moving average
- **SMA 200**: 200-period simple moving average (long-term)
Each moving average can be individually enabled/disabled and has customizable colors.
### 4. **Technical Architecture**
#### **Daily State Management**
- Uses `ta.change(time("D"))` to detect new days
- Stores key variables: `daily_open`, `daily_high`, `daily_low`
- Tracks opening bar index (`day_start_bar`)
#### **Array System for Lines**
- Uses arrays (`array.new_line()`) to store and manage graphic lines
- Allows efficient updating of visual elements
- Avoids accumulation of unnecessary graphic objects
#### **Update Logic**
- **During the day**: Updates extremes and VWAP
- **Day change**: Reinitializes variables and creates new elements
- **Last candle**: Extends horizontal lines to end of chart
#### **Performance Control**
- Use of `barstate.islastconfirmedhistory` and `barstate.isrealtime` for optimization
- Conditional creation of visual elements
- Implicit cleanup through replacement of old lines
### 5. **User Interface**
#### **Organized Configuration Groups**
1. **General Settings**: Line transparency and thickness
2. **Visual Elements**: Controls for each graphic component
3. **Moving Averages**: Enable/disable each moving average
4. **Colors**: Complete color customization for all elements
#### **Display Options**
All functionalities can be enabled/disabled:
- Vertical and horizontal lines
- Percentage levels
- VWAP
- Each moving average individually
### 6. **Practical Applications**
#### **For Day Traders**
- Quick identification of daily open as reference level
- Visualization of ±0.5% and ±1.0% zones for targets and stops
- VWAP as dynamic support/resistance level
#### **For Swing Traders**
- Multiple moving averages for trend analysis
- Daily context on important levels
- Combination of intraday and position analysis
#### **For Technical Analysis**
- Study of reactions at opening price
- Identification of daily trading ranges
- Level confluence (opening + moving averages)
### 7. **Design Advantages**
- **Modular**: Each component can be disabled
- **Efficient**: Careful management of graphic resources
- **Customizable**: Adjustable colors, thicknesses, and visibility
- **Real-time**: Automatically updates during session
- **Multi-timeframe**: Useful across various timeframes (from 1 minute to daily)
### 8. **Usage Considerations**
- Best performance on liquid assets
- Most useful in markets with defined openings (stocks, futures)
- Can be combined with other indicators
- Recommended to use alongside volume analysis
This indicator serves as a complete visual "workstation," providing multiple layers of information in a single overlay, facilitating decision-making based on key levels derived from the daily opening price.
ES Sessions - Asia / London / NY / Break This indicator draws clean, outline-only session boxes for ES futures, covering Asia, London, New York (RTH), Overnight, and the Daily Break.
Most session indicators add too much visual noise. Heavy background shading, overlapping colors, excessive lines, or extra calculations clutter the chart and distract from price. This script is intentionally different.
Each session is displayed as a simple price range outline showing the high and low of the session, with a single label placed at the top center. There is no background shading and no unnecessary highlights or metrics.
Sessions are defined using CME Central Time so they remain accurate, while Trading View automatically converts them to your chart’s local time.
The goal is clarity. See where each session starts and ends, understand its range, and keep the focus on price action without distraction.
Ideal for traders who want structure without clutter.
Socials - @burntledger
BTC Scalping 3m | Supertrend + MACD Squeeze (NY) [v6 FINAL]BTC 3-Minute Scalping Strategy
Supertrend Bias + MACD Squeeze (New York Session)
This is a fully mechanical BTC scalping strategy designed to capture short momentum bursts that occur when volatility expands in the direction of the higher-timeframe trend.
The strategy combines trend confirmation, volatility compression/expansion, and strict session filtering to reduce noise and improve consistency.
How It Works
Trend Bias
Uses a 15-minute Supertrend to define market direction.
Trades are taken only in the direction of the higher-timeframe trend.
Counter-trend signals are ignored.
Timing & Entry
Executes on the 3-minute chart.
Waits for volatility compression using a LazyBear-style MACD Squeeze.
Enters only when the squeeze releases and momentum turns positive.
Entry occurs on candle close above the execution-timeframe Supertrend.
Session Filter
Trades only during the New York session (13:00–21:00 UTC).
This avoids low-liquidity periods and reduces false breakouts.
Risk & Exits
Dynamic stop-loss placed at the execution-timeframe Supertrend.
Risk is calculated using the actual filled entry price for accurate R-based exits.
Primary profit target is 0.5R, optimized for scalping.
Positions are exited immediately if:
Price closes against Supertrend
Supertrend flips direction
Momentum (MACD histogram) turns negative
Trades are typically short-lived (1–3 candles), keeping exposure minimal.
Key Characteristics
Non-repainting logic
Fully rule-based (no discretion)
High win-rate, low-RR scalping profile
Designed for BTC futures/perpetuals
Optimized for New York session volatility
Usage Notes
Run on BTC 3-minute charts
Best results during active NY hours
Performance will vary by exchange, fees, and slippage
This strategy is intended for education and testing, not financial advice
Summary
This strategy focuses on trading volatility expansion aligned with trend, using Supertrend for structure and MACD Squeeze for timing. By restricting trades to high-liquidity hours and enforcing strict exits, it aims for consistent, repeatable scalps rather than large directional bets.
Advanced Volume & Liquidity SuiteThe Institutional Code is an advanced trading system designed to reveal the footprint of "Smart Money" in the Futures and Indices markets. Unlike traditional indicators that track price, this algorithm tracks Real Volume and Liquidity, comparing retail data with institutional (CME) data to identify zones of manipulation and absorption.
This script transforms your chart into an institutional command board, ideal for trading NQ (Nasdaq), ES (S&P 500), and YM (Dow Jones) with surgical precision.
NIFTY 5m Bull Ratio + SL/TP Trackersimple, practical Bull Ratio formula tailored for NIFTY (index or NIFTY futures) on a 5-minute timeframe.






















