Liquidity Heatmap (Nephew_Sam_)Liquidity Heatmap
This indicator plots a heatmap of resting liquidity above and below swing lows and multiple timeframes
The darker the color is or the larger the zone is, the more liquidity is lying there. If you think there are too many zones, you can increase the timeframes in the settings or just disable it.
Liquidity simply means orders such as stoplosses, buy/sell stops.
Disclaimer: You are free to use this code but your should be open source too
스크립트에서 "smart"에 대해 찾기
Automated OHLC OLHC LevelsA simple, clean, effective visualization tool, for the OHLC or OLHC of a chosen candle/timeframe.
Apply this indicator using a higher timeframe, in conjunction with other levels and the directional bias, to easily recognize trading opportunities at lower timeframes.
Automatic Order Block + Imbalance by D. BrigagliaThis script combines automatic orderblock and imbalance tracking.
Bullish OB - Blue
Bullish Imbalance - Green
Bearish OB - Red
Bearish Imbalance - Orange
Please note that the actual definitions of orderblock and imbalance are not respected in this script for the sake of simplicity. Scripts that are too complex may overfit some particular chart. Since there is no way to translate the actual ob and imb definitions into pinescript language, I decided to keep it simple.
Ideally, you want to see a bullish OB followed by buy side imbalance, or viceversa. OBs that are broken weakly are generally invalidated, ones that are broken strongly generally become breakers, and you can use them as good support/resistance levels.
Also, a good thing you can do when an OB and an imbalance match, is going in the lower timeframes and catching the structure reversal in the OB or imbalance zone. That may provide excellent RR trades. Always trade with OB that confirm the HTF trend.
Nothing in my content on tradingview is considerable investment advice.
[FrizLabz] FVGFVG indicator --
Allows your Charts to stay CLEAN for your T.A. by plotting the FVGs on top of the Candles inside of its Borders
FVGs can also be turned off and you can Remove the Bar Color only
Each FVG has a tooltip that you can hover your mouse over to get the (Type of FVG, Size, Top, Middle, Bottom, Time)
FVGs Using Plots so that they go all the way back in history you can have more than 500 on the chart
Uses 4 Plots to achieve this 4 are used to prevent the fill() from carrying over to the next bar if there are 2 FVGs
Can remove Bar Color - Theres no option to change Bar Color because it will cover up the FVG
Hope you guys Enjoy,
PVSRA Volume Price - Some people say "Price Action is King". I say, we cannot know how the MMs (Market Makers) will move price next, period. But price tends to consolidate above key SR when MMs are filling short orders for SM (Smart Money) and long orders for DM (Dumb Money), and price tends to consolidate below key SR when MMs are filling long orders for SM and short orders for DM. The MMs are also "SM", and they tend to do the other SMs "one better"! This means that after the MMs fill the SM/DM orders, they might move price a bit further in an attempt to stop out some of those SM executed orders and sucker in more DM; both giving liquidity for the MMs to add to their own SM side position. Yes, the MMs are bastards. But the point is that could leave price not "nicely" above or below a SR anymore, yet more consolidation can occur.
Volume - Increases in activity denote increase in interest. But, is it long or short interest? Where is price in the bigger picture when this is happening? Is it at relative highs, or lows in the overall price action? And if a high volume bar is for a candle which you can examine by going to lower TF charts, you might see where in the spread of that candle the most volume occurred, high or low! Using volume is about taking note of relative increases in volume and what price is doing at the same time. Are the better volumes favoring the lower or the higher prices, as the MMs waffle price up and down? And do the volumes get particularly notable when the MMs take price above or below key SR?
S&R - Read all about S&R at "Baby Pips.com". What I want you to realize here is that the whole, half and quarter numbered price levels (hereinafter referred to as "Levels") are the most important SR of all in this market! Not because price stops, pauses, proceeds or reverses there, but because it is above or below these levels that important consolidation (MMs filling SM orders) takes place. Once SM long orders are filled, they become interested in placing orders to close them at higher prices, and hence the MMs will be moving price higher, eventually. Once SM short orders are filled, they become interested in placing orders to close them at lower prices, and hence the MMs will be moving price lower, eventually.
PVSRA - If we can spot consolidations above/below key SR, examine the overall price action on various TF charts, and take note of where the notable increases in volume have most recently occurred (did volume favor relative highs or lows), then we can build a consensus about what kind of orders the MMs have most recently been filling; buying to open longs or close shorts, or selling to open shorts or close longs. And we can get a better idea if things will next become bullish or bearish. And once PA confirms our bullish or bearish PVSRA results, by recognizing the importance of Levels we can look beyond current PA in the direction it is going and look to historic PA S&R (consolidation around key Levels) to come up with candidates for where the price might be headed. And bull or bear swings typically run in terms of 100+, 150+, 200+ pips, .....etc. And now you know why.
Okay. Now, if this is your first introduction to PVSRA, and having just read the above, you are likely scratching your head and still confused. That is normal. I will tell you a secret about the market and why you have a right to be confused. The secret is this. The market cannot be defined by mathematics nor by immutable logic. This is why the most advanced mathematicians over a century have never even come close to cracking the market. It cannot be done. Something else, other than math and immutable logic is the fundamental operand in the market. Have you ever watched a child attempt a jigsaw puzzle for the first time? And watched as that child grew and attempted more of them, and more complex ones? What is at work in the market I will elaborate on later, but for now trust me in this. We need to apply ourselves to learning how to do PVSRA just as a child attacks learning how to do jigsaw puzzles. And we must continue doing PVSRA, because in time our mind will "learn" when we have just picked up an important piece of the puzzle, and that we know where it goes! Developing the skill of PVSRA is an art form. We must not allow ourselves to feel badly if we miss clues. PVSRA is an art form that takes time to perfect. Over time our skill will grow and our "read" of the unpredictable market will improve. We must take to ongoing learning and application of PVSRA.
Introduction to How the Market Really Works
Does anybody remember the "lil' Abner" cartoons in the Sunday papers? Let me draw for you a mental picture of how the market really works.....
Imagine Daddy Yokum ferociously racing a buckboard wagon up and down the steep inclines and declines in the rough, rocky mountain road that has sharp turns and a sheer cliff on one side. The wagon wheels are spewing rocks off the side of the cliff! Even Daddy Yokum's shotgun is going off due to the jolting of the buckboard! Daddy Yokum has a demented look on his face, but he is smiling! The horse has a wild look in it's eyes and is frothing at the mouth. There are two passengers being tossed around in the back of the buckboard, terror stricken! Now, let's pan back from this cartoon picture and place the labels needed. On the side of the wagon is the sign "Market Pricing". The demented, smiling Daddy Yokum, is the Market Maker. The passengers being tossed around are the buyers and sellers.
.....Got it? Market prices are not determined by the buyers and sellers. They are determined by the Robber Bank Market Makers (MMs).
MMs are Market Manipulators of Price, and Thieves!
The "market" is the sole creation of the Robber Banks that "make the market". While it serves the world of commerce, they run it to make profits. And they opened the market up to foster prolific currency trading by others for the sole purpose of making more profits. They move prices up and down to "create liquidity" to fill the orders of SM (Smart Money) and DM (Dumb Money), for the commissions they make by filling the orders. When they have some orders above the current price and some below the current price, who do you think determines the sequence of direction and distance the price is going to move so these orders can be filled? And always - since they know how they are going to move price next - they take positions themselves to make additional profits.
They do this by:
1. Manipulating price to sucker into the market DM that is taking the wrong side position.
2. Manipulating price to sucker into the market SM that is taking the right side position, but too soon, and later manipulating price to hit their stops.
They have total control of pricing, and by these actions they effectively "steal" from others the money to fill their own "right side" positions before moving the price to the next area they have decided on for filling orders, and for taking profit on their positions built beforehand. Don't get me wrong. I do not object to the market volatility these thieving Robber Banks create. We need it. But we also need to understand what these people are like, the cloth they are cut from. They are crooks, and we have to be extra careful about trading in the market they operate. On some special days you can see them in their true colors. We should witness it. Take note of it. Speak of it. And remember it!
MTF Market Structure Highs and LowsThe indicator marks the last fractal highs and lows (W,D,4H and 1H options) to help determine current market structure. The script was created to help with directional bias but also as a MTF visual aid for stop hunts/liquidity raids.
Liquidity areas are where we assume trader's stop losses would be when buying or selling. Liquidity lies above and below swing points and institutions need liquidity to fill large orders.
Monitor price action as it hits these areas for a potential reversal trade.
Bitfinex Spot PremiumOverview
A tool to display the spot price premium of Bitfinex coins vs the other big 3 exchanges.
Premium is calculated against:
- Coinbase
- Binance
- FTX
The average is calculated through volume weighting. The absolute difference between the Bitfinex spot price and the calculated average is then displayed on the histogram.
Interacting with the tool
Colours: Green bars indicate a positive premium (Bitfinex spot price is greater than the average), Red bars indicate a negative premium. The ability to grey out smaller premiums is also enabled with the "Grey Small Vals" checkbox, this can be used to further emphasise larger premiums.
Ticker: The ticker input allows you to detect the Bitfinex premium for any coin traded within all 4 exchanges (Bitfinex, Coinbase, Binance, FTX). Just input the coins ticker symbol, for example, "BTC", "ETH", "UNI".
Indicator Ideology
Bitfinex is known for being the home of crypto "smart money". Therefore, positive premiums indicate stronger buying from "smart money". Although this premium is a good sign of bullish/ bearish market conditions, for example, consecutive days of a negative Bitfinex premium have been pretty good at indicating short term tops in BTC, this indicator should only be used as a confirmation signal.
Sniper DragonThis indicator improvement from Indicator | MCDX
I make some revise with adding rsi line and range. Also, hardcoded sensitive value to the rsi base, period etc.
Sniper Dragon created for help trader to identify smart money and momentum using RSI .
The rsi base also hard coded with sensitive rsi value that will get accurate value.
How to use this indicator:-
Histrogram Color legend
1. Green Color - Retailers
2. Yellow Color - Institution
3. Red Color - Smart Money
- the more red color in one bar is prefer for long position
- full yellow color indicate will good for mid position or short term position.
- if more green color then red and yellow indicate that the price likely going down. need to be careful here. the seller is in overpower.
- if more red color increasing, its indicate that the buyers momentum come in. A powerful buying interest.
Black Line RSI using RSI 9
- help trader to indentify current momentum.
- RSI range area already scale to fit in with the histogram.
- RSI scale range:-
- RSI 40-50 : signal overbought. standby for sell
- RSI 25-35 : indecision signal. might sideway. if before got above 35 can buy.
- RSI 0-15 : signal oversold. standby for buy
Horizontal Line Range
- red line :- indicate max range for the momentum. need to standby to sell.
- green line:- indicate lower min range for the momentum. can ready for buy if black line cross up the horizontal range.
L1 Moving Average Fingerprint for Long EntryLevel: 1
Background
This script combines moving average processing with highest high and lowest low to disclose the "fingerprint" of a specific trading pair to describe its unique behavior.
Function
Moving Average Fingerprint for Long Entry is a Level 1 pine script. It utilize several moving average of inherent highest high and lowest low and combine them with customized fingerprint coefficients to depict the unique behavior of a specific trading pair across multiple markets for long entry point identification.
Key Signal
FingerPrint1~6 are basic-level fingerprints with moving average of highest high and lowest low.
FingerPrint7~8 are composite fingerprint definitions with coefficients/weights,where coefficients/weights need to be tuned to discover the inherent "fingerprint" of a specific trading pair.
FingerPrint10~12 are composite fingerprint calculation for long entry alerts
ReadytoLong is a long entry filter where long entry point may happen within it. By using crossover() function to a customized threshold value, you can define accurate long entries.
Pros and Cons
Pros:
1. Combine moving average and extreme points to disclose a trading pair behavior.
2. Smart to tune specific set of parameters to obtain unique fingerprints of trading pairs.
3. Smart position sizing scheme by adjusting the threshold values.
Cons:
1. Require tune input parameters for each trading pair in a specific period and time frame.
2. Only long entry was studied, no short entry and re-entry are available yet to form as a trading system.
3. "ReadytoLong" is an inaccurate range where multiple long entries may happen at improper points in chop market.
4. Complex input parameters to obtain a unique fingerprint set.
Remarks
Although I wrote pine script for more than two years, this is the first script published in the community. I will publish more with my works in this platform.
Hope the community can improve this concept and make it as a trading system.
Readme
In real life, I am a prolific inventor. I have successfully applied for more than 60 international and regional patents in the past 12 years. But in the past two years or so, I have tried to transfer my creativity to the development of trading strategies. Tradingview is the ideal platform for me. I am selecting and contributing some of the hundreds of scripts to publish in Tradingview community. Welcome everyone to interact with me to discuss these interesting pine scripts.
The scripts posted are categorized into 5 levels according to my efforts or manhours put into these works.
Level 1 : interesting script snippets or distinctive improvement from classic indicators or strategy. Level 1 scripts can usually appear in more complex indicators as a function module or element.
Level 2 : composite indicator/strategy. By selecting or combining several independent or dependent functions or sub indicators in proper way, the composite script exhibits a resonance phenomenon which can filter out noise or fake trading signal to enhance trading confidence level.
Level 3 : comprehensive indicator/strategy. They are simple trading systems based on my strategies. They are commonly containing several or all of entry signal, close signal, stop loss, take profit, re-entry, risk management, and position sizing techniques. Even some interesting fundamental and mass psychological aspects are incorporated.
Level 4 : script snippets or functions that do not disclose source code. Interesting element that can reveal market laws and work as raw material for indicators and strategies. If you find Level 1~2 scripts are helpful, Level 4 is a private version that took me far more efforts to develop.
Level 5 : indicator/strategy that do not disclose source code. private version of Level 3 script with my accumulated script processing skills or a large number of custom functions. I had a private function library built in past two years. Level 5 scripts use many of them to achieve private trading strategy.
Effort v RewardThis is the same as my Effort v Reward script but instead is an overlay that changes the background color rather than using a pane at the bottom. A little less info but more at a glance.
Best strategy for TradingView (fake)Hello everyone! I want to show you this strategy so you don't fall for the tricks of scammers. On TradingView, you can write an algorithm (probably more than one) that will show any profit you want: from 1% to 100,000% in one year (maybe more)! This can be done, for example, using the built-in linebreak () function and several conditions for opening long and short.
I am sure that sometimes scammers show up on TradingView showing their incredible strategies. Will a smart person sell a profitable quick strategy? When a lot of people start using the quick strategy, it stops working. Therefore, no smart person would sell you a quick strategy. It is acceptable to sell slow strategies: several transactions per month - this does not greatly affect the market.
So, don't fall for the tricks of scammers, write quick strategies yourself.
About this strategy, I can say that the linebreak () function does not work correctly in it. Accordingly, the lines are not drawn correctly on the chart. They are drawn in such a way as to show the maximum profit. I watched this algorithm on a 1m timeframe - no lines are drawn in real time. This is a fake!
NYSE Volume UP FLOW VS Down FLOW ULTIMATE VOLDNYSE Volume UP FLOW VS Down FLOW ULTIMATE StokedStocks
BASED OFF THE VOLD INDEX
The VOLD (also $VOLD) is the difference between the up volume and down volume on the NYSE. i.e. NYSE $UVOL minus $DVOL; the net up volume.
If you consider that VOLD is the net value between UVOL (up volume) and DVOL (down volume) then you need to understand these two to understand VOLD.
UVOL or DVOL are a total of the volume on all stocks that are up or down in price. Up or down is based on the previous session's closing price. The size of the stock's price change is irrelevant.
If the stock is up only $.01, then its volume is grouped into the UVOL total. If that stock's price then drops by $.02 it will be down $.01 and the day's volume for that stock will now be grouped with the DVOL total.
Note that when a stock moves from being an up stock to a down stock its volume will be removed from the UVOL total and added to the DVOL total. Say the stocks volume is 1 million shares when it moves from up to down. The DVOL will increase by 1 million and the UVOL will decrease by 1 million which means that VOLD will decrease by 2 million.
NYSE Up/Down Volume Ratio is often used as a barometer for stocks trading on all U.S. Exchanges even though it is calculated based on stocks listed on the New York Stock Exchange.
NYSE Up/Down ratio represents the volume of NYSE stocks that are advancing divided by the volume of declining stocks.
The volume of advancing stocks or upside volume is the sum of the volume or the number of shares traded associated with stocks that closed higher.
The downside volume is the total number of shares traded that are associated with stocks that closed lower.
The interpretation of the NYSE Up/Down ratio is rather simple. A value higher than one indicates that there is more volume associated with up stocks than with down stocks and it is usually interpreted as a bullish signal.
Obviously, a bearish signal occurs when the NYSE Up/Down ratio is lower than one, which tells us that there are more volume associated with down stocks than with up stocks.
Check out my other indicators and website stokedstocks.wordpress.com for tons of free stock training books and pictures and settings
Market BuySell RatioA script using 1m small candle size (configurable) to compute the volume of buy (up) vs sell (down) candles (instead of actual market buy vs sell orders which are not available in pine script).
It then plots the buy vs sell ratio as an oscillator below the cart.
This gives traders an idea of current order flow in the market.
To compute the small candles this script uses the "Smart Volume" script which can be found here:
CCI Extreme and OBV DivergenceThis is my second set of two indicators combined utilize Multi time frame analysis of 5 minutes and 15 minutes.
CCI:
Green = uptrending
Red = downtrending
Bright Green = overbought, look to go SHORT
Bright Red = oversold, look to go LONG
OBV:
this use to predict the market direction buy drawing trend line.
It is also very good indicator to sport Smart Money moment. When price move higher but OBV trend lower, smart money is taking profit and reversing their position, look to go Short to you spot this type of divergence.
Also else already not there is no holy grail indicator so I also use this set of indicator to improve the signal
MTF RSI Heatmap)# MTF RSI Heatmap — v2.7.2
**Hybrid Higher-TF Trend + Intraday Impulse Detection + Smart Counters & Alerts**
Turn your lower pane into a **multi-timeframe market bias dashboard**. This heatmap blends classic RSI momentum with a **hybrid Daily/Weekly MA-stack trend** and an **intraday impulse override** that flags fast moves *as they happen*. Clean, configurable, and built for real trading flow.
---
## What it shows
* **6 stacked rows = 6 timeframes** (bottom → top).
* **Colors**: Green = Bull, Red = Bear, Yellow = Neutral.
* **Header counter**: `Bull X/6 | Bear Y/6` = live agreement across visible rows.
* **Impulse markers** ▲/▼ on intraday rows (5m/15m/60m/240m) when a shock move triggers.
* **Signal bar**: A thin column above the top row when at least **N of 6** rows align (configurable).
---
## Why it’s different
* **Impulse Override (intraday)**
Detects sharp moves using % change over the last *N* bars, optionally gated by **volume > SMA × multiplier**. This catches dumps/pops earlier than RSI alone.
* **Hybrid D/W (structure over noise)**
Daily/Weekly rows can use an **MA stack (8/21/55)** instead of RSI for a more stable higher-timeframe trend read. Optional **price > fast MA** filter for stricter confirmation.
* **Intrabar option**
Flip rows **during the bar** for early reads (accepting repaint on TF close), or keep it close-only for no surprises.
---
## Key features
* 🌈 **Theme**: Classic or High-Contrast colors.
* 🧠 **RSI thresholds**: Bull above 55, Bear below 45 (editable).
* 🧲 **RSI smoothing** (EMA) for intraday rows to reduce flicker.
* 🧰 **Compact left legend** with adjustable text size & opacity.
* 🚨 **Alerts**:
* **Impulse-only** (per TF and “any intraday”)
* **N-of-6 confirmation** (bull/bear)
---
## Recommended settings (fast opens & news)
* **Impulse**: `Bars = 1–2`, `Threshold = 0.25–0.35%`, `Vol confirm = ON`, `Multiplier = 1.3–1.5`.
* **Hybrid D/W**: `ON`, `EMA 8/21/55`, `Price filter = ON`.
* **Intrabar**: `ON` if you want intra-bar updates (repaints at TF close).
---
## How to read it
1. **Row scan**: Are the bottom (fast) rows aligning first? That’s early momentum.
2. **Header counter**: Look for 4+/6 agreement as momentum broadens.
3. **Signal bar**: Acts as a “go/no-go” confirmation when your threshold is met.
4. **Impulse ▲/▼**: Use as a **heads-up** for acceleration; then watch if rows cascade in that direction.
---
## Alerts (exact names)
Create alerts with these built-ins:
* **Impulse UP — any intraday**
* **Impulse DOWN — any intraday**
* **Impulse UP — TF1 / TF2 / TF3 / TF4**
* **Impulse DOWN — TF1 / TF2 / TF3 / TF4**
* **Bull confirmation** (N-of-6)
* **Bear confirmation** (N-of-6)
Tip: Use **Once per bar** or **Once per bar close** depending on whether you enabled *Intrabar*.
---
## Inputs overview
* **Timeframes & visibility** per row.
* **RSI**: length, bull/bear thresholds, optional EMA smoothing (intraday only).
* **Impulse**: bars, %, volume confirm, SMA length, multiplier, markers.
* **Hybrid D/W**: MA type (EMA/SMA/HMA), 8/21/55 lengths, price filter.
* **Theme & Legend**: color theme, label size (Tiny/Small/Normal), legend opacity.
* **Signal**: N required for confirmation (default 4).
---
## Pro tips
* Combine with **session opens**, **VWAP**, and **liquidity levels**.
* If you trade breakouts, let **impulse triggers** cue attention, then wait for **N-of-6** confirmation.
* For swing bias, lean on **Hybrid D/W**—it changes slower, but with intent.
---
## Notes & limitations
* **Intrabar = repaint expected** on higher-TF closes—by design for earlier context.
* Colors/thresholds are general guidance, not signals by themselves.
* Past performance ≠ future results; **this is not financial advice**.
---
If you enjoy this, drop a ⭐ and tell me what you want next: background shading on confirmation, tooltips with RSI/ROC per row, or a MACD/RSI hybrid mode. Trade sharp! ✨
XAUUSD/SPX with SMA(48)📊 Gold vs S&P 500 | XAUUSD/SPX Ratio with SMA (48) – Full Pine Script Breakdown
In this video, we build and explain a custom Pine Script that plots the Gold to S&P 500 ratio (XAUUSD/SPX) along with a 48-period Simple Moving Average (SMA).
This ratio helps us analyze how Gold is performing against equities and whether smart money is shifting from risk assets (stocks) to safe haven (gold).
🔧 What’s Included in the Script:
✅ Live ratio of XAUUSD (Gold) / SPX (S&P 500)
✅ 48-period SMA for trend analysis
✅ Clean visual chart in a separate pane
✅ Pine Script v5 compatible
🧠 Why This Matters:
Tracking the XAUUSD/SPX ratio gives deeper insight into macro trends, inflation hedge behavior, and market sentiment.
A rising ratio can signal weakness in equities and strength in precious metals — a key trend for long-term investors and macro traders.
Algo Trading Signals - Buy/Sell System# 📊 Algo Trading Signals - Dynamic Buy/Sell System
## 🎯 Overview
**Algo Trading Signals** is a sophisticated intraday trading indicator designed for algorithmic traders and active day traders. This system generates precise buy and sell signals based on a dynamic box breakout strategy with intelligent position management, add-on entries, and automatic target adjustment.
The indicator creates a reference price box during a specified time window (default: 9:15 AM - 9:45 AM IST) and generates high-probability signals when price breaks out of this range with confirmation.
---
## ✨ Key Features
### 📍 **Smart Signal Generation**
- **Primary Entry Signals**: Clear buy/sell signals on confirmed breakouts above/below the reference box
- **Confirmation Bars**: Reduces false signals by requiring multiple bar confirmation before entry
- **Cooldown System**: Prevents overtrading with configurable cooldown periods between trades
- **Add-On Positions**: Automatically identifies optimal pullback entries for scaling into positions
### 📦 **Dynamic Reference Box**
- Creates a high/low range during your chosen time window
- Automatically updates after each successful trade
- Visual box display with color-coded boundaries (red=resistance, green=support)
- Mid-level reference line for market structure analysis
### 🎯 **Intelligent Position Management**
- **Automatic Target Calculation**: Sets profit targets based on average move distance
- **Add-On System**: Up to 3 additional entries on optimal pullbacks
- **Position Tracking**: Monitors active trades and remaining add-on capacity
- **Auto Box Shift**: Adjusts reference box after target hits for continued trading
### 📊 **Visual Clarity**
- **Color-Coded Labels**:
- 🟢 Green for BUY signals
- 🔴 Red for SELL signals
- 🔵 Blue for ADD-ON buys
- 🟠 Orange for ADD-ON sells
- ✓ Yellow for Target hits
- **TP Level Lines**: Dotted lines showing current profit targets
- **Hover Tooltips**: Detailed information on entry prices, targets, and add-on numbers
### 📈 **Real-Time Statistics**
Live performance dashboard showing:
- Total buy and sell signals generated
- Number of add-on positions taken
- Take profit hits achieved
- Current trade status (LONG/SHORT/None)
- Cooldown timer status
### 🔔 **Comprehensive Alerts**
Built-in alert conditions for:
- Primary buy entry signals
- Primary sell entry signals
- Add-on buy positions
- Add-on sell positions
- Buy take profit hits
- Sell take profit hits
---
## 🛠️ Configuration Options
### **Time Settings**
- **Box Start Hour/Minute**: Define when to begin tracking the reference range
- **Box End Hour/Minute**: Define when to lock the reference box
- **Default**: 9:15 AM - 9:45 AM (IST) - Perfect for Indian market opening range
### **Trade Settings**
- **Target Points (TP)**: Average move distance for profit targets (default: 40 points)
- **Breakout Confirmation Bars**: Number of bars to confirm breakout (default: 2)
- **Cooldown After Trade**: Bars to wait after closing position (default: 3)
- **Add-On Distance Points**: Minimum pullback for add-on entry (default: 40 points)
- **Max Add-On Positions**: Maximum additional positions allowed (default: 3)
### **Display Options**
- Toggle buy/sell signal labels
- Show/hide trading box visualization
- Show/hide TP level lines
- Show/hide statistics table
---
## 💡 How It Works
### **Phase 1: Box Formation (9:15 AM - 9:45 AM)**
The indicator tracks the high and low prices during your specified time window to create a reference box representing the opening range.
### **Phase 2: Breakout Detection**
After the box is locked, the system monitors for:
- **Bullish Breakout**: Price closes above box high for confirmation bars
- **Bearish Breakout**: Price closes below box low for confirmation bars
### **Phase 3: Signal Generation**
When confirmation requirements are met:
- Entry signal is generated with clear visual label
- Target price is calculated (Entry ± Target Points)
- Position tracking activates
- Cooldown timer starts
### **Phase 4: Position Management**
During active trade:
- **Add-On Logic**: If price pulls back by specified distance but stays within favorable range, additional entry signal fires
- **Target Monitoring**: Continuously checks if price reaches TP level
- **Box Adjustment**: After TP hit, box automatically shifts to new range for next opportunity
### **Phase 5: Trade Exit & Reset**
On target hit:
- Position closes with TP marker
- Statistics update
- Box repositions for next setup
- Cooldown activates
- System ready for next signal
---
## 📌 Best Use Cases
### **Ideal For:**
- ✅ Intraday breakout trading strategies
- ✅ Algorithmic trading systems (via alerts/webhooks)
- ✅ Opening range breakout (ORB) strategies
- ✅ Index futures (Nifty, Bank Nifty, Sensex)
- ✅ High-liquidity stocks with clear ranges
- ✅ Automated trading bots
- ✅ Scalping and day trading
### **Markets:**
- Indian Stock Market (NSE/BSE)
- Futures & Options
- Forex pairs
- Cryptocurrency (adjust timing for 24/7 markets)
- Global indices
---
## ⚙️ Integration with Algo Trading
This indicator is **algo-ready** and can be integrated with automated trading systems:
1. **TradingView Alerts**: Set up alert conditions for each signal type
2. **Webhook Integration**: Connect alerts to trading platforms via webhooks
3. **API Automation**: Use with brokers supporting TradingView integration (Zerodha, Upstox, Interactive Brokers, etc.)
4. **Signal Data Access**: All signals are plotted for external data retrieval
---
## 📖 Quick Start Guide
1. **Add Indicator**: Apply to your chart (works best on 1-5 minute timeframes)
2. **Configure Time Window**: Set your desired box formation period
3. **Adjust Parameters**: Tune confirmation bars, targets, and add-on settings to your trading style
4. **Set Alerts**: Create alert conditions for automated notifications
5. **Backtest**: Review historical signals to validate strategy performance
6. **Go Live**: Enable alerts and start receiving real-time trading signals
---
## ⚠️ Risk Disclaimer
This indicator is a **tool for analysis** and does not guarantee profits. Trading involves substantial risk of loss. Always:
- Use proper position sizing
- Implement stop losses (not included in this indicator)
- Test thoroughly before live trading
- Understand market conditions
- Never risk more than you can afford to lose
- Consider your risk tolerance and trading experience
**Past performance does not indicate future results.**
## 🔄 Version History
**v1.0** - Initial Release
- Dynamic box formation system
- Confirmed breakout signals
- Add-on position management
- Visual signal labels and statistics
- Comprehensive alert system
- Auto-adjusting target boxes
---
## 📞 Support & Feedback
If you find this indicator helpful:
- ⭐ Please leave a like/favorite
- 💬 Share your feedback in comments
- 📊 Share your results and improvements
- 🤝 Suggest features for future updates
---
## 🏷️ Tags
`breakout` `daytrading` `signals` `algo` `automated` `intraday` `ORB` `opening-range` `buy-sell` `scalping` `futures` `nifty` `banknifty` `algorithmic` `box-strategy`
*Remember: The best indicator is combined with proper risk management and trading discipline.* Use it at your own rist, not as financial advie
WHANG EMA-MACD🔥 Smart EMA14 x EMA70 + MACD Trend Alert System
Description:
Tired of chasing false signals?
This simple but powerful indicator helps you catch real trend moves — not the noise.
When EMA14 crosses EMA70 with MACD confirmation, and both EMAs point the same way, you’ll get a clean Buy or Sell alert right on your chart.
No messy settings, no guessing — just clear signals in strong trends.
✨ Features:
🔔 Real-time alerts via “Any alert() function call”
🟢 Buy when EMA14 crosses above EMA70 + MACD > 0
🔴 Sell when EMA14 crosses below EMA70 + MACD < 0
📈 Trades only when both EMAs slope in the same direction
⚙️ Customizable inputs for any market or timeframe
How to use:
Add the indicator to your chart
Create an alert → choose Any alert() function call
Relax and wait for your signals — no need to watch every candle!
Perfect for traders who want to follow the trend, avoid sideways traps, and get early alerts when momentum kicks in 🚀
Market Structure (BOS on Break, HH/HL/LH/LL)Market Structure (BOS on Break, HH/HL/LH/LL) is a clean and reactive market structure tool designed for traders who want clear visual feedback of trend direction and structure changes.
It automatically identifies:
Higher Highs (HH)
Higher Lows (HL)
Lower Highs (LH)
Lower Lows (LL)
Breaks of Structure (BOS) when price breaches previous swing levels.
✳️ Features
Automatic Structure Detection: Detects swing highs/lows based on your left/right pivot settings.
Break of Structure Alerts: Instantly updates bias when price breaks a previous swing level (no delay).
Real-Time BOS Response: Structure flips as soon as price takes out the previous high or low.
Color-Coded Bars: Bars can auto-paint white for bullish and black for bearish conditions.
Optional Fading Dots: Visual fading dots track trend duration and strength for quick bias reading.
Customizable Pivots: Choose how many bars to use for left/right swing confirmation.
Alerts: Fully configured for HH, HL, LH, LL, BOS Up, and BOS Down events.
⚙️ Inputs
Left Pivot Bars / Right Pivot Bars: Control how many candles define a valid swing point.
Paint Bars by Trend: Toggle bar coloring to match bullish or bearish bias.
Show Fading Trend Dots: Add fading dots that shrink and fade as a trend matures.
🔔 Alerts
Break of Structure Up / Down
Higher High (HH) confirmed
Higher Low (HL) confirmed
Lower High (LH) confirmed
Lower Low (LL) confirmed
🎯 Use Case
Perfect for:
Price action traders
Smart money concept (SMC) practitioners
Trend structure analysts
Scalpers and swing traders looking for quick structure flips.
🧠 Notes
Works on any timeframe and any instrument.
BOS signals update immediately when price breaks structure (no lag).
For additional BOS markers, you can uncomment the last few lines in the script to show arrows when structure breaks.
Multi-Signal IndikatorHier ist eine professionelle Beschreibung für deinen Indikator auf Englisch:
Multi-Signal Trading Indicator - Complete Market Analysis
This comprehensive trading indicator combines multiple technical analysis tools into one powerful dashboard, providing traders with all essential market information at a glance.
Key Features:
Trend Analysis: Three EMAs (9, 21, 50) with automatic trend detection and Golden/Death Cross signals
Momentum Indicators: RSI with overbought/oversold zones and visual alerts
Trend Strength: ADX indicator with DI+ and DI- showing the power of bullish and bearish movements
Market Fear Gauge: VIX (Volatility Index) integration displaying market sentiment from calm to panic levels
Volume Confirmation: Smart volume analysis comparing current activity against 20-period average
Support & Resistance: Automatic pivot point detection with dynamic S/R lines
Buy/Sell Signals: Combined signals only trigger when trend, RSI, and volume align perfectly
Visual Dashboard: Color-coded info panel showing all metrics in real-time with intuitive emoji indicators
Perfect for: Day traders, swing traders, and investors who want a complete market overview without cluttering their charts with multiple indicators.
Customizable settings allow you to adjust all parameters to match your trading style.
VIX Fear Gauge – Intraday Horizontal with alerts by Carlos CThe VIX Fear Gauge – Intraday Horizontal is a clean overlay tool that displays the current market sentiment (Fear & Greed levels) based on the VIX index.
Key Features:
📊 Horizontal Dashboard with five levels: Low, Light Fear, Neutral, High Fear, Panic.
🎨 Color Schemes: choose between Normal (fear = red) or Inverted (fear = green).
📍 Custom Positioning: move the panel to any chart corner.
🏷️ Dynamic Label: optional large label showing the current VIX value and category.
🚨 Smart Alerts: triggers when VIX enters or exits High Fear and Panic zones.
This indicator is designed for intraday traders who use the VIX as a risk barometer to confirm directional bias in SPY, QQQ, and other equities or options trading setups.
Position Size CalculatorPosition Size CalculatorRisk Management Made Simple – Size Your Trades Like a Pro!Tired of guessing position sizes and blowing up your account on oversized trades? This Pine Script indicator automates position sizing based on your risk tolerance, ensuring every trade risks only what you've predefined. Perfect for stocks, forex, crypto, or futures—works for long or short setups. Overlay it on your candlestick chart and watch the math do the work.Key Features:Smart Risk Control: Input your account size (e.g., $70k) and risk % (e.g., 1%). It caps your max loss per trade automatically.
Dynamic Entry & Stop: Use live chart close as entry, or click to set a manual entry level (green solid line). For stops, toggle manual placement (red broken line) or use a % distance—auto-calculates the effective % for precision.
Visual Markers: Green line for entry price, red dashed line for stop loss—spans your chart for easy spotting.
Customizable Table: Floating info panel shows Account Size, Risk Amount, Stop Distance %, and Position Size (shares/lots). Drag its position via settings (top-right default).
No More Guesswork: Formula: Position Size = (Account × Risk %) ÷ Stop Distance. Handles edge cases like tiny distances to avoid div-by-zero.
How to Use:Add to your chart via Pine Editor.
In settings: Set account size/risk %. Toggle "Use Manual Entry Price" and click chart to place green line. Do the same for stop (red line) or use % input.
Table updates live—grab the position size and execute!
Pro Tip: For shorts/longs, the abs distance keeps risk symmetric. Test on demo first.
Built for v6—clean, lightweight, and 100% customizable. Share your tweaks in comments! Remember, this is a tool, not advice—trade responsibly. (Inspired by classic Kelly Criterion vibes, but simplified for daily grinders.)
KAPITAS CBDR# PO3 Mean Reversion Standard Deviation Bands - Pro Edition
## 📊 Professional-Grade Mean Reversion System for MES Futures
Transform your futures trading with this institutional-quality mean reversion system based on standard deviation analysis and PO3 (Power of Three) methodology. Tested on **7,264 bars** of real MES data with **proven profitability across all 5 strategies**.
---
## 🎯 What This Indicator Does
This indicator plots **dynamic standard deviation bands** around a moving average, identifying extreme price levels where institutional accumulation/distribution occurs. Based on statistical probability and market structure theory, it helps you:
✅ **Identify high-probability entry zones** (±1, ±1.5, ±2, ±2.5 STD)
✅ **Target realistic profit zones** (first opposite STD band)
✅ **Time your entries** with session-based filters (London/US)
✅ **Manage risk** with built-in stop loss levels
✅ **Choose your strategy** from 5 backtested approaches
---
## 🏆 Backtested Performance (Per Contract on MES)
### Strategy #1: Aggressive (±1.5 → ∓0.5) 🥇
- **Total Profit:** $95,287 over 1,452 trades
- **Win Rate:** 75%
- **Profit Factor:** 8.00
- **Target:** 80 ticks ($100) | **Stop:** 30 ticks ($37.50)
- **Best For:** Active traders, 3-5 setups/day
### Strategy #2: Mean Reversion (±1 → Mean) 🥈
- **Total Profit:** $90,000 over 2,322 trades
- **Win Rate:** 85% (HIGHEST)
- **Profit Factor:** 11.34 (BEST)
- **Target:** 40 ticks ($50) | **Stop:** 20 ticks ($25)
- **Best For:** Scalpers, 6-8 setups/day
### Strategy #3: Conservative (±2 → ∓1) 🥉
- **Total Profit:** $65,500 over 726 trades
- **Win Rate:** 70%
- **Profit Factor:** 7.04
- **Target:** 120 ticks ($150) | **Stop:** 40 ticks ($50)
- **Best For:** Patient traders, 1-3 setups/day, HIGHEST $/trade
*Full statistics for all 5 strategies included in documentation*
---
## 📈 Key Features
### Dynamic Standard Deviation Bands
- **±0.5 STD** - Intraday mean reversion zones
- **±1.0 STD** - Primary reversion zones (68% of price action)
- **±1.5 STD** - Extended zones (optimal balance)
- **±2.0 STD** - Extreme zones (95% of price action)
- **±2.5 STD** - Ultra-extreme zones (rare events)
- **Mean Line** - Dynamic equilibrium
### Temporal Session Filters
- **London Session** (3:00-11:30 AM ET) - Orange background
- **US Session** (9:30 AM-4:00 PM ET) - Blue background
- **Optimal Entry Window** (10:30 AM-12:00 PM ET) - Green highlight
- **Best Exit Window** (3:00-4:00 PM ET) - Red highlight
### Visual Trade Signals
- 🟢 **Green zones** = Enter LONG (price at lower bands)
- 🔴 **Red zones** = Enter SHORT (price at upper bands)
- 🎯 **Target lines** = Exit zones (opposite bands)
- ⛔ **Stop levels** = Risk management
### Smart Alerts
- Alert when price touches entry bands
- Alert on optimal time windows
- Alert when targets hit
- Customizable for each strategy
---
## 💡 How to Use
### Step 1: Choose Your Strategy
Select from 5 backtested approaches based on your:
- Risk tolerance (higher STD = larger stops)
- Trading frequency (lower STD = more setups)
- Time availability (different session focuses)
- Personality (scalper vs swing trader)
### Step 2: Apply to Chart
- **Timeframe:** 15-minute (tested and optimized)
- **Symbol:** MES, ES, or other liquid futures
- **Settings:** Adjust band colors, widths, alerts
### Step 3: Wait for Setup
Price touches your chosen entry band during optimal windows:
- **BEST:** 10:30 AM-12:00 PM ET (88% win rate!)
- **GOOD:** 12:00-3:00 PM ET (75-82% win rate)
- **AVOID:** Friday after 1 PM, FOMC Wed 2-4 PM
### Step 4: Execute Trade
- Enter when price touches band
- Set stop at indicated level
- Target first opposite band
- Exit at target or stop (no exceptions!)
### Step 5: Manage Risk
- **For $50K funded account ($250 limit): Use 2 MES contracts**
- Stop after 3 consecutive losses
- Reduce size in low-probability windows
- Track cumulative daily P&L
---
## 📅 Optimal Trading Windows
### By Time of Day
- **10:30 AM-12:00 PM ET:** 88% win rate (BEST) ⭐⭐⭐
- **12:00-1:30 PM ET:** 82% win rate (scalping)
- **1:30-3:00 PM ET:** 76% win rate (afternoon)
- **3:00-4:00 PM ET:** Best EXIT window
### By Day of Week
- **Wednesday:** 82% win rate (BEST DAY) ⭐⭐⭐
- **Tuesday:** 78% win rate (highest volume)
- **Thursday:**