A Few changes in actual EA

MQL4 Experts

Spécifications

I have a few changes in existing EA:

Point 1 - An function in EA does not work Reactivation of an order - should be fixed.

Point 2 actuall lot calculation should be changed and add two other posibilies to calculate lots.

thats it


Point 1

if there is an Order by other EA or manual opend - this order will be managed by Hedge EA.

If you want to test – just use following sets

UseOriginal=false
CloseBasis=false
OpenPending=true
UseReact=true

If first Pending is closed in Profit – then should opens a Reactivation, if Price goes Xpips better than entry of first Pending and than place again an Pending on original Price of first pending  - The new pending with does just have new TP and same Lots

After this second Pending is closed in Profit – EA should also close the refered basis order.

If Basis is closed bevor second pending – with basis should be closed second pending. Right now it is also working like this with first pending – same should be happend with second pending.

This function should work but does not work – this is to fix

 

Parameters of function Reactivation right are
input int            ReactEnter=10;//Reactivation Enter in pips

input int            ReactTP=5;//Reactivation TP in pips

Reactivation of pending does not working. If pending is executed in profit- and goes xpips better than place second Pending, pending should be Placed again. Same lots as pending before only NEW TP. If the reactivation Pending is closed – than reffered Basis has also to be to close.

But If original basis will close also Reactivation Pending must be deleted. As also do normal Pending. If Basis is closing refferd Pendings must be deleted.

 

Point two -

I want to change actuall Pending lots calculation - and add two other possibilities to definate lots for the Pendings.

 

Right now lots are calculated on basis of loss of basis order from entry price till hiddenSL . now if basis order goes xpips in minus, the minus till hiddenSL ist the calculation for Lots for pending order right now. There should be changed nothing only the amount should be encreast. Loss should hiddenSL pips and TP pips inclouded  + an amount which I will be definating in new Paramters in %


Now I just want
'That loss calculation goes till Pips TP includ and also having an Plus as overtop – percent of this calulated loss on TOP.

New paramter is – Top on loss definated with percent 0.5 Perdent or 5.0 perdent

In actual version of Hedge EA - Basis order with loss was closed at hiddenSL - So calculation of loss of basis goes further and should go TP of Pending - Plus from this sum Xpercent.

So from entry Basis till hidden SL – amount - Plus

Loss from HidenSL to TP – amount - Plus

An Overtop - percent of this amount 1% of hidden SL + Loss hidden till TP

------------------------------------

Loss Resoult must be covered from entry Basis till Pips TP – This clculation is done right now till hiddenSL

 

So definate Loss is – Loss of Basis – till hidden SL – from hiddenSL to PipsTP and of this result overtop definated part as percent. Example 0.5%

If Amont of loss is definated – lots must be calculated that if pending is opend at hiddenSL till pipsTP must loss covered. This is EA doing right now only with los still hiddenSL –

 

2a- I want just to definaet the lots for the opening pending wiht an multipler. So if basis is 0.01 lots and multipler is 2 EA does Open 0.02 lots. Second possibility

2b. Dividation - If basis is 2 lots and I have a dvidation of 2 - thant on pending is opend 1 lot - Third possibility

 

thats it



Répondu

1
Développeur 1
Évaluation
(53)
Projets
74
26%
Arbitrage
30
10% / 63%
En retard
22
30%
Gratuit
2
Développeur 2
Évaluation
(2)
Projets
2
0%
Arbitrage
0
En retard
1
50%
Gratuit
3
Développeur 3
Évaluation
(219)
Projets
370
42%
Arbitrage
145
17% / 41%
En retard
124
34%
Gratuit
Publié : 38 codes
Commandes similaires
I’m looking for an experienced developer to build a MT5 EA that combines the following three strategies into a single system: Strategy 1 – H1 Zone Rejection (Pullback Entry) Identify the high and low of the H1 timeframe Enter trades when price reaches the H1 high/low zones Confirm entry using a bullish/bearish candle on the M15 timeframe Target a 1:2 risk-reward ratio Strategy 2 – Breakout & Retest Identify the H1
Hello, I have a Ctrader indicator with the source code, I was wondering if this possible to convert it to Quantower. Hello, I have a Ctrader indicator with the source code, I was wondering if tis possible to convert it to Quantower., i need an expert who can convert it perfectly
AI Trading MQL5: Maximizing Profit from a $10 Investment Achieving significant profits from a small initial capital like $10 in AI trading with MQL5 requires a highly strategic and disciplined approach. While the potential for exponential growth exists, it's crucial to manage expectations and understand the inherent risks. **Key Strategies for Small Capital AI Trading:** 1. **Low-Risk, High-Probability
Manage my money and make strategy add money in my bank account analys account trade for me convert money in to my accountNext, you need to describe all terms and concepts contained in the idea description. If trend is important for your strategy, clearly define what indicator should be used to determine the trend direction and strength. The numerical characteristics of these definitions form the basis of Expert
Description: Looking for an experienced MQL5 developer to build an EA that: Reads MT5 trade history (DEALS format) Reconstructs trades using Position ID Replays trades in Strategy Tester (tick-based) Simulates trades internally Applies additional logic on top of trades Runs dual mode (original vs enhanced) Calculates MAE/MFE Shows trades visually on chart Outputs performance comparison Delivery required: same day
I need a professional developer to help me create an EA using RSI and Moving averages.The strategies are well organised and everything is in order. I will send all the details in the inbox
Build an MT5 EA focused on low-latency M1 scalping , where performance depends on execution quality (spread, slippage, commissions), not complex indicators. Core Idea M1 timeframe scalping only Short-term momentum + volatility-based entries Trade only in high liquidity sessions (London + NY) Avoid low volatility / Asian session conditions Execution Rules (Critical) Max spread filter (configurable) Max slippage filter
Build an MT5 EA focused on low-latency M1 scalping , where performance depends on execution quality (spread, slippage, commissions), not complex indicators. Core Idea M1 timeframe scalping only Short-term momentum + volatility-based entries Trade only in high liquidity sessions (London + NY) Avoid low volatility / Asian session conditions Execution Rules (Critical) Max spread filter (configurable) Max slippage filter
Project Overview I need assistance coding a hedging Expert Advisor (EA) that operates in "closed cycles" with a strict limit of five simultaneous open positions . EA Logic & Mechanism Initial Entry: Open a Buy position of 0.01 lots (Position A) with a Take Profit (TP) target of $1.00. Scenario 1: Price Drops (Hedging Step 1): If the price moves against the first trade, open two positions simultaneously: a Sell 0.02
Powerful 30 - 100 USD
I really want a powerful developed EA that can generate a minimum of 10% every month without martingale, greed or any dangerous strategy for sale. Developer must provide the mql5 file or the raw file for modification etc

Informations sur le projet

Budget
20 USD
Délais
1 jour(s)