Minor modification to EA

MQL4 Experts

Job finished

Execution time 33 days
Feedback from employee
Thank You

Specification

Hi,

I have the following EA (pls see attached mq4 file) which I require some slight modifications to it. Please retain the structure of the current EA as much as possible.

Here are the required changes

1) Currently, the EA requires user to specify the price levels to buy/sell. Please modify the code to enable EA to automatically determine the appropriate prices to place the pending limit orders based on the following rules : 

 i) Take the price at the close of the latest candle ("Closing Price") (This can be on any timeframe for any currency pair)

 Buy orders :

a) Place 1st level buy limit order at the Closing Price - [50] pips and round down to the nearest 25 pip level. The distance from the Closing Price should be a user defined input with 50 pips as the default.

b) Place 2nd level buy limit order 25 pips below the 1st level buy limit order and so on. 

The EA already has input fields for users to key in the appropriate gap (in pips) for each limit order ("Gap") up to 6 levels and the common stop loss ("SL") for the batch of orders. Please retain this structure.

To illustrate, if Closing Price of EURUSD is 1.0860, 1st level buy limit order is derived by 1.0860 - 50 pips = 1.0810 pips & rounding down to the nearest 25 pip level. Hence, 1st level buy limit order shall be @ 1.0800. The entry prices for buy limit orders at other levels shall be computed from the price of this 1st level limit order and the relevant user-defined Gaps. There shall be a single SL for this entire batch of orders while the profit target shall be determined by the user input TP levels. The EA automatically cancels all higher level pending orders once the TP is hit. There should be no change to this methodology.

Sell orders

a) Place 1st level sell limit order at the Closing Price + [50] pips and round up to the nearest 25 pip level (i.e. 1.0800, 1.0825, 1.0850, 1.0875, 1.0900 etc.). The distance from the Closing Price should be a user defined input with 50 pips as the default.

b)  Place 2nd level buy limit order 25 pips above the 1st level buy limit order and so on.

To illustrate, if Closing Price of EURUSD is 1.0860, 1st level sell limit order is derived by 1.0860 + 50 pips = 1.0910 pips & rounding up to the nearest 25 pip interval. Hence, 1st level sell limit order shall be 1.0925. The entry prices for sell limit orders at other levels shall be computed from the price of this 1st level limit order and the relevant user-defined Gaps. There shall be a single SL for this entire batch of orders while the profit target shall be determined by the user input TP levels. The EA automatically cancels all higher level pending orders once the TP is hit. There should be no change to this methodology.

2) The EA currently has the function to close all unfilled orders by a certain time. Please retain this structure but allow for the user to input the appropriate server times the EA is allowed to trade. If user does not key in any Trade start time/ Trade End time, the EA shall cancel all pending orders at the close of the current candle and look for new trades based on the methodology described in (1).

For example, if the user enters Trade Start @ 2100 and Trade End @ 1000, then the EA should use the close of the 2100 candle as the basis to determine the prices of the pending orders. The EA should then close all unfilled pending orders by 1000 provided that there are no ongoing trades from the relevant batch. It should then start looking for new trades at the close of the 2100 candle.

There should be a separate field for user to close all unfilled orders by a certain time on Friday before the market closes.  

Responded

1
Developer 1
Rating
(42)
Projects
70
43%
Arbitration
6
33% / 50%
Overdue
19
27%
Free
2
Developer 2
Rating
Projects
0
0%
Arbitration
1
0% / 100%
Overdue
0
Free
3
Developer 3
Rating
(219)
Projects
370
42%
Arbitration
145
17% / 41%
Overdue
124
34%
Free
4
Developer 4
Rating
(40)
Projects
58
22%
Arbitration
10
10% / 70%
Overdue
13
22%
Free
5
Developer 5
Rating
(90)
Projects
159
61%
Arbitration
40
18% / 63%
Overdue
70
44%
Free
6
Developer 6
Rating
(62)
Projects
140
46%
Arbitration
19
42% / 16%
Overdue
32
23%
Free
Similar orders
1. Extract all historical economic calendar data. 2. Extract all historical price data for all symbols and all timeframes. 3. Calculate the difference between successive OPEN, HIGH, LOW, and CLOSE prices for each symbol to measure correlation ( https://youtu.be/TytPUU9Y55E?si=hTGn4YBWw786J5QY 1:55-2:20). 4. Assign weights to each symbol based on their correlation with other symbols. 5. Aggregate the data from all
Hi, I am looking for a developer who will develop for me an EA code/program which will help me to get data from forex factory. The EA code/program meets the following requirements. 1. I currently have an EA that I manually specify specific (High impact) news times where I would want to start analysis (You will see a screenshot in the attached requirement). 2. I developed this EA myself, so I have the source code but
Please I need a profitable EA with any of the following criteria; Hedge Trading Hedging trades is permitted however, hedging separate accounts against each other (known as Wash Trading) is not permitted and is a direct violation of the OnlyFunds’ Terms and Conditions. Wash trading is illegal and considered to be fraudulent, as it undermines the integrity of financial markets. Swing Trading Swing trading is
I have an EA that has a nasty drawdown but otherwise is quite profitable. I am looking for a developer who can improve the drawdown by closing or hedging the older open orders. You'll need to supply a demo showing that you've solved this problem rather than just claiming that you can fix it
dear developers.i want to modify my custom indicator by adding new rules for alerts and arrows,the indicator is based upon some trend following rules and the indicator should be able to send out all types of alerts.i will need demonstration...thank you
Looking for a developer of profitable EA tested for over 2 or more years time history of profits with investors read me only access as proof of usage. MT4 or MT5
Adjust MY Hedging EA 30 - 40 USD
1. Need averaging TP for my hedging EA. (Close both Buy and Sell position with TP) 2. Add function auto/manual entry. (EA will entry based on manual position(placed by trader) or auto trade based on existing setting)
I have a robot set up that sends trading signals to my telegram group and the group sends trading signals for (28 forex pairs, 3 crypto pairs, 6 commodities, 6 indexes, & 55 stocks) basically almot 100 CFDs and sends out trend price action breakout, impulse, reversal, and exit indications to each one of those CFDs on different timeframes. I want to make it so that a person can sign up and choose which alerts they
I am in search of a skilled robot developer to craft a Martingale with Hedge strategy algorithm. The ideal candidate will possess deep expertise in algorithmic trading, proficiency in programming languages, and a keen understanding of financial markets. The role entails designing and implementing an automated system capable of effectively executing the Martingale strategy while integrating a hedge mechanism to manage
Create an EA zigzag 40 - 80 USD
Zigzag EA sends notify on MT4 mobile app indicator have 2 Conditions all are explained in the pictures accurately and clearly https://drive.google.com/file/d/10Y6SrvC2A7RTT_baAJ7vOKytTDaUvRRQ/view?usp=sharing Warning: Do not send me a notification if your offer is higher than $ 100 because I did the project twice for less than $60 And I want to do the project now because there are mistakes on my part that I want to

Project information

Budget