Algotrend VWAP Context Signals

Algotrend VWAP Context Signals answers two questions before every intraday trade: which side should I be on today, and where is the entry. The daily context, built from trend, RSI and relative volume, arms the buy side or the sell side. The session VWAP gives the entry: a bar that closes across the VWAP in the armed direction is the signal. Every signal comes with an ATR stop and a target in R, and the panel shows the statistics of all the past signals on your own broker data, so you can see how the rules behaved on the symbol and timeframe you trade before you take the next one.

The rules were first built and tested in an Expert Advisor and are applied here, unchanged, as an indicator. It works on charts from M1 to H1, on any symbol: gold, indices, currencies, crypto. It does not use DLLs or internet requests and it does not trade.

HOW IT WORKS

Step one is the daily context. The indicator builds a series of session closes and reads three numbers from it. Trend compares the price with the average of the last 50 session closes and with the close 20 sessions back: both above gives +2, both below gives -2, one above and one below gives 0. The daily RSI is a 14 period RSI on the session closes. Relative volume compares the volume of the session so far with the average volume of the last 20 sessions. The current price takes the place of the last close during the session, so the context updates live.

Step two is the armed side. Trend +2 with the RSI below 70 arms the buy side. Trend -2 with the RSI above 30 arms the sell side. Anything else leaves both sides unarmed: a mixed trend, or a market that is already stretched beyond 70 or 30. The session VWAP shows the armed side with its color: green for buy, red for sell, grey for none.

Step three is the signal. The session VWAP starts at the anchor time, 9:30 New York by default, and is the average typical price of the bars weighted by tick volume. When a closed bar crosses the VWAP by more than a small buffer, 0.02 percent of the price by default, and the cross goes in the armed direction, the indicator marks a signal: a buy arrow under the bar or a sell arrow above it. A cross against the armed side is ignored. Signals come only inside the entry window, from the session start to 30 minutes before the session end, with a maximum of two per symbol per day. When the relative volume is above the strong level, 1.2 by default, the signal is marked strong with a brighter arrow.

Signals are calculated on closed bars only and they do not repaint once the bar has closed. On M1 the signals are the same as the entries of the original Expert Advisor with its default settings.

STOP, TARGET AND STATISTICS

Each signal has a stop at 2 ATR of the M15 chart from the signal close and a target at 3 times the stop distance. Both values are inputs. They are written to the indicator buffers, and while the latest signal is still open the entry, the stop and the target are drawn on the chart.

The panel follows every past signal on the closed bars until it reaches the stop, the target or the next opposite signal. The stop moves to the entry from the bar after the one that reaches 1.5R, as the Expert Advisor does with its break even. When stop and target fall in the same bar the stop is counted. The panel shows the number of signals, wins, losses, break evens and open signals, the win rate, the profit factor, the net result in R and the profit factor of the strong signals alone, for the number of days you choose. Spread, commission and slippage are not included. The statistics describe the past behavior of the rules on your data; they are not a prediction.

THE CONTEXT CLOCK

With the US Session clock, the default, one session is one New York trading day: the close is taken at 16:00 New York, or 13:00 on the early close days, the NYSE holidays are skipped and the session volume runs from 9:00 New York. This gives the same daily context to gold, indices and currencies, read at the same moment as the US cash markets. With the Broker Daily clock the indicator uses the daily bars of your broker instead, which suits markets that trade every day, such as crypto. The history needed is 50 sessions; with less, the panel shows how many sessions are available and the VWAP stays grey.

SCANNER

The scanner applies the same rules on M1 to a list of up to 12 symbols and shows them in the panel: armed side, trend, daily RSI, relative volume, position of the price against the VWAP and the signals of the day with their New York time. The symbols are added to your Market Watch if needed. Write the names exactly as your broker shows them; a symbol that does not exist is shown as not found. Scanner alerts are optional. The scanner works on live charts and is off in the Strategy Tester.

ALERTS AND BUFFERS

Alerts fire once, on the bar that has just closed, and never when the indicator loads or the chart is refreshed. Popup, sound, push notification and email can be turned on separately; push notifications and email use the settings of your terminal in Tools, Options. The message contains the symbol, the timeframe, the direction, the price, the stop and the target.

The indicator has 17 buffers for iCustom and the Data Window. 0 VWAP, 1 VWAP color index (0 none, 1 buy, 2 sell), 2 upper band 1, 3 lower band 1, 4 upper band 2, 5 lower band 2, 6 buy signal (bar low, otherwise empty), 7 buy color index (1 strong), 8 sell signal (bar high, otherwise empty), 9 sell color index (1 strong), 10 armed side (1, -1 or 0), 11 trend score, 12 daily RSI, 13 relative volume, 14 signal stop, 15 signal target, 16 session delta. Empty values are EMPTY_VALUE. Read the signal buffers on closed bars, shift 1.

GETTING STARTED

Attach the indicator to a chart from M1 to H1. Wait a few seconds the first time: the indicator reads H1 and M15 history of the symbol and the panel shows loading history until the data is there. Look at the panel: the context line tells you which side is armed, the statistics line tells you how the signals behaved in the last 60 days. Change History Days to see a longer or shorter period. Then write your symbols in Scanner Symbols and turn on the alerts you want.

SETTING EXAMPLES

Gold intraday, as the original rules: XAUUSD on M1 or M5, all default settings. M5 gives fewer and cleaner crosses than M1.

US indices: US500, US30 or the Nasdaq on M5 or M15 with the default settings. The context clock and the session are already the New York cash session.

Fewer, stronger signals: Strong Signals Only on, and Session Delta Must Agree on. Only crosses with relative volume above the strong level and with the session delta on the same side are kept.

Crypto every day: Context Clock Broker Daily. The daily context then comes from the broker daily bars, weekends included.

One direction: Signal Direction Long Only or Short Only, for example to follow only the side of your higher timeframe analysis.

FREQUENTLY ASKED QUESTIONS

Does it repaint? No. Signals are calculated on closed bars and stay where they are. The VWAP of the bar that is still forming moves until the bar closes, like any line on a live chart.

Why is there no signal today? Usually because no side is armed: the trend is mixed, or the daily RSI is beyond 70 for buys or below 30 for sells. The context line of the panel shows trend and RSI, so the reason is visible at a glance. A signal also needs a cross inside the entry window, and after two signals the day is complete.

Which timeframe should I use? The rules were designed on M1. M5 and M15 give fewer crosses; H1 is allowed but reacts late, because the cross is only seen at the close of the hour.

What volume does it use? Tick volume, the number of price changes, which is what MetaTrader 5 provides for forex and CFD symbols. On exchange symbols with real volume, tick volume is used as well, so the results are the same everywhere.

What is the session delta? An estimate of buying against selling pressure: the body of each bar against its range, weighted by tick volume and summed from the VWAP anchor. It is shown on the panel and can be used as an extra filter. It is not exchange order flow.

Are the statistics the same as real trading? No. They use the signal close as entry and do not include spread, commission or slippage. They show how the rules behaved on past data, under the stated assumptions.

My broker uses a different server time. Server Time Mode Auto recognizes the common New York close clock (GMT+2 in winter, GMT+3 in summer) and reads the offset of other brokers. If your broker uses a fixed offset without daylight saving, choose Fixed Offset and enter it.

Can I use it in an Expert Advisor? Yes, through iCustom and the buffers listed above.

PARAMETERS

Context
Context Clock: US Session (New York trading days, NYSE calendar) or Broker Daily (daily bars of the broker).
Strong Relative Volume Level: relative volume above which a signal is strong.

Session
Session Start NY Hour, Session Start NY Minute, Session End NY Hour, Session End NY Minute: the trading session in New York time, 9:30 to 16:00 by default.
VWAP Anchor NY Hour, VWAP Anchor NY Minute: start of the VWAP; -1 uses the session start.
No Signals Last Minutes Of Session: end of the entry window before the session end.

Signals
Signal Direction: both, long only or short only.
Strong Signals Only: keep only the strong signals.
Cross Buffer Percent Of Price: distance beyond the VWAP needed for a cross.
Max Signals Per Day: per symbol, 0 means no limit.
Session Delta Must Agree: the session delta must be positive for buys and negative for sells.

Stop And Target
ATR M15 Stop Multiplier: stop distance in ATR of the M15 chart.
Target Reward To Risk: target in multiples of the stop distance.
Statistics Break Even At R: level that moves the stop to the entry in the statistics, 0 = off.
Show Levels Of Open Signal: entry, stop and target lines of the latest open signal.

Chart
History Days: days with signals and statistics.
Show Deviation Bands, Band 1 Deviations, Band 2 Deviations: volume weighted deviation bands around the VWAP.
Color Armed Buy, Color Armed Sell, Color Not Armed, Color Bands: colors.

Scanner
Show Scanner, Scanner Symbols (comma separated), Scanner Symbol Suffix, Scanner Update Seconds, Alerts For Scanner Symbols.

Alerts
Popup Alert, Sound Alert, Sound File, Push Notification, Email.

Panel
Show Panel, Panel X, Panel Y, Font Size.

Server Time
Server Time Mode: Auto, NY Close or Fixed Offset. In the Strategy Tester the NY Close clock is used.
Fixed Server Utc Offset Hours: broker offset from UTC for Fixed Offset.

About Algotrend: Algotrend is an independent developer of trading algorithms and indicators. Every product is designed, tested and supported by the same developer. For questions and suggestions, write in the comments of this page or send a private message on MQL5.

Signals and statistics describe past price action and do not guarantee future results. Trading involves risk.
Yazarın diğer ürünleri
London Range Breakout measures the range of the night session and trades its breakout at the London open, with one trade per day and a stop loss on every trade. No grid, no martingale. Every trading day the EA records the high and the low between 00:00 and 07:00 London time. At 07:00 it places a buy stop above the range and a sell stop below it, each with a small buffer. When one order fills, the other is cancelled. The stop sits in the middle of the range or on its opposite side, and the targ
FREE
Walls Local Bot
Andrea Borraccini
Walls Local Bot is an Expert Advisor that trades the cross of an intraday VWAP when a daily context filter agrees with the direction. The context is computed entirely from the price and tick volume data of your broker. The EA does not use DLLs, web requests or external data, so it can be tested in the Strategy Tester and run on a VPS. The name comes from the Walls family of Algotrend tools. This version does not use options data, gamma walls or max pain: everything is calculated from the chart
Dynamic Trendline Pro is an Expert Advisor that draws support and resistance trendlines automatically and trades three events on each line: breakout, touch and approach. How it works On every closed bar the EA looks at the last bars (Previous Candles Number). It draws support through the two lowest prices and resistance through the two highest prices, using highs and lows or closes. The lines can be validated by a minimum number of touches and by a minimum and maximum slope. Three events are
Multi Timeframe Dominator reads one EMA on every timeframe you enable, from M1 to D1, and turns them into a ladder of dynamic support and resistance levels. On every closed bar the EA sorts the EMAs from the lowest to the highest and checks how price interacts with each of them. A bounce on an EMA trades away from the level, with the next EMA of the ladder as target. A close through an EMA trades only in the direction of the trend timeframe. When price is outside the whole pack, the slope of a
AI Prop Ready Bot
Andrea Borraccini
AI Prop Ready Bot is a mean reversion Expert Advisor built around the rules of prop firm accounts. It trades Bollinger Bands extremes confirmed by RSI and checks the daily and overall drawdown limits on every tick. A bar that closes above the upper band with RSI overbought opens a sell, a bar that closes below the lower band with RSI oversold opens a buy. The stop comes from the ATR or from the signal bar, the target is the middle band. Before every order the EA sizes the trade from your risk
Dual Session Breakout trades the ranges of two sessions, London and New York, each with its own time zone, range, trade window and entry mode. Three entry modes are available for each session: breakout, retest and fakeout. A stop loss on every trade, no grid, no martingale. By default the London session measures the night range from 00:00 to 07:00 London time and trades its breakout with stop orders until 11:00. The New York session measures the range from 08:00 to 09:30 New York time and trad
Dual Session Signals draws the ranges of two trading sessions, London and New York by default, and marks three kinds of signal around them: breakout, retest and fakeout. Each session has its own time zone with its own daylight saving calendar, so the boxes stay on the right hours all year without changing any setting. A daily ATR filter tells you when a range is too small or too large to be worth trading, and alerts reach you by popup, sound, push notification or email. The indicator works on
FREE
TrueScalper AI
Andrea Borraccini
TrueScalper AI is a fast intraday Expert Advisor for volatile markets, developed and tested on XAUUSD M30. It reads the structure of the last two closed candles and trades only while volatility is expanding. A higher low gives a buy, a lower high gives a sell. Inside and outside candles are skipped. The stop goes beyond the two candles and the target is a multiple of the stop. A stop loss on every trade, no grid, no martingale, no averaging. An optional AI confirmation layer can review each se
Algotrend VWAP Context shows on the chart the two things an intraday trader checks first: where the session VWAP is, and which side the daily context favors. The session VWAP is drawn with two deviation bands and changes color with the context: green when trend and RSI arm the buy side, red when they arm the sell side, grey when neither side is armed. A small panel shows the numbers behind the color. It works on charts from M1 to H1, on any symbol: gold, indices, currencies, crypto. It does no
FREE
Filtrele:
Değerlendirme yok
Değerlendirmeye yanıt