Hello,
I would like you to create EA executes a trade when the following three indicators agree:
1. Buy above VWAP line when Candlesticks cross and Sell below VWAP line when candlestick cross below the VWAP Line
a. It draws daily VWAP line with standard deviation lines, but you can also add weekly VWAP line .
b. VWAP line works on all timeframes
c. VWAP line has the following standard deviation lines: 0.5 1 2 3.
d. Start drawing the VWAP Line from a specific time of the day.
e. Alert when one of the VWAP Line standard deviation is touched.
AND
2. 2nd it must confirm execution of trade using MACD Crossover strategy
a. MACD crossover as an 2nd entry indicator
i. Entry signal is when the MACD line crosses over the signal line in the direction of the trend.
ii. A bullish signal is present when the MACD line crosses ABOVE the signal line and is below the zero line. When the crossover takes place, EA must confirm upward trend by waiting for the MACD line to cross over the zero line before opening a long position.
iii. Likewise, a bearish signal is present when the MACD line crosses BELOW the signal line and is above the zero line. Once again, confirmation can be seen when the MACD line crosses below the zero line.
AND
3. When confirmed by the MACD Zero Lag.
When the MACD zero lag line crosses over the signal: a buy signal can be generated.
When the MACD zero lag crosses under the signal line: a sell signal can be generated.
4. When all indicators agree a trade will be executed.
5. Lot Size Selection: 1/2
(a) Lots 1: Manual Entry 0.01
(b) Lots 2: % of balance
6. Using MQL4
7. Must include:
- Checks that will help to prevent a possible errors
-All of the algorithm "bottlenecks" should be exhaustively thought out and accurately processed
-The Expert Advisor should be able to restore its normal work after a temporary disconnection, reconnection to the account, or a reset of the client terminal.-
-If you can not set the pending or stop orders, they need to be tracked virtually, and when the price of their levels is reached, executed on the market price.
-If you can not open position on the market prices within N attempts, the maximum allowable slippage should be increased.
-At the triggering of a pending or stop order, by a level, not provided by the algorithm, and with slippage (eg, with a price gap), the levels of all of the dependent orders should be adjusted (and, perhaps, even their volumes).
-All functions that operate on the size of the deposit (for example, the calculation of the lot), should normally accept non-trade operations with a balance (balance or withdrawal).
-The Expert Advisor should work fine with different brokers, take into account the list of available instruments, their specifications, and other server settings (the maximum number of pending orders, the Stop Out levels, the opportunity to open the positions/orders in opposite directions (for MetaTrader 4 only), and so on)
8. Should work on all charts but optimized for GBPUSD