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

指定

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)

ファイル:

応答済み

1
開発者 1
評価
(33)
プロジェクト
49
12%
仲裁
16
0% / 88%
期限切れ
10
20%
類似した注文
I use the translator I hope to make myself understood. I'm looking for a cyclical indicator. mt5. I attach videos to understand how it works. to be inserted at any point of the graph. It is possible to change the color and thickness of the line
This EA must have the following functions together: BE: place BE when the price reach a certain gain in PIPS and you can choose the offset too, so, for example it activates after 10 pips with 1 pip of offset so you can have profit with BE too Auto SL and TP Can manage the trades made by phone when MT5 is open in the PC or VPS Trailing stop (step by step): I can decide at what number of pips the trailing stop get
This is a strategy based on crossing two trend indicators on the second timeframe (1s, for example). We work not only with the market but with the limit orders as well (robot must "read" an order book). Read the whole instruction please for more details. Speak Russian, English
Martingale EA for MT5 30 - 100 USD
Criteria: Only one trade at a time. Cannot open another trade if one is running Trade on EURUSD only, once job is completed I will be happy to schedule more for other pairs You choose entry strategy and criteria win rate must be above 50% in long term backtest of EURUSD Every trade has got TP and SL Trades to last about a day, few trades a week, at least 10 pips gain per trade, so that it can be launched on normal
I have a indicator, mql file. The signals are seen below on a EURNZD H1 chart. Very important to get accurate entries. The signal to trade is the first tic after the the indicator signal paints. I've tried to demonstrate that below. Other than that the EA will have a lot size escalation, an on-screen pip counter, a button to stop taking new trades, SL/TP, and magic number. I would like the indicator to be within the
I would like to create an EA based on the Shved Supply and Demand indicator. you can find the Shved Supply and Demand v1.7 indicator in the following link https://www.mql5.com/en/code/29395 NB: Checks the trading robot must pass before publication in the Market ( https://www.mql5.com/en/articles/2555 ) MQ5 file to be provided
Im looking for an coder to code an EA: Trade management 1. opening trades according to the indicator 2. trades settings to choose from like: open all trades according to the signal open only trade 1,2,3 or 4 % per trade ( example 50/30/20 of the lot settings, with 4 trades it would be for example 50/30/10/10) 3. SL/Trailing settings: Move SL to entry after hitting TP1/TP2 or TP3 moving SL by % keep the original SL
Hi I'm looking to have 2 of my pinescript strategies converted to MQL5 and was wondering if you could first give me a quote for the more simple strategy and then for both the simple and complex strategy together. The simple strategy is a MACD crossover type thing that uses a special EMA script that filters out some ranging price action and also fractal candles for the stop loss. The second strategy is market
I want grate robot for making profits that know when to start a good trade and close a trade and must be active all time to avoid lost of money
I have developed a very strong TradingView strategy in Pine Script but unfortunately, a third-party connector is requiired and in my opinion, I want a more direct connection. I am not brilliant at coding, but I have coded the majority of the MT5 code and I would like you to make sure that the MT5 code matches my TradingView script and executes the same way as the TradingView script that I will provide if you are

プロジェクト情報

予算
50+ USD
開発者用
45 USD
締め切り
最高 10 日