Minimal Take Profit (Expert Adviser needs to decide to open and close trades based on immediate past currency prices)

MQL4 Experts

Trabalho concluído

Tempo de execução 18 dias
Comentário do desenvolvedor
Thanks Bisenti, it's been a pleasure to work with you.
Comentário do cliente
Great work!

Termos de Referência

I am new to Forex trading and not familiar with the Jargon and principles but this is what I have in mind which I will explain the best I can...

 

A trade opens with both a Buy (B) and  Sell (S) Order Price (OP) at an either automated or Manually set Time (T), The Periodicity (P) is set to say, 5 Minutes to check the current Currency Price (CP) every 5 Minutes. The Currency Price (CP) at 5 minutes is compared with the order price of both Buy and Sell orders. If the Currency Price (CP) is greater than the Order Price (OP) then the system continues with the Buy order and closes off the Sell order. If the Currency price is less than the Order Price (OP), then the system continues with the Sell and closes of the Buy Order (B).

 

Buy

 

Let’s Say the CP (at T+P) is greater than the OP, then the Sell will be closed off with a loss of (L = CP - OP), the Buy stays open because the Currency Price (CP) is greater than the Order Price (OP). This process has shown us in which direction the order is moving, upwards.

 

The System saves the New Price (NP), which is the Currency Price (CP) at Time (T). At time (T = T+2P), the system again compares the Currency Price (CP) with the New Price (NP) and if the CP is greater than NP, then CP becomes the new NP. At time (T = T+3P), the system will again compare the Currency Price (CP) with the New Price (NP) and again, if CP is greater the NP, then CP becomes the new NP. This process repeats itself until NP is greater than CP and at this Closing Price (ClP), the System closes the order to take whatever profit has been made and at the same time, opening a New Buy (B) and Sell (S) order at a new Order Price (OP) to begin the process again.

 

Sell

 

Let’s Say the CP (at T+P) is Less than the OP, then the Buy will be closed off with a loss of (L = OP - CP), the Sell stays open because the Currency Price (CP) is less than the Order Price (OP). This process has shown us in which direction the order is moving, downwards.

 

The System saves the New Price (NP), which is the Currency Price (CP) at Time (T). At time (T = T+2P), the system again compares the Currency Price (CP) with the New Price (NP) and if the CP is less than NP, then CP becomes the new NP. At time (T = T+3P), the system will again compare the Currency Price (CP) with the New Price (NP) and again, if CP is less the NP, then CP becomes the new NP. This process repeats itself until NP is less than CP and at this Closing Price (ClP), the System closes the order to take whatever profit has been made and at the same time, opening a New Buy (B) and Sell (S) order at a new Order Price (OP) to begin the process again.

 

This Entire Process is recurring and the logic applies to both the Sell and Buy orders. The actual profit of a trade would be the difference between the Order Price (OP) and Closing Price (ClP) minus the loss (L).

Please find attached an illustration to further clarify my explanation.

Arquivos anexados:

ZIP
fxAlgorithm.zip
275.8 Kb

Respondido

1
Desenvolvedor 1
Classificação
(8)
Projetos
10
40%
Arbitragem
7
14% / 86%
Expirado
4
40%
Livre
2
Desenvolvedor 2
Classificação
(468)
Projetos
703
56%
Arbitragem
45
29% / 31%
Expirado
115
16%
Trabalhando
3
Desenvolvedor 3
Classificação
(128)
Projetos
206
49%
Arbitragem
29
28% / 48%
Expirado
33
16%
Livre
4
Desenvolvedor 4
Classificação
(128)
Projetos
236
65%
Arbitragem
30
37% / 23%
Expirado
49
21%
Livre
5
Desenvolvedor 5
Classificação
(49)
Projetos
134
27%
Arbitragem
62
13% / 53%
Expirado
58
43%
Livre
6
Desenvolvedor 6
Classificação
(15)
Projetos
68
46%
Arbitragem
6
0% / 100%
Expirado
6
9%
Livre
7
Desenvolvedor 7
Classificação
(1235)
Projetos
2820
80%
Arbitragem
156
22% / 43%
Expirado
488
17%
Livre
8
Desenvolvedor 8
Classificação
(30)
Projetos
93
49%
Arbitragem
18
56% / 17%
Expirado
38
41%
Livre
9
Desenvolvedor 9
Classificação
(48)
Projetos
91
31%
Arbitragem
28
29% / 43%
Expirado
42
46%
Livre
10
Desenvolvedor 10
Classificação
(266)
Projetos
540
50%
Arbitragem
55
40% / 36%
Expirado
224
41%
Trabalhando
11
Desenvolvedor 11
Classificação
(187)
Projetos
367
56%
Arbitragem
45
22% / 56%
Expirado
188
51%
Livre
12
Desenvolvedor 12
Classificação
(3)
Projetos
6
17%
Arbitragem
1
100% / 0%
Expirado
0
Livre
13
Desenvolvedor 13
Classificação
(71)
Projetos
254
53%
Arbitragem
16
50% / 38%
Expirado
83
33%
Livre
14
Desenvolvedor 14
Classificação
(18)
Projetos
21
38%
Arbitragem
17
0% / 88%
Expirado
2
10%
Livre
Pedidos semelhantes
Mobile robot 50 - 100 USD
I want a profitable scalping EA robot for mt5 and mobile phones (licence key should be provided).the video link attached below indicates how the EA robot should operate it.it analyses the market before taking trades and it trades candle to candle .also coding samples are provided on the video .it should be applicable to all timeframes.it should trade indices(Nas100,US30,S&p500,GER30,)
I use the translator I hope to make myself understood. I'm looking for a cyclical indicator. mt5. I attach videos to understand how it works. to be inserted at any point of the graph. It is possible to change the color and thickness of the line
This EA must have the following functions together: BE: place BE when the price reach a certain gain in PIPS and you can choose the offset too, so, for example it activates after 10 pips with 1 pip of offset so you can have profit with BE too Auto SL and TP Can manage the trades made by phone when MT5 is open in the PC or VPS Trailing stop (step by step): I can decide at what number of pips the trailing stop get
This is a strategy based on crossing two trend indicators on the second timeframe (1s, for example). We work not only with the market but with the limit orders as well (robot must "read" an order book). Read the whole instruction please for more details. Speak Russian, English
Martingale EA for MT5 30 - 100 USD
Criteria: Only one trade at a time. Cannot open another trade if one is running Trade on EURUSD only, once job is completed I will be happy to schedule more for other pairs You choose entry strategy and criteria win rate must be above 50% in long term backtest of EURUSD Every trade has got TP and SL Trades to last about a day, few trades a week, at least 10 pips gain per trade, so that it can be launched on normal
I have a indicator, mql file. The signals are seen below on a EURNZD H1 chart. Very important to get accurate entries. The signal to trade is the first tic after the the indicator signal paints. I've tried to demonstrate that below. Other than that the EA will have a lot size escalation, an on-screen pip counter, a button to stop taking new trades, SL/TP, and magic number. I would like the indicator to be within the
I would like to create an EA based on the Shved Supply and Demand indicator. you can find the Shved Supply and Demand v1.7 indicator in the following link https://www.mql5.com/en/code/29395 NB: Checks the trading robot must pass before publication in the Market ( https://www.mql5.com/en/articles/2555 ) MQ5 file to be provided
Im looking for an coder to code an EA: Trade management 1. opening trades according to the indicator 2. trades settings to choose from like: open all trades according to the signal open only trade 1,2,3 or 4 % per trade ( example 50/30/20 of the lot settings, with 4 trades it would be for example 50/30/10/10) 3. SL/Trailing settings: Move SL to entry after hitting TP1/TP2 or TP3 moving SL by % keep the original SL
Hi I'm looking to have 2 of my pinescript strategies converted to MQL5 and was wondering if you could first give me a quote for the more simple strategy and then for both the simple and complex strategy together. The simple strategy is a MACD crossover type thing that uses a special EMA script that filters out some ranging price action and also fractal candles for the stop loss. The second strategy is market
I want grate robot for making profits that know when to start a good trade and close a trade and must be active all time to avoid lost of money

Informações sobre o projeto

Orçamento
100 - 200 USD
Desenvolvedor
90 - 180 USD