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

MQL4 Experts

Tâche terminée

Temps d'exécution 18 jours
Commentaires de l'employé
Thanks Bisenti, it's been a pleasure to work with you.
Commentaires du client
Great work!

Spécifications

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.

Dossiers :

ZIP
fxAlgorithm.zip
275.8 Kb

Répondu

1
Développeur 1
Évaluation
(8)
Projets
10
40%
Arbitrage
7
14% / 86%
En retard
4
40%
Gratuit
2
Développeur 2
Évaluation
(467)
Projets
701
56%
Arbitrage
44
30% / 32%
En retard
114
16%
Travail
3
Développeur 3
Évaluation
(128)
Projets
206
49%
Arbitrage
29
28% / 48%
En retard
33
16%
Gratuit
4
Développeur 4
Évaluation
(128)
Projets
236
65%
Arbitrage
30
37% / 23%
En retard
49
21%
Gratuit
5
Développeur 5
Évaluation
(49)
Projets
134
27%
Arbitrage
62
13% / 53%
En retard
58
43%
Gratuit
6
Développeur 6
Évaluation
(15)
Projets
68
46%
Arbitrage
6
0% / 100%
En retard
6
9%
Gratuit
7
Développeur 7
Évaluation
(1235)
Projets
2820
80%
Arbitrage
156
22% / 43%
En retard
488
17%
Gratuit
8
Développeur 8
Évaluation
(30)
Projets
93
49%
Arbitrage
18
56% / 17%
En retard
38
41%
Gratuit
9
Développeur 9
Évaluation
(48)
Projets
91
31%
Arbitrage
28
29% / 43%
En retard
42
46%
Gratuit
10
Développeur 10
Évaluation
(266)
Projets
540
50%
Arbitrage
55
40% / 36%
En retard
224
41%
Gratuit
11
Développeur 11
Évaluation
(187)
Projets
367
56%
Arbitrage
45
22% / 56%
En retard
188
51%
Gratuit
12
Développeur 12
Évaluation
(3)
Projets
6
17%
Arbitrage
1
100% / 0%
En retard
0
Gratuit
13
Développeur 13
Évaluation
(71)
Projets
254
53%
Arbitrage
16
50% / 38%
En retard
83
33%
Gratuit
14
Développeur 14
Évaluation
(18)
Projets
21
38%
Arbitrage
17
0% / 88%
En retard
2
10%
Gratuit
Commandes similaires
Creating of an expert advisor or trading bot that uses a Top Down analysis (using monthly, weekly, daily, hourly, minutes ( 30, 15, 5, 1) to determine trade direction or trend direction and makes multiple trade decisions for mt4. You can use or combine accurate trend indicators
Hello The EA will work on particular zone choose by the user and can mark it on any TF and with some rules can open trades and mange the trade by some unique rules. the EA need to check the difference by RSI as well and with some extra rules . developer should have good attitude and good communication (englsih) with high performence and knowledge with coding EA
I am looking forward to automate my trading strategy where I use renko bars on Tradingview. I really want to use unirenkos too, but unfortunately I couldn't figure out how to use ninjatrader on my MacBook and Tradingview does not offer unirenkos. As far as I see from your offered services you are very familiar with ninjatrader. I wanted to ask you if you could code me an Indicator for unirenkos for Tradingview so I
I am looking forward to automate my trading strategy where I use renko bars on Tradingview. I really want to use unirenkos too, but unfortunately I couldn't figure out how to use ninjatrader on my MacBook and Tradingview does not offer unirenkos. As far as I see from your offered services you are very familiar with ninjatrader. I wanted to ask you if you could code me an Indicator for unirenkos for Tradingview so I
Hello The EA will work on particular zone choose by the user and can mark it on any TF and with some rules can open trades and mange the trade by some unique rules. the EA need to check the difference by RSI as well and with some extra rules . developer should have good attitude and good communication (englsih) with high performence and knowledge with coding EA
Hello, I want to create an EA that can be able to take and optimise trade bids using the trend tracker concept I have developed. The tracker will monitor 2 lines to determine the trend of the market and afterwards take bids towards the correct direction. It will also be able to use a distance between the bids for the direction of the trend and plan a reverse bid when the price of the extreme doesn’t change again. The
Gradient boosting and L2 100 - 200 USD
I am looking for a well experienced programmer to put/implement a gradient boosting algorithm and an L2 to reduce overfitting in my ea which l already have which uses indicators . If you are experienced please adhere
Hello, I'm looking for a developer for repair calendar in EA MT4/MT5 (News Filter - https://ec.forexprostools.com ) for all windows servers. Note: EA MT4/MT5 works with calendar on PC Win 10, 11 but not on all windows servers. I have the source code and will post within the comments section for review. If you are able to do this and quality. Please apply. Thanks
Create mt4 ea 50+ USD
To convert the provided MT4 indicator script into an Expert Advisor (EA) and implement prompt functionality for user input, we need to modify the code to handle external parameters and provide a user-friendly interface. Below is the EA code that incorporates prompts for user inputs
SCALP MARTINCALE SPY TIMEFRAME 1MIN CANDLE - SHORT SIDE ONLY 1-SET RISK : A IS A VARIABLE (HOW MUCH $) 2-SET ATR(3) : SET THE TIME AT WHICH THE ATR SHOULD BE TAKEN, IF SET 933AM THEN THE ATR OF THE 1MIN CANDLE AT 933AM CANDLE WILL BE USED (ROUND AT 0.25 UP OR DOWN) *USE NEW YORK TIME 3-SET MAX NUMBER OF ENTRY : B IS A VARIABLE 4-SET RSI(14) / C IS A VARIABLE, IF RSI(14) > C = ORDERS OPEN 5-IF RSI(14) > C IS TRIGGERED

Informations sur le projet

Budget
100 - 200 USD
Pour le développeur
90 - 180 USD