Prev-Day POC Hit Rate (v6, RTH, tolerance)//@version=6
indicator("Prev-Day POC Hit Rate (v6, RTH, tolerance)", overlay=true)
// ---- Inputs
sessionStr = input.session("0930-1600", "RTH session (exchange time)")
tolPoints = input.float(0.10, "Tolerance (points)")
tolPercent = input.float(0.10, "Tolerance (%) of prev POC")
showMarks = input.bool(true, "Show touch markers")
// ---- RTH gating in exchange TZ
sessFlag = time(timeframe.period, sessionStr)
inRTH = not na(sessFlag)
rthOpen = inRTH and not inRTH
rthClose = (not inRTH) and inRTH
// ---- Prior-day POC proxy = price of highest-volume 1m bar of prior RTH
var float prevPOC = na
var float curPOC = na
var float curMaxVol = 0.0
// ---- Daily hit stats
var bool hitToday = false
var int days = 0
var int hits = 0
// Finalize a day at RTH close (count touch to prevPOC)
if rthClose and not na(prevPOC)
days += 1
if hitToday
hits += 1
// Roll today's POC to prevPOC at next RTH open; reset builders/flags
if rthOpen
prevPOC := curPOC
curPOC := na
curMaxVol := 0.0
hitToday := false
// Build today's proxy POC during RTH (highest-volume 1m bar)
if inRTH
if volume > curMaxVol
curMaxVol := volume
curPOC := close // swap to (high+low+close)/3 if you prefer HLC3
// ---- Touch test against prevPOC (band = max(points, % of prevPOC))
bandPts = na(prevPOC) ? na : math.max(tolPoints, prevPOC * tolPercent * 0.01)
touched = inRTH and not na(prevPOC) and high >= (prevPOC - bandPts) and low <= (prevPOC + bandPts)
if touched
hitToday := true
// ---- Plots
plot(prevPOC, "Prev RTH POC (proxy)", color=color.new(color.fuchsia, 0), linewidth=2, style=plot.style_linebr)
bgcolor(hitToday and inRTH ? color.new(color.green, 92) : na)
plotshape(showMarks and touched ? prevPOC : na, title="Touch prev POC",
style=shape.circle, location=location.absolute, size=size.tiny, color=color.new(color.aqua, 0))
// ---- On-chart stats
hitPct = days > 0 ? (hits * 100.0 / days) : na
var table T = table.new(position.top_right, 2, 3, border_width=1)
if barstate.islastconfirmedhistory
table.cell(T, 0, 0, "Days")
table.cell(T, 1, 0, str.tostring(days))
table.cell(T, 0, 1, "Hits")
table.cell(T, 1, 1, str.tostring(hits))
table.cell(T, 0, 2, "Hit %")
table.cell(T, 1, 2, na(hitPct) ? "—" : str.tostring(hitPct, "#.0") + "%")
Indicatori e strategie
63-Day Sector Relative Strength vs NIFTYThis script calculates and displays the 63-day returns of major NSE sectoral indices and their relative strength versus the NIFTY 50.
It,
Covered Indices: CNXIT, CNXAUTO, CNXFMCG, CNXPHARMA, CNXENERGY, CNXMETAL, CNXPSUBANK, CNXINFRA, CNXREALTY, CNXFINANCE, CNXMEDIA, BANKNIFTY, CNXCONSUMPTION, CNXCOMMODITIES
How to use this: Quickly identify which sectors are outperforming or underperforming relative to the NIFTY over the past 63 trading sessions (approx. 3 months).
High-and-Tight Impulse + Micro ConsolidationThis indicator detects a specific bullish continuation setup on daily charts:
- An impulse move (X% rise within N bars, mostly green candles)
- Immediately followed by a tight consolidation (small ranges, small bodies)
- Closes holding in the top zone of the impulse
On the chart, signals are plotted as orange dots above bars.
Labels show the last detected setup date, and a counter displays total matches in history.
Useful for backtesting "high-and-tight flag" type momentum patterns or any symbol.
Adjust inputs (impulse % threshold, bars, ATR ratios, top zone %) to make it stricter or looser.
Alerts are included when a new setup is detected.
This tool is not financial advice. For educational and research purposes only.
by fiyatherseydir
VWAP Fade RTHSame as
Except this version only updates during CME Regular Trading Hours
9:30 AM NY/EST -4 PM NY/EST
Highlight 10-11 AM NY//@version=5
indicator("Highlight 10-11 AM NY", overlay=true)
// Inputs for flexibility
startHour = input.int(10, "Start Hour (NY time)")
endHour = input.int(11, "End Hour (NY time)")
// Check if the current bar is within the session (uses chart time zone)
inSession = (hour(time, syminfo.timezone) >= startHour) and (hour(time, syminfo.timezone) < endHour)
// Highlight background
bgcolor(inSession ? color.new(color.yellow, 85) : na)
Bull Market Support Band (Weekly Projected)🟢 Bull Market Support Band (BMSB)
The Bull Market Support Band (BMSB) is a widely used long-term crypto indicator that highlights the key zone of support during bullish market phases. It is defined as the area between the 21-week EMA and the 20-week SMA.
✅ Works across all timeframes – calculates using weekly data but can be plotted on any chart (1h, 4h, daily, etc.).
✅ Dynamic support/resistance – the band often acts as a "line in the sand" between bullish continuation and bearish breakdown.
✅ Clear visualization – the band is shaded for easy recognition of when price is holding above or breaking below.
✅ Projection across lower TFs – weekly values are extended smoothly so you can analyze them even on intraday charts without flat lines.
🔎 How to use
In bull markets, price tends to hold above the band and often bounces off it.
In bear markets, price consistently rejects from the band.
The zone is most reliable on weekly charts, but viewing it on lower timeframes helps you track how price interacts with these critical levels intraday.
📌 This script is especially useful for Bitcoin and major altcoins, but it works on any asset. It’s not a buy/sell signal on its own — rather, it’s a trend filter and support/resistance framework.
AA1 MACD 09.2025this is a learing project i want to share
the script is open for anyone
I combain some ema's mcad and more indicators to help find stocks in momentum
Futures Tick & Point Value [BoredYeti]Futures Tick & Point Value
This utility displays tick size, dollars per tick, and (optionally) a per-point row for the current futures contract.
Features
• Hardcoded $/tick map for common CME/NYMEX/CBOT/COMEX contracts
• Automatic fallback using pointvalue * mintick for any other symbol
• Table settings: adjustable position, text size, customizable colors
• Optional “Per Point” row showing ticks and $/point
Notes
• Contract specs can vary by broker/exchange and may change over time. Always confirm with official specifications.
• Educational tool only; not financial advice.
9:30 AM Open Percentage Lines//@version=5
indicator("9:30 AM Open Percentage Lines", overlay=true)
// Define the market open time in New York (or your local time zone if different)
// This is for 9:30 AM
var float opening_price = na
// Check if the current bar is the first one of the day at 9:30 AM
is_930_bar = (dayofweek == dayofweek.monday or dayofweek == dayofweek.tuesday or dayofweek == dayofweek.wednesday or dayofweek == dayofweek.thursday or dayofweek == dayofweek.friday) and hour(time("America/New_York")) == 9 and minute(time("America/New_York")) == 30
// On the first bar that meets the criteria, capture the opening price
if is_930_bar
opening_price := open
// Calculate the percentage levels based on the captured opening price
fivePercentAbove = opening_price * 1.05
sevenPercentAbove = opening_price * 1.07
twentySevenPercentAbove = opening_price * 1.27
// Plot the lines on the chart
// The `na` condition ensures the line is only plotted after the 9:30 AM bar has passed
plot(not na(opening_price) ? fivePercentAbove : na, title="5% Above 9:30 AM Open", color=color.new(color.rgb(255, 12, 12), 0), linewidth=2, trackprice=false)
plot(not na(opening_price) ? sevenPercentAbove : na, title="7% Above 9:30 AM Open", color=color.new(color.rgb(0, 150, 255), 0), linewidth=2, trackprice=false)
plot(not na(opening_price) ? twentySevenPercentAbove : na, title="27% Above 9:30 AM Open", color=color.new(color.rgb(255, 0, 0), 0), linewidth=2, trackprice=false)
black belt cloudThe EMA Cloud indicator highlights market trend direction by filling the space between multiple exponential moving averages with dynamic color-coded clouds.
When the market is in a bullish alignment, the cloud turns green, signaling strong upward momentum.
When the market shifts into a bearish alignment, the cloud turns red, warning of downside pressure.
During periods of mixed or uncertain conditions, the cloud appears yellow to indicate potential consolidation or indecision.
The indicator also includes alerts that trigger only on trend changes, helping traders react quickly when momentum shifts.
This tool makes it easy to:
Visualize trend strength at a glance
Avoid choppy, sideways market conditions
Combine with entry/exit strategies for improved decision-making
2ATR / Current Price %### **Real-Time 2ATR Volatility Ratio Indicator**
---
### **Overview**
This indicator provides a quick and visual way to understand market volatility by calculating the ratio between the **2ATR (Average True Range)** and the **current price**.
* **ATR (Average True Range)** is a widely-used measure of market volatility, showing the average price movement over a specific period.
* **2ATR** represents a price move that is twice the average volatility. Traders often use this value as a benchmark for potential support/resistance levels or for setting a dynamic stop-loss.
### **Key Features**
* **Real-Time Calculation**: Unlike many indicators that rely on the previous candle's close, this script calculates the 2ATR ratio using the **real-time current price**, providing you with up-to-the-second data.
* **Intuitive Display**: The final percentage value is shown in a clear **yellow label** at the **bottom-right** of your chart, making it easy to monitor without cluttering your view.
* **Customizable Input**: You can adjust the `ATR Period` setting to change the sensitivity of the volatility calculation, allowing you to adapt the indicator to different trading styles and timeframes.
### **How to Use It**
This tool is especially useful for **risk management and setting stop-loss orders**. The percentage displayed on the label tells you how much the price would need to move from its current level to equal a 2ATR change.
**Example**: If the indicator shows **3.5%**, it means a price drop of 3.5% from the current level would be equal to a 2ATR move. This gives you a clear and quantifiable number to help you set a **logical stop-loss** or to quickly assess the potential downside risk before entering a trade.
Triple-EMA Cloud (3× configurable EMAs + timeframe + fill)About This Script
Name: Triple-EMA Cloud (3× configurable EMAs + timeframe + fill)
What it does:
The script plots three Exponential Moving Averages (EMAs) on your chart.
You can set each EMA’s length (how many bars or days it averages over), source (for example, closing price, opening price, or the midpoint of high + low), and timeframe (you can have one EMA use daily data, another hourly data, etc.).
The indicator draws a “cloud” or channel by shading the area between the outermost two EMAs of the three. This lets you see a band or zone that the price is moving in, defined by those EMAs.
You also get full control over how each of the three EMA‐lines looks: color, thickness, transparency, and plot style (solid line, steps, circles, etc.).
How to Use It (for Beginners)
Here’s how a trader who’s new to charts can use this tool, especially when looking for pullbacks or undercut price action.
Key Concepts
Trend: Imagine the market price is generally going up or down. EMAs are a way to smooth out price movements so you can see the trend more clearly.
Pullback: When a price has been going up (an uptrend), sometimes it dips down a little before going up again. That dip is the pullback. It’s a chance to enter or add to a position at a “better price.”
Undercut: This is when price drops below an important level (for example an EMA) and then comes back up. It looks like it broke below, but then it recovers. That may show reverse pressure or strength building.
How the Script Helps With Pullbacks & Undercuts
Marking Trend Zones with the Cloud
The cloud between the outer EMA lines gives you a zone of expected support/resistance. If the price is above the cloud, that zone can act like a “floor” in uptrends; if it is below, the cloud might act like a “ceiling” in downtrends.
Watching Price vs the EMAs
If the price pulls back toward the cloud (or toward one of the EMAs) and then bounces back up, that’s a signal that the uptrend might continue.
If the price undercuts (goes a bit below) one of the EMAs or the cloud and then returns above it, that can also be a signal. It suggests that even though there was a temporary drop, buyers stepped in.
Using the Three EMAs for Confirmation
Because the script uses three EMAs, you can see how tightly or loosely they are spaced.
If all three EMAs are broadly aligned (for example, in an uptrend: shorter length above longer length, each pulling from reliable price source), that gives more confidence in trend strength.
If the middle EMA (or different source/timeframe) is holding up as support while others are above, it strengthens signal.
Entry & Exit Points
Entry: For example, after a pullback toward the cloud or “mid‐EMA”, wait for price to show a bounce up. That could be a better entry than buying at the top.
Stop Loss / Risk: You might place a stop loss just below the cloud or the lowest of your selected EMAs so that if price breaks through, the idea is invalidated.
Profit Target: Could be a recent high, resistance level, or a fixed reward-risk multiple (for example aiming to make twice what you risked).
Practical Steps for New Traders
Set up the EMAs
Choose simple lengths like 10, 21, 50.
For example, EMA #1 = length 10, source Close, timeframe “current chart”; EMA #2 = length 21, source (H+L)/2; EMA #3 = length 50, maybe timeframe daily.
Observe the Price Action
When price moves up, then dips, see if it comes back near the shaded cloud or one of the EMAs.
See if the dip touches the EMAs lightly (not a big drop) and then price starts climbing again.
Look for undercuts
If price briefly goes below a line (or below cloud) and then closes back above, that’s undercut + recovery. That bounce back is often meaningful.
Manage risk
Only put in money you can afford to lose.
Use small position size until you get comfortable.
Use stop-loss (as mentioned) in case the price doesn’t bounce as expected.
Practice
Put this indicator on charts (stocks you follow) in past time periods. See how price behaved with pullbacks / undercuts relative to the EMAs & cloud. This helps you learn to see signals.
What It Doesn’t Do (and What to Be Careful Of)
It doesn’t predict the future — it simply shows zones and trends. Price can still break down through the cloud.
In a “choppy” market (i.e. when price is going up and down without a clear trend), signals from EMAs / clouds are less reliable. You’ll get more “false bounces.”
Under / overshoots & big news events can break through clean levels, so always watch for confirmation (volume, price behavior) before putting big money in.
Stocks Sessions TableThe stock market open session table is a great way to keep an eye on the market's open and close. This is aimed at the UK traders working with the BST timezone
Alert N seconds before candle closeThe indicator alerts about the closing of the candle in N seconds.
Instruction:
1. Add an indicator
2. Specify the time in the indicator settings
3. Alt+A, Condition - choose indicator
HUll Dynamic BandEducational Hull Moving Average Wave Analysis Tool
**MARS** is an innovative educational indicator that combines multiple Hull Moving Average timeframes to create a comprehensive wave analysis system, similar in concept to Ichimoku Cloud but with enhanced smoothness and responsiveness.
---
🎯 Key Features
**Triple Wave System**
- **Peak Wave (34-period)**: Fast momentum signals, similar to Ichimoku's Conversion Line
- **Primary Wave (89-period)**: Main trend identification with retest detection
- **Swell Wave (178-period)**: Long-term trend context and major wave analysis
**Visual Wave Analysis**
- **Wave Power Fill**: Dynamic area between primary and swell waves showing trend strength
- **Peak Power Fill**: Short-term momentum visualization
- **Smooth Curves**: Hull MA-based calculations provide cleaner signals than traditional moving averages
**Intelligent Signal System**
- **Trend Shift Signals**: Clear visual markers when trend changes occur
- **Retest Detection**: Identifies potential retest opportunities with specific conditions
- **Correction Alerts**: Early warning signals for market corrections
---
📊 How It Works
The indicator uses **Hull Moving Averages** with **Fibonacci-based periods** (34, 89, 178) and a **Golden Ratio multiplier (1.64)** to create natural market rhythm analysis.
**Key Signal Types:**
- 🔵 **Circles**: Major trend shifts (primary wave crossovers)
- 💎 **Diamonds**: Retest opportunities with multi-wave confirmation
- ❌ **X-marks**: Correction signals and structural breaks
- 🌊 **Wave Fills**: Visual trend strength and direction
---
🎓 Educational Purpose
This indicator demonstrates:
- Advanced moving average techniques using Hull MA
- Multi-timeframe analysis in a single view
- Wave theory application in technical analysis
- Dynamic support/resistance concept visualization
**Similar to Ichimoku but Different:**
- Ichimoku uses price-based calculations → Angular cloud shapes
- MARS uses weighted averages → Smooth, flowing wave patterns
- Both identify trend direction, but MARS offers faster signals with cleaner visualization
---
⚙️ Customizable Settings
- **Wave Periods**: Adjust primary wave length (default: 89)
- **Multipliers**: Fine-tune wave sensitivity (default: 1.64 Golden Ratio)
- **Visual Style**: Customize line widths and signal displays
- **Peak Analysis**: Independent fast signal system (default: 34)
---
🔍 Usage Tips
1. **Trend Identification**: Watch wave fill colors and line positions
2. **Entry Timing**: Look for retest diamonds after trend shift circles
3. **Risk Management**: Use wave boundaries as dynamic support/resistance
4. **Confirmation**: Combine with price action and market structure analysis
---
⚠️ Important Notes
- **Educational Tool**: Designed for learning wave analysis concepts
- **Not Financial Advice**: Always use proper risk management
- **Backtesting Recommended**: Test on historical data before live trading
- **Combine with Analysis**: Works best with additional confirmation methods
---
🚀 Innovation
MARS represents a unique approach to wave analysis by:
- Combining Hull MA smoothness with Ichimoku-style visualization
- Providing multi-timeframe analysis without chart clutter
- Offering retest detection with specific wave conditions
- Creating an educational bridge between different analytical methods
---
*This indicator is shared for educational purposes to help traders understand advanced moving average techniques and wave analysis concepts. Always practice proper risk management and combine with your own analysis.*
ikrit : EMA Cross 3/5/20 + Stochastic (Shift=1)EMA 3 5 20 Shift1
Stochastic 35 3 3
It is an indicator used to run trends and find entry points according to the trend by considering the trend on TF H1 and above and entering orders when the EMA lines intersect on M5.
AInfluence Manual Data Input Utility Indicator V101AInfluence (Manual Data Input Utility Indicator) V101
Overview
This utility indicator enables you to plot an external data series directly on your TradingView chart. It is designed for users who want to correlate custom datasets, such as sentiment analysis, economic data, or other external metrics, with price action.
Instructions
1. Add the indicator to your chart.
2. Go into the indicator's "Settings" panel.
3. Paste your pre-formatted data into the text input field.
Data Formatting Rules
The script requires a specific format for each data point, which consists of a numerical value and a timestamp
• Structure: Each data point must be on a new line.
• Limit: You can paste a maximum of 146 records.
Example Data:
93.1562,2025-09-06 00:59:11
94.9062,2025-09-06 01:59:21
93.4062,2025-09-06 02:59:18
95.2188,2025-09-06 03:59:31
93.4062,2025-09-06 04:59:21
91.4583,2025-09-06 05:58:51
93.7812,2025-09-06 06:59:17
The source code for this indicator is open and accessible.
MA//@version=5
indicator("MA20 và EMA9", overlay=true)
// === Input tham số ===
lengthMA = input.int(20, "Độ dài MA", minval=1)
lengthEMA = input.int(9, "Độ dài EMA", minval=1)
// === Tính toán đường trung bình ===
ma20 = ta.sma(close, lengthMA) // Simple Moving Average 20
ema9 = ta.ema(close, lengthEMA) // Exponential Moving Average 9
// === Vẽ ra biểu đồ ===
plot(ma20, color=color.red, linewidth=2, title="MA20")
plot(ema9, color=color.blue, linewidth=2, title="EMA9")
Thần Tiên / Hạ Phàm (MTF)🔔 Thần Tiên / Hạ Phàm (MTF) Indicator – modified & optimized for real trading practice.
✅ For educational and reference purposes only – not financial advice.
📩 To get the optimized settings & detailed trading strategy, contact me on Telegram: @NDucnhan79