Basket trading EA needs a few mods (raw code will be provided)

MQL4 Experts

Specification

Basket trading EA needs a few mods


I have recently had a basket trading/hedging EA development and would like some changes made.


This is how to EA currently handles trades.


First trade - is handled by some extern settings in the EA

TP level is set.

Break even target is set at X pips after Y pips in profit.


The rest of the EA handles when the trade goes agains me.


For example. IF trade goes against me X pips open a 1 to 1 size hedge position - This is now classed as basket 1


At this point we are flat in the market.


I then wait for a new signal.  & enter a new trade - this new trade size is calculated based on the size of the previous basket.

If trade goes against me a new hedge is opened at 1 to 1 size hedge postion - This is now classed as basket 2.


IF the trade was to go in my favour and the overall live trades goes to being positive the EA closes all trades so the entire sequence can start again.



Areas for improvement -


- I would like to be able to specify break even settings for the first trade of each new basket. IE lets say we are up to basket 2. We would currently have 4 trades open - so we are flat in the market and i go to open trade number 5 which starts a new basket. I would like to be able to specify break even targets here ie If trade goes X pips in profit move SL to break even plus Y pips.

-On screen should say how many baskets we have open and show to points gap for each trade for the basket IE 10 pips between LONG and SHORT

- Currently the EA closes all trades IF hedging program is running and current trade tips the account to being at break even. I would like to have a option to define a % gain on equity close
0 will mean close baskets on break even (should take into account spread)
1.5% would mean when trade results in account equity + 1.5% close all trades

-Add button on chart "Secure bag" to set option to secure account at break even and let trades run (I will press this when i have strong conviction of my trade and want to stay in the trade but at no  risk of the account so this will secure the account and let the trades run) This option should only work on all first leg trades.ie first trades in any new basket.

- Add button to "tighten stop" on dashboard this will tighten SL to Low or High of previous bar ie IF short use high of previous bar close If Long use Low of previous bar close


-Allow EA to manage all pairs from the one screen (currently only works on the current chart the EA is installed on)

-Trailing-Step in pips: The trailing step in pips represents the minimum increase from the last trailing-stop value. For instance, if you set a trailing-step of 5 pips, the trailing-stop won't be moved unless the new value is at least 5 pips away from the current one, and 5 pips away from the current market price.

-add button to draw horizontal line on chart showing break even point taking into account current open trades.

Responded

1
Developer 1
Rating
(199)
Projects
287
52%
Arbitration
0
Overdue
1
0%
Free
2
Developer 2
Rating
(262)
Projects
536
50%
Arbitration
54
41% / 37%
Overdue
224
42%
Working
3
Developer 3
Rating
(277)
Projects
334
55%
Arbitration
14
36% / 29%
Overdue
1
0%
Free
Similar orders
To automatically execute specified trading lots based on RSI lower than 30 and higher than 70. Price must be at least $2 away from defined price benchmarks. Bot must close trade with $2 take profit
Hello, I am looking for someone to convert my MQL4 code project to MQL5. A brief description of my current strategy: MT4 'Spreadsheet' EA collects data from 28 FX currency pairs -> sends it to Excel, then Excel calculates and makes a decision -> Excel sends a signal to MT4 'Trading' EA and manages trades I want the MT4 EA to be converted into MT5. For Back testing purposes, I want to withdraw from using Excel and let
Hey i would like an EA (mt5) the EA will use two indicator which are Moving Average and Parabolic SAR and it should risk 5% of the amount of the account and it should double the account every time it enters a trade and the EA must also increase lots as the account grows
I would need an expert advisor that enters trades base off a indicator on trading view. The indicator is a free indicator on trading view, Which is called TFO Displacement. What needs to happen or the criteria is once the indicator prints a displacement. So once displacement is printed I would love for the EA to immediately open a trade in the direction of the displacement. With a 15 Pips top loss. And a 30 pip take
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 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

Project information

Budget
40+ USD
For the developer
36 USD
Deadline
to 3 day(s)