Expert Adviser with a Trailing Sell/Buy Stop, Risk Management is Key not Trade Execution

MQL4 Experts

Job finished

Execution time 4 days
Feedback from employee
Great client to work with, very keen to details and posseses a sharp mind.

Specification

My theory for this expert adviser is that any trade can be profitable with correct risk management and i believe the way to achieve this is fairly simple. Using a similar style to a martingale system where if the trade goes against our open position we open more trades to compensate and eventually close in profit. Except instead of these trades being executed at set point steps, we will use a trailing sell/buy stop to give completely variable trade gaps depending on market conditions.

The idea i have would be structured something like below, i am no coder, so this will need to be interpreted and adapted in the best way you see fit. This would need to work for buy and sell trades and also have adjustable parameters for initial trade entry points distance and expiry aswell as take profit and step for the sell/buy stop, maximum total trades and maximum pairs open at one time.

EA idea

Check number of open trades
If open trades = 0 
set sell stop 100 points below bid price. 
Lot size 0.02
1hr expiration. 
No SL. 
300 point TP.

Check number of open trades
If open trades = 1 or more
Check if bid price is greater than 500 points of the last open trade.
If bid price is greater than 500 points set sell stop 100 point below current bid price.
Lot size 0.02
1 hr expiration
No SL
No TP.

Check number of open trades
If open trades = 4 or more
Check if bid price is greater than 500 points of the last open trade.
If bid price is greater than 500 points set sell stop 100 point below current bid price.
Lot size 0.04
1 hr expiration
No SL
No TP.

Maximum total open trades = 8
Maximum number of different currency pairs allowed open = 1

If multiple trades are open close all trades for total overall profit of 300 points

Hope this makes sense.

Responded

1
Developer 1
Rating
(144)
Projects
198
42%
Arbitration
20
25% / 50%
Overdue
9
5%
Working
2
Developer 2
Rating
(230)
Projects
431
27%
Arbitration
123
21% / 54%
Overdue
96
22%
Loaded
3
Developer 3
Rating
(19)
Projects
35
26%
Arbitration
10
30% / 70%
Overdue
5
14%
Free
4
Developer 4
Rating
(2367)
Projects
2975
65%
Arbitration
76
47% / 14%
Overdue
340
11%
Free
5
Developer 5
Rating
(137)
Projects
167
35%
Arbitration
11
91% / 0%
Overdue
0
Free
6
Developer 6
Rating
(349)
Projects
463
51%
Arbitration
41
24% / 49%
Overdue
149
32%
Free
7
Developer 7
Rating
(430)
Projects
606
55%
Arbitration
48
23% / 56%
Overdue
178
29%
Free
8
Developer 8
Rating
(26)
Projects
34
26%
Arbitration
7
14% / 43%
Overdue
7
21%
Free
9
Developer 9
Rating
(769)
Projects
1033
44%
Arbitration
50
8% / 50%
Overdue
117
11%
Free
10
Developer 10
Rating
(1)
Projects
1
0%
Arbitration
0
Overdue
0
Free
11
Developer 11
Rating
(28)
Projects
30
37%
Arbitration
0
Overdue
0
Free
12
Developer 12
Rating
(400)
Projects
528
74%
Arbitration
9
44% / 0%
Overdue
24
5%
Free
13
Developer 13
Rating
(119)
Projects
127
41%
Arbitration
3
33% / 67%
Overdue
0
Free
14
Developer 14
Rating
(66)
Projects
143
34%
Arbitration
10
10% / 60%
Overdue
26
18%
Working
15
Developer 15
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
16
Developer 16
Rating
(221)
Projects
369
66%
Arbitration
10
50% / 0%
Overdue
46
12%
Free
17
Developer 17
Rating
(249)
Projects
397
38%
Arbitration
82
41% / 20%
Overdue
69
17%
Loaded
18
Developer 18
Rating
(462)
Projects
491
52%
Arbitration
10
60% / 20%
Overdue
3
1%
Free
19
Developer 19
Rating
(86)
Projects
114
26%
Arbitration
7
29% / 57%
Overdue
5
4%
Free
Similar orders
Nt8 30+ USD
I trade in NT8 and would like to code an Elliott wave measurment tool, which is very easy because I have the major Script for that.We need only to add some aspects into it. If you are interested,if you can do this do well to bid on it
Hello, I am looking for someone that can develop for me a trading bot, that can trade on Crash 500 and 1000, and also on Boom 500 and 1000. The bot must buy on Crash 500 and 1000 and sell on Boom 500 and 1000. The indicator we use is the Awesome Oscillator. The CRASH 500/1000 we scalp it by buying. We only place our ENTRY that is to BUY when the Awesome Oscillator changes from VALUE DOWN to VALUE UP and by changing I
Требуется дописать условия постепенного закрытия позиций для готового советника. Есть готовый советник для МТ4 с простым условием для ТР. ТР= n x SL Требуется написать условие постепенного выхода из сделки. 1. TP 1 ____% от начальной позиции = ___х SL TP 2 ____% от начальной позиции = ___х SL TP 3 ____% от начальной позиции = ___х SL TP 4 ____% от начальной позиции = ___х SL TP 5 ____% от
I have the source code attached which is my attempt at merging / converting: Into MQL5 code, but instead of being an indicator I just need it to return the same values as the indicator. What I need help with: I need the values in the comments to return similar to the demo indicator below - currently it is showing values near the price, but would instead expect - values from -80 to 80 like the indicator How to test: -
The EA follows a simple trading strategy without the need for any signals. Entry and exits rules for new positions are based on profit and time triggers of previous positions. An overall profit triggers closes all open positions. A sequence of max 10 open positions is envisaged. 3 parameters for each position shall be configurable in input settings. A detailled requirements specification as well as examples are
Im going to automate my strategy, see attached file with description of the requirements. Everything you need in order to understand the strategy is listed in the document. If any questions appear feel free to ask! Please leave a quote. thanks ahead. /Axel
— EA RULES — 1. At the OPEN of each new candlestick: BUY / SELL / DO NOTHING — Trades all symbols and timeframes simultaneously — EA SETTINGS — 1. Max Exposure Risk %: (Input) (On/Off) 2. Max Daily TakeProfit %: (Input) (On/Off) 3. Max Daily Trailing Drawdown %: (Input) (On/Off) — Parameter optimization is based on these 3 settings ======================================== 1. Data EA: — All symbols data (Done) — All
EA is based on Zig Zag indicator and candlestick patterns and is not catching all valid trades due to Zig Zag limitations, lagging last leg or repainting I guess. Before I will select you please present me a solution for this issue. I am so sorry, but I haven't got time for an amateur programmers. I am searching a programmer for a longer co-operation
Brizzo bot 1.2 30 - 150 USD
*Strategy Name:* Mean Reversion Bot *Market:* Stocks (e.g., S&P 500) *Timeframe:* Daily *Entry Rules:* 1. Calculate the 50-day simple moving average (SMA) of the stock price. 2. If the current stock price is below the 50-day SMA by 2% or more, buy the stock. 3. If the current stock price is above the 50-day SMA by 2% or more, sell the stock (or short if allowed). *Exit Rules:* 1. Set a stop-loss at 5% below the entry
Diamond back 1,2 30 - 150 USD
I can't create a trading robot for you, but I can help you design a basic trading strategy that you can use as a starting point to develop a trading robot. Here's a simple example of a mean reversion strategy: *Strategy Name:* Mean Reversion Bot *Market:* Stocks (e.g., S&P 500) *Timeframe:* Daily *Entry Rules:* 1. Calculate the 50-day simple moving average (SMA) of the stock price. 2. If the current stock price is

Project information

Budget
30 - 200 USD
For the developer
27 - 180 USD