I need an EA that identify the last two swing high and swing low candles and then place an order with TP/SL

MQL5 Experts Forex

Job finished

Execution time 4 days
Feedback from customer
I was his first customer as he had no reviews, but I chose him because he was great at communication. He did not disappoint me at all, the final work was even better than expected. Thank you so much!
Feedback from employee
Excellent Customer. Very detailed Requirement specifications, communicative and understanding. Would not hesitate to work with again in the future. Thank you.

Specification

Here's the strategy for the EA:

  1. Identify and plot the last TWO swing high and swing low each.
  2. Place a BUY order when priced reached the line of any of the two swing high
  3. Place a SELL order when priced reached the line of any of the two swing low
  4. When a new swing high or swing low is detected, the last one will be deleted and ignored in the future. Only last two swing high/swing low should be seen over the last X candles (editable in inputs).
  5. Set a TP and SL for all orders, but the SL will be trailing.

Note: I was planning to do this start as a Buy stop/Sell stop order, but I'd rather keep my pending orders hidden and not shown in public. So, no pending orders.

Required inputs:

---Risk---

  • Compounding: True or False. If True, the lot size will depend on account balance and risk percentage. Default is True.
  • Risk Percentage: If Compounding is True, the SL will determine how much lot size will be placed. (Minimum 0.01 Lot size regardless of how small the balance is). If I have $1000, and I risk 10% in this input settings. My SL hit should loss $100. Default is 2%
  • Lot Size (Fixed): If Compounding is False, the lot size of the order will be at this fixed value. Default is 0.1 Lots
  • Take Profit: TP of orders in PIPS. Default is 10 Pips
  • Stop Loss: SL of orders in PIPS. Default is 1.5 Pips

---Breakeven & Trail---

  • Trail Pips: Triggers SL Trail every time price has travelled every X pips. Default is 2.5 Pips.
  • Trail SL: This is the new SL every time price has travelled the "TRAIL PIPS". For example, the input here is 1.5 Pips. Will move SL to 1.5 Pips behind the current price every time the price has travelled 2.5 Pips (TRAIL PIPS). The only condition here is that this should only trigger if the Unrealized P/L is already positive or already at breakeven. Default value is 1.5 Pips
  • Breakeven Pips: Moves SL to breakeven when price has moved above certain Pips. Default is 2.5 Pips

---Candles---

  • Time Frame: Default H1
  • Last Candles: Look up to how many past candles. Default is 15 candles.
  • Candles to Right: After plotting a swing high/swing low. This can only valid within X candles. After X candles, the EA will not do a buy/sell order at this price. Default is 15 candles.
  • Number of Swings: By default, this is 2. Meaning, only the latest last two swing high or swing low can trigger a buy/sell order.


Plotting of Swing High/Swing Low Strategy:

Reference indicator: https://www.tradingview(DOT)com/v/RQnLfaNE/ --- Replace the DOT with .

This is one best example I could find. The most important part in this EA is how accurate, efficient, and good it can plot high/lows. If you have any method or suggestions that can make things better, please do tell us. Price is negotiable, as long as we get the best one.


Responded

1
Developer 1
Rating
(199)
Projects
324
16%
Arbitration
21
38% / 33%
Overdue
18
6%
Busy
2
Developer 2
Rating
(20)
Projects
33
55%
Arbitration
5
80% / 20%
Overdue
3
9%
Free
3
Developer 3
Rating
(23)
Projects
45
20%
Arbitration
24
29% / 46%
Overdue
12
27%
Free
4
Developer 4
Rating
(19)
Projects
23
48%
Arbitration
4
0% / 100%
Overdue
2
9%
Working
5
Developer 5
Rating
(10)
Projects
15
27%
Arbitration
3
67% / 33%
Overdue
0
Free
6
Developer 6
Rating
(71)
Projects
80
10%
Arbitration
35
9% / 54%
Overdue
6
8%
Working
Similar orders
Life Creator 40 - 1000 USD
the topic of this robot is ,,life creator'' becouse when you have no idea what to do, this robot can help you and teach you how you can do it. The robot gonna creat you your own tactics which can help you in future. When you gonna see that it's really work you start to be happy and you gonna want to have more of this
AllForexEA 30+ USD
Algorithm - from which order the drawdown reduction algorithm is activated. - Percent profit for DD Reduction Algoritm - percentage of profit when closing orders in the drawdown reduction mode. - Magic - is a special number that the EA assigns to its orders. - Fix distance - fixed distance between orders (default 250 - in points) - Order dinamic distance - from which order will the
I need two trading view indicators to be on Mt4 .i want them to work the same way that they do on trading view if possible.i will send the indicators
Function (A) simple to do___________________________________________________ //+------------------------------------------------------------------+ //| Expert Tick Function | //+------------------------------------------------------------------+ void OnTick() { F1(); F2(); F3(); } //+------------------------------------------------------------------+ bool F1(){ extern bool F1(); Set to external (false) or (true)
Ok 30+ USD
thacksc d trttt rtrt in super market fddf dghfg tdhdthdt gdydtydt jnjnjndf gd gdfg dgd gd t rt r te tr sf fdsffsdgs g dfg dg d dfh f hfh dh d hd fh dh dt y ty dry dr td ryd ddry
hi , i am looking for a Grid EA with some basic type of EA but fully functional and final one. so anyone who can do perfect EA should contact. plan is discussed as below. start and end time, and days of active deactive button should be added in dashboard or else like if we want to close EA for any future day or days in coming week so before time we should be able to set. when EA starts. it opens one buy or sell and
Hi, I would Like an EA ORDER PANEL for MT5 which allows me to place limit orders . The only addition I would like compared to other order panels, is an o ption to place a reversal trade if the original idea is stopped out. For example: I place a Short trade at 1.2120 with a 20 pip Stop Loss and a 100 pip target IF the SL is hit, then I want a Long trade to be place at 1.2120 with the same size SL and TP (20pip and
I need the following modules as per this sample indicator, then integrated with RSD Candles. look into the sample input settings, ................................................. ......................................................................................................... .......................................................................................................... ................previous
hello everyone I need to create an ea that creates signals based on the indicator on trading view and transmits it directly to mt5, so that the signals are created on trading view and orders are opened in mt5
Create a basic EA with 2 indicators and 3 conditions with stop loss and trailing stops. The lot size is one full lot, 1.0 EUR/USD, 100,000 Euros and stated clearly in the code

Project information

Budget
50 - 100 USD
For the developer
45 - 90 USD