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

MQL5 Indikatoren Experten

Auftrag beendet

Ausführungszeit 1 Tag
Bewertung des Entwicklers
Extremely kind. Fast payment. Although the task was not completed to the best he accepted.
Bewertung des Kunden
He was super fast and gave lots of explanation. Will happily work with him again.

Spezifikation

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

    Bewerbungen

    1
    Entwickler 1
    Bewertung
    (1)
    Projekte
    0
    0%
    Schlichtung
    1
    0% / 100%
    Frist nicht eingehalten
    0
    Frei
    2
    Entwickler 2
    Bewertung
    (183)
    Projekte
    234
    59%
    Schlichtung
    7
    29% / 29%
    Frist nicht eingehalten
    8
    3%
    Arbeitet
    Ähnliche Aufträge
    Hello, send robot models with a solid strategy (to trade forex), I want to use it to make money for the week. It is important that you present me with your profitability graph and a test. I also want to hire him for future jobs
    I am looking to develop an automated trading bot based on a strategy involving the crossing of four Simple Moving Averages (SMA). The bot should be capable of entering trades based on this strategy. Additionally, I would like to incorporate some custom diversions tailored for NinjaTrader
    Seeking an experienced MQL5 developer to create a sophisticated Expert Advisor focused on harmonic pattern trading . The EA will be designed to identify and trade based on popular harmonic patterns in the forex market. Entry and Exit Logic: Develop smart entry and exit rules based on pattern completions and price action confirmations. Risk Management: Incorporate adjustable risk-per-trade settings and position sizing
    preciso de um robô com duas médias móveis, uma exponencial high e uma exponencial low. preciso também ter a opção de utilizar e todos os tempos gráficos e alterar os parâmetros das médias. entrada de compra será feita quando um candle de alta romper e fechar a cima da média high e fechará a posição quando um candle de baixa romper e fechar a baixo da média low. a venda será feita quando o candle de baixa romper e
    Description - An expert advisor(s), placing sell trades in EUR/USD, based on the close price of the previous two candles, as shown in the figure below. The trades would be made in the 5 minute, 1 hour, and 1 day timeframes. In the 5 minute and 1 hour timeframes the market orders would be placed at the start of a new candle, at specific times EST. The order would be cancelled at the close of that candle, i.e after 5
    Hi, I have an indicator from my friend, I want to copy it to my own Traidingview or MT5 can you do that for me. Here is the link
    Develop a simple trading robot from rainbow oscillator Additional features Include timeframe specification in rainbow oscillator trailing features moving average filter TP (true/false) SL (true/false) Fixed lot Risk percentage Percentage profit lock
    Hi, I have an indicator from my friend, I want to copy it to my own Traidingview or MT5 can you do that for me. Here is the link
    I need a dashboard that shows my various accounts that shows balance, equity, number of trades open, drawdown and some more information. I want to use it to monitor my accounts in one screen or chart. If there is anyone who can do it please show me the screenshot of your sample
    Hi, I need a robot, which wil get instructions to trade in 3 symbols at the same time based on few parameters and calculations. Example: There is 1 symbol called Gold-Near and the rate for it is 1000-1002 If i specify that when the rate reaches 1050, it should sell 1 lot Upon execution it will have to sell 1 lot of cme gold, buy 3 lots of mcx gold and buy currently (lots will be based on calculation). All the

    Projektdetails

    Budget
    40+ USD
    Für die Entwickler
    36 USD
    Ausführungsfristen
    bis 5 Tag(e)