A Few changes in actual EA

MQL4 专家

指定

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



反馈

1
开发者 1
等级
(53)
项目
74
26%
仲裁
30
10% / 63%
逾期
22
30%
空闲
2
开发者 2
等级
(2)
项目
2
0%
仲裁
0
逾期
1
50%
空闲
3
开发者 3
等级
(219)
项目
370
42%
仲裁
145
17% / 41%
逾期
124
34%
空闲
发布者: 38 代码
相似订单
I’m looking for an experienced MQL5 developer to build an EA for MetaTrader 5 based on a Pin Bar price action strategy. The developer should propose and explain the detailed strategy. Goal: Consistent performance with a target around 8%+ monthly profit. Stability and risk control are more important than high risk. When applying, please include: Your Pin Bar strategy logic Examples of previous MT5 EAs Estimated
Adapt existing MT5 EA to trade directly on crypto exchange (BingX/Bitmart/Bitget/XT.com) instead of forex broker. Required Work: 1. Market Data DLL WebSocket connection for real-time exchange prices Custom symbol in MT5 (e.g., FIGHTUSDT) Live OHLCV data feed to chart 2. Trading Library DLL Functions: SendOrder, GetPositions, GetBalance, ClosePosition, ModifyOrder API authentication (HMAC-SHA256) Support for
Creating mt5 bot that detects 1. Break of Structure 2. then Create trend line from starting point to BOS to Last reverse tap 3. Create RSI and MACD Opposite signal from last two higher highs 4. After that point EMA cross 34/18 and then SELL with stop loss on top 5. Profit target on Fib 43.4 level I have more testing strategies if this is working well, and cost is good I will give 5 more orders after first. Need in 3
"Grid Nexus EA" Building mt5 1- EA will manage the grid trading method using the algorithm I have defined. 2- EA will operate in two different modes: with indicators and without indicators. 3- It will include a Modify method and a Recovery method for grid management. 4- The chart template will include information panels and buttons, and I will provide this template along with the source code. 5- It will be
Hello, I am looking for an experienced MT5 (MetaTrader 5) developer to create a simple and reliable Forex trading EA. Broker: Skyriss Platform: MT5 Requirements: • EA should work only on Forex pairs (EURUSD, GBPUSD, USDJPY, USDCHF) • Around 1–2 trades per day is enough • Proper risk management with Stop Loss (SL) and Take Profit (TP) • Prefer low-risk trading with 0.01–0.03 lot depending on balance • No martingale or
Título: Necesito ayuda para usar MetaTrader 4 build 1443 para que funcione mi robot Descripción: Estoy buscando un desarrollador o experto en MetaTrader 4 que pueda ayudarme a utilizar la versión antigua de MT4 build 1443, ya que mi robot de trading solo funciona correctamente en esa versión. Actualmente cuando instalo MetaTrader 4 se actualiza automáticamente a versiones más nuevas (1457 / 1460), y mi robot deja de
I am looking for an experienced quant developer, data engineer, or market data specialist who can help me obtain long historical NASDAQ data for systematic trading research. The goal is to retrieve a clean, continuous dataset covering 2011 to 2026 (minimum) for the NASDAQ index. The dataset will be used for algorithmic backtesting, so data quality and continuity are critical. My trading system is already built and
Descripción del trabajo: Estoy buscando un desarrollador con experiencia en programación de Expert Advisors para MetaTrader 4. Tenía un robot de trading que utilizaba anteriormente, pero actualmente no funciona debido a un problema de licencia. Necesito un desarrollador que pueda crear un robot nuevo lo más parecido posible al que yo tenía, utilizando la misma lógica y parámetros de trading. El trabajo sería: •
Lucky Mpedi 50+ USD
To help with simple requirements and strategy to trade in metotrade 5 and to win or earn much money so that i can live better live. I hope i can get the robot for helping to trade
Job Title: Expert Pine Script → MQL5 Conversion (Exact Strategy Replication Required) Project Overview I am looking for a highly experienced MQL5 developer to convert my TradingView Pine Script strategy into a MetaTrader 5 Expert Advisor (EA) . This must be a 100% exact conversion of the strategy logic. The goal is to have matching trading behaviour and nearly identical backtest results between TradingView and MT5

项目信息

预算
20 USD
截止日期
1 天