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

MQL5 Indicators Experts

Specification

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)

Responded

1
Developer 1
Rating
(33)
Projects
49
12%
Arbitration
16
0% / 88%
Overdue
10
20%
Free
Similar orders
Add alerts, pop up, sound, notifications and email when threshold Slope level 1 and slope level 2 ( and their negatives is reached). Alerts should change as the Slope level variable is changed and should alert once or have a one hour time restriction for multiple occurrences. Thanks
I have a dropservicing agency (service intermediation) and I'm looking for a professional to configure the Force Value 1.00 indicator in MetaTrader 5 from the Hanteck brokerage. I need the configuration to meet the operating requirements in all markets (forex, stocks, crypto, etc.), allowing day trade operations following the market trend, using the M15 chart and including the Stop Loss functionality." Required
I want a bot developer deriv He has experience and I want a profitable robot, the profit is higher than the loss Or I want someone to sue with me. I have a profitable robot, but I want another robot or to improve another robot I have
Where/How to request Oanda retail open positions? I've tried through with a Oanda API and requesting this way; url= " https://api-fxpractice.oanda.com/v3/instruments/AUD_USD/positionBook " but I get result different results (see attached pic). If someone is able to replicate/ make some similar to this indicator, im willing to pay
I would fix the speed and accurancy of indicator in pinescript for tradingview it's slow and doesn't have a good accurancy, is there a way to fix it? thank you
Create a MT5 EA based on certain strategy creating a proprietary automatic trading strategy for our private investment portfolio. This is a unique opportunity to work on an exclusive project that demands creativity, strategic thinking, and a deep understanding of financial markets. Project Description: We are looking for a developer to design and implement an advanced automatic trading strategy tailored to our
I like to put 4 input to the EA. symbol 1, symbol 2, symbol 1 lot, symbol 2 lot. When the EA wants to open buy position, close all positions then buy on the symbol 1 and sell on the symbol 2. When the EA wants to open sell position, close all positions then sell on the symbol 1 and buy on the symbol 2. Thank you
This is a Ready Made grid Automatic EA 1.Need some bug fixing and little modification. This EA has some bug like -Place Random Trade after MT4 Restart . Also not follow custom parameter grid distance, grid slippage . like if i set 300pips grid distance, some time it place trade at 400 pips distance . fix this bug 2.first trade open by RSI logic if rsi30 open buy trade
Are you a coding maestro with a passion for optimizing indicators to blazing speeds? Look no further – I’m in search of a skilled developer to take my indicator to the next level! The Task: I need someone who can dive deep into the code, iron out any pesky errors, and optimize the indicator for lightning-fast responsiveness. Additionally, I require seamless integration of the Zigzag indicator, which currently resides
This is a Ready Made grid Automatic EA 1.Need some bug fixing and little modification. This EA has some bug like -Place Random Trade after MT4 Restart . Also not follow custom parameter grid distance, grid slippage . like if i set 300pips grid distance, some time it place trade at 400 pips distance . fix this bug 2.first trade open by RSI logic if rsi30 open buy trade Add Revise Order mode. (anti-martingle grid )

Project information

Budget
50+ USD
For the developer
45 USD
Deadline
to 10 day(s)