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

MQL4 Esperti

Lavoro terminato

Tempo di esecuzione 18 giorni
Feedback del dipendente
Thanks Bisenti, it's been a pleasure to work with you.
Feedback del cliente
Great work!

Specifiche

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.

File:

ZIP
fxAlgorithm.zip
275.8 Kb

Con risposta

1
Sviluppatore 1
Valutazioni
(8)
Progetti
10
40%
Arbitraggio
7
14% / 86%
In ritardo
4
40%
Gratuito
2
Sviluppatore 2
Valutazioni
(461)
Progetti
688
56%
Arbitraggio
43
30% / 33%
In ritardo
110
16%
In elaborazione
3
Sviluppatore 3
Valutazioni
(128)
Progetti
206
49%
Arbitraggio
29
28% / 48%
In ritardo
33
16%
Gratuito
4
Sviluppatore 4
Valutazioni
(128)
Progetti
236
65%
Arbitraggio
30
37% / 23%
In ritardo
49
21%
Gratuito
5
Sviluppatore 5
Valutazioni
(49)
Progetti
134
27%
Arbitraggio
62
13% / 53%
In ritardo
58
43%
Gratuito
6
Sviluppatore 6
Valutazioni
(15)
Progetti
68
46%
Arbitraggio
6
0% / 100%
In ritardo
6
9%
Gratuito
7
Sviluppatore 7
Valutazioni
(1235)
Progetti
2820
80%
Arbitraggio
156
22% / 43%
In ritardo
489
17%
Gratuito
8
Sviluppatore 8
Valutazioni
(30)
Progetti
93
49%
Arbitraggio
18
56% / 17%
In ritardo
38
41%
Gratuito
9
Sviluppatore 9
Valutazioni
(48)
Progetti
91
31%
Arbitraggio
28
29% / 43%
In ritardo
42
46%
Gratuito
10
Sviluppatore 10
Valutazioni
(261)
Progetti
535
50%
Arbitraggio
54
41% / 37%
In ritardo
224
42%
In elaborazione
11
Sviluppatore 11
Valutazioni
(187)
Progetti
367
56%
Arbitraggio
45
22% / 56%
In ritardo
188
51%
Gratuito
12
Sviluppatore 12
Valutazioni
(3)
Progetti
6
17%
Arbitraggio
1
100% / 0%
In ritardo
0
Gratuito
13
Sviluppatore 13
Valutazioni
(71)
Progetti
254
53%
Arbitraggio
16
50% / 38%
In ritardo
83
33%
Gratuito
14
Sviluppatore 14
Valutazioni
(18)
Progetti
21
38%
Arbitraggio
17
0% / 88%
In ritardo
2
10%
Gratuito
Ordini simili
Hello, I would like you to help me develop a simple Expert Advisor (EA) for trading the Boom and Crash markets. All the project requirements is available with me . kindly bid if you can develop EA for boom and out crash . Thanks
Hello, I am looking for an programmer to convert a TradingView strategy pine script to MT5 EA auto trade bot. The indicator is based on the FVG/Imbalance (Pine script will be provided) The MT5 EA must return 100% the same results as TradingView script The MT5 EA must include the same options as TradingView The MT5 EA must be errors free
Project Overview: We are seeking an experienced developer to create a custom Copy Trading Expert Advisor (EA) that supports two-way communication between MetaTrader 4 (MT4), MetaTrader 5 (MT5), and cTrader trading terminals. The EA should enable seamless copying of trades from one account to another, incorporating additional settings for flexibility and customization. The project will involve developing a DLL
I am currently seeking the expertise of a skilled MQL5 developer to assist with a custom trading bot project tailored to specific requirements. The project entails the development of a versatile trading bot capable of implementing both manual and automated strategies, with flexibility to switch between strategies seamlessly. Additionally, the bot should be designed to convert profits automatically into USDT, allowing
PRESQUE PAREIL QUE L’AUTRE ROBOT AVEC QUELQUE PETIT CHANGEMENT. IL N’Y AURA PLUS DE SL; SI TU PEUX M’ENVOYER TON MAIL, JE T’ENVOIE LE DOCUMENT QUI EXPLIQUE LE MODELES DU ROBOT QUE JE VEUX. @page { size: 8.27in 11.69in; margin: 0.79in } p { line-height: 115%; margin-bottom: 0.1in; background: transparent }
Mt4 EA 30+ USD
Would it be possible to get a reasonable quote for an MT4 EA with multiple trade entry criteria. With the help of chatgpt I've got a code that compiles without errors or warnings that I have attached in a zip file, it is simply not taking valid trade signals. Not sure if it's of any use to you or if it's better to start from scratch. talk soon
I would like a Forex trading robot for MT5. The market entry signal is based on a TradingView Indicator (I will provide the name of which one), and the robot should execute Buy or Sell trades based on the Buy/Sell alerts that this indicator provides. The TradingView Pine Script is open source, so it will be available for you to see. Closing of positions is done by the SL, TP. The lot size is calculated as a
I trade in future indices of a Brazilian brokerage via MT5 and would like to import the data of another future index (djia future - which does not exist at the brokerage where I operate) into a new window, showing its price and volume variations in the shortest possible time. This new Symbol should also have the capability to be displayed in candlestick mode and adjustments in its timeframe. I will use an indicator
I have an EA with the sourse code but instead of using an FX blue copier to invert the trades i want the EA to reverse its Strategy. For example if the EA wants to buy it will sell. And the stop loss and take profit will be inverted also
Hi I'm looking for a developer who can improve on an existing basic EA that isn't quite working correctly due to a lack of comprehension from the previous coder on the logic. It's a hedging system that trades in the opposite direction to a bad entry by entering every x pips until the average of all the bad trades and the good trades are in profit. It then closes all of them at the same point which is in profit by x

Informazioni sul progetto

Budget
100 - 200 USD
Per lo sviluppatore
90 - 180 USD