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

MQL5 Indicadores Asesores Expertos

Tarea técnica

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)

Archivos adjuntos:

Han respondido

1
Desarrollador 1
Evaluación
(33)
Proyectos
49
12%
Arbitraje
16
0% / 88%
Caducado
10
20%
Libre
Solicitudes similares
BUY AND SELL 30+ USD
Create an Expert Advisor that collaborates between these indicators ETR, MEv2 and STLv3 with these features 1. SL and TP 2. TIME FILTER 3. ETR, MEv2 and STLv3 PARAMETERS BUY ENTRY STEP 1. FIRST candle OPEN above Symphonie Trend Line STEP 2. Check Symphonie Extreme must indicate color BLUE STEP 3. Check Symphonie Emotion must indicate color BLUE STEP 4. Open trade with money management STEP 5. Trade open MUST BE 1
Hello, I have a protected Ninja trader Order Flow indicator and I was wondering if you can reverse engineer it to replicate the functionality. H ere are the specifications and indicator: https://docs.google.com/document/d/1KyYwQ7iTL2KWGhnZzxS1gObccu9LPMrGuMc9Mdk_3KY/edit?usp=sharing
I have an EA that need some changes including integrating the indicator code directly into the Expert Advisor. I will give the detailed doc once we settle on the candidate for the job . Please bid if you can work with the stated amount. Thanks
Hello, Need to convert Tradingview Indicator to MQL4 indicator. or if you have this one converted already, let me buy a copy please. If we're good, then will definitely buy it and ask to convert into EA on new order. Supertrend by KivancOzbilgic
Fix bug or modify an existing Trading view indicator to display correct. The indicator is working but not displaying/plotting all the information i want. So i want it adjusted to plot all the info
Here's a brief requirement you can use: **Description:** I am seeking an experienced MQL5 developer to create a (EA). The EA should include features for placing pending orders (Buy Stop and Sell Stop) based on market spread, managing trades effectively at the opening of new candlesticks, and implementing take profit and stop loss strategies. Additionally, I would like the option to adjust parameters based on market
I have an EA which i need to do below modifications. Variable Inputs to be added Order Type : Market , Pending Trade Type : Buy, Sell , Buy & Sell Pending Pips Step : ( Pips Value can be negative or positive to decide on what type of Pending Order ) // If trade type Buy is selected Close Type : Close All ( Bulk Close Option in MT5 ) , Close Individually Close Option : %of Equity , %of Balance , Amount $ , %of No
Add multiplier to grid recovery system. For example: Grid Trade 2-3 Spacing; 1.0 Multiplier Grid Trade 4-6 Spacing; 2.0 Multiplier Grid Trade 7+ Spacing; 1.6 Multiplier Need quick turn around. Need it done ASAP
Objects reader PIN 70 - 100 USD
Hi I have an indicator that create objects in the chart and using those following some rules the new indicator will create external global variables with value = 0 ( NONE ), = 1 ( BUY ) or = 2 ( SELL ). The global variable will use PIN external integer number . PINS are by now global variables (GV) whose name indicates the pair name and the PIN belonging and their value indicates it direction/action. PINS GV names
I want an indicator and its source code that returns the value of: - two moving averages in different selectable timeframes, with method Exponential and price calculation price_open; - Opening, closing, maximum and minimum of the candle in different timeframes And that returns the values ​​regardless in a chart of one minute. The input parameters: * select timeframe media1 = {1,2,3,4,5,...} * select timeframe media2

Información sobre el proyecto

Presupuesto
50+ USD
Para el ejecutor
45 USD
Plazo límite de ejecución
a 10 día(s)