A basic EA which places and modifies stop orders based on Heikin Ashi close prices from previous bars

Job finished

Execution time 20 hours
Feedback from customer
Hossein has been an excellent dev to work with. He is very prompt, has a good understanding of the underlying markets and was able to offer advice to improve my custom EA. Top notch!
Feedback from employee
Thank you Daniel, it was a pleasure working with you. I really look forward to work with you again.

Specification

Dear Freelancer,

I would like an EA for MQL4 but which is compatible with MQL5.

It is a basic EA. Similar exist but I can’t get them to act the way I want. I’ll need access to change all of the parameters listed below as I’ll be experimenting with this EA quite extensively. This is likely to be the first of a few versions. An overview of the rules of the EA:


--- EA to place two simultaneous stop orders; one buy side, one sell side

--- Placement of stop orders is based upon previous Heikin Ashi close values on M1 chart and so the EA would modify the stop orders every minute to the new close on the next bar. I would need to be able to change how far back it records the close price from (ie 9 bars ago), and at which price above/below the respective close price that the orders are placed.

--- Each order will have a stop loss (min 1 pip) and an optional take profit (0 to disable)

--- If an order is executed, the unexecuted order will be cancelled so that only one trade is active at any time

--- An executed order would have a changeable trailing stop loss that has the option to stop trailing once in profit

--- Size of orders is decided by lots in the inputs table

--- Once a position has been closed, the EA starts again. I would like there to be the option of a “cool down” period of X seconds before the EA places orders again. If cool down period is set to 0 it will place the new orders immediately, and if it is set to anything higher than 3600 the EA will not make any further trades and displays something like “Robot Finished on market XXXXX” in a dialogue box.

--- If, following a closed trade, the current market price does not allow one of the stop orders to be placed, then the EA would place a straight buy/sell order in that direction (E.g. if the market price is above the parameter for setting the buy stop order, a market buy order is placed at the current market rate with the same SO and TP parameters)

--- There must be an audible alert once an order is executed, and another one (different) for when an order is closed

 

I’m not a programmer in any way so hope this makes sense. I would want the source code and to be the publisher of the EA and I would also want some standard protections put which would stop the EA from trading if it senses any issues with the data i.e. <100bars etc.

If you are interested, please get in touch and we can look at a spec in more detail and which parameters to start with.



Responded

1
Developer 1
Rating
(2298)
Projects
2893
63%
Arbitration
122
44% / 25%
Overdue
429
15%
Free
2
Developer 2
Rating
(590)
Projects
789
71%
Arbitration
9
33% / 33%
Overdue
22
3%
Free
Published: 8 codes
3
Developer 3
Rating
(312)
Projects
521
47%
Arbitration
29
10% / 45%
Overdue
139
27%
Working
4
Developer 4
Rating
(42)
Projects
47
83%
Arbitration
1
0% / 0%
Overdue
2
4%
Free
Published: 1 code
5
Developer 5
Rating
(258)
Projects
396
28%
Arbitration
69
19% / 49%
Overdue
121
31%
Free
6
Developer 6
Rating
(143)
Projects
167
49%
Arbitration
22
14% / 55%
Overdue
22
13%
Free
7
Developer 7
Rating
(219)
Projects
370
42%
Arbitration
145
17% / 41%
Overdue
124
34%
Free
Published: 38 codes
8
Developer 8
Rating
(121)
Projects
134
66%
Arbitration
36
25% / 56%
Overdue
22
16%
Free
Published: 10 codes
Similar orders
I need a AI signal generating bot for forex trading that use the latest ai technology to track real time forex market, analyse and give signals. The bot should operate such that when i put it in a chart it will analyse the market, after several minutes it will display whether the trade is buying or selling. It should display the one minute, five minute,15minute, 30 minute, one hour, 4 hours and daily time frame
step by step and structure this into a full IEEE 830 / ISO/IEC/IEEE 29148 style Requirements Specification. This format will include: Introduction System Overview Functional and Performance Requirements Traceability Matrix (linking requirements to test cases) Verification and Validation Compliance Standards 1. Introduction 1.1 Purpose The purpose of this document is to define the technical requirements for the
i need an expert to help join 3 model i have in ninjatrader into one, kindly message me and i will be expecting from you and i need this work done in maximum of 4 days, so i need expert that can get it done
Henryy999 30 - 3000 USD
The Ai robot must help me with forex and I don't have money soon can the Ai robot give me some money and I will pay it back if the Ai robot does a good job making me rich
Strategy Development: Suggest a high-probability trading strategy based on Technical Analysis (using indicators like RSI, MACD, or Price Action). Risk Management: Explain how to calculate position sizing so I don't lose more than 1-2% of my capital per trade. Market Analysis: Teach me how to identify Support and Resistance levels and how to spot a trend reversal. Psychology: Give me 5 golden rules to maintain
MQL5 Expert Advisor Development (MT5) I need a professional MQL5 developer to create a custom Expert Advisor (EA) for MetaTrader 5 with high accuracy, low drawdown, and fast execution . 🔹 Strategy Requirements: Timeframe: Scalping-friendly (M1 / M5) Indicators Used: EMA 9 EMA 12 EMA 21 VWAP (as a trend filter) RSI (for trade confirmation) 🔹 Trade Logic: Buy and Sell entries based on EMA crossover + VWAP direction
Monthly >Previous month High and Low.High is Resistance and Low is Support level Daily > Demand and supply zones. Demand Below Support Level and Supply Above Resistance Level. 4HOUR >Up-Tren,Down-Trend and Cosolodation >Market Structure CHOCH,BOS >3 phase movement HH,HL and LL,LH. Entry
// Add this to your EA after ExportState() function void SendToBase44(const string state, const string dir, double entry, double sl, double tp) { string url = " https://preview-sandbox--ee0a32a725b788974de435e8cef40b7a.base44.app/api/functions/receiveEAState "; string headers = "Content-Type: application/json\r\n"; string json = "{" "\"symbol\":\""+_Symbol+"\","
Hello! I am looking for an experienced, top-rated developer to build highly profitable strategy software that provides accurate signals for both long-term and short-term trades. The software must analyse the market correctly, indicating when to enter and where to set Take Profit (TP) and Stop Loss (SL) levels. It must deliver accurate results across all markets, including Forex, cryptocurrencies, metals, indices, and
For only developer who understand Chaos/ Profiunity trading system by Bill WIlliams, Create The Profitunity System Trading based on Bill Williams Chaos theory, Trade based on Trend Affirmation in Daily, entry in H4, using Williams Fractal, Williams Alligator, Awesome Oscillator, Accelerator Oscillator, Market Facilitation Index. Balance Line, entry on Reversal, add on while market show continuation sign. Please quote

Project information

Budget
100 - 150 USD
Deadline
from 3 to 4 day(s)