Custom Expert Advisor based on 3 indicators

MQL5 Experts

Trabalho concluído

Tempo de execução 1 dia

Termos de Referência

The EA work this way:


1 Awesome Oscillator- already included in MT5


2- 3 moving averages with customizable value – to


x-Yellow

y-Red

z- blue


3- 10 price channels and 10 subchannels prices related to a price of each channel.

All entries will be based on positive indication of the 3 indicators above and will work both in long operations as in short



2.1 From price channels and subchannels prices:



The price channels are channels through which the entries have to relate to them. Shall be constituted of two values, the up and the down, for example:


Up- 10.60

Down- 10:50



These values constitute a price channel (obs. The other two indicators should also release input) So during the candle 2 minutes or 1 minute (depending on the configuration parameters for candles 2 or 1 minute), if the maximum and minimum value reached not exceed the value of this channel, the entry order will occur. But then there are the subchannels, which I shall also set and are for example, shared the top channel:


Sub-up - 10:58

sub-down- 10:52


So for example, to set the entry, the maximum price of the candle must not exceed the value of the main channel, but also as necessarily reaching the minimum value of the closest sub-channel.


Like this example:


up- 10.60

sub-up- 10.58

sub-down-10.52

down-10.50


Practical example-


In a short position, the value of the candle must never go beyond 10.60,-10.50 but necessarely reach 10.58 at least. To make an entry at 10.58 and closing a short position at 10.52. Let's say in a short position indication, but the max and min price was only 10.59-10.60, in this case no entry will be made, based on this candle.


In a long position the value of the candle must never go beyond 10.60-10.50, but necessarely reach at least 10.52 value, to next make an entry at 10.52 and close position at 10.58.



After closing the candle on favorable terms, the EA will immediately open order to get into position. For long positions, based on the example above, the entry value will be the value set to the sub-down- 10.52, to be closing necessarily at 10.58. In an operation short the input value will be 10.58 and the value to necessarily close 10.52.



Important: The decision of the robot will be made after the closing of the candle, if the price does not extrapolated the channel, and the entry order will be valid for the following x candles. (which I can set the parameters). However, it is also very important during the candle, the price must necessarily reach the value of subchannels too , or the entry will not be effected, for example, important ->


Example 1 Based on the above channels. I'm working with a 2 minute candle, the indication is to get long position, according to the moving averages. And the maximum value of this candle was 10:53 and the minimum at 10.50. In this case everything is ok, the system immediately after closing this candle send a valid order for more x candles following, necessarily on the value of the sub-down 10:52 to close the transaction with the value subup 10:58.


Example 2 Based on the above channels, I have a 2-minute candle, the other indicator show to going long, the maximum value was 10:51 and the minimum at 10.50. In this case even still respecting the channels, the system will not send the order, as the maximum value should have reached at least the value of the sub-down- 10:52.


Example 3 Based on the above channels, I have a 2-minute candle, the other indicator show to going a long operation, the maximum value was 10:53 and minimal 10:49. In this case, no entry will be made, as the value extrapolated the channel, so now only at the next opportunity later.

In short operations the principle is the same, only in reverse. The entry will be based on subup value and the closing in the subdown value.


ADDITIONAL POINT important- If the candle conditions are according to the terms above, and the system opens the order to be executed, but if eventually and suddently the price reaches the value of opposite subchannel (wich is the close position) before i can execute my order (its only openned), so the order entry will be canceled immediately, because the price has already reached his potential. But if it lacks only a penny to reach the opposite channel, the order remains valid. For example, I have a long entry, the candle has closed and gave 10.54 max and 10.53 minimum price, here the EA enters with 10:52 long order. If eventually the EA couldn't make an entry at 10:52 because the price already goes up to 10:58, so the EA must cancel the entry immediately. But if the price reach 10:57, and i have an entry order that didnt executed, in this case the entry will remain opened, waiting for the price goes to 10,52 and then go to 10:58, but if 10,58 is reached anytime before I run my entry, the system will immediately cancel the entry.


Important - Due to the low liquidity of some markets, it should still have in the EA a configuration in which in an entry i could only partially execute the order, and eventually the value reaches the exit price of the transaction, let's say I want to buy 1,000 shares but only performed 700. And the price suddently goes to the opposite subchannel, if this happen then the robot will immediately cancel the entry of the pending order, 300 remaining, and place a closing order, the 700 that i could execute in the entry in the value of the opposite subchannel as usual, even without having fully make the entry with 1000 shares


I would like to have 10 price channel configuration, with the respective subchannels. And included the time x, in which will be counted in candles, and after that time if the price has not reached the subchannel, then the starting order will be canceled.



2.2 About the 3 moving averages and the distance between them



Moving averages work as an indispensable condition to be set for the entry. It will be based on three simple moving averages, which will have to get configurable periods, namely, yellow, red, blue.


The long position input (going long) will always be made where the moving averages take the relationship top-bottom, blue- red- yellow.


The short entry (going short) will always be made when the moving averages take the opposite relationship the previous configuration or is- top-Bottom line- yellow- red- blue.


As well the periods of configuration of moving averages, I like to have control on the parameters of the distance, between 3 moving averages, which will be effective for short and long operations, such as distance greater than 0.001, among all of them for example.


As a reminder, moving averages should work together with price channels and awesome oscilator.



2.3 Awesome Oscillator



The Awesome Oscillator is the third condition for the operation entry, which will work together with the moving averages and price channels. It will only release if the entries during the same candle 2 minutes or 1 minute, his condition is close to zero, or close to neutral. And for that, I'd like to have another definable parameter in the EA, which will serve for both long operations and short in two values, + and -. And the entry is only released if the Awesome Oscillator is in the candle between these two values, such as +1 and -1 (just an example).


2.4 Input operation


Recalling that the decision of the robot to the entries will be based only on an analysis of one candle, that immediately closed, and the entry will be based only after the closing of the candle. Also, if in such a candle conditions were admitted, i make an entry, however if the next conditions already go beyond the conditions of the parameters, the entry will continue, except if the price of the cases have already reached the target value, those described in Part 2.1, then the EA should cancel the unexecuted entry, or run the partially executed.


3. Closing operation


The output of the operation will be to gain as described in 2.1, in which the closing operation values will be the opposite subchannel, then the long operation I put a entry based on subdown value and closing necessarely at subup on the same channel, and in short operation I make a entry at the subup and close at subdown price. Since the order will be opened immediately after closing the candle, and the prices are consistent with price channels, and moving averages, and the Awesome Oscillator, and will be open for x other candles. If the price does not reach the target value, we will have two types of stop.


Observation: all price channels will work independently, if the price operates, between 2 price channels, no entry would be make, they arent intermingle


3.1 2 Stops



I shall have two types of configurable stop based on percentage. The first is in related to the current operation, smaller, with loss in percentage. After eventually have this stop, the system will continue normally working after it happens. The percentage is calculated related to the capital that I have when I open the entry order.


The second stop is general, and will be based not on the loss compared to the current operation, but in relation to my general capital, taken at the time I turn on the EA, with a loss in percentage. And this second stop if it occurs, causes the EA stop functioning.


So every time I turn on the EA, the second stop is already fixed in the loss in percentage based on the capital that I have as soon as EA is on, in the beginning of the day, if it is reached the EA will stop working.

About the first smaller stop, it will still make the EA functioning if it is achieved, however if eventually I keep getting other stops, then enter the general stop, which will be based on the capital value to turn on the EA




Requirements for configurable EA:


0- size of the lots for entry


1. Customization of the value period of the 3 moving averages yellow, red and blue


2 Value of the minimum distance between the moving averages for entry into operation. (this difference will apply to long positions and short).


3- 10 price channels


4 10 price subchannels that are values within the price of channels for input and output operation related to each of the previous 10 channels, can be numbered channel 1, channel 2, and for example subchannel 1 (related to channel 1) subchannel 2 (related to channel2), and so on.


5- Setting the candle in time on which the EA will operate: 2 or 1 minute candle, remembering that the entry is only given when the candle effectively close their time, and meet the requirements.


6- stoploss smaller, based on the value of the performed operation, current in percentage.


7- general stoploss, which will turn off the robot achieved loss of so many%, on the overall amount of capital taked in calculation on the moment i turn on the EA.


9 Number of candles, in which the order for the entry to be valid at the end of them if the price doesnt reach the subchannel price then cancel the entry order, and expect new future entries.


10- configuration values including the Awesome Oscillator must be released for entry, valid for operations bought or sold the closer to zero the better. For example be between +0.10 and -0.10 in order to release the entries.

Respondido

1
Desenvolvedor 1
Classificação
(135)
Projetos
192
42%
Arbitragem
17
29% / 59%
Expirado
28
15%
Livre
2
Desenvolvedor 2
Classificação
(647)
Projetos
1295
67%
Arbitragem
84
26% / 49%
Expirado
338
26%
Livre
3
Desenvolvedor 3
Classificação
(182)
Projetos
342
42%
Arbitragem
118
12% / 73%
Expirado
104
30%
Livre
4
Desenvolvedor 4
Classificação
(272)
Projetos
394
63%
Arbitragem
70
53% / 26%
Expirado
198
50%
Livre
5
Desenvolvedor 5
Classificação
(219)
Projetos
370
42%
Arbitragem
145
17% / 41%
Expirado
124
34%
Livre
6
Desenvolvedor 6
Classificação
(1853)
Projetos
3455
88%
Arbitragem
73
40% / 15%
Expirado
265
8%
Livre
7
Desenvolvedor 7
Classificação
Projetos
1
0%
Arbitragem
0
Expirado
1
100%
Livre
8
Desenvolvedor 8
Classificação
(8)
Projetos
9
0%
Arbitragem
6
0% / 100%
Expirado
4
44%
Livre
9
Desenvolvedor 9
Classificação
(2)
Projetos
2
0%
Arbitragem
13
8% / 92%
Expirado
1
50%
Livre
Pedidos semelhantes
Hello, send robot models with a solid strategy (to trade forex), I want to use it to make money for the week. It is important that you present me with your profitability graph and a test. I also want to hire him for future jobs
I am looking to develop an automated trading bot based on a strategy involving the crossing of four Simple Moving Averages (SMA). The bot should be capable of entering trades based on this strategy. Additionally, I would like to incorporate some custom diversions tailored for NinjaTrader
Seeking an experienced MQL5 developer to create a sophisticated Expert Advisor focused on harmonic pattern trading . The EA will be designed to identify and trade based on popular harmonic patterns in the forex market. Entry and Exit Logic: Develop smart entry and exit rules based on pattern completions and price action confirmations. Risk Management: Incorporate adjustable risk-per-trade settings and position sizing
preciso de um robô com duas médias móveis, uma exponencial high e uma exponencial low. preciso também ter a opção de utilizar e todos os tempos gráficos e alterar os parâmetros das médias. entrada de compra será feita quando um candle de alta romper e fechar a cima da média high e fechará a posição quando um candle de baixa romper e fechar a baixo da média low. a venda será feita quando o candle de baixa romper e
Description - An expert advisor(s), placing sell trades in EUR/USD, based on the close price of the previous two candles, as shown in the figure below. The trades would be made in the 5 minute, 1 hour, and 1 day timeframes. In the 5 minute and 1 hour timeframes the market orders would be placed at the start of a new candle, at specific times EST. The order would be cancelled at the close of that candle, i.e after 5
Hi, I have an indicator from my friend, I want to copy it to my own Traidingview or MT5 can you do that for me. Here is the link
Develop a simple trading robot from rainbow oscillator Additional features Include timeframe specification in rainbow oscillator trailing features moving average filter TP (true/false) SL (true/false) Fixed lot Risk percentage Percentage profit lock
Hi, I have an indicator from my friend, I want to copy it to my own Traidingview or MT5 can you do that for me. Here is the link
I need a dashboard that shows my various accounts that shows balance, equity, number of trades open, drawdown and some more information. I want to use it to monitor my accounts in one screen or chart. If there is anyone who can do it please show me the screenshot of your sample
Hi, I need a robot, which wil get instructions to trade in 3 symbols at the same time based on few parameters and calculations. Example: There is 1 symbol called Gold-Near and the rate for it is 1000-1002 If i specify that when the rate reaches 1050, it should sell 1 lot Upon execution it will have to sell 1 lot of cme gold, buy 3 lots of mcx gold and buy currently (lots will be based on calculation). All the

Informações sobre o projeto

Orçamento
200 USD
IVA (21%): 42 - 42 USD
Total: 242 - 242 USD
Desenvolvedor
180 - 180 USD
Prazo
de 5 para 10 dias