Compare open with close

MQL5 Experts

Job finished

Execution time 2 days

Specification

I am looking for the following EA working on MT4 and MT5.



1-Working for all intervals

2-If close is higher than open , then next day buy

3-If close is less than open , then next day sell

4- set a TP and SL and parameter called repetition (REP) 

4-For open position , need to have the option of opening the position exactly at the day opening price , or after exactly one hour from the opening time .

5-For sure . Saturday and Sunday , no position should be opened .

6-For closing the position, need to 

A-If the TP achieved , then close the position .and the new day position should be with the same original size .

B-If SL achieved , need to open and opposite position and close the opened one and  then   to calculate the loses and new position with a size to cover the loses and get the needed profit from the original deal 

As an example :EURUSD buy position with 50 pips TP and 50 SL with 0.1 size ,this deal will get 50 USD$ as a profit or 50$ as loses , so at SL ,immediately open new sell position which will be opened with a  size  to cover the 50$ losses and get the needed 50$ from the first deal using 50 pips, so total needed is 100USD$ using the same TP=50 pips , so in order to achieve it the new size of this new sell position should be 0.2 , and in case also the SL achieved , then the loses will be :

1-50$ from the first position and 100$ from the second position , so total is 150$ , and need original 50$ so total needed from the third position is 200$ and in order to achieve it using the 50 pips , then the needed size for the 4th buy position is 0.4 , and so on till achieve the TP

Now the Rep parameter , is a parameter to but the max number of the increasing the size which once reach this number , the size will be freeze , till get all the previous loses and the needed profit , then the size will come back to the original one , 


I.e. if in our example we put REP =3 , then i will have the first position buy with 0.1 size , then the 2nd one will be 0.2 , thirds one will be 0.4 , then if SL achieved again , forth one will be also 0.4 , 5th one also 0.4 , then if the 6th one achieve the TP , the size will remains 0.4 for the 7th deal and if it is reach the TP , also will remain 0.4 till all loses cover in addition to getting the profit needed . then after that will go back to the original size .



Also , if as an example , current position is buy and SL and TP not achieved , , then at the end of the day , and according to the condition we have , next day deal should be sell , then the current position will be closed at the end of the day , and if it is + profit , then next day position will be opened with the original size , but if it is negative , then also close it and change the size of the next day deal to cover this loses and get the needed gain as mentioned and so on.




Responded

1
Developer 1
Rating
(34)
Projects
60
23%
Arbitration
11
73% / 9%
Overdue
3
5%
Free
2
Developer 2
Rating
(75)
Projects
124
44%
Arbitration
14
29% / 50%
Overdue
17
14%
Free
3
Developer 3
Rating
(6)
Projects
9
11%
Arbitration
1
100% / 0%
Overdue
0
Free
4
Developer 4
Rating
(568)
Projects
641
41%
Arbitration
25
48% / 36%
Overdue
46
7%
Working
5
Developer 5
Rating
(19)
Projects
35
26%
Arbitration
10
30% / 70%
Overdue
5
14%
Free
6
Developer 6
Rating
(50)
Projects
74
27%
Arbitration
12
58% / 17%
Overdue
14
19%
Free
7
Developer 7
Rating
(12)
Projects
17
29%
Arbitration
6
17% / 67%
Overdue
4
24%
Free
Similar orders
Trading bot ea 30+ USD
yoo i want to make a trading bot i have my strategy in videos and also the rules to if anyone can work it out for me i will be glad welcome your bid and it urget let connect here on mgl5 And if you know you can not do the project without getting paid first please don't bid thanks
MT5 EA make work on zone break and candle confirm. Hi i need one expert person who can make exact what i want. My EA logic very simple.... few hrs market high and low make line then candle body close above or low then candle confirmation then pullback then entry RR1:2 no trail nothing,,,,, the line high low create after few hrs of the day i wll tell you later,,,,then 1hrs no trade if break then no trade for the
Hi, I need an Expert Advisor (EA) for MetaTrader 5, for my IC Markets account. Account MT5, hedging account, type: [Raw Spread / Standard: fill in] Deposit: 100 USD, leverage 1:30, account currency: [USD / EUR: fill in] Instruments Forex (major pairs) and gold (XAUUSD) Strategy and parameters may differ per instrument; each instrument must be tested and optimized separately If an instrument cannot be traded safely
المطلوب موشر لتداول الذهب مجرب وقوية يعطي اشاره قوية فقط مع وقف خساره ومختبر ومجرب في حال الموافقه علي لموشر بعد التجربه لمدة ٣ ايام يتم الشراء دايم مبلغ ٢٠٠ دولار
Masoudahg1 999999+ USD
Hello world, thank you for your helping and supporting for us from your for all everyone that investments or working in this programing and supporting seven/24 hours in daily and nightly for customers
Laily Mahmudy 100000+ USD
Thank you very much and of trying supporting and helping for us and my investfolio portfolio id is:"investfolio portfolio masoudahg1 id is":"7Zk0iVh7zuytHkQ9OJSzeY" &"35VmgKWofZxWowQ7O6CL8K" https://leylimahmudi46.atlassian.net is my Atlassian programing that when I working of this programs
Hi there I need someone who will create an ea then test it .. the ea should only place order on the bid price of it breakout in 1 point using invisible buy and invisible sell,, example if bid breakout in 1 point up automatically invisible buy active then invisible stop loss at where the ask price was same in sell If the bid breakout in 1 point down automatically invisible sell active then invisible stop loss where
I’m looking for an experienced MT5/MQL5 freelancer to help install and configure several existing EAs on IC Markets MT5 accounts using a Windows VPS. The work will include setting up the EAs on separate demo accounts and later running several together on one account with different risk settings. I also need help with MT5 backtesting and strategy optimisation, including comparing different risk levels and reviewing
I am looking for someone to build me a modular auto trader in Sierra chart and an Innie builder so that I can replicate my current Algas that I already have built. I've sent examples below can you please let me know how much you would charge me. I'm pretty good at building the signals myself but I do not know how to build the ocos order entry and I'm trying to get quotes and go with the person who seems they can help
i need price action and candle logic understand programmer need for this job... first understand logic and interested please message .... first understand logic and interested please message .... 2 types of hedge entry conditions: 1 is candle based 1- when i start point ea hh candle buy entry, after ll made 2- below the previous candle hedge sell order 3- if market goes again hh, if sell order profit book again

Project information

Budget
30+ USD