Set of 2 interconnected EAs

MQL4 Experten

Spezifikation

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


Bewerbungen

1
Entwickler 1
Bewertung
(89)
Projekte
137
24%
Schlichtung
35
9% / 40%
Frist nicht eingehalten
52
38%
Frei
2
Entwickler 2
Bewertung
(195)
Projekte
395
28%
Schlichtung
155
20% / 52%
Frist nicht eingehalten
112
28%
Frei
Ähnliche Aufträge
Hi, I need a robot, which wil get instructions to trade in 3 symbols at the same time based on few parameters and calculations. Example: There is 1 symbol called Gold-Near and the rate for it is 1000-1002 If i specify that when the rate reaches 1050, it should sell 1 lot Upon execution it will have to sell 1 lot of cme gold, buy 3 lots of mcx gold and buy currently (lots will be based on calculation). All the
Trading bot 300+ USD
We need bot that trades when medium and low impact news hits It will release pending order both directions few min prior to news impact And will have certain risk management strategy attached Example If Monday and Tuesday news successful clears profits It will reduce risk for next news events until new week starts each week message on tg: Dstatewealthtrading NOTE: 4 YAERS OF EXPERIENCE UPWORD, YOU MUST BE A
Estou a procura de um programador que faça um robo que automatize as análises feitas por ele nas ondas de Elliot e que faça entradas precisas com proteções das mesmas e com proteções também ajustáveis para não entrar em noticias de 2 ou 3 estrelas, e que seja para o mercado B3 Mini Indice ou Mini Dolar
Sosso 30+ USD
I would like to order an automated robot to the job for me as I have no clue on whatsoever the trading is about. The bot should be able to do it's job, everything for me and it providing the best services for one to use
are you aware of the Monday Range Strategy? https://www.youtube.com/watch?v=7B_yBBFx6z8 5pm EST time sunday - monday 5pm est and it has to be on the H1 chart , minimum 1:2 Risk to reward and break even function after 1:1
Strategy: 1. Identify strong supply and demand levels. Draw them in the chart in green and red. In Tradingview: Market Structure Break & Order Block by EmreKb von EmreKb --> Strong demand and supply area refer to picture below (Buy and Sell Zones). There must be a strong demand / supply zone on a higher time frame in order for the set up to be valid. The time frame can be selected in the settings. E.g. "Higher Time
Hi there, I currently have a scalping strategy based of 3 thrid party indicators that I would like automated. This would help me with running the strategy through the strategy tester. Two of the indicators dont have iCustom functionality to pull the data in, so another way would have to be devised. The strategy incorpates trading activity, sentiment in the for of the ratio of traders in profit, and a third techincal
Hi, I have a Live Data feature for my trading accounts that lets me check details like total open positions, number of lots, profits, etc. I need someone to add the number of pending orders to this live data. This is important for me to ensure that all accounts have the same number of pending orders, since I use a copy trading system. Also, there is a website where I check all the data. In this case, you would need
OK I just need 1 MOD Who can do it free There is a (Reciever EA) that receives signals from a (Sender EA) I need to ADD one mod It may even look like the option/signal is there= Ignore it Coding was wrong on that part This is simple The option in the Reicver EA will Be called "Open Copy Live" with the option to Set to True or False When set to true the Reicver EA will Watch
Hi there, I need a very highly skilled mt4 programmer to code and design an EA from scratch. The logic of the EA will be discussed with you in comments section, only reach out if you can code perfectly for mt4 using MQL4 coding solutions language, EA must be able to run well without any problems and work according to the logic thanks

Projektdetails

Budget
30 - 120 USD
MwSt (21%): 6.3 - 25.2 USD
Insgesamt: 36.3 - 145.2 USD
Für die Entwickler
27 - 108 USD