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 coders , below is 60 percent of logic of the strategy. firstly Execution must work in real time with high accuracy. Code should be clear ,maybe modular . 2. Trailing line of Strategy A , BuyExecution_A Line ,SellExecution_A Line will be shown to watch "live" on Chart. if you have experience of phyton is also good STRATEGY A: At Start Open a Buy and a sell position at the same time and price. The coming
I am looking for an experienced developer to create a custom MT4 Expert Advisor (EA) / trading robot. Requirements: Fully automated trading system for MetaTrader 4 Clear entry and exit strategy (can be based on indicators, price action, or a custom logic) Risk management features (lot size control, stop loss, take profit, trailing stop) Ability to run on multiple currency pairs Option to adjust settings (risk %
I need a custom MT4 Expert Advisor based on H4 breakout with martingale and equity protection. Platform: MetaTrader 4 / MQL4 Main symbol: XAUUSD Must work on 5-digit / 3-digit brokers All settings must be adjustable from EA inputs Strategy Logic: EA must detect the previous H4 candle high and low. Automatically open BUY when price breaks above the previous H4 high. Automatically open SELL when price breaks below the
Hello, I am looking for an experienced MQL5 developer who can build a reliable choppy/range market filter for my existing EA. My EA works well in trending markets , but it takes too many losing trades during sideways, choppy, and ranging markets . I want an indicator/filter that can detect bad market conditions and pause or block EA entries during those periods. Main Requirement: Detect Trend / Range / Choppy market
Trend Filter BUY EMA 9 > EMA 21 > EMA 50 EMA 50 slope must be pointing upward. Price must remain above EMA 50. SELL EMA 9 < EMA 21 < EMA 50 EMA 50 slope must be pointing downward. Price must remain below EMA 50. Slope sensitivity should be adjustable in the EA settings. Entry Conditions Wait for a pullback toward EMA 9 or EMA 21. Entry only after a valid engulfing candle. BUY Previous candle bearish. Current candle
1.a specific robot to earn for a quick and reasonable trade all over. The Idear of being specific makes me perfect, I want this to be clear that make me a high luxurious person will describe me and I will promise to advertise the market both internally and externally
I have my own strategy in 1min. I want it convert to a bot. Please reach me only coding experts. I dont want bit makers from Ai. Demo version should be provided for confirmation
Code the indicator to MT5 EA, include all the inputs variable and values Enable EA true or false Allow live trading Allow demo trading Allow strategy tester Bar shift 0 adjustable Lot size adjustable Max spread in points (0=disable) Use stop loss true or false Stop loss in points (adjustable) Use stop loss circle true or false Use take profit true or false Use take profit in points (adjustable) Use pending order in
Title: Need MT4 Expert Advisor for XAUUSD (SMC/ICT Strategy) Requirements: I need a professional MT4 Expert Advisor (EA) for XAUUSD based on Smart Money Concepts (SMC) / ICT strategy. Features: - Platform: MetaTrader 4 (MT4) - Symbol: XAUUSD - Automatic Buy and Sell trades. - Detect market trend automatically. - Use Break of Structure (BOS) and Change of Character (CHoCH) for trend confirmation. - Enter trades only
The EA must be fully automated , backtest-friendly , prop-firm-safe , and built with a clean modular architecture . Core Strategy Requirements 1. Higher Timeframe Bias Use D1 and H4 . Use 200 EMA as trend filter: If price is above 200 EMA on both D1 and H4 -> allow BUY only If price is below 200 EMA on both D1 and H4 -> allow SELL only If D1 and H4 are not aligned -> no trade 2. Market Structure Module Detect and