Opening EA

MQL4 Experts

Specification

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

Responded

1
Developer 1
Rating
(46)
Projects
59
39%
Arbitration
5
0% / 60%
Overdue
38
64%
Free
2
Developer 2
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Similar orders
1) the EA can compound the lot size from 0.01 to 0.02 so on 2) the EA must able to trade different kind of pair 3) the EA will have stoploss or take profit 4) long term profit 5) for equiry will be 100 for every 0.01 lot Developer will have that kind of EA may apply and introduce any investor account! this EA must have mql4 file
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px 'Helvetica Neue'} Hello Looking for someone to help me improve my current strategy on my own algorithm and to also add hedging mode
I want the script in mql5 language for my martingale strategy. The script should open trades in both directions buy and sell and if any trade closes in loss then open new trade in that direction by using the next volume and when trade closes in profit then reset the volume to first from volume list and also maximum consecutive losses limit will apply. If trades closes consecutively in losses and hits the limit then
Long Position 1. Trend Line: When a Lower High (LH) is formed, draw a trend line from the previous Higher High (HH) to the new LH. 2. Trend Line Adjustment: If a new Lower High (LH) is formed without breaking the trend line, redraw the trend line to the new LH. Draw a trend line between the Higher High (HH) and the Higher Low (HL). If a new Higher High (HH) is formed, remove the previous trend line and draw a new one
Please watch the video on this youtube channel and download the Indicator from there. https://www.youtube.com/watch?v=ldTomLu8DxE&amp ;t=32s Rules are explained on the video and the download of the indicator is on the same video
I would like an EA that follows exactly this steps to trade de daily candle. Watch the video and then see if you can do the task. https://www.youtube.com/watch?v=g3oDYq4P9ZE Document is one this link https://cdn.discordapp.com/attachments/1135977927469703230/1135978751461695598/Daily_Bias-TTrades_edu.pdf?ex=669a9a27&amp ;is=669948a7&hm=96de195f7e695a381c1261b065f67b94fae319d02a0c88641b146f8b2978320c& Should have
I have a custom EA that works fine in the live market trading, but when doing a back test in the strategy tester , it does not open sell orders. There are no errors or warnings; it just doesn't open sell orders. I've checked every possible reason that might be the reason why it does not open sell orders, but I can't find anything, especially since it works fine in the real market and it opens both buys and sells
Hi, I have an indicator from my friend, I want to copy it to my own MT5 can you do that for me. Here is the link
I'm looking for someone to help me create an arbitrage trading robot that can trade on any decentralized exchange. I had one created in python, but I would like it to work in MT5 with various regular rules that make it profitable
I installed the E.A. into the Experts folder in MT4. When I double click on it nothing happens. When I right click and "attach to chart" nothing happens. The E.A. is not grayed out, it simply will not attach. Any help would be greatly Appreciated

Project information

Budget
30+ USD
VAT (19%): 5.7 USD
Total: 35.7 USD
For the developer
27 USD
Deadline
from 1 to 4 day(s)