Set of 2 interconnected EAs

MQL4 Esperti

Specifiche

i will need a set of 2 EAs, based on EA codes I have (see at the end):


one will be used as a controller (ControlEA), the other one will be activated on multiple charts (ExecuteEA)


My principe is that I want to open all the trades on the ExecuteEAs at the same time, as well as closing them at the same time

to do so, the ControlEA will use a boolean global variable: TradeNow


the ExecuteEA should only have 1 trade at the same time, and only work with the ControlEA using the same magic number


if the global variable doesn't exist, it needs to be created and set to False by default


if the ExecuteEA sees TradeNow , then it need to open a trade, according to the direction defined by the ControlEA

the direction can be Forward Reverse None and change every hour

The actual direction will be set in a global variable called TradeDirection, so all ExecuteEA will trade according to this as choices


-Trading Directions-

Hour-0   Forward Reverse None

Hour-1   Forward Reverse None

Hour-2   Forward Reverse None

Hour-3   Forward Reverse None

...


the direction of the trade is then interpreted by the Indicator 3_level_zz_semafor in M5

if the last point (with reference 3) is higher than its previous, then a Buy should occur in Forward mode

a Sell in Reverse mode, and of course nothing in none


also before making a trade a call should be made by the ControlEA by a webrequest to a page (should exist as a parameter CheckAI ) 

if the page return OK then the trade should occur, otherwise a KO will be sent, and the trading should be ignored until next Tradenow instruction

per instance CheckAI parameter http://www.blah.com/checkai.php?pair= 

the ControlEA should add the pair behind , EURUSD

if no parameter CheckAI is set, consider it OK or true by default, otherwise his timeout should be 30 sec


When the TradeNow is set to True, every ExecuteEA should open a trade, the ControlEA will then change the TradeNow status back to False after one minute.


Lot Size 

the lot size should be set by the ControlEA, either by a fixed lot (i.e. 0.01) or by a percentage of the BALANCE expressed in decimal (by the ammount to have 1 lot, ex. 2500)

it will then again be set in a global variable to be used as such by all the ExecuteEA


-Closing Strategy- TODO by the ControlEA

the closing of all the trades will be done by the ControlEA, then it will close the trades with the same Magic. 


when the ControlEA has no open trade anymore, wait a few minutes (should be set as parameter CoolDown

in minutes, 0 would mean immediate), then start the trading again. 


the closing from the ControlEA should be set by 


Manual (as a button in the chart, Close All)

% if positive expressed in decimal (ex. 1.2)

positive money ammount  expressed in decimal (ex. 110.22)

% if negative expressed in decimal (ex. 1.5)

negative money ammount  expressed in decimal (ex. 112.22)

a time expressed in seconds, if the trading exceed this time, all the positions should be closed (ex. 122secs)

if any of those is set to 0, then don't use it. 


-----

the other parameters in the ControlEA are 

StatCall  parameter of a PHP page, which (if not blank) should be called every 5 minutes and adding ?PL= NumberOfTrades= Comment= Magic= StartTrade=

ex. http://www.stat.com/Log.php 

StartTrade would be the time of the last TradeNow



Comment comment of the trades

FridayStop time time after which on friday, no new TradeNow should occur, if there is still a trade open, don't close it.


Running parameter true per default, if set to false, don't make any trade, otherwise operations should be made according to the process

a button with two states should be put on the chart, to control this




-----


in the charts, I'd like to display the following infos:

ControlEA

Active Trades : (active trades using the same magic number)

Combined P/L : (sum of active trades using the same magic number)

Magic : (Magic Number)

Active Direction : (Forward, Reverse, None)

Active Hour :  

Targets 


ExecuteEA

Magic : (Magic Number)

Active Direction : (Forward, Reverse, None)

Detected Direction : Buy Sell


-----

in the case of a backtesting,  just for the ExecuteEA

I will need to be able to define a trading direction depending on the hour, 

Hour-0   Forward Reverse None ... 

Hour-1   Forward Reverse None ... 


the TradeNow would occur every 15 minutes (and only one trade should open at once) 0 15 30 45 

a parameter should be set to close the trade after x minutes

lot can be fixed to 0.1


--- 


Actually  I've the source codes for

Close on Equity EA

Trend detection EA with the indicator embedded with the hours

Calls with WebRequests


Con risposta

1
Sviluppatore 1
Valutazioni
(89)
Progetti
137
24%
Arbitraggio
35
9% / 40%
In ritardo
52
38%
Gratuito
2
Sviluppatore 2
Valutazioni
(195)
Progetti
395
28%
Arbitraggio
155
20% / 52%
In ritardo
112
28%
Gratuito
Ordini simili
I want have the possibility to increase lotsize not alone by Lot-multiplier rather I want add a fix-lot increase for excample for 0,05 lot. I want have this for buy / sell and hedge-buy and hedge sell
Hi, I want to make an automated system to take my place in making trading positions and closing it. But I want to ask , can you program it to draw a trend line in a specific chart and several moving averages should be in specific order, and when the price is near the trend line by few pips, we shift to 15 minutes chart and noticing a resistance or support action , then we take the trade ? can we do that
Develop EA to track performance metrics of strategies I would like to develop an EA that will track the performance metrics of the strategies I have running on a terminal, If any of the metrics start to under perform then the EA/Indictor should alert me with a pop up alert that specify's the metric that has triggered the alert. The EA should also display the metrics in a dashboard - please see my example screen shot
I would like to modify the RSI Epert Avisor with a developer. I would like to use the RSI Expert on the inverse mode and the base setting doesnt conatain this strategy mode
Profitable EA HFT 50 - 300 USD
From a long time i am searching for a profitable EA i have lost a lot , and now i have only 300$ to buy a profitable EA , i wish to say with 0 losses but some or most traders they don't want to hear this i am really tired of searching for a programmer to just create me a profitable EA with the least losses or zero losses maybe nearly 1 year i am searching i just need an HFT EA that can work very well on MT4,MT5
I need help fixing my EA for MT5. It’s a very simple EA, and I currently cannot solve an issue where webrequest communicates with OpenAi API without error. Please only apply if you can help solve this issue
p.p1 {margin: 0.0px 0.0px 12.0px 0.0px; font: 14.0px 'Trebuchet MS'; color: #313131} p.p1 {margin: 0.0px 0.0px 12.0px 0.0px; font: 14.0px 'Trebuchet MS'; color: #313131} li.li1 {margin: 0.0px 0.0px 12.0px 0.0px; font: 14.0px 'Trebuchet MS'; color: #313131} ol.ol1 {list-style-type: decimal} I have an EA that open trades when my entry conditions are met. It usually executes one trade per day. I'd like to add an option
у нас есть стратегия, нам нужно написать mql5-код ​​для тестера стратегий МТ5,Цена договорная. Мой контакт @abbosaliyev из Telegram Программист должен знать РУССКИЙ ИЛИ УЗБЕКСКИЙ язык. Задание: разработать тестер, который использует шаблон условий на открытие и проверит весь исторический график на всех доступных таймфреймах. Остальная информация будет предоставлена ​​после согласования цены
a coder is required to add an indicator to existing ea The new indicator will work as 1. option to combine with exiting indicator to open trade 2. it will be used as alternative BE point 3. It can also be used to close order or combine with other to close trade The second Job is telegram bot to get alert fr news trade and others Details when you apply i will test the ea work on live market and all bug is fixed before
Hello, I want to make an EA based on SMC and a developer that is familiar with the concept and full understanding of this. Must have done similar jobs before and be able show it. I only want to work with developer that has good track record and is precise. Further information will be handed when contact is made. Developers that has zero rating will not be considered. Listed price is a base point. The project can also

Informazioni sul progetto

Budget
30 - 120 USD
IVA (21%): 6.3 - 25.2 USD
Totale: 36.3 - 145.2 USD
Per lo sviluppatore
27 - 108 USD