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
    (268)
    Proyectos
    361
    71%
    Arbitraje
    12
    42% / 25%
    Caducado
    13
    4%
    Trabaja
    Ha publicado: 14 ejemplos
    Solicitudes similares
    I’m hiring an experienced algorithmic trading developer to build a production-grade bot. The system must implement a clear edge, strict risk management, reliable execution, and verifiable reporting. Target Platforms (choose one or both) MT4/MT5 EA (MQL4/MQL5), broker: ____ (e.g., IC Markets/Exness), leverage: ____ Python bot using CCXT (Binance/Bybit/OKX), running on Linux VPS (systemd/Docker) Strategy (initial
    EMA AND MULTITIMEFRAME 30 - 200 USD
    Van egy alapvető EMA és Multi-timeframe logika, és van egy kódom, amelyet javítani kell, mert nem igazán észleli a trendváltozásokat az időben. Az EA kereskedik, de a logikát javítani kell. Ha valaki esetleg tapasztalt ebben és tud segíteni, kérem, vegye fel velem a kapcsolatot
    We’re seeking an MQL4 developer for an MT4 EA that replicates the behavior and UI seen on our live observer account (straddle, pyramiding, basket exits, compact control panel). Full source required. Platform: MT4 (MQL4) Scope: replicate live behavior and panel interactions Deliverables: MQ4 + EX4, brief user guide Observer account (read‑only) will be shared in chat. If interested, please reply with: 2–3 similar EA
    Necesito programar un bot en MT5, este bot lo quiero para MT5, un bot para operar Nasdaq en CFDs, El bot lo quiero para operar solo compras, utilizando los indicadores que sean necesarios para apoyarnos en la tendencia alcista NO MARTIN GALA Me debes dar el código fuente completo La licencia es de por vida Necesito una demo para probar que la estrategia sea rentable
    https://www.youtube.com/live/Fn6ucmWyuAA?si=x96zzN07q8Diif8a To build a fully automated AI-style trading robot similar to the one demonstrated in the video, which opens, manages, and closes trades automatically based on adaptive market behavior. The system should visually and functionally resemble the performance shown in the video but include transparent, editable logic for long-term optimization
    تغنيك هذه الإستراتيجية جميع الاقتراحات التي تدور في ذهنك ، مثل مكان الشراء أو البيع ، وأين يكمن الدعم والمقاومة. باختصار ، يمنحك كل التلميحات ، وهذه هي مؤشرات الزخم الثلاثة الأولى: البولنجر باند. والثاني مؤشر williams percent runge على 28 يعطيك مناطق التشبع أحسن والثالث ستوكاستيك كما هو ويمكنك إضافة موفينغ أفرج على 200 لتحديد الاتجاه هكذا تكون الرؤية أوضح ونقاط الدخول أكثر دقة
    Ich möchte 16 EA´s zu einem EA zusammenführen also ein Protfolio EA. Die EA´s sind alle fertig aber sie haben verschiedene Symbole und Zeiteinheiten. Sehr wichtig ist das, die Strategie der EA´s zu 100% so bleiben wie die Orginal EA´s. In den Einstellungen müssen die EA´s eine Magicnummer haben, Lotsize, Lotsize abhängig von der Kontogröße, Spreadprotektor und Stratgie AN/Aus Ich denke für ein Profi keine schwierige
    Create EA 30+ USD
    I require an expert advisor with the following requirements: This EA needs to be based on Heikanashi candles It is for XAUUSD on a 15M time line There needs to be an EMA indicator Also ZIGZAG indicator I need to be able to adjust lot sizes There must be a time filter where the EA will trade or not trade Auto TP and SL based on points that can be adjusted accordingly Max 1 trade open at a time If you can assist with
    We need an experienced MQL5 developer to build a custom Expert Advisor that executes trades based on TradingView alerts , with the following advanced features: Entry Execution via TradingView Alerts: Integrate MT4/MT5 with TradingView to trigger trades directly from TradingView alerts (using webhooks or a bridging solution). Multi-Timeframe Cross-Verification: Strategy must cross-verify signals across 2-3
    I'm looking for Collaboration for building a trading BOT using the ICT system on MT5 platform Letter of intent 1. Project Vision The ICT Trading Bot represents a pioneering endeavor to redefine algorithmic trading by embedding the core tenets of Inner Circle Trader (ICT) methodology into an intelligent, adaptive system designed to empower traders with precision, insight, and integrity. At its heart, the bot's

    Información sobre el proyecto

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