I need an Expert Advisor

MQL4 Experts

Job finished

Execution time 12 hours
Feedback from customer
Very patient and helpful. He ranks top 5% of programmers I have worked with.I will not hesitate in giving him future jobs

Specification

I need an EA that open a first trade at market and simultaneously opens a pending order in the opposite direction at a distance to the open trade.  This is how the EA will operate:

Trade will be managed in cycles in which there will be levels. A level is a trade and a cycle contains one or more levels. The first trade is level 1, second trade is Level2, etc

First trade:

Only the first trade needs any logic.  Subsequent trades in a cycle depend on the point of first trade.

I use an oscillator to determine the first Buy/Sell.  When the oscillator signals Buy, the first Buy trade will be fired in the cycle, thereafter, the oscillator is not used in the decision for the other trades in the cycle.

How to enter a trade

Buy:

1st Buy at market with TP = 30 pips and SL = 60 pips and simultaneously

Pending Sell (Sell Stop) 30 pips below market price TP = 30 and SL = 60 pips.

Scenario 1:  If the first trade hits Take profit, that is the end of that cycle.  The EA must wait for another trading opportunity.

Scenario 2: If the first trade  moves down by 30 pips it will obviously hit the pending sell order.  It means at this stage we will have a buy and a sell open.  At that stage, a pending Buy Stop must be open 30 pips above current price with TP = 30 and SL = 60.  If price moves down by 30 pips, the following things will happen

First trade will hit stop loss @ 60 pips

Second trade will hit take profit @ 30 pips

The Pending Buy Stop will not get filled and must be deleted

Scenario 3: In this scenario we have the first trade Buy, Second trade Sell and price has moved again to fill another Buy.  It means we will have 2 buy open and one sell.  At this point, a Pending Sell Stop must be opened 30 pips away from the most current order opened.

Scenario 4, etc:  This cycle of opening a trade and simultaneously placing a pending order in the opposite direction must continue until all open orders have closed.  At that stage, the cycle has bee completed and no pending order must exist for that currency pair anymore.

 Correct working of this EA must ensure that once a trade in a cycle has hit Take profit, no other order (pending or open) must still be in existence.  This is because the SL for Buy is the TP for Sell and vice versa. The EA must delete all open order for a pair once this is achieved.

In summary

If Level1 is a buy, then level2 must be a Sell then level 3 is a Buy and Level4 is a Sell, and so on

When the first entry is fired, level2 will be a pending order. 

When Level 2 gets filled Level3 is pending

When Level 3 gets filled Level4 is pending

When Level4 gets filled Level5 is pending, etc

Lot size increment

Let the first lot size be a user input.  It should increase using the following factor, x1 represents the first trade.

X1, x3,x6,x12,x24,x48,etc.  Apart from the second trade which is 3 multiples of the one preceding it, the other trades will be double the one before it.  By coding, this should increment to infinity

Entry prices

Apart from the first entry which is determined with Trix, subsequent prices must follow a pattern well defined like this:

Level 1, Level3,Level5, Level7, Level9,(every other level) must be the same prices both for entry, Take Profit and Stop Loss. Same also for Levels 2,4,6,8,etc.

Other Issues to take into consideration

Once a take profit is hit, pending order for that currency must be deleted.

A new cycle starts once a cycle closes in profit.  Any other pending order for that pair at that time must be deleted. 

Responded

1
Developer 1
Rating
(182)
Projects
342
42%
Arbitration
118
12% / 73%
Overdue
104
30%
Free
2
Developer 2
Rating
(41)
Projects
160
45%
Arbitration
16
13% / 50%
Overdue
48
30%
Free
3
Developer 3
Rating
(339)
Projects
809
73%
Arbitration
30
33% / 37%
Overdue
194
24%
Free
4
Developer 4
Rating
(1235)
Projects
2820
80%
Arbitration
156
22% / 43%
Overdue
488
17%
Free
5
Developer 5
Rating
(9)
Projects
20
70%
Arbitration
1
0% / 100%
Overdue
9
45%
Free
6
Developer 6
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
7
Developer 7
Rating
(272)
Projects
394
63%
Arbitration
70
53% / 26%
Overdue
198
50%
Free
8
Developer 8
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
9
Developer 9
Rating
(3)
Projects
6
17%
Arbitration
1
100% / 0%
Overdue
0
Free
10
Developer 10
Rating
(49)
Projects
134
27%
Arbitration
62
13% / 53%
Overdue
58
43%
Free
11
Developer 11
Rating
(20)
Projects
46
54%
Arbitration
3
67% / 0%
Overdue
14
30%
Free
12
Developer 12
Rating
(4)
Projects
7
43%
Arbitration
5
0% / 60%
Overdue
3
43%
Free
13
Developer 13
Rating
(54)
Projects
164
43%
Arbitration
43
47% / 16%
Overdue
58
35%
Free
Similar orders
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
I WRITE a code i want to conect this for automatic trading through vps .and als advanced features for this code .i attached afile please watch .and give me perfect ea
Hello, I need a martingale and grid bot. The programmer must provide a test of about 5 minutes for the EA to see how it works and if everything is fine, it will be selected to make some modifications for personal use to that EA that you provide. If it has a lot of graphics or buttons. better It doesn't matter if the robot is bad, I'm more interested in its functionalities to use with my strategy
Hi Developer, I would like to create the Scalping EA based for Mt4 on the investing.com data https://www.investing.com/currencies/eur-usd-technical EA have timing to adjust time to trade. follow the broker time. From starting time to end time EA have a adjustable Lot size (0.01 incremental to 0.01) EA have a adjustable TP (1pip to 100pip incremental 1pip) EA have a adjustable SL (1pip to 100pip incremental 1pip) EA
Here is the Idea: I want a Semi Auto Trade Panel Manager EA that only activates when I press the BUY or SELL or BUY LIMIT or SELL LIMIT then the EA will do the rest : that includes the BUY STOP 0r SELL STOP and the hedging calculations according to below diagram. So overall , my only intervention is entering the lot size , hedge zone distance and TP ratio or entering the price for buy limit/sell limit then pressing
Hi, I'm looking for a martingale MT4 EA that performs a lot of trading volume per day. If you have the robot, you'll need to send me the demo so I can backtest it. Thank you very much
Hello potential Freelancers I’m very new to trading so please bear with me as I try to explain what ‘m looking for. I'm currently getting signals ( XAUUSD )sent to me and I’m looking to find a person who can look at the data either watch account live, or I send the trade history. The bot my provider is using makes 100’s of trades a day and does very well on average. I’m also looking to have the following features
we want to build a dashboard ea that would display on another chart key metrics : i will foward screeshot of what i want to dashboard to look like : the function i would need to get display are the following: 1. classified past performance ea by magic number ( with classic : total trade , total profit , return/dd , max dd (base on history) , ) 2. equity chart of performance if we click on a magic number we should
the task will be actually quiet simple , i need an active develloper to devellope out of 3 updates an ea STEP 1 (this job): make a classical pair trading ea , that can calculate correlation between assets and trade when the correlation diverge above a specified % the develloper that will postulate for the job will need : 1- to be ok to do the full project this job and the update following 2- very low arbitration , i

Project information

Budget
50 - 100 USD
For the developer
45 - 90 USD
Deadline
from 3 to 7 day(s)