Simple EA looking at two candle sticks (or time periods)

MQL4 Experts

Job finished

Execution time 23 minutes
Feedback from customer
Fast and professional :)
Feedback from employee
Thank you so much, Looking forward to work with you again.

Specification

SORRY FOR THE WALL OF TEXT - It should be simple (I hope) but just want to explain it clearly!

Please Note: This is for Metatrader4 !

Hello, I am offering a bit more then seems normal for someone with experience who can speak English please. I have also given up to 20 days for it to be completed, but if you need more time please just let me know. I have also highlighted some important parts in red


I require a EA which can do the following:

1) Every time there is a new candle stick it analyses the two previous (now closed) candle sticks on the chart that the EA is loaded on (needs to analysis at whatever time period I have set the chart too, for example 5 mins or 30 mins etc) 

2) If both of the previous candle sticks have risen (or fallen for a sell order) BASED ON THEIR OPENING AND CLOSING POSITIONS (NOT THEIR MAX REACHED PRICES - IMPORTANT) by a MINIMUM (can be more, but not less) of X pips per candlestick (where X is a value I can set) 

3) Then it places a pending order (buy if it has risen or sell if it has dropped - so following the direction of the past two candle sticks) at the highest (if a buy order) or lowest (if a sell order) that the candle stick previous to the current one reached (the "wic" or "tip" of the candle stick) plus X pips  (X being a value I can set) in the same direction (for example if X=2, then it places the pending order two pips above (if buy) or two pips below (if selling) the max or min priced reached)

4) The pending order needs to be set to close if it has not been opened by the time the next candle stick opens (so in 15 min if on 15 min chart or 30 min if on 30 min chart ETC)

5) Once any orders are opened and become profitable, a trailing stop order is placed at X% (where X is a value I can set, or can be in pips if that is easier for you)

I have also included an image which might help explain what I require if it is a bit confusing


Other variables the bot need to have (values I can set before bot starts)

- The amount at which a stop loss will be placed (in pips preferably)
- The amount at which a stop profit will be placed (can be omitted if it interferes with the trailing stop order)

Thanks for having a look, please let me know if you have any questions!

Files:

PNG
Example.PNG
23.5 Kb

Responded

1
Developer 1
Rating
(595)
Projects
927
46%
Arbitration
31
39% / 29%
Overdue
93
10%
Working
2
Developer 2
Rating
(590)
Projects
789
71%
Arbitration
9
33% / 33%
Overdue
22
3%
Free
3
Developer 3
Rating
(35)
Projects
40
23%
Arbitration
10
10% / 50%
Overdue
16
40%
Free
4
Developer 4
Rating
(253)
Projects
358
49%
Arbitration
24
25% / 50%
Overdue
80
22%
Free
5
Developer 5
Rating
(1130)
Projects
1432
62%
Arbitration
21
57% / 10%
Overdue
43
3%
Free
6
Developer 6
Rating
(97)
Projects
121
25%
Arbitration
5
20% / 60%
Overdue
17
14%
Free
7
Developer 7
Rating
(221)
Projects
369
66%
Arbitration
10
50% / 0%
Overdue
46
12%
Free
8
Developer 8
Rating
(2428)
Projects
3057
66%
Arbitration
77
48% / 14%
Overdue
340
11%
Working
9
Developer 9
Rating
(212)
Projects
246
45%
Arbitration
42
10% / 57%
Overdue
5
2%
Free
10
Developer 10
Rating
(549)
Projects
1332
59%
Arbitration
28
82% / 0%
Overdue
10
1%
Free
11
Developer 11
Rating
(2086)
Projects
2646
61%
Arbitration
113
45% / 26%
Overdue
418
16%
Working
12
Developer 12
Rating
(298)
Projects
427
26%
Arbitration
18
61% / 33%
Overdue
26
6%
Free
13
Developer 13
Rating
(89)
Projects
137
24%
Arbitration
35
9% / 40%
Overdue
52
38%
Free
14
Developer 14
Rating
(620)
Projects
680
57%
Arbitration
25
16% / 60%
Overdue
228
34%
Free
15
Developer 15
Rating
(33)
Projects
35
40%
Arbitration
11
9% / 91%
Overdue
4
11%
Free
16
Developer 16
Rating
(769)
Projects
1033
44%
Arbitration
50
8% / 50%
Overdue
117
11%
Free
17
Developer 17
Rating
(266)
Projects
540
50%
Arbitration
55
40% / 36%
Overdue
224
41%
Free
18
Developer 18
Rating
(53)
Projects
74
26%
Arbitration
30
10% / 63%
Overdue
22
30%
Free
19
Developer 19
Rating
(53)
Projects
79
18%
Arbitration
13
15% / 54%
Overdue
5
6%
Free
20
Developer 20
Rating
(549)
Projects
826
73%
Arbitration
15
53% / 13%
Overdue
193
23%
Working
21
Developer 21
Rating
(257)
Projects
314
37%
Arbitration
6
50% / 17%
Overdue
7
2%
Free
Similar orders
Hello The EA will work on particular zone choose by the user and can mark it on any TF and with some rules can open trades and mange the trade by some unique rules. the EA need to check the difference by RSI as well and with some extra rules . developer should have good attitude and good communication (englsih) with high performence and knowledge with coding EA. THREE TYPES OF ENTRIES 1: AGGRESSIVE 2: DIVERGENCE 3
Indicator in use: Bollinger Bands Mechanism (See diagrams provided for help) Sells: 1. Trigger candle: When candle low is above the top Bollinger band - accurate to the lowest point scale (e.g. On EURUSD if candle low is 1.07915 and the value of top bollinger is 1.07914 - this is a sell signal; or if on Futures if the increment is .25 or .10 then this is used) 2. Enter sell ONLY on the next candle if price breaks
Indicator in use: Bollinger Bands Mechanism: (See diagrams provided for help) Sells: 1. Trigger candle: When candle low is above the top Bollinger band - accurate to the point scale (e.g. On EURUSD if candle low is 1.07915 and the value of top bollinger is 1.07914 - this is a sell signal) 2. Enter sell ONLY on the next candle if price breaks below the trigger candle LOW (using the e.g. above- if next candle price
hey guys, im looking for an auto mt5 license system through a web app i have already, i simply want it so a unique license key is generated for memebers, they input this onto the EA input and then it checks if its valid. active license per user capped at 5. i already have an mt5 coder and dec team for the app so i dont know if youd prefer to intergrate onto the webapp yourself or simply provide the code and doc so my
I need a simple panel to execute both buy and sell operations with very basic things like stopp loss take profit that functions for both market orders such as buy stop sell stop buy limit sell limit I don't care about colors or design I just want how you can do it what interests me most are the functions
I want to create an EA that can take bids according to information of a logic I have developed to give indication of a BUY or SELL opportunity. The EA will then be able to activate the BUY at the lowest possible position once the indicator clears it for a BUY and take bid upwards or identify the highest point and clears it for a SELL and take bids downwards. As you can see from example of JULY 2024 data to see how
We are seeking a skilled developer who can convert a Tradingview indicator written in Pinescript to a NinjaTrader indicator written in C#. The goal is to create a profitable trading strategy using this indicator. The successful candidate will have expertise in both Pinescript and C# programming languages, as well as a strong understanding of trading indicators and strategies. The main responsibilities will include
I am seeking an experienced MQL5 developer to create a user-friendly manual Grid Trading Expert Advisor (EA) with the following key features: Dynamic Grid Trading: Adjustable Grid Distance: Traders can manually input grid distance in pips via an intuitive, movable table. Take Profit Management: Fixed TP for the initial positions (e.g., first 5 trades). Stop-Loss (Optional): Traders can choose to use a stop-loss with
I want have the possibility to increase lotsize not alone by Lot-multiplier rather I want add a fix-lot increase for excample for 0,05 lot. I want have this for buy / sell and hedge-buy and hedge sell
Develop EA to track performance metrics of strategies I would like to develop an EA that will track the performance metrics of the strategies I have running on a terminal, If any of the metrics start to under perform then the EA/Indictor should alert me with a pop up alert that specify's the metric that has triggered the alert. The EA should also display the metrics in a dashboard - please see my example screen shot

Project information

Budget
50 - 80 USD
For the developer
45 - 72 USD
Deadline
to 20 day(s)