Needed: Create A Simple Expert Advisor That Determines Trades Based Off A Horizontal Line

MQL4 Experts Custom graphics

Job finished

Execution time 5 hours
Feedback from customer
My EA runs flawless. When I had questions on how to work the EA in certain instances, Hossein had immediate solutions. He promised support after he had been paid, and he has kept his word.

Specification

The Trading Program starts with a horizontal line that is manually placed at any desired price level by the user. While the user is placing the horizontal line where he wants, the program should not be allowed to actively trade yet. I would like  a button on the chart that when pressed, allows the EA to start watching for potential trades. The button should visually change, by text and color, whether active trading is turned ON or OFF.


Here is how the EA should place trades, once the horizontal line has been set, and the "active trading" button pressed:

1) For a Long Position: If price closes (on time frame x), within x pips above the horizontal line, the EA will enter a long position. A stoploss will immediately be placed x pips below the horizontal line and a take profit x pips above the horizontal line.


2) For a Short Position: Just the opposite of the long position. If price closes (on time frame x), within x pips below the horizontal line, the EA will enter a short position. A stoploss will immediately be placed x pips above the horizontal line and a take profit x pips below the horizontal line.


I want the option of adding a simple moving average as a filter (or to not have it used - turned on or off in the inputs). For example, if the price closes above the horizontal trend line, within the allowable x pips distance above the line, then the EA checks to make sure that the current price is not too far from moving average x. If price has moved too far from the moving average at the time it closes above the horizontal line, then a trade is not entered. The Max distance allowed from moving average will be one of the inputs.


If a long position is entered, and then any future candle closes below the horizontal trend line, but not far enough to get stopped out, then the EA closes the long position and enters a short position (as long as it's within the allowable distance of pips below the horizontal line (and near enough to the moving average - if this filter is turned on). If any future candle closes above the line and meets all the criteria, then the short position is closed and a long position entered. Of course, each of these trades would have their corresponding SL and TP automatically placed and deleted as positions are taken and reversed.  Also, I would like to be able to have the option (in inputs) to have EITHER the same position size for each successive trade OR for each successive trade to increase in position size by x amount, up to a limit. If position size exceeds margin, then no trade is to be entered. 

If (in inputs) the option of increasing trade size for each trade reversal is selected, and a position then hits the TP level, position size should reset to original beginning position size.


If price moves too far, too fast, and closes beyond the allowable distance above (or below) the horizontal line, then no trade is entered until a later candle closes within the allowable distance from the horizontal line. In other words, the price must reverse and close closer to the line for a trade to be entered.


I want the option (in inputs) for the stop loss to turn into a trailing stop loss after a trade is in the profit x pips


I want to be able to manually move the stop loss and take profit lines if needed. If the stop loss is a trailing stop loss, but then is moved manually, the EA should automatically turn off the trailing stop loss feature in "inputs" (so it doesn't try to correct the manual change). A manual change in the TP should not be changed back to the initial value set in "inputs".


I would like to be able to have the EA run only at specified times of the day (entered in inputs). I would like the times to correlate to the time on my computer, rather than the time on my chart.


I'd like to be able to customize the horizontal line color and thickness


In case of loss of connection to server happens, EA should continue active trading when reconnected. It would be nice if the EA could send my phone a text when there is a loss of connection. 


EA should completely ignore all other positions that it did not open and not interfere with other EA's.


I will want source code of final product


I need a programmer that will offer technical support if I want to make small changes, within weeks or months of final product. How much would small improvements cost? How long would I need to wait for technical support?


If done well, I have another robot that needs building. Please tell me why I should pick you. What sets you apart from the competition?


Inputs (Here are some of the inputs the EA will require)

Trading time frame: M1, M5, M15, M30, H1, H4, D1

Horizontal Line Properties: color, thickness

Allowable distance from horizontal line to enter trade: x pips

Take profit long position: x pips above horizontal line

Take profit short position: x pips below horizontal line

Stop loss long position: x pips below the horizontal line

Stop loss short position: x pips above the horizontal line

Ability for trailing stoploss: on or off

if on: trail stoploss by x pips away

Moving Average: on or off

if on: x periods

Max distance from moving average for EA to enter trade: x pips

Number of consecutive losing trades: on or off

if on: x number of losers before EA stops trading (button on chart will show that trading has stopped if this number is reached)

Constant lot size: Yes or No

If Yes: x lot size

Increase lot size after a loss: Yes or No

                                 If Yes: Starting Position size: x lot size

                                           Position size increase after each trade reversal loser: x amount

Days and times EA can trade:

Sunday: 0-23:59

Monday: 0-23:59 

Tuesday: 0-23:59

Wednesday: 0-23:59

Thursday: 0-23:59

Friday: 0-23:59


Responded

1
Developer 1
Rating
(1931)
Projects
3552
88%
Arbitration
73
40% / 15%
Overdue
268
8%
Free
2
Developer 2
Rating
(885)
Projects
1410
67%
Arbitration
123
32% / 41%
Overdue
217
15%
Free
Published: 1 code
3
Developer 3
Rating
(365)
Projects
412
36%
Arbitration
35
26% / 57%
Overdue
63
15%
Free
4
Developer 4
Rating
(59)
Projects
90
39%
Arbitration
26
4% / 77%
Overdue
40
44%
Free
5
Developer 5
Rating
(511)
Projects
978
74%
Arbitration
27
19% / 67%
Overdue
100
10%
Free
Published: 1 article, 6 codes
6
Developer 6
Rating
(28)
Projects
60
42%
Arbitration
1
0% / 100%
Overdue
5
8%
Free
Published: 10 articles, 17 codes
7
Developer 7
Rating
(94)
Projects
148
59%
Arbitration
16
38% / 13%
Overdue
25
17%
Free
Published: 1 code
8
Developer 8
Rating
(145)
Projects
169
50%
Arbitration
22
14% / 55%
Overdue
22
13%
Free
9
Developer 9
Rating
(590)
Projects
789
71%
Arbitration
9
33% / 33%
Overdue
22
3%
Free
Published: 8 codes
10
Developer 10
Rating
(90)
Projects
118
17%
Arbitration
44
23% / 39%
Overdue
20
17%
Free
11
Developer 11
Rating
(65)
Projects
87
39%
Arbitration
3
0% / 33%
Overdue
29
33%
Free
12
Developer 12
Rating
(119)
Projects
127
41%
Arbitration
3
33% / 67%
Overdue
0
Free
13
Developer 13
Rating
(73)
Projects
132
52%
Arbitration
9
44% / 33%
Overdue
63
48%
Free
14
Developer 14
Rating
(213)
Projects
246
45%
Arbitration
42
10% / 57%
Overdue
5
2%
Free
15
Developer 15
Rating
(4)
Projects
6
0%
Arbitration
2
0% / 50%
Overdue
4
67%
Free
16
Developer 16
Rating
(1)
Projects
1
0%
Arbitration
0
Overdue
0
Free
17
Developer 17
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
18
Developer 18
Rating
(2678)
Projects
3428
68%
Arbitration
78
49% / 14%
Overdue
343
10%
Free
Published: 1 code
19
Developer 19
Rating
(55)
Projects
92
24%
Arbitration
8
75% / 13%
Overdue
44
48%
Free
20
Developer 20
Rating
(33)
Projects
35
40%
Arbitration
11
9% / 91%
Overdue
4
11%
Free
Published: 4 codes
21
Developer 21
Rating
(69)
Projects
146
34%
Arbitration
13
8% / 62%
Overdue
26
18%
Free
Published: 6 codes
22
Developer 22
Rating
(49)
Projects
134
27%
Arbitration
62
13% / 53%
Overdue
58
43%
Free
Published: 358 articles, 1 code
23
Developer 23
Rating
(5)
Projects
4
25%
Arbitration
2
0% / 100%
Overdue
1
25%
Free
24
Developer 24
Rating
(219)
Projects
370
42%
Arbitration
145
17% / 41%
Overdue
124
34%
Free
Published: 38 codes
25
Developer 25
Rating
(1)
Projects
1
0%
Arbitration
1
0% / 100%
Overdue
0
Free
Similar orders
CyberShadow AI 30 - 300 USD
I want a bot that’s trades using smc strategy having stop loss and take profit.I want it to be able to trade with small account I want a disciplined robot but a strong one to I also what it to trade using trend line and locate point of interest
Forex Hunter MT5 30 - 250 USD
ثبت طلبك في مواصفات البوت الثاني كذا: الجودة والأمان أهم من السعر، وما يدخل إلا إذا الفرصة قوية، مع حماية عند الخسائر وانقطاع الاتصال وارتفاع السبريد، وتشغيل مستمر على سيرفر، مع اختبارات إلزامية قبل أي تشغيل حقيقي. بهذه الصيغة يصير يشتغل وأنت مرتاح بالِك، لكنه يوقف تلقائيًا وقت عطلة السوق أو أي خلل. بس أكون واضح معك: ما في بوت يضمن عدم الخسارة، خصوصًا بالمضاربات السريعة، هدفنا نقلل المخاطر ونمنع الخسائر غير المنضبطة
SMC Bot Creation 350 - 550 USD
Hello, I am interested in developing a professional MT5 Expert Advisor similar in functionality and technical sophistication to your reference product, Institutional SMC Robot: https://www.mql5.com/en/market/product/187011 I want to develop my own independent EA based on advanced Smart Money Concepts (SMC), with a strong focus on institutional price action, liquidity and market structure. The key functionalities I
​I am looking for an experienced MQL5 developer to build a fully automated MetaTrader 5 Expert Advisor (EA) optimized primarily for XAUUSD (Gold), featuring a clean Tkinter-style telemetry dashboard control concept or customizable input parameters. ​1. Core Strategy Rules (Full-Body Engulfing) ​Signal Identification: The EA must scan completed candles across multiple selectable timeframes (e.g., 1M, 5M, 15M, 30M, 1H)
Hello, I am an independent developer selling an Expert Advisor (EA) on the MQL5 Market. I am looking for an experienced Forex affiliate marketing company or professional marketer to promote my existing MT5 trading robot to customers worldwide. My proposed partnership offers a 35% commission per verified sale, with the possibility of a long-term collaboration. I would like to know: Do you promote third-party MT5
Platform: MT5 only (no MT4 needed). Deliverable: an MT5 Expert Advisor with full source code (.mq5) that replicates the attached TradingView strategy (Pine Script v6, based on LuxAlgo's "ICT Killzones Toolkit" order blocks) as exactly as possible. Pasting the code into TradingView shows how it operates. I normally trade GBPUSD on the 5-minute chart Expected behavior: - Order block detection must match the Pine code
MarketMind Breakout Pro XAUUSD H1 — Donchian Breakout EA Project type: Personal EA development and backtesting Platform: MetaTrader 5 Instrument: XAUUSD Timeframe: H1 Strategy: Donchian Channel breakout with EMA 200 Project overview This project evaluates a Donchian breakout trading strategy for XAUUSD on the H1 timeframe. The system uses channel-based breakout conditions and an EMA 200 trend filter. Historical

Project information

Budget
50 - 150 USD
Deadline
to 5 day(s)