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
Ähnliche Aufträge
Hello, we have an existing EA, and are building a new one. We want our EA to connect via API to an AI provider like Chat GPT, Claude, or perplexity. Can you connect a meta trader EA to an AI agent? if you can then i would like to speak. The system is quite simple, for example the EA would ask perplexity where the support is on EURUSD then place a trade, thank you, Rob
Hi, Im looking to purchase or build an EA that can open many trades or big lot size to churn out IB commission, it doesnt have to be super profitable but will need to have the number of trades on going in order to earn IB commission. Source code is required upon purchase. If you have any EA or strategy that are gearing towards this, let me know and i would be glad to purchase it. Please share the demo trial for me to
I currently have unfinished work. It’s a project to connect MetaTrader with the BingX platform. At the moment, I have implemented a service that retrieves a custom symbol in BingX, and it works well. However, some specifications still need to be adjusted regarding how the data is received. Otherwise, prices and other values are accurate. The only issue is that for the strategy tester, it is always necessary to
This is to modify my Semi Auto EA -Looking for developer modify my existing EA to Pending Order EA (BS/BL/SL/SS). Relevent with Heiken Ashi Smooth ,Moving Average , Acceleration. Concept MAster and Slave. Ready to give previous soucre code as guide. Work to do - 1)To modify this EA to Pending Order. 2) to add new feature - Risk Management/moneymanagement 3) To modify 4 slave to 7 slave will give the previous to
import { useState, useEffect, useRef } from "react"; const INIT_LOT = 0.01; const TP_MOVE = 200; const SL_MOVE = 120; const START_BALANCE = 1000; const MAX_LOT = 5.12; const TICK_MS = 1200; function ema(arr, n) { if (arr.length < n) return null; const k = 2 / (n + 1); let e = arr.slice(0, n).reduce((s, v) => s + v, 0) / n; for (let i = n; i < arr.length; i++) e = arr[i] * k + e * (1 - k); return e; } function
🚀 ADAPTIVE GRID HEDGE EA (FULL VERSION) 🧠 📌 GENERAL CONCEPT This Expert Advisor (EA) uses a strategy combining: Grid trading (order grid) Hedge (protection with opposite positions) Lot scaling (progressive) Loss compensation with profits Continuous operation (non-stop) Focus on: Small recurring profits High trade volume (rebate/IB) The system does not depend on direction, but rather on market oscillation . Main
I have a indicator working good but have some bug for arrow placement . budget is fixed 30 used . only experience developer apply. i want to arrow get put on just above the candle high and candle low
I need a professional MT5 Expert Advisor (EA) built with clean, modular code. This is an advanced strategy combining liquidity concepts, controlled DCA, hedge protection, and strict risk management. Core Requirements: Entry Logic (ALL must align): Liquidity sweep (Previous Day High/Low breakout and return) EMA50 and EMA200 trend alignment Higher timeframe bias (H1 or H4) RSI confirmation Bollinger Band entry Filters
I need a professional MQL5 developer. BEFORE I SHARE ANY DETAILS: 1. You must sign a PERPETUAL NDA with no expiration date 2. NDA includes €100,000 penalty for any breach 3. I require full .mq5 source code ownership 4. Developer must have 500+ completed jobs, 4.9+ rating Budget: €1500 EUR Duration: 14 days Start your application with "RULER" to prove you read this
i have a simple strategy can you please create the automated forex ea to execute my trading strategy? i need custom ea for tradingview and mt4/mt5 correction: i need a tradingview indicator created that tells me when to buy or sell. and ea in mt4/mt5