Grid Ea with extra features to be completed by better coder than me

MQL5 Indicadores Experts

Termos de Referência

The existing EA does most of what i want but i want to add some features and polish the code so it operates better. One problem I've been having is that the longer the back test runs the slower it gets so something is being retained that does not need to be and it is compounding to slow the back test over time.

How i would like it to operate:

When it starts it should draw horizontal lines in a grid pattern number of lines and separation defined by user (this works)

During initialization it needs to activate the nearest lines that are X pips away something relatively small and user set like 10 for a 50 pip grid as an example. When i use the 50 pip grid i don't want to be deactivating the nearest 2 lines each time i restart my EA or make adjustments. 

When it crosses a line it takes a trade and closes the previous trade (this partially works) I want it to close the previous trade and open the new trade on the same tick as part of the same operation so i do not have situations where due to spread there are multiple trades going the same direction at the same time unless the classic grid features are turned on. I understand due to spread and slippage my new trade may not be in the same position as my line.

Classic Grid Yes/No (this needs to be added) if this is turned on instead of closing the previous trade it will simply take a new trade on each crossed line and lines will not reset. Only buy trades taken above start point and only sell trades taken below start point. Recommend turning off auto-lot and using a fixed lot size for each line when using classic grid. 

I do not want to use SL and TP lines but rather to have the EA do this its self so instead of having a TP and SL created with the trade the EA will close trades at the appropriate positions. (currently uses TP and SL functions)

Growth and loss limits. The EA has a automatic shutoff function if it reaches % growth or % loss (this currently works) I want to add a reset option rather than just a shut down

Reset Condition I Yes/NO (does not currently exist) If certain conditions are met EA will close all open trades, recalculate Lot size, and redraw the grid. Example growth% is reached and auto-lot is functioning on martingale settings.

Automatic Lot size calculation (this is currently working) needs an On/Off function can set the % of account to hold in reserve and the rest is used to calculate the lot size based on stop loss however the stop loss is not actually used but is only there for lot size calculation purposes. Please note that it uses Accountballance + Accountcredit as my broker adds a credit and if it is not calculated as such many of the equity position in relation to account balance equations are wrong always triggered.

Limited Trades per line. (needs to be added) I want to be able to set a max number of active trades per line. so if for example i'm using a 10 pip grid and it is moving sideways it can only take 1 buy on each level and 1 sell on each level regardless of lot size. This prevents multiple increasing lot sizes in small range causing the eventual draw down to loss limit.

Active Trading times. (this is partially functional) I am currently able to set 1 active time period but i would like to be able to set 2 so it can be active for a few hours when EUR opens and then again when USD opens. but with some down time between them. I want to be able to tell it -7 or whatever i need to in order to adjust it to local time for both display and for ease of use.

Reset on new candle function. I'd also like to add a reset at candle close function It may not be useful but i'd like to back test it. This should take into account the current time of the chart and when a new candle posts it should reset and redraw. Of course it would not operate during inactive trading times.

combined trail (not currently working correctly labeled incremental trail) This is not well coded and does not work if there is not already a stop loss, so it needs to be redone by someone who knows what they are doing. I want to be able to set a number of ranges back a stop loss would be placed and moved as new trades are taken and it should work in both classic and resetting grid. if there are multiple buy trades and i have it set to 3 ranges then every time a new buy trade is taken on another level up then the stop loss will move to the line 1 level up and all open buy trades will have the same stop loss. If fore example its a 10 pip grid and the combined trail is set to 3 then when the trade is 30 pips profitable the stop loss will be created at the point of entry when it goes up to 40 pips then the stop loss moves to position 10 pips above point of entry and the second trade will also have a stop loss created at the same level.

When using Martingale settings (doubling lot sizes) it often grows the lot size too far too fast and causes errors. Currently these are addressed by shutting down the EA. I'd like to have an option to use the Reset function instead when this happens.

THINGS THAT SHOULD BE DISPLAYED ON TOP LEFT
current local time
Active Times for EA
Strategy (basic grid/renewing grid)
% lot increase on consecutive trade (100=full  martingale)
Max Growth per active session (EA shuts off or resets if this is hit)
Max Draw (EA shuts off or resets if this is hit)

When it closes it should remove only the horizontal lines it has drawn (currently removes all objects)

Arquivos anexados:

Respondido

1
Desenvolvedor 1
Classificação
(33)
Projetos
49
12%
Arbitragem
16
0% / 88%
Expirado
10
20%
Livre
Pedidos semelhantes
Welcome I have an Excel file that contains recommendations for buying and selling appears in a specific cell I would like to connect the Excel file to Metatrader 4 to implement these requests directly on metatrader 4 Many outpatient settings settings There is no stop or tP If this appears, the purchase process is indicated that opens one deal and is not closed unless the mark changes to the sale You cannot provide
Eu gostaria que criassem um robo que utilizasse capzack e tunel de vegas com multiplas ordens, seriam 5 ordens no total e o robo precisa interpretar a direçao do capzack
I need an Ea (mt4) with monthly profit 3 -5 % with Drawdown less than 10% if you have any EA with same criteria and with demo version that I can make back testing for it.any one has this EA can send me
dear , the strategy is using one indicator called round levels , it is attached , download it first and look if u can make an ea with it i use it with pending orders and so many money managments strategies i use the gaps between also as a zones to trade we will make a meeting on teams app and i will share the screen and discuss the strategy with u after i select u
MT5 to DXTrade 30+ USD
I have an EA with source code to copy trades from MT5 platform to the DXTrade platform. However I can not get the code to log in to the Dx Trade Platform. Can you help
I am wanting a robot that will trade an index (primarily AUS200) using 5 minute bars (changeable to other time frames). If the market breaks above or below a specific bar at a specified time then either a long or short trade is entered ( the distance above or below the break to enter the trade needs to be adjustable). A setting is required to specify the maximum distance the price can move above or below the
I need an EA that will copy automaticcally my signals from Telegram to mt4 and i need to be able to set the % of the account that will be applied as a risk for each trades the signals can be seen https://t.me/TMHTTFREEFXBOSIGNALS on my channel
I want to develop a NinjaTrader automated strategy that has a high win rate for trading futures. So the strategy will automatically enter and exit for an account. Do you have any experience with this? If so, can you please share some past results
I need a developer that can fix a indicator i have, I have a table that looks at emas and display bullish/bearish, I have spy on the table but its not always updating and need help fixing this I have this table and the first 6 rows looks at the chart symbol and if price is above 12 ema it will sows bullish under the 5/12 ema coulmn and bullish if its above, and same under the 34/50 colmun, if price is below 50 ema
Mt5 EA 30+ USD
Hey, I would like to find out if you can assist in developing and EA that I can use for my trading system for MT5 My system is very basic, it just a hedging system. Taking two trades buy and sell exactly at 14:00 (UCT+2). Risking 1% on each trade on a 1 : 2,5 Risk Reward ratio and stop loss of 2500 points since I am only trading GER30(Dax Index) for now, please make these inputs changeable. Once the trade is on 1 : 2

Informações sobre o projeto

Orçamento
50+ USD
Desenvolvedor
45 USD
Prazo
para 10 dias