Simple EA for MT4 (using MACD, EMA and martingale)

MQL4 Experts Design

Trabalho concluído

Tempo de execução 12 dias

Termos de Referência

1. Entry Signals
BUY SIGNAL: 1. price above EMA. 2. MACD line crosses the signal line from below, the cross happens below the zero line. 
SELL SIGNAL: 1. price below EMA. 2. MACD line crosses the signal line from above, the cross happens above the zero line. 

2. Trade examples
BUY ORDER EXAMPLE: Buy order is placed as per entry rules above.The first order is placed for 0.1 lots (also place a Stop Loss at 29 pips and a Take Profit at 30 pips). At the same time a Sell Stop order for 0.2 lots is placed 30 pips below the original order opening price with a 29 pip SL and 30 pip TP. If the first position hits SL and second order is triggered, place a Buy Stop order 30 pips above the new order for 0.4 lots. Etc… The  order sizes will be 0.1/ 0.2/ 0.4/ 0.8/ 1.6/etc… until Take Profit is hit.
If the stop loss is hit and the new order has not been triggered because price has reversed, place a new order on the opposite side, where price is now headed towards (in this situation there will be  both a buy stop and sell stop order set up for the same lot size).

SELL ORDER EXAMPLE: Sell order is placed as per entry rules above.The first order is placed for 0.1 lots (also place a Stop Loss at 29 pips and a Take Profit at 30 pips). At the same time a Buy Stop order for 0.2 lots is placed 30 pips above the original order opening price with a 29 pip SL and 30 pip TP. If the first position hits SL and second order is triggered, place a Sell Stop order 30 pips below the new order for 0.4 lots. Etc… The  order sizes will be 0.1/ 0.2/ 0.4/ 0.8/ 1.6/etc… until Take Profit is hit.
If the stop loss is hit and the new order has not been triggered because price has reversed, place a new order on the opposite side, where price is now headed towards (in this situation there will be  both a buy stop and sell stop order set up for the same lot size).

3. Order quantity
Only 1 order per currency pair can be open at the same time. Once the sequence of trade multiplication described above starts, the MACD & EMA entry signals are ignored until the sequence ends with a take profit. Then the EA waits for a new entry signal.

4. Parameters ahat need to be adjustable

EMA
MACD
The original lot size
Take Profit
Stop Loss
Distance from the Stop Loss to the new order
Lot multiplication factor for new trades

5. Please add anyything found in a typical EA that I have not mentioned.

Arquivos anexados:

Respondido

1
Desenvolvedor 1
Classificação
(378)
Projetos
401
31%
Arbitragem
63
19% / 68%
Expirado
51
13%
Carregado
2
Desenvolvedor 2
Classificação
(2)
Projetos
3
67%
Arbitragem
0
Expirado
0
Livre
3
Desenvolvedor 3
Classificação
(24)
Projetos
28
32%
Arbitragem
1
0% / 0%
Expirado
0
Livre
4
Desenvolvedor 4
Classificação
(1)
Projetos
1
0%
Arbitragem
0
Expirado
0
Livre
5
Desenvolvedor 5
Classificação
(19)
Projetos
35
26%
Arbitragem
10
30% / 70%
Expirado
5
14%
Livre
Pedidos semelhantes
We are looking for an experienced MQL5 developer to create a custom drawing tool for MetaTrader 5. The tool should include the following functionalities: - Creation of 4 equally spaced horizontal lines on the chart. - A trend-line that measures the price movement. - Interactive buttons to control the drawing of these objects. - The tool should be user-friendly and efficiently handle chart events. **Requirements:** -
Hi, I need to automate the supertrend indicator on ctrader with partial tp and sl. I already have a sort of script (without tp and sl) but when I go to compile it gives me an error. would you be able to make it work by adding the partial tp and sl
I need help for my auto trading with Futures using ThinkorSwim platform. I have a thinkscript I use to Buy and Sell futures. Currently I use these scripts and display on the chart (vertical line). Once I see the vertical line on the chart, I do the Buy/Sell. I want to automate this in TOS
I would like to find someone who has already created a trading robot before. Im also looking for someone who can creat a bot that goes with time and structure

Informações sobre o projeto

Orçamento
30 - 40 USD
Desenvolvedor
27 - 36 USD