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

MQL5 Indicateurs Experts

Spécifications

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)

Répondu

1
Développeur 1
Évaluation
(33)
Projets
49
12%
Arbitrage
16
0% / 88%
En retard
10
20%
Gratuit
Commandes similaires
I'm in need of an experienced Meta 4 expert who can solve two specific problems and improve the current Martingale and Pyramid strategies within my EA. - Bug Fix: The EA is currently facing an issue where orders are not being executed correctly. This is causing a signal matching error and leading to potential losses. The primary task is to resolve this bug and ensure the EA executes trades accurately and as intended
I need an experienced developer who can turn my simply strategy to an EA on MT5 and MT4, will be using two EMAs and MACD and a risk management setting, please message me on time so we start work on it, waiting for you
Dear expert developer I have been trading futures and mainly indices for about 5 years and would now like to automate my trading strategy with the help of an intelligently set up bot. My strategy, which would have to be implemented, is mainly based on the following indicators: CCI / RSI / MACD and Stochastic I analyze the market according to volume peaks, the daily highs and lows and the prominent points and look for
Tim: //+------------------------------------------------------------------+ //| ggjhjh.mq4 | //| Copyright 2023, MetaQuotes Ltd. | //| https://www.mql5.com | //+------------------------------------------------------------------+ #property indicator_chart_window #property indicator_buffers 1
I need a developer that can turn my strategy to an EA, We will be using Fib, some indicators and a risk management settings, please message me on time so we start work on it, waiting for you
hello developers.i am currently looking for a simple line chart custom indicator,whenever the line char makes a horizontal line and the next bar closes bullish after the horizontal line an up arrow should draw and if we get a bearish bar a down arrow should draw...the indicator should also be able to send out all types of alerts.thank you
Hello I want to change my TREND indicator. The conditions for the alerts do not need to be changed, the indicator works very very well. I would like to add visible Stop and Tp level lines. Attached is the source code and text file. If you think you could do this job, let me know. Thanks in advance
i have an existing EA that takes trades when you reach a preset value of Demarker ( or RSI , or MACD, or combination of those 3) it buys at oversold zones it sells at overbought zones. I currently have an option to take more than one trade but it is not a typical martingale style. it just takes the same trade every certain distance that you set. i need someone to modify that and let EA make martingale trades with a
So looking to prevent multiple trades opening at the same time and fine a way to remove the draw down spikes that i see happening when optimising and converting it mt5 and what's your budget for this
I need an experienced developer to build the Cypher pattern scanner. Cypher pattern is a Harmonic pattern which consists of 5 legs (X-A-B-C-D), I will provide rules and conditions for the pattern and Scanner. Should be able to scan multi timeframes and multi patterns, create alert based on set conditions and should draw pattern on timeframe where pattern was discovered. Dashboard to display identified pattern based

Informations sur le projet

Budget
50+ USD
Pour le développeur
45 USD
Délais
à 10 jour(s)