• Обзор
  • Отзывы (3)
  • Обсуждение (12)
  • Что нового

Swiss VWAPsimple

Swiss VWAPsimple


Did not find free VWAP that works, the one that I found craseh. So I created a VWAP which calculates values only for the actual day. So computer resouces are not over stressed.

What is VWAP, how is it used? 

VWAP stands for Volume Weighed Average Price, it calculates the running sum of tick volume and the runnung sum of price times tickvolume. The division of these sums result in a weighed price (Sum P*V/Sum V). The calculation starts normally at midnight. The values are strongly dependent from the starting time. Be careful if you have assets not starting at midnight. Also the calculation gets more and more unprecise during the day because the sums get bigger and bigger during the day and errors add.

VWAP is a sort of equilibrium price. It might divide the day in a long and short bias zone. I recommend to use Pivot Points, SMA200 and EMA1000 in addition to establish a daily bias dividing line. So if you have your long and short zone only trade long in the long zone and vice versa. You might go short in a long zone but the price must have a reasonable distance from the daily bias border line or the VWAP.

VWAP shows you, too, if you are in a sideways phase if price is near VWAP (and SMA200, SMA1000, Pivot Point).


Extended long zone, beware of bull traps


Long zone, no shorts

-----------------------------------------------  VVAP

Short zone, no longs


Extended short zone, beware of bear traps


useBarsSinceMidnight => Normal use set it to true, with closed markets you have to set it > Start point of VWAP (number of bars back) if useBarsSinceMidnight ist false

Show comment => show comment which shows distance to vwap

Comment says that you might go short in a long area => Comment tells you that you might go short in a long situation

Comment says that youmigt go long in a short area => Comment tells you that you might go short in a short situation

let the Indicator talk, vwap cross => When price crosses vwap it says  "vwap cross"

Defines warning range, too much warnings make it smaller => Tuning of the warning, set it smaller for currencies, when Vwap-Distance to price is zero, the warning comes

inpArrowCode => Wingdings font code of Mt5, cross is code 251

inpShowDistanceLabel => Show distance Ask-VWAP by label

XDISTANCE => Dstance for label X-direction

YDISTANCE => Distance for label Y-direction

inpFontSize => Fontsize for label

inpVwapText1 bis 4 => Texts for label


Use M1 to H1. VWAP should be invariant to timeframes. But because of rounding errors it is never exact the same in various timeframes.

Отзывы 3
contraror 2020.08.06 09:31 

Good work! The comments are useful reminders not to trade on the wrong side.

Рекомендуем также
contraror 2020.08.06 09:31 

Good work! The comments are useful reminders not to trade on the wrong side.

WillieBeGood 2020.05.14 07:14   

I have not been using it for long, so a review at this time would not be fair. I plan on leaving my computer run 24/7, so maybe it will give a better indication of performance

112586 2020.04.30 23:26 

Пользователь не оставил комментарий к оценке

Версия 1.3 2019.02.18
Now Distance to VWAP can be displayed in a label (option)
Версия 1.2 2019.02.07
Warning is displayed when Vwap is crossed by price
Версия 1.1 2019.01.31
Corrected error in displaing. Added a comment which shows the distance to the ask price and a comment. I will describe the philosophy in the discussion.