Simple trend following expert advisor

MQL5 Experts

Tâche terminée

Temps d'exécution 19 jours
Commentaires de l'employé
I am so glad for work with you And I hope to work with you in another job in future.

Spécifications

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.







Répondu

1
Développeur 1
Évaluation
(414)
Projets
670
33%
Arbitrage
60
17% / 32%
En retard
113
17%
Travail
2
Développeur 2
Évaluation
(229)
Projets
339
49%
Arbitrage
21
5% / 33%
En retard
24
7%
Gratuit
3
Développeur 3
Évaluation
(90)
Projets
118
17%
Arbitrage
44
23% / 39%
En retard
20
17%
Gratuit
4
Développeur 4
Évaluation
(255)
Projets
262
30%
Arbitrage
0
En retard
3
1%
Gratuit
Publié : 2 codes
5
Développeur 5
Évaluation
(312)
Projets
521
47%
Arbitrage
29
10% / 45%
En retard
139
27%
Travail
6
Développeur 6
Évaluation
(365)
Projets
412
36%
Arbitrage
35
26% / 57%
En retard
63
15%
Gratuit
7
Développeur 7
Évaluation
(2652)
Projets
3369
68%
Arbitrage
77
48% / 14%
En retard
342
10%
Gratuit
Publié : 1 code
8
Développeur 8
Évaluation
(2)
Projets
1
0%
Arbitrage
1
0% / 100%
En retard
0
Gratuit
9
Développeur 9
Évaluation
(17)
Projets
24
33%
Arbitrage
5
20% / 40%
En retard
8
33%
Gratuit
10
Développeur 10
Évaluation
(574)
Projets
945
47%
Arbitrage
309
58% / 27%
En retard
125
13%
Gratuit
11
Développeur 11
Évaluation
(69)
Projets
146
34%
Arbitrage
13
8% / 62%
En retard
26
18%
Gratuit
Publié : 6 codes
Commandes similaires
Hi, I’m looking for a top-tier, profit-optimized EA that has the potential to scale trading returns significantly. My goal is to maximize growth over time. Can you help develop a bespoke EA that could potentially scale to high six or seven figures
This is yakubu Jnr trading bots I create the trading robots to help my self and others traders to be successful please you can join my live trading bots or subscribe to my trading robots
Nyasco 90+ USD
Fast trading bot for starters less losses which leads to bigger profits made for thousands of people making billions of dollars .be the best trader for your self all the way
Nyasco 30+ USD
Faster robot with less losses which can be used for a long term earning money every day creating a bot for more than thousands of people to earn billions of money
Max amount grid 30+ USD
max amount grid step for magic number do keep deleting .only when it is in negative floating .but when it is profit allow to go over the max and replays to grid step
Apply with a screen of your work . Symbol Specific Logic . Live Chart Optimization Check the Core logic . [back tests as well] Change points to pips . Create buffer for the zone
I will pay 3000+ USD (negotiable) for an EA for existing MT5 that generates a minimum of 15-20% or higher a month consistently (provide source code after final deal) Looking for a highly profitable EA Please send demo version directly subject (Buying profitable EA Budget up to $ 3000 USD), past results and optimal settings so I can test, if it performs in a strategy tester i will also need option to forward test it
EA fx 30+ USD
Hello, I need an already developed EA similar to the one trading XAUUSD, with consistent entries and good risk management. Before we proceed, I would like to verify its performance. Please provide a live or demo account login along with the investor (read-only) password so I can monitor the trading results. I am looking for stable performance, controlled drawdown, and consistent profit on gold (XAUUSD). Once I
The strategy records the highest and lowest prices within a specified duration (default 15 minutes) after the New York market opens, forming the opening range. Post-Formation Breakout: When the price breaks above or below the opening range after its formation, it may indicate the direction of the day’s price movement. Trend Confirmation: The strategy uses two EMAs (default 20-period and 50-period) as trend filters to

Informations sur le projet

Budget
30+ USD
Délais
de 2 à 5 jour(s)