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, I’m looking for an experienced MQL4/MQL5 developer to work with me on an ongoing basis. My clients request services such as: Converting TradingView Pine Script indicators/strategies into MT4 or MT5 Expert Advisors Converting MT4 EAs to MT5 (and MT5 to MT4) Compiling and fixing existing MQL4 / MQL5 EA code Adding simple features like alerts, SL/TP, lot size, and basic money management This job is for
I am looking someone to create an EA based on my MACD Histo indicator / strategy from Pinescript. I will send it to you for you to replicate. The EA shall have: - Divergence length in bars, min and max values. - Pivot Logic - Entry on close of divergence confirmation bar. - Dynamic lot size dependent on SL/TP, in monetary value. - SL / TP in percent away from entry, separate values for long and short. - Time, day and
Hello, I have a breakout EA with reversal logic. I own the full source code for both MT4 and MT5 versions. I need the modifications implemented for both MT4 and MT5 versions. I need several modifications: – Multiple reversals with configurable parameters – Breakeven functionality – Entry only after candle close beyond range + offset – Time-based activation – Alternative offset calculation logic – Automatic close at
simple automated trading system with adaptive risk management and trend-based execution. The EA manages trades with dynamic position handling and built-in stability filters. Designed for single-position trading and disciplined execution 30 usd budget
PROJECT DESCRIPTION Looking for 1 experienced MQL5 developer to build 2 Expert Advisors for MetaTrader 5, targeting XAUUSD and major currency pairs. Strong preference for a single developer handling both EAs to maximize code reuse, reduce cost, and ensure consistency. EA1 — Grid Martingale Pro · Buy/Sell grid with Fixed or ATR Dynamic distance (ATR read once per fill, stored in grid_step_at_open[]) · Gap
Hi I have a simple task (hopefully) I have a custom strategy that I built with the help of Claude Anthropic - everything is finished and I zipped it with power shell but when importing it NT8 gives me the error message that the file was made from an older, incompatible version or not a NinjaScript. My folder structure is correct as far I can see so I don't know what the issues is and it's costing me too much to go
Do you happen to have a profitable strategy for MNQ? it is urgent if any one can help me with this i will be happy to discuss with you and move forward to pay for it kindly let me know the amount thank fill free to bid
Looking for an experienced MQL5 developer to design and develop a custom Expert Advisor (EA) for MetaTrader 5. The purpose of this EA is not just automated trading, but also to help me better structure, test, and refine my personal trading strategy
I am looking for a developer to build a robust MetaTrader 5 Expert Advisor for Gold (XAUUSD) scalping on the M5 timeframe. The EA must be optimized for small accounts ($200 - $1,000). Technical Requirements: Primary Strategy: Mean Reversion using Bollinger Bands (20, 2.0) and RSI (14). Buy: Price closes below lower band + RSI < 30 + Trend Filter. Sell: Price closes above upper band + RSI > 70 + Trend Filter. Trend
Olá amigos possuo um indicador que não tem o código fonte mas tenho a licença para usar esse indicador que está me trazendo bons resultados no meu operacional desejo automatizar as suas entradas através de um robô funciona mais ou menos da seguinte forma o indicador gera um sinal de compra ou venda e também gera um nível de take profit stop loss.O robô deve fazer a leitura dos sinais e definir TP e SL nos mesmos