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

Trabalho concluído

Tempo de execução 14 dias

Termos de Referência

Dear Experts, the goal is an EA that trades with Moving Average, vWap and/or Reverse Fractals and/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 simpler 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, preferably 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.

Arquivos anexados:

TXT
MQL5_EA.txt
10.9 Kb

Respondido

1
Desenvolvedor 1
Classificação
(34)
Projetos
48
21%
Arbitragem
6
83% / 17%
Expirado
8
17%
Livre
2
Desenvolvedor 2
Classificação
(4)
Projetos
5
20%
Arbitragem
0
Expirado
0
Livre
3
Desenvolvedor 3
Classificação
(3)
Projetos
3
0%
Arbitragem
2
50% / 50%
Expirado
0
Livre
4
Desenvolvedor 4
Classificação
(343)
Projetos
362
70%
Arbitragem
4
100% / 0%
Expirado
0
Carregado
5
Desenvolvedor 5
Classificação
(266)
Projetos
540
50%
Arbitragem
55
40% / 36%
Expirado
224
41%
Livre
6
Desenvolvedor 6
Classificação
(14)
Projetos
19
11%
Arbitragem
1
0% / 100%
Expirado
5
26%
Livre
7
Desenvolvedor 7
Classificação
(71)
Projetos
97
43%
Arbitragem
2
50% / 0%
Expirado
2
2%
Livre
8
Desenvolvedor 8
Classificação
(77)
Projetos
131
50%
Arbitragem
5
80% / 0%
Expirado
6
5%
Livre
9
Desenvolvedor 9
Classificação
(42)
Projetos
88
14%
Arbitragem
30
30% / 53%
Expirado
36
41%
Trabalhando
Pedidos semelhantes
I need a simple panel to execute both buy and sell operations with very basic things like stopp loss take profit that functions for both market orders such as buy stop sell stop buy limit sell limit I don't care about colors or design I just want how you can do it what interests me most are the functions
I am writing to inquire about the possibility of porting a simple project from MQL5 to Quantower using C#. The project in question includes a panel with a button that draws a rectangle on the chart. This rectangle can be freely dragged around the chart area. Additionally, the panel contains two editable fields, X and Y, which display the position of the rectangle. As the rectangle is dragged across the chart, the X
Hi I am looking for some developer, who can develop WebPage which can display my open trades position, Trade History and Live Bid/Ask of my Watchlist. Frontend web app for customers/clients where they can login and see (Account info, Watchlist, Positions, History) Control Panel to create users and map user emails to MT5 account numbers etc
I am interested in creating an EA, I already have the code but I need someone who can debug it make it more greater look more into the strategy and put more strategy modification and modeling and optimization to make it great also at same time debug it
Need to get a Trade Assistant Panel for trading with RR tool, partial closures, move to breakeven, different types of orders (Sell Stop, Sell Limit, Buy Stop, Buy Limit)... I don´t need the panel from scratch. If you have one you can send me images or examples and I can tell you what you have to change
hi. I hv a strategy on tradingview need to convert to mt4/mt5 expert advisor for algo trading. would like to add some tradingview strategy setting to the mt4/mt5 EA(not included in my tradingview source code): recalculate after order is filled, order size: xx% of equity
Hey greetings. Am in need of a tradingview developer that can add a simple alert to my existing tradingview indicator with a simple conditions. Kindly bid for the project if it is what you can do for me and let proceed
Looking for a programmer to code EA for Buy Stop/Sell Stop HFT Trading designed for Ger40 EA must be able to trade on live account and Dll must be used for EA speed slippage control and spread filter
i want a forex robot that will read chats and enter trades on its oown. i want it to be able to use all trading strategies and partterns. good risky manegmemt, i want it to forcuse on Gold and and all major forex pairs. i want it to use stop loses and take profits as the market might change direction anytime. i want to work on both mt5 and mt4
I want to make something automatic which EMA will automatically trade in my account. For this I want to make a simple robot I want to get this made automatically on a simple EMA

Informações sobre o projeto

Orçamento
87 - 123 USD
IVA (23%): 20.01 - 28.29 USD
Total: 107.01 - 151.29 USD
Desenvolvedor
78.3 - 110.7 USD
Prazo
de 5 para 10 dias