Trabalho concluído
Tempo de execução 9 minutos
Comentário do desenvolvedor
Comentário do cliente
EA trades on Bollinger Bands, in general executing orders is fine. However, I need some optimization of my EA. Two request are adding code, while two requests are more reviewing the code.
1. Major Optimization: Close open and pending orders Symbol when hit TakeProfit
My EA will open one buy/sell order and 8 pending buylimit/selllimit at the same time when it opens. I want the EA to close the open orders and delete the pending orders of that particular symbol once one of the open order hit Takeprofit.
As described in below table when Order 4, (Buy order, 0.08 size) hit the TP it will close the two order buy orders and delete the BuyLimit pending orders. So only the Sell orders and SellLimit pending orders remain afterwards.
Open |
Order | Ordertype | lotsize | Symbol | Price | S/L | TP | Price (closed) |
1 | Buy | 0.02 | EURUSD | 1.1055 | 1.03 | 1.106 | Close |
2 | Sell | 0.02 | EURGBP | 1.3 | 1 | 1.31 | No change |
3 | Buy | 0.04 | EURUSD | 1.1054 | 1.03 | 1.1055 | Close |
4 | Buy | 0.08 | EURUSD | 1.1053 | 1.03 | 1.1054 | 1.1054 |
5 | Sell | 0.04 | EURGBP | 1.29 | 1 | 1.31 | No change |
Pending |
1 | BuyLimit | 0.16 | EURUSD | 1.28 | 1.03 | 1.1053 | Delete |
2 | BuyLimit | 0.32 | EURUSD | 1.27 | 1.03 | 1.1052 | Delete |
3 | BuyLimit | 0.64 | EURUSD | 1.26 | 1.03 | 1.1051 | Delete |
4 | BuyLimit | 1.28 | EURUSD | 1.25 | 1.03 | 1.105 | Delete |
5 | BuyLimit | 2.56 | EURUSD | 1.24 | 1.03 | 1.104 | Delete |
6 | BuyLimit | 5.12 | EURUSD | 1.23 | 1.03 | 1.103 | Delete |
7 | SellLimit | 0.08 | EURGBP | 1.28 | 1 | 1.31 | No change |
8 | SellLimit | 0.16 | EURGBP | 1.27 | 1 | 1.31 | No change |
9 | SellLimit | 0.32 | EURGBP | 1.26 | 1 | 1.31 | No change |
10 | SellLimit | 0.64 | EURGBP | 1.25 | 1 | 1.31 | No change |
11 | SellLimit | 1.28 | EURGBP | 1.24 | 1 | 1.31 | No change |
12 | SellLimit | 2.56 | EURGBP | 1.23 | 1 | 1.31 | No change |
13 | SellLimit | 5.12 | EURGBP | 1.22 | 1 | 1.31 | No change |
2. Check: Not all OrderSend are send to server
I encountered that in a few cases some of my predefined OrderSends are not triggered, a few times it was the 0.04 Lotsize. I cannot find the order back in the history or trade information.That could be fault of server or it could be that my code is written incorrectly. Please check the OrderSend for Buy and Sell.
3. Check: Sometimes buy/sell order are closed way too early
Sometimes my orders are triggered but after a few seconds it closes by itself again without hitting the TP or SL. I am not sure what triggered this.
4. Add: Maximum one set of buy/sell orders per bar chart
I want to limit the set of buy order/buylimits to one set per bar. Sometimes the orders are triggered again since my buy condition is still valid. This should be as well for the sell orders/sell limits
For your information; I included a file in the MQ4 but I believe I won't use it . Though I added in case you need it
Pedidos semelhantes
a coder is required to add an indicator to existing ea The new indicator will work as 1. option to combine with exiting indicator to open trade 2. it will be used as alternative BE point 3. It can also be used to close order or combine with other to close trade The second Job is telegram bot to get alert fr news trade and others Details when you apply i will test the ea work on live market and all bug is fixed before
Hello, I want to make an EA based on SMC and a developer that is familiar with the concept and full understanding of this. Must have done similar jobs before and be able show it. I only want to work with developer that has good track record and is precise. Further information will be handed when contact is made. Developers that has zero rating will not be considered. Listed price is a base point. The project can also
EA DEJA FABRIQUE ? MODIFIER QUELQUE LIGNE POUR LE RENDRE RENTABLE /////////////////////++++++++++++++++++++++++++++++++++ EA AVEC UN SYTEME SIMPLE ; SEULEMENT A MODIFIER %%%%%%%%%%%%%%%%%% SI PERSONNE SACHANT CODER CORRECTEMENT , CE TRAVAIL EST POUR TOI
Trade methodology based on Red and Green lines entering Overbought / Oversold zone. Using confluence of Higher time frame, Moving Average a trade can enter when there is a strong slope angle. Market Base Line is used to determine overall market sentiment. This is designed to be an established trend scalping strategy on lower time frames. To be used initially on demo then real account when settings have been fine
There are six conditions in total . source code from an existing expert will be provided to aid the completion of this job . - Install the following by the Panel (copy paste form my existing Expert ) 1. Pips Lost : number of pips lost ( monthly reset ) 2. Pips Gained : number of pips gained ( monthly reset ) 3. Have a black background to avoid the
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: function (A) Add Transform combine the 4 Expert Advisors into just 1 Expert Advisor, maintaining the individuality of each one Leave in extern (false) or (true)
Description: I am seeking an experienced MQL5 developer to create a custom Expert Advisor (EA) for MetaTrader 5 based on a specific trend-following strategy. The strategy includes precise risk management, advanced trade management features, and additional risk management tools. The EA should be adaptable to any timeframe on which it is attached. Below are the detailed requirements and parameters for the EA: Strategy
I need an EA trading frequently (HFT or something like), and it sould have some features below: 1、Have a clear trading logic 2、Have a good backtest result 3、Have a demonstrated benefitable result in a live account trading 4、Can avoid the news time period or not sensitive to news
Tenho um EA mql4 que está com funcionalidades funcionando e outras com funcionalidades sem funcionar. Tenho um vídeo do EA funcionando como deve funcionar perfeitamente. O meu não consegue seguir o mesmo programa pois quando coloca os pontos de parada e retirada são bem diferentes. Não tenho pressa para tempo, só queria que conseguisse renovar o EA. O arquivo do grafico anexo é como ele se encontra agora. O certo é
New york session based strategy 9:30 open Price takes out buy side or sell side liquidity Usually using 15min high and lows 5m entry Price takes out that high/low and price must close strongly back into the zone Is price is above price we have a sell bias vis versa for buys Sl is at the high or low with option for “offset” for cushion Tp is usually the opposite High or low. Would like the option for set pips-points &