Simple trend following expert advisor

MQL5 Experts

Job finished

Execution time 19 days
Feedback from employee
I am so glad for work with you And I hope to work with you in another job in future.

Specification

I will like an automated expert advisor that will work in real time as I will want to leave it on a server to generate profit.


Signals will be generated as follows:


 If Bollinger band(middle Bollinger band) is above/higher than Moving Average and bar closes below highest Bollinger band  and the next

bar closes above Highest Bollinger band(thus bar has to close, not only move above), a long position will be opened.


If Bollinger band(middle one) is below Moving Average and bar closes above lowest bollinger band and the next bar below lowest

Bollinger Band (thus bar has to close, not only move below), a short position has to be opened.


MAX 1 position can be opened at a time. Thus only after open position is closed can the next signal be generated.


The following inputs should be available:


Moving average:

1)Length of moving average

2)Source, for example(closing, open, low or high price)

3)Offset


Bollinger band:

1)Length of bolinger band

2)Source, for example(closing, open, low or high price)

3)Offset

4)Standard deviation


There should also be an option that can be set so that either - 1)Only Long Positions can be opened

                                                                                                      2)Only Short Positions can be opened

                                                                                                      3)Both Long and Short positions can be opened.


Risk Management

Risk management will  be determined with the Average True Range(ATR) indicator as follows:

Average true range %  will be calculated for each closing bar. This is done by dividing the Average True Range

value by the closing Price value *100.


Then there should then be 2 inputs for:

-Stop loss multiple.

-Take profit multiple.


These inputs will be multiples that will be multiplied with the Average True Range %.


For example if the closing price for a share is $1000 and the Average True Range is 1 then the Average True

Range % will be 1/1000 *100=0.1


Then Stop loss will be determined as follows:

Average True Range % times the input multiple for stop loss.

For example if a input multiple of 2 is entered then the stop loss will be 0.1 *2=0.2%

Thus stop loss will be set at 0.2% below opening price of trade.


Then Take profit will be determined in a similar manner:

Average True Range % times the input multiple for take profit.

For example if a input multiple of 3 is entered then the stop loss will be 0.1 *3=0.3%

Thus take profit will be set at 0.3% above opening price of trade.


Position sizing:

For position sizing there should be an input for the % of equity that should be risked.

For example if equity is $100 000 and input is 2% then only an amount of $2000 should be risked.


Position sizes will then be determined with the Stop loss value(as calculated under Risk Management) as follows:


The amount that should be risked (for example the $2000) should be divided by the Stop loss %.

Thus using the $2000/0.2%=$1 000 000.

Thus a position of $1 000 000 should be opened.

Thus if stop loss is triggered, 0.2%*1 000 000= $2000 loss.



High volatility problem:

Lastly I only want positions opened when volatility is low. I thought about adding a extremely long moving average(500 ma length)

to the Average true range indicator and only opening positions if the ATR%/or the ATR(as they are identical in movement but not value)

are below the 500 moving average, I know you can do this in Tradingview but not sure about mql5? Any other suitable suggestions are welcome.


In any case there should be in input to whether the volatility limit should be true or false.


Indexes and commodities:

Lastly the system has to work on all commodities(including gold and silver) and indexes as available to trade by XM brokers.


Testing

I am going to use the coded algorithm to back test data, run it on a demo account; and if there is no errors on a real account.


I would also have possesion of source code and programmer should be available for final tweaks and adjustments.







Responded

1
Developer 1
Rating
(414)
Projects
670
33%
Arbitration
60
17% / 32%
Overdue
113
17%
Working
2
Developer 2
Rating
(229)
Projects
339
49%
Arbitration
21
5% / 33%
Overdue
24
7%
Free
3
Developer 3
Rating
(90)
Projects
118
17%
Arbitration
44
23% / 39%
Overdue
20
17%
Free
4
Developer 4
Rating
(258)
Projects
269
29%
Arbitration
2
50% / 0%
Overdue
3
1%
Working
Published: 2 codes
5
Developer 5
Rating
(312)
Projects
521
47%
Arbitration
30
10% / 47%
Overdue
139
27%
Free
6
Developer 6
Rating
(365)
Projects
412
36%
Arbitration
35
26% / 57%
Overdue
63
15%
Free
7
Developer 7
Rating
(2676)
Projects
3416
68%
Arbitration
77
48% / 14%
Overdue
343
10%
Working
Published: 1 code
8
Developer 8
Rating
(2)
Projects
1
0%
Arbitration
1
0% / 100%
Overdue
0
Free
9
Developer 9
Rating
(17)
Projects
24
33%
Arbitration
5
20% / 40%
Overdue
8
33%
Free
10
Developer 10
Rating
(574)
Projects
945
47%
Arbitration
309
58% / 27%
Overdue
125
13%
Free
11
Developer 11
Rating
(69)
Projects
146
34%
Arbitration
13
8% / 62%
Overdue
26
18%
Free
Published: 6 codes
Similar orders
I need an experienced TradingView Pine Script developer to build and test a custom intraday strategy for NQ/MNQ . I am not looking for a conversion . I need the strategy researched, developed, tested, and optimized based on my requirements. Requirements: NQ/MNQ intraday trading 5–15 minute charts New York session only Flat before market close Base logic using Zero Lag Signals , with additional filters if justified
Le robot devra : Respecter strictement les règles de risque des comptes FTMO : perte journalière maximale, perte maximale totale, taille des positions, etc. Intégrer un système de gestion du risque automatique. Être capable de gérer différents types de comptes et tailles de capital. Être basé sur ma stratégie et mes règles de trading que je fournirai au développeur. Être entièrement automatisé pour l’exécution des
I am looking for an experienced MQL5 developer to build a professional MT5 Expert Advisor specifically for XAUUSD (Gold) and other indices. I saw that XAUUSD is one of your primary areas of specialization, so I would like to discuss a custom EA with you. My priority is NOT extremely high returns. I want a robust EA designed for controlled risk and long-term survival. Requirements: • MT5 / MQL5 • XAUUSD, usoil,btc and
VENOM EA 35 - 50 USD
So, im a beginner and I'm pleading you to built me a bot that runs 24hrs and that can buy and sell at the same time, choose a better and profitable strategy. I will do anything thing it takes to get the bot. I hope you take my request into consideration
Je cherche un développeur MQL4 / MQL5 expérimenté pour créer un robot de trading automatique (Expert Advisor) performant et sécurisé. Validation de comptes Prop Firm capable de trader sur le forex et les matière première
XAUUSD Digger 50 - 300 USD
I want you to create a strategy that fits for my funded account conditions like winrate of 60%+ with good risk reward ratio min 1:2 and max drawdown per day is 2% or 3% and overall should be less then 10% with less consecutive losses should be able to finish the funded stage in of phase 1 8% target and phase 2 of 10% target in a month with good number of trades in a month need journal of all the back tested data and
I need a simple Expert Advisor for MT5 that trades based on RSI overbought/oversold levels. - Entry: Buy when RSI(14) < 30, Sell when RSI(14) > 70 - Exit: Take Profit and Stop Loss as adjustable input parameters (default 50/25 pips) - Position sizing: Risk 1% of account balance per trade, auto-calculated from stop-loss distance - Timeframe and currency pair: adjustable inputs, not hardcoded - Should include basic
1. Trading Instruments: - The robot should trade exclusively on the following currency pairs: - NZD/CHF - NZD/USD - GBP/USD 2. Trading Style: - The robot should implement a day trading strategy, focusing on short-term trades. 3. Risk Management: - Maximum drawdown percentage: 10%. - Stop loss settings: Adjustable based on volatility (suggested default: 30 pips). - Take profit settings: Adjustable
I have an existing working MQL5 Expert Advisor and require an experienced MQL5 programmer/trading-system analyst to independently analyse its historical performance. This is NOT initially a request to rewrite the EA or simply optimize parameters. Current strategy: - MetaTrader 5 - M15 timeframe - EMA / ADX / ATR based - Approximately 1,337 historical trades - Gross Profit approximately USD 271,000 - Gross Loss
Gold robot 30 - 1000 USD
Hello everyone, I’m looking for a developer who has an algorithm in their arsenal that generates quick profits over the long term. I’m interested in a scalping expert advisor—it can be a one-shot, averaging, or grid strategy, with or without TP/SL. Please share your ideas and results; I’ll consider all options. The most important thing is the result. Good luck

Project information

Budget
30+ USD
Deadline
from 2 to 5 day(s)