Midas VWAP - EA

MQL5 Experten

Spezifikation


********** The $30 price is for illustrative purposes only. If you are interested in the project I will create an order of $400 specifically for your user***********

Requirement:

->There must be a function to calculate the price VWAP from a certain point.

There is already an indicator that does this. He calls it VWAP Midas.

 

* When the indicator is plotted on a top it calculates the VWAP taking into account the High:



void CalculateVWAP()

  {

   double sumPrice=0,sumVol=0;

   for(int i=startVWAP; i<iRatesTotal; i++)

     {

      sumPrice    += Price(iHigh ,i)*iVolume[i];

      sumVol      += iVolume[i];

      vwapBuffer[i]= sumPrice/sumVol;

     }

  }

* When the indicator is plotted on a bottom it calculates the VWAP taking into account the Low:


void CalculateVWAP()

  {

   double sumPrice=0,sumVol=0;

   for(int i=startVWAP; i<iRatesTotal; i++)

     {

      sumPrice    += Price(iLow ,i)*iVolume[i];

      sumVol      += iVolume[i];

      vwapBuffer[i]= sumPrice/sumVol;

     }

  }

->There must be a function to calculate the standard deviation of the VWAP(σ).

->There must be a function to calculate the lower and upper band of the VWAP.

 

BottomBandBuffer = VWAP -K1*σ

 

Where K1 is a “double” input and σ is the standard deviation of the VWAP.

 

BufferBandSuperior= VWAP + K2*σ

 

Where K2 is a “double” input and σ is the standard deviation of the VWAP.

 

->There must be a function to validate the VWAP.

(Long exemple)

* When a candle closes below the VWAP it is no longer a valid VWAP and the robot can no longer use that VWAP.


(short exemple)

* When a candle closes above the VWAP it is no longer a valid VWAP and the robot can no longer use that VWAP.

* In the red arrow the VWAP was valid. In the blue arrow after the closing of the candle above the VWAP it is no longer valid.



* VWAP is only valid for N First Rings. If the price touches the VWAP N+1 times it is no longer valid. Where N is an input with default = 3.


In the example above, the VWAP is still valid on the blue arrow, but on the orange arrow it is already invalid, as it is the fourth touch.

In this other example the first vwap is no longer valid on the yellow line. The second vwap is no longer valid on the green line and the third vwap is no longer valid on the purple line (because of the 3-touch rule). However, if the 3-touch rule did not exist, the third vwap would only cease to be valid on the brown line.


->EA Entry pattern:

 

-> The robot will enter the operation based on the VWAP which was plotted by the user.

The robot will only enter the trade if:

 

(short example)

Rules:

* There must be 1 valid VWAP

* Price must touch vwap and close below it

* The price must make a high higher than the highest high between the last N candlesticks (Input: default N=3) And close below. (See example in the graph in blue). The highest high among the last 3 candlesticks was the middle candlestick.

* Entry is made on the next candlestick (0.5 pips before touching vwap)


In this example the entry was made on the red line (0.5 pips before touching vwap).


In this example: The maximum of the last 3 candles is the rightmost candle. The candle touched the VWAP and closed below it. The candlestick made a high higher than the high of the candlestick further to the right and closed below that high. The sell occurs (0.5 pips before touching the vwap) on the red bar.

*Note: The VWAP test must be on the next candlestick.

 

->Take Profit

(short example)

Take will be

BottomBandBuffer = VWAP -K1*σ. K1 defaults to 1

 

->Stop Loss

(short example)

The stop will be

BufferBandSuperior= VWAP + K2*σ. K2 default will be 0.5

 

By default the stop will be 0.5 standard deviation from the VWAP and the take will be 1 standard deviation from the VWAP. But the user can change this input if he wants.

 

Note: Stop and target will be fixed and will be in the position of the respective bands when the robot enters the trade. Stop and target will not be dynamic following the bands!

 

-> Early Stop Loss

(short example)

If the robot is in the middle of a trade and the price closes above the VWAP, it can close the trade (Leave an input(true,false) option to activate this functionality)


In this example the robot must close the operation on the yellow bar at the closing of the candle.

 

->There must be a time filter that the robot can open operations (Input)

 

-> Trading lot control:

*Fixed lot options

*Options to cross out % of the account. With default risk 1% per trade.

->Trade protection

(Purchase example)

*There must be an input (true, false) to allow trade protection (0.5 pips above the entry) if it has gone N% of target. The default of N = 70%

 

 *** must contain the executable and the source code! ***



Bewerbungen

1
Entwickler 1
Bewertung
(844)
Projekte
1444
72%
Schlichtung
117
29% / 47%
Frist nicht eingehalten
355
25%
Beschäftigt
Veröffentlicht: 3 Artikel
2
Entwickler 2
Bewertung
(34)
Projekte
60
23%
Schlichtung
11
73% / 9%
Frist nicht eingehalten
3
5%
Frei
3
Entwickler 3
Bewertung
(322)
Projekte
499
67%
Schlichtung
5
40% / 0%
Frist nicht eingehalten
4
1%
Frei
Veröffentlicht: 8 Beispiele
4
Entwickler 4
Bewertung
(3)
Projekte
4
0%
Schlichtung
2
50% / 50%
Frist nicht eingehalten
0
Frei
Ähnliche Aufträge
Hi, I want you to create an EA based off prev high and low strategy by Wondafx (can search trader on youtube). The EA must have a positive equity curve. Losing streaks are fine. But overall in a year it must be profitable. Indicator: prev day high and low from Electrified on Tradingview Strategy Stop hunt dotted lines: 7am to 10am Trading time: 9:45am to 10:45am (can trade up to 11:45am)(majority of winning trades
Hi, I want you to create an EA based off prev high and low strategy by Wondafx (can search trader on youtube). The EA must have a positive equity curve. Losing streaks are fine. But overall in a year it must be profitable. Indicator: prev day high and low from Electrified on Tradingview Strategy Stop hunt dotted lines: 7am to 10am Trading time: 9:45am to 10:45am (can trade up to 11:45am)(majority of winning trades
FOREX JUNGLE 30 - 40 USD
i want a forex trading robot which trades on XAUUSD AND EURUSD which doesnt trade news, starts from 40$ account and which can open trade and closes it and takes anotherone , and can trade all market conditions with a good SL and TP Trend (EMA, structure) Momentum (RSI, MACD) Volatility (ATR) Price Action Volume and session behavio
I have an existing MT5 EA (MQ5 source file provided) that trades based on horizontal lines placed on the chart. The EA works perfectly on a normal MT5 terminal, but it does not work on MT5 VPS because VPS does not render chart objects. I need a developer to modify the EA with the following requirements: 1. Make the EA fully compatible with MT5 VPS The EA currently depends on visible horizontal lines on the chart to
I need a strategy that uses a high and low of a given candle when the new york session open. We wait for a breakout and an FVG to form. The candle that breaks out then waits for an engulfing and we get into a trade. I will provide the whole video of the strategy. The main components are FVG, breakout and engulfing
I look for a successful scalping guy to coach/help me to success my 2 challenges of prop funded account in scalping with respect of rules of prop firm price is negotiable in accordance or conformity with the results obtained I am in GMT+8 with flexibles hours Please note that the capacity to be successful on scalping with : - no gambling method, - no high frequency trades, - no hedge, - number of lots < 40 lots and
I have created a strategy scri pt from scratch to create . BET EMA-SMA Cross + ATR + ADX — Coder Specification Purpose: Production-ready specification for implementing an automated trading strategy on Gold futures using Renko 3-tick bricks, run from Tokyo open → first 4 hours of London (≈12 hours). Includes improved filters, trailing stop, partial profit, session handling and test/reporting requirements
Complete Trading Strategy Summary for XAUUSD (Gold) I want make a trading EA using MQL5 code I want to run that in MT5 A. Initial Setup & Order Placement Symbol: XAUUSD / XAUUSDm / XAUUSDc On EA Start: Calculate and place two pending orders: BUY STOP: Price = Ask + 0.125 | Lot Size = 0.01 SELL STOP: Price = Bid - 0.125 | Lot Size = 0.01 Magic Number: The EA will use a unique identifier to manage only its own trades
Hello Programmers, I am looking for a professional programmer that can be able to build an EA with the features of being able to take bids in microseconds towards a correct direction and TP accurately with good account management features. The EA will identify trend based on the picture using the extreme of the prices at the TOP or BOTTOM positions. The BOTTOM extreme will result in a BUY DECISION and a TOP extreme
Project Title: Upgrade MT5 CatBoost “Angle MA 3” EA – Semi Self-Learning System + Prop Firm Risk Control + Python Model Retraining Project Description: This project upgrades an existing MT5 EA using MA-angle-based features and CatBoost ML models. The goal is to add a semi-automatic self-learning pipeline, a Prop Firm risk control module, and a simplified Python retraining system. Scope of Work 1. EA Logging Module

Projektdetails

Budget
30+ USD