EA based on MA, vWap with Reverse Fractals or Stochastic Momentum Index

Specification

Dear Experts, the goal is an EA that trades with Moving Average, vWap and Reverse Fractals or Stochastic Momentum Index.

1. Concept

The idea of the trading system is as follows: market entries are performed when MA crossover, vWap Crossover, SMI and Fractals give Buy/Sell signals in the current trend direction. Trend given by Moving Average (MA1) and/or 2 MA Crossover (M2,M3) and/or vWap.


2. Trend

Trend is determined based on 4 options. Ability to choose only one or a combination of two or more. 

Option 1 – no trend condition is applyed
Option 2 – current price is above/below MA1 (simple, exponential, smoothed or linear weighted)
Option 3 - crossover of 2 Moving Averages (simple, exponential, smoothed or linear weighted) with the specified period. If the current MA2 value is greater than MA3, the trend is seen as growing (MA2>MA3). Alternatively, if MA2 is below MA3, the trend is considered to be falling (MA2<MA3).
Option 4.XX – if XX=0 current price is above/below vWap line, is an up/down trend.
If XX>0 – use last XX candles instead of current price, if last XX candles didn´t crossover the line, is a up/down trend

3. Trading Signals

MA Trading Signals
Buy/Sell signals represented with arrows on main chart, with option of changing color and size (turn off arrows option)
• Buy signal: current price crosses the MA1 upwards (additional Option XX. 0 - whenever current price crossover above MA1 line is a Buy signal, XX - if last xx candles are above the MA1 line and none didn´t crossover, is a Buy signal)
• Sell signal: current price crosses the MA1 downwards (additional Option XX. 0 - whenever current price crossover below MA1 line is a Sell signal, XX - if last xx candles are below the MA1 line and none didn´t crossover, is a Sell signal)

2 MA Crossover Trading Signals
Buy/Sell signals represented with arrows on main chart, with option of changing color and size (turn off arrows option)
• Buy signal: the MA2 line crosses the MA3 upwards
• Sell signal: the MA2 line crosses the MA3 downwards

vWap Trading Signals
Buy/Sell signals represented with arrows on main chart, with option of changing color and size (turn off arrows option)
• Buy signal: current price crosses the vWap upwards (additional Option XX. 0 - whenever current price crossover above vWap line is a Buy signal, XX - if last xx candles are above the vWap line and none didn´t crossover, is a Buy signal)
• Sell signal: current price crosses the vWap downwards (additional Option XX. 0 - whenever current price crossover below vWap line is a Sell signal, XX - if last xx candles are below the vWap line and none didn´t crossover, is a Sell signal)

Stochastic Momentum Index (SMI) Trading Signals
Indicator in attachment have 2 colors that change whenever signal crossover line and if signal period is >1. 
Option 1 – All Buy/Sell signals whenever crossover happens in either direction, ignoring neutral zone (Neutral Zone = SMI level lines)
Option 2 – All Buy/Sell signals whenever crossover happens in either direction, but below/above neutral zone. Whenever signal reenter neutral zone it resets and restart.
Option 3 – Only first Buy/Sell signal below/above neutral zone. Whenever signal reenter neutral zone it resets and restart.
Option 4 - All Sell signals above neutral zone but ignore all Buy signals above neutral zone. All Buy signals below neutral zone but ignore all Sell signals below neutral zone. Whenever signal reenter neutral zone it resets and restart.

Reversal Fractals Trading Signals
Indicator in attachment already display arrows on main timeframe chart
• Bullish arrows are Buy signals
• Bearish arrows are Sell signals

4. Positions closed 
• Opposite signals: all Buy positions are closed at Sell signals, and all Sell positions are closed at Buy signals.
• Same signals: all Buy positions are closed at Buy signals, and all Sell positions are closed at Sell signals.
• All signals: whenever a Buy or Sell signal occurs all past orders are closed.
• TP/SL or Trailing Stop Loss
• Equity Percentage (0-100%)
• Manual Close: EA continues to operate if manual close happened
• Option to set limit of closing last order or close all orders
• Option of applying only one condition or combining 2 or more of the above conditions i.e. an order can be closed either by Opposite signals, TP/SL and Equity Percentage, closing the order from which condition happens first.

5. Positions are opened 
• All signals: whenever a Buy signal occurs open Buy order. Whenever a Sell signal occurs open Sell order
• Same signal Bypass: If last open order is Buy and current signal is a Buy or if last open order is Sell and current signal is a Sell, ignore and open only when opposite signal occurs
• Opposite signals: Buy positions are open at Sell signals, and Sell positions are open at Buy signals.
• TP: if TP occurs, open order on same direction
• TP: if TP occurs, open order on reverse direction
• SL or Trailing Stop Loss: if SL or trailing Stop Loss occurs open order in opposite direction.
• SL or Trailing Stop Loss: if SL or trailing Stop Loss occurs open order in same direction.
• Manual Open: EA continues to operate if manual order is placed
• Option to set limit or no limit of total of open orders
• Option of only one condition or combining 2 or more of the above conditions i.e. an order can be opened combining All signals, TP and SL, opening the order from which condition happens first

6. Pending Orders
• Option to cancel based on time limit (sec or min). Pending order to be accepted in time limit, or if time expires cancel current pending order
• Option to retry pending order based on time limit (sec or min). Pending order to be accepted in time limit, or if time expires retry same order at new current price
• Option to set limit, or no limit, of total number of pending orders
• Option to cancel all pending orders when cancelling one pending order
• All option above in single mode or combination of 2 conditions or more 

7. Additional filters/conditions for opening and/or closing positions:
In order to make myself understood, I considered that the EA have 2 Sets of Open/Close Conditions. One set of conditions to Close orders and other set of conditions to Open orders. 
In each Set we can choose how we apply the Trend condition (Option 0, Option 1, Option 2 or Option 3, or merging 2 or 3 conditions simultaneously). Example choosing option 1 and option 3, the Open Orders set must only open if the current price is both up/below the MA1 and up/below the vWap line). Each Trend Option must be available for Open set, Close Set, none or both sets.
In each set of Open or Close conditions we can choose which indicator trading signals applies. One example of a simple combination could be only SMI trading signals to be used for both Open and Close orders Sets. Other example of combination could be to apply only SMI to Open conditions from and apply only Reversal Fractals to Close conditions and turn off any trading signals from MA, 2MA Crossover and vWap either for Open or Close conditions.

8. Magic Number
Magic number to sell and buy orders so we load the EA in multiple charts without problems

9. Spread filter 
XX or 0
• 0 means disable
• EA will not open new positions if the spread is more than the value XX

10. Money management

Open Orders Conditions
Use fixed lots: True Or false 
Fixed Lot: 0.01 (by default)
Use Percent: True or false
Lot Risk %: 2 (by default)
Use Amount: True or false
Amount (currency same of MQL5):

Close Orders Conditions
Equity Profit Type: Amount Or percent
Profit Value: 
Equity Loss Type: Amount or percent
Loss Value: 
    Actions On Trigger
Disable Trading: True or False. if true send email and mobile notification and the EA does not take any new positions
Close All Open Positions: True or false. True by default
Delete All Pending Orders: True or False. True by default

10. Notifications
Email Notification: True or false // if false EA will not send notification alert
Mobile Notification: True or False // if false EA will not send notification alert
email and notification alert for trading signal produced: True or false 
email and notification alert for open order: True or false 
email and notification alert for closed order: True or false 
email and notification alert for cancelled pending order: True or false 
email and notification alert for trading signal from indicator produced: True or false 
email and notification alert for drawdown
• alert when DD reached: 00 (0 means disable) value is in %. Example if set to 20 EA will send alert when the total drawdown reach 20%.

11.GMT Settings
GMT OFFSET: True or false
Offset Value: 2 default
(if gmt offset = true, trading hour= trading hour + offset value. if GMT offset = false, trading hour= trading hour)
  
12. Trading Hours
Trading Hours: True or False. False by default. (if true it opens new positions only during the specified hours in the specified days, if false it open positions 24/24)
Example: Monday Trading Hours: 0,1,22,23 (separated by comma, in this case the EA trades on monday from hour 0 to 1 and from 1 to 2 and from 22 to 23 and from 23 to 24, it opens positions only during these intervals)
Monday Trading Hours: 0,1,22,23
Tuesday Trading Hours: 0,1,22,23
Wednesday Trading Hours: 0,1,22,23
Thursday Trading Hours: 0,1,22,23 
Friday Trading Hours: 0,1,22,23 
Saturday Trading Hours: 0,1,22,23
Sunday Trading Hours: 0,1,22,23 
 
12. Friday Exit
Friday Exit: True or False (False by default)
a- Exit Hour: 22 by default
b- close All Open positions: True or False (true by default)
c- Delete All Pending Orders: True or False (true by default)
 
13. Display Panel
enable display panel : true/false // if false, EA will not display the panel on chart
display panel font size : xx // font size for text in display panel
display panel x,y : X,X // to place the position of the panel on the chart

display panel //this is the analytic that will load on the chart
Balance : xx
Equity : xx
current DD % : XX // display current drawdown in %
Total lots traded : xx // EA will sums up all lots size for all positions closed
Total buy lot open : xx // EA will only display total buy lots for open buy positions
Total sell lot open : xx // EA will only display total sell lots for open sell positions

14. Notes
Thanks in advance for any feedback/advice to make it run better or simplier if need be. 
EA must work on demo,real accounts and strategy tester for both.
EA must have a log to export trading history and/or errors, prefereably to excel.
EA must have a debugger.
EA must be compatible for 4 and 5 decimal brokers and all timeframes.
I need the .mql5 source script file not only the .exe, 
N.B: Before confirming the reception and the completion of the job, one or many trading strategies will be inserted in the MQL5 source code for testing purposes, but the coder must provide the source code empty of any trading strategy.

Files:

TXT
MQL5_EA.txt
10.9 Kb

Responded

1
Developer 1
Rating
(28)
Projects
47
23%
Arbitration
13
31% / 15%
Overdue
12
26%
Free
2
Developer 2
Rating
(137)
Projects
167
35%
Arbitration
11
91% / 0%
Overdue
0
Free
3
Developer 3
Rating
(214)
Projects
241
75%
Arbitration
10
80% / 0%
Overdue
4
2%
Working
4
Developer 4
Rating
(566)
Projects
639
41%
Arbitration
21
57% / 29%
Overdue
45
7%
Loaded
5
Developer 5
Rating
(262)
Projects
536
50%
Arbitration
54
41% / 37%
Overdue
224
42%
Working
6
Developer 6
Rating
(66)
Projects
143
34%
Arbitration
11
9% / 55%
Overdue
26
18%
Working
Similar orders
Hello there! the logic is simple, open XAUUSD M5 chart and measure recent high low (Swings) and place buy and sell stop that's it. I will help you with some materials
ETF arbitrage robot 30 - 50 USD
👋 Hey Great Developer, can you help me with my project did you trading bot for ETF that ES and NQ futures If you have recent one so i can check it I will be looking for great developer to bid for this project
Hi, I'm looking for developer can modify entry logic for my existing EAs with source code.There is some minor fixes need to be done on the hedge strategy and trailing stop.All the details about the changes explained in attached document.Please take your time to read thru.Thanks
I'm in need of an experienced Meta 4 expert who can solve two specific problems and improve the current Martingale and Pyramid strategies within my EA. - Bug Fix: The EA is currently facing an issue where orders are not being executed correctly. This is causing a signal matching error and leading to potential losses. The primary task is to resolve this bug and ensure the EA executes trades accurately and as intended
ultra simple to use and 100% automated EA, you just need to drag it onto the chart XAUUSD M10 and indicate the percentage of risk you wish to take per trade. The EA uses a stop loss on each trade to secure all trades for maximum account security. EA does not use risky strategies, grids or martingales. Very profitable to use, and also have capability for copy trading. i am open to an exsiting Bot as long as it meets
I need an experienced developer who can turn my simply strategy to an EA on MT5 and MT4, will be using two EMAs and MACD and a risk management setting, please message me on time so we start work on it, waiting for you
I am looking for an EA that allows you to make profits every month. For this, before buying, I would like to have a history over more than one year to see how the EA behaves. I don't know if you're selling EAs that are already ready for use
I need to resolve some bugs that my indicator presents and pass it to mql5 The task will be done alone and only through anydesk, it is my way of working, if you do not have a problem with it, write to me privately to start working
I need a developer that can turn my strategy to an EA, We will be using Fib, some indicators and a risk management settings, please message me on time so we start work on it, waiting for you
I want a simple mt4 EA that monitors existing positions for TP and SL changes. If a new position is placed, it should automatically set the SL and TP based on the already open orders. Additionally, if I change the SL or TP of one order, it should also change the SL or TP of all the other orders accordingly. I will only be using this EA on one pair, of course

Project information

Budget
70 - 100 USD
VAT (23%): 16.1 - 23 USD
Total: 86.1 - 123 USD
For the developer
63 - 90 USD
Deadline
from 5 to 10 day(s)