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

MQL5 Göstergeler Uzmanlar

İş tamamlandı

Tamamlanma süresi: 1 gün
Geliştirici tarafından geri bildirim
Extremely kind. Fast payment. Although the task was not completed to the best he accepted.
Müşteri tarafından geri bildirim
He was super fast and gave lots of explanation. Will happily work with him again.

Şartname

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

    Yanıtlandı

    1
    Geliştirici 1
    Derecelendirme
    (2)
    Projeler
    1
    0%
    Arabuluculuk
    1
    0% / 100%
    Süresi dolmuş
    0
    Serbest
    2
    Geliştirici 2
    Derecelendirme
    (278)
    Projeler
    373
    72%
    Arabuluculuk
    19
    32% / 47%
    Süresi dolmuş
    14
    4%
    Serbest
    Yayınlandı: 14 kod
    Benzer siparişler
    VWAP BB Sniper EA Quantum VWAP Scalper SmartFlow FX Bot Institutional Edge EA 🧠 PRODUCT OVERVIEW VWAP + Bollinger Bands Auto Trading System A high-precision forex scalping bot designed to capture institutional price movements using: VWAP (fair value tracking) Bollinger Bands (volatility & entry timing) 👉 Built for fast, consistent intraday profits
    hello check on this so basically this is a repair job of a strategy I hired a guy to do that doesn't quite workas I intended it to but is very close. So should be fairly simple to fix . I have enclosed a video file. Its important to understand that the take profit and stop loss were added by the guy who coded it but arent central to the strategy. The main thing is that the system must reference the prior bar and sell
    Hello traders, I have Quantum queen v3.52, which is the latest version, available for $500 only. The price on the platform is around $1800, but I am offering it for a much lower price for serious buyers. Details: Product: Quantum queen Version: v3.52 Price: $500 Condition: Serious buyers only
    I need a Telegram-to-MT4 automation bot for a funded account. This is NOT a basic trade copier. It must include: • Automatic lot size based on 0.5% risk per trade • Stop loss required (no trade if missing) • Max 5 open trades • Minimum 60 seconds between trades • No weekend trading • Trade blocking if rules are violated • Logging of blocked trades The goal is risk control, not speed. Can you build this?”
    Wise 30 - 1000 USD
    Hello, I am looking for access to MT5 trading accounts connected to the market, either demo or live, specifically running a trading robot (Expert Advisor) designed for prop firm trading. Investor (read-only) password access is sufficient, as I only need to log in through MetaTrader 5 to monitor and verify trading performance, including trade history, risk management, drawdown control, and consistency of results over
    Early Killer EA 30+ USD
    It must have automated stop loss. Something that can end poverty and kill the market early.It must take the trades for me whenever I start it it must work on tradeport ea
    I WANT TO CONVERT MY INDICATOR TO ROBOT, BUT I DONT HAVE THE SOURCE CODE , THE PROGRAMMER WILL DEVELOP THE SOURCE CODE FOR THE JOB. THE STRAGY IS SIMPLE , THE ROBOT WILL EXECUTE A TRADE WHEN THE SIGNAL FROM THE INDICATOR APPEARS. BUY SIGNAL IS WHEN THE ARROW APPEAS ON THE LOWER ZONE ( SUPPORT ZONE) SELL SIGNAL WHEN THE ARROW APPEARS ON THE UPPER ZONE ( RESISTANCE ZONE).THE ROBOT WILL HAVE THE FOLLWING FEATURES (1)
    Hi, I am looking to purchase a MT5 Hedging EA that can show consistent profitability with drawdown less than 15%. I am not ready to build a new one from scratch as i do not have the strategy in mind yet so i do not want to take the risk of building one but not sure if it works. Only apply if you have an existing proven and tested Hedging EA that can sell to me together with the source code. Before i make the
    Hi, i would like to develop a MT5 Hedging EA. Please watch the below video for example how i want the EA to be. Let me know only if you can develop it within a day. Fast and quick deal
    CONVERT MQL4 ROBOT TO MQL5 Solana I have robot SOLANA i want to change my robot for MQL4 ROBOT TO MQL5 AND also change the name of the robot..i need it with the source code

    Proje bilgisi

    Bütçe
    40+ USD
    Son teslim tarihi
    to 5 gün