Need a Formula to calculate the VWAP inside an EA (MT5)

MQL5 Indicadores Asesores Expertos

Trabajo finalizado

Plazo de ejecución 1 día
Comentario del Ejecutor
Extremely kind. Fast payment. Although the task was not completed to the best he accepted.
Comentario del Cliente
He was super fast and gave lots of explanation. Will happily work with him again.

Tarea técnica

Specification

I would like to create a volume weight average price (VWAP) indicator for a user defined start time.  My standard VWAP is calculated from 2am New York time. Below is the general formula for the VWAP. This Indicator will be used with an existing EA, so the code should be easy to read and duplicate so that a different programmer can add the code to a pre-existing EA.

  https://c.mql5.com/21/244/vwap_math.png

In the formula for VWAP you will use will use the average of the High and Low.

To simplify my requirement, I will put it into bullets points:

  1. The VWAP indicator will reset based on daily user defined time. When a new day is reached, the VWAP will begin from 0 again.
  2. I need an inputs that can allows me the ability to set the time of resetting
  3. Follow the math equation above to calculate the center or VWAP lines (Formula given)
    1. When VVWAP is decreasing = Red Colour
    2. When VVWAP is increasing = Lime Colour
    3. vwap_style = STYLE_SOLID
    4. vwap_width = 2
    5. Volume calculation is based on Tick volume
    6. Input: Default Price data based on (High + Low)/2.  The option to (Close, Median, Typical etc. - Standard price mode)
  4. Input: Period count - For the case where the calculation of VWAP on entire chart will be time consuming, by default let it only count on past 30 days of VWAP. The '30' (count in day) is the inputs I can define later
  5. When changing VWAP timeframe option, previous VWAP object should be cleared.
  6. When new candle generated the VWAP calculations MUST UPDATE CORRECTLY


Below is an example of what the VWAP line that resets at midnight New York time looks like.

https://www.dropbox.com/s/oq23bp1qo43i2t8/VWAP%20Reset%201%20Minute.png?dl=0

    Han respondido

    1
    Desarrollador 1
    Evaluación
    (2)
    Proyectos
    1
    0%
    Arbitraje
    1
    0% / 100%
    Caducado
    0
    Libre
    2
    Desarrollador 2
    Evaluación
    (278)
    Proyectos
    373
    72%
    Arbitraje
    19
    32% / 47%
    Caducado
    14
    4%
    Libre
    Ha publicado: 14 ejemplos
    Solicitudes similares
    Hi, I looking for a developer to help me create an EA. The EA is using 3 moving averages system namely green,red and blue MA. The EA must work on this principles. For buy setup, red MA must close above blue MA. Bullish candlestick must close above green MA. For sell setup, green MA must close below blue MA. Bearish candlestick must close below red MA. The EA also must be able to use optimization parameters,news
    I am looking for a scalping EA based on daily VWAP for intraday trading. initiate buy when above VWAP and initiate sell below VWAP. it should have proper risk to reward
    Hello, im offering my Flip EA as a service. Real numbers. Live account. No BS. Verified Stats (live MT5): • Growth: +78–81% in days • Max Drawdown: 3.05% only • Best trade: +6,872% profit on single position Runs fully automated on XAUUSD 24/5. Small account friendly – built for fast, aggressive flipping with tight risk control. Tell me your capital, I’ll tell you what’s realistic
    I am looking for an experienced MQL5 developer to build a fully automated trading bot (Expert Advisor) for MetaTrader 5 . The bot will focus on trend-following scalping and must be designed to trade XAUUSD and BTC on the M1 timeframe . The objective is to create a stable and efficient EA that can open multiple trades per day while managing risk using proper stop-loss, take-profit, and trailing stop
    martingale base on each position close. eg: open a position with TP set at $100 and trail SL . if this position hit trail SL i lose $50 then the next position will open target at $150 profit. entry price base on from lower and up by XXX% then can open position i want to choose only buy or sell position. example this chart i only want buy position
    I have a specific channel need to copy and modify signal from that channel. It will buy and sell from signal and modify based on signal. I’ll add few more functions in the ea
    [Automatic Level Detection Group] - Enable Auto Detection: Yes/No - Number of Levels Required: (Number) 3-5 - Lookback Bars: (Number) 100-200 - Minimum Touches for Strong Level: (Number) 2 - Use Zig Zag Algorithm: Yes/No - Use Level Clustering: Yes/No - Max Cluster Distance (points): (Number) [Display and Drawing Group] - Resistance Line Color: (Color) - Support Line Color: (Color) - Show Info Labels: Yes/No - Lines
    Hello, I am searching a good programmed to convert EA from mql5 into pinescript and DX TRADE made automatisation. Source of code required. Budget is negotiable. Thanks for attention and have a nice day
    Profitable EA for sell 200 - 1000 USD
    I am having 2 very proven and profitable EA which will give you profit and at the end of week you are always in profit. 1 This bot is safe bot and it generates handsome amount of profit with very less drawdown and high accuracy of 75-85%. 2. This bot is very aggressive and will suggest to go with only when you are having big capital and wanted to take more risk. It can make your account multiple fold
    Looking for a Marketing Partner for my EAs! I am a developer looking for an experienced partner to help promote and market my Expert Advisors (MT4/MT5). How it works: > * I handle the coding, updates, and technical support. You handle the marketing, outreach, and bringing in traders. Compensation: We work on a Revenue Share / Profit Split basis. If you have an audience of traders or know how to market forex tools

    Información sobre el proyecto

    Presupuesto
    40+ USD
    Plazo límite de ejecución
    a 5 día(s)