Changes on existing EA

MQL4 전문가

명시

 

In my EA I want to changes:

 

2. I have already an EA which is opening after first installation (under Strategie 1) a buy and sell order and after one of these orders has been closed, ea is placing a pending order with an entry trigger. Note EA does only place at the beginning an buy and sell order. If buy is closed EA open an buy in Pending with an trigger. If sell is closed EA open an sell in trigger. This goes so on.


If this pending order with trigger is executed in the market, EA is opening again and pending after the order in market is closed and so on.


Do not change anything of Strategie of Strategie 1 just ad the function to Strategie 1

What do I want now?

Moneymanegment for all orders which are active in Market stays as it does right now. Do not chang anything

I want if EA has placed the basis order (basis orders are the orders which are activ in the market – the buy and sell order) or when ea is new on chart and if there is already a basis order (basis order is buy and sell order) are in the Market - EA should place direct following order (which EA would place after Basis order is closed) place as pending direct and not when first order is closed.

So in Terminal are than:

In Market – the buy and sell order

And in Pending status the pending buy and pending sell order – execution Limit Xpips away of TP of basis order in Market. Pips right now as pending open after Basis is closed.


So after Basis is closed at market, SL or TP - from this closing price will be again calculated the opening price of Pending order.

Distance of pending order is: actual TP of first order plus input double PendingOrderPips=100; - So not TP of first order is changing - so TP of pending has to be updated.
Lots- same as first order.
And after closing of Bais order in Market ist closed - Market, TP or SL - EA should chek execution Price of Pending order. This is than Closing price of Bais order.
plus input double PendingOrderPips=100; - So not TP of first order is changing - so TP of pending has to be updated.



So Note - every basis (basis is orders activ in terminal) order in Terminal does have following orders in Pending Status:

The Trigger of the pending orders should be active when basis order is closed (in actual strategy 1 and 2 pendings are alredy triggered). Trigger should work as he does right now.

Again: So if there is a basis buy or, and a sell order in the market. EA should place for each basis direct the next pending order and should not wait till basis order is closed.

Trigger of the pending order should be active if basis order is closed.


For the Pending orders I want to have one more execution option:

First Execution Option does alredy exist – it is the trigger in Market.

Second is not trigger Order executed as Xpips away or Xpips better. Xpips away is alredy there this is begin of trigger – I Just want to definite Xpips better. 60 Pips means after basis is closed Pending will be again in Market xpips away or xpips better.

 

Explanation:

EA opens the buy and sell order and also pending status the next buy and sell order as pending.

If basis buy or sell order is closed – Pending order will be active and executed as trigger or xpips better.

That’s it



Second change. EA should know his orders under global variables to ovoid double opening.

2. After restarting Terminal or new installation EA forgot all ticket and try work with new. EA should check to have only 2 open orders in pending and 2 Orders open in Market – each from the can only be a buy and an sell.

EA should remember his oders and tickets. So after restarting plattform, problem with Internet EA should knows status of before.

If EA does not have 2 Orders in Market and 2 Orders in Pending – EA should open 2 Orders Market.

If EA does not have 2 Orders in Market but 2 Orders in Pending – EA should do nothing.

EA does never have 3 or 4 Orders in Market…. Never only 2 and this can only be a buy and a sell order.

 

Can be a text file which save all ticket numbers there and update it repeatedly. so when restart the system or any other disconnection of system can check it's text first to remember them.


응답함

1
개발자 1
등급
(212)
프로젝트
246
45%
중재
42
10% / 57%
기한 초과
5
2%
무료
2
개발자 2
등급
(94)
프로젝트
148
59%
중재
16
38% / 13%
기한 초과
25
17%
무료
3
개발자 3
등급
(71)
프로젝트
254
53%
중재
16
50% / 38%
기한 초과
83
33%
무료
비슷한 주문
Hi, I would like to create an expert advisor to fully automatic trade in MT4 as below, it should be possible with gold or any currency pairs and need to possible with 2, 3, 4 or 5 after decimal quotes PAROL MA CROSSOVER 1. Magic Number : Customize 2. Take profit in points : Customize 3. Stop loss in points : Customize 4. Strat time in GMT : Customize 5. End time in GMT : Customize (It means no need to open a new
Hi. I will require a MT4 EA with 3 indcators for a specific time frame, certain parameters can be adjusted and should be able to automated trading. 1. RSI 2. EMA EA 3.Trading Volume . 4 & 5 digits can use 1.) 1 RSI . and 2 EMA ( cross over ) 1.1.) All different timeframe can use ( adjustable ). 1.2.) Entry pricing will need to meet at least 2 out of 3 indicators levels. 1.3.) Each indicators can be adjusted. 2.)
Need MT4 EA which will trade based on Round Number and Supertrend. Trading conditions: If buy supertrend is >= lower round number and <= the higher round number, EA will place a buy pending order at the higher round number. If sell supertrend is <= higher round number and >=lower round number, EA will place sell pending order at the lower round number. If the trade is exited because of SL/BE, EA will place another
Hi Everyone, I need a cloud based licensing system to protect my MT4 / MT5 Indicators and Expert advisors Secure an unlimited number of EAs, indicators, and scripts. Create and manage unlimited license keys for secured EAs, indicators, and scripts. Instantly suspend license keys in case of refund. Lock EA/indicator to specific accounts and time frame similar to this
I need a ea 50+ USD
I need an ea for my prop firm challenge 5000usd account. that can execute trade itself with 0.5R risk and at least 1:2 target.Not maximum drawdown 2-3% and can generate monthly return 10 to 20%
Hello Devs! I like to create a new EA based on the below conditions: (Please do not bid if you have no confidence of fulfilling the codes requirements. Thanks!) You can code MT4 or MT5 or both depending on your preference. 1. Different Magic numbers for BUY and SELL 2. Add on time filter for each day individually. Eg: Mon = 00:01-23:59, Tue = 01:00-23:30 etc. (Monday to Sunday) True/false to close all trades at end
Hi, i have a tos script i need converted to Ninja script, but someone who knows both coding. Cant be someone who is just going to paste into chat gpt, it requires more understanding for compatibility
I need an EA which takes confluence of 4 ema on 3 different time frame before taking a trade. Ea should have risk to reward option, option to add xyz pips above stoploss criteria in order to avoid hitting sl due to spreads. Customizable RR to cl9se trade partially when desired RR is reached. Also require source code to get future changes done
I need MT4 and MT5 hedging locker expert advisors that hedge existing trades either with pending or market order hedging trades. With pending hedge trades the entry price may optionally be made to trail the existing open orders. There should be option for a breakeven and trailing of the hedge trade’s stop
Hey Mql Community, Our Company need help creating and design a well automated forex ea for mt4 platform, This EA should based on the logic of an existing EA and the ideas we have in mind as a new features in the EA. Understand that We already have an EA that is working properly, we want to add a few details to it. We don’t have the source code just the ex.4 file, and as an expert specialist in the field we are

프로젝트 정보

예산
30+ USD
VAT (19%): 5.7 USD
총: 35.7 USD
개발자에게
27 USD
기한
에서 1  10 일