EA which open and handels Order in Terminal

MQL4 전문가

명시

Im looking for an Order opening tool, which is opening an buy and an sell order on 2 different stratigies.

1. Strategie - Boath at same time with TP and SL. TP and SL see Parameter below

2. Strategie - selecting open buy or sell first - and open other order if first order is xpips in Minus (should be definated in Sets).
So if first order is a buy - second sell order should be opend if buy order is xpips in Minus.


EA works with other EA together in Termin. EA should not handel orders from other EA just his own orders!


There is TP and if order was xpips in Minus TP should be changed. See Parameters

If one of this open buy and sell order is executed (closed) EA should place this order as a pending 5 pips (should be definated) from closing price of order before with an trail of x pips. So if Market price goes better – execution price from pending should go better.


Explanation to open Strategie 1:

EA should place on same time buy and sell and I want set activ/inactiv and there should be possible "if activated" 1 more pair (buy and sell) to be place on differen Xpips from original order. So if second order is activated this buy and sell opens only if differenc to orders before is more than Xpips.

If one of each pear an order is closed – ther should be opend a pending with Trial. Same direction of original.

In total should be only always opend (if open second order activ) by this EA only this 2 buy and 2 sell orders or, if only one pair is activ only one buy and one sell order in terminal should be opend from this EA.

Please note not each broker does accept Trailling stop. So trailing should be outsmart by making a virtual trailing stop


Explanation to open Strategie 2:

If Strategie 2 is selected EA does open first an buy or sell (depens what is selected) and opend oposide order when first order is Xpips in minus. If one of boath orders are closed this order goes to pending status as above descriebed.


Parameters:

extern int magic=1;//Magic

Strategie 1 activ/ inactiv

extern string comment1="1";//comment 1 – for boath buy and sell orders – comments should be activ and inactiv set

extern string comment2="2";//comment 2 – second pair should be set activ or inactiv

extern double dist2=1;//Distance #1, 0-inactiv

Strategie 2 activ/inactiv

Open first order - Buy or Sell

Open second order - Xpips minus from first order

extern int maxSpread=5;//max Spread

extern double Slipage=3;

extern bool fixed=true;//Use a fixed lot

extern double Lots=0.1;

extern double dLot=0.1;//Lots for each XXX Equity

extern double XXX=100;// XXX Equity

 

extern double blindTP=39;//blind TP

extern double blindTPs=60;//Start blind TP - If 60 pips loss is reached  Price recovers 39 pips order should close

extern double blindTP2=59;//blind TP 2

extern double blindTPs2=90;//Start blind TP 2 If 90 pips loss is reached  Price recovers 59 pips order should close

 

extern double TP=20;// Order opening TP, pips – TP of order

extern double TPn=30;//TP if Order is xpips in Minus – If order was 30 pips in Minus TP should change to Xpips

extern double minus=20;//Minus pips for TP to change

 

extern double SL=50;//SL, pips – SL of order

 

Pending orders

Pending order should be placed x pips away from closing price – example 5 pips

extern double otrial=10;//Stop order trial – if price goes 1 pip better opening price should trial every 1 pip better


Trade Example Strategie 1.

EA is opening direct an buy and sell.

Order is handeled with TP and SL – If one oft the orders goes in minus TP is changing.

If one of boath Order is closed than direct after an Pending order should open 5 pips away from closing. If now market Price goes better the order should trail every xpips to better execution price.

 

Buy order opend 1.2024
Sell order opend 1.2022

Boath order opend at opening installation of EA. Boath orders gets SL and TP from sets.
If order is executed in TP - an pending should be placed - below will be explaind how handling of Pendings should be.
If order does go now xpips minus TP is changing
If order does go now again in Minus Closing price of Order does again change
If order does go still again in Minus Closing Price of Order does again change

If order does close at for example it was an buy order at 1.2030 Pending order should be placed Xpips away so at for example 1.2035 – this would be 5 pips.
If Market Price goes now to 1.2025 trailing of pending should change execution price of pending to 1.2030.

 

Trade Example Strategie 2

EA does after installation open an buy or sell order – depens what in Sets is selected. If selection is an buy order the sell order should open after buy order is xpips in Minus. Order Management is same as in Strategie 1.
Also if an order is close, order will be placed as pending with xpips differenz from closing price (same direction as closed order) an will also have the trailing function.


응답함

1
개발자 1
등급
(414)
프로젝트
670
33%
중재
60
17% / 32%
기한 초과
113
17%
작업중
2
개발자 2
등급
(25)
프로젝트
50
28%
중재
47
9% / 72%
기한 초과
23
46%
무료
3
개발자 3
등급
(586)
프로젝트
1048
49%
중재
39
28% / 41%
기한 초과
49
5%
작업중
비슷한 주문
I have a indicator, mql file. The signals are seen below on a EURNZD H1 chart. Very important to get accurate entries. The signal to trade is the first tic after the the indicator signal paints. I've tried to demonstrate that below. Other than that the EA will have a lot size escalation, an on-screen pip counter, a button to stop taking new trades, SL/TP, and magic number. I would like the indicator to be within the
I would like to create an EA based on the Shved Supply and Demand indicator. you can find the Shved Supply and Demand v1.7 indicator in the following link https://www.mql5.com/en/code/29395 NB: Checks the trading robot must pass before publication in the Market ( https://www.mql5.com/en/articles/2555 ) MQ5 file to be provided
Im looking for an coder to code an EA: Trade management 1. opening trades according to the indicator 2. trades settings to choose from like: open all trades according to the signal open only trade 1,2,3 or 4 % per trade ( example 50/30/20 of the lot settings, with 4 trades it would be for example 50/30/10/10) 3. SL/Trailing settings: Move SL to entry after hitting TP1/TP2 or TP3 moving SL by % keep the original SL
Hi I'm looking to have 2 of my pinescript strategies converted to MQL5 and was wondering if you could first give me a quote for the more simple strategy and then for both the simple and complex strategy together. The simple strategy is a MACD crossover type thing that uses a special EMA script that filters out some ranging price action and also fractal candles for the stop loss. The second strategy is market
I want grate robot for making profits that know when to start a good trade and close a trade and must be active all time to avoid lost of money
I have developed a very strong TradingView strategy in Pine Script but unfortunately, a third-party connector is requiired and in my opinion, I want a more direct connection. I am not brilliant at coding, but I have coded the majority of the MT5 code and I would like you to make sure that the MT5 code matches my TradingView script and executes the same way as the TradingView script that I will provide if you are
Mbeje fx 50+ USD
I like to own my robot that why I want to build my own.i like to be a best to every robot ever in the life to be have more money
I need an MT5 EA that can do the following: I have to give the EA a price in advance, when the price is reached the EA has to automatically place a buy stop or sell stop order 0.5 pips below or above the price. Is this possible
Dr Pattern 30+ USD
good day i need the service of the seaso coder to help me fix my ea The Job required 1 knowledge of Mt4 and Mt5 indicator coding 2. Telegram code 3. ability to code indicator to work on multiple Time frame combine to trade 4 Ability to Join two or three indicator on same ir different time frame if you have these skill please let chart i will discuss the details of the Job inside to you The required day including
Good day, I want someone to help me create a universal news filter with on/off switch, with start and end settings, and drawdown control with magic number of EAs, etc. Thanks

프로젝트 정보

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