Anchored TWAP Bands MT5
- Göstergeler
-
Mattia Marco Platania
At MetaCoderStore, our goal is to build practical, clean, and reliable MetaTrader indicators that traders can actually use in live chart work. We focus on clear visual tools, useful inputs, and MT4/MT5 versions wherever possible. - Sürüm: 1.0
Limited-time free release: this indicator is free while we collect real trader feedback. Please leave a comment with your requests, issues, settings ideas, or features you want us to consider for the premium version.
Anchored TWAP Bands plots the session time-weighted average price and adaptive deviation bands directly on the chart. It helps you see where price is trading relative to the current session's fair-value area without letting one volume spike dominate the average.
Use it to spot
- Price holding above or below session TWAP.
- Mean-reversion areas near the first deviation bands.
- Stretched moves near the second deviation bands.
- Intraday trend continuation when price keeps respecting TWAP.
What it shows
- TWAP line on the main chart.
- Upper and lower first-deviation bands.
- Upper and lower second-deviation bands.
- Hidden session-age buffer for EA or dashboard integration.
Main features
- Daily/session reset with configurable start hour and minute.
- True time-weighted TWAP calculation.
- Optional typical-price or close-price calculation.
- Configurable first and second band deviations.
- Historical calculation limit for lighter charts.
Basic use
- Add the indicator to an intraday chart.
- Watch whether price accepts above, below, or around TWAP.
- Use the first bands as normal session extension areas.
- Use the second bands as stretched movement or target areas.
- Confirm with your own trend, price action, and risk rules.
Inputs
- MaxCalculatedBars: limits how many historical bars are calculated.
- SessionStartHour: hour used for the session reset.
- SessionStartMinute: minute used for the session reset.
- Band1Deviation: multiplier for the first band set.
- Band2Deviation: multiplier for the second band set.
- ResetEveryDay: resets TWAP on each trading day/session.
- UseTypicalPrice: uses typical price instead of close price.
Buffers
- Buffer 0: TWAP value.
- Buffer 1: upper first band.
- Buffer 2: lower first band.
- Buffer 3: upper second band.
- Buffer 4: lower second band.
- Buffer 5: session age.
Risk note: this indicator is a technical analysis tool. It does not guarantee profitable trades. Use it with risk management and additional confirmation.
Signals
- Green arrows mark bullish TWAP setups: lower-band rejection or a move above the outer upper band.
- Red arrows mark bearish TWAP setups: upper-band rejection or a move below the outer lower band.
- Signal buffer values: 1 lower-band bullish rejection, 2 upper-band bullish breakout, -1 upper-band bearish rejection, -2 lower-band bearish breakdown, 0 no signal.
