EA that syncs an order table on local MySQL with MetaTrader - 30-50USD

MQL4 Experts Intégration

Tâche terminée

Temps d'exécution 7 jours

Spécifications

I have a table that I maintain in a MySQL database on my local machine.

This table has the following structure:

 

SYMBOL | BUYORSELL | STOPLOSS | COMMENT 

EURUSD | BUY           | 1.1111      | S00001 T123456

EURUSD | BUY           | 1.1111      | S00011 T98765 

...


The comment is the unique key. If row appears in this table you have to open a trade.

If on the next tick you can not find the corresponding row with this comment again it means the trade must be closed.

This EA I will attach to every symbol I want to trade. 


The EA will have 2 inputs: 

  • MaxEquityPercentagePerTrade (0-100): This is to calculate the position size. Every trade will have a stoploss. So based on the difference between the price and the stoploss you can calculate the position size based in a percentage of the total equity of the account. F.e. 5 will mean that when stop loss gets hit 5% of my equity will be gone.
  • MaxNumberOfTrades (0-...): This is the maximum number of trades that are allowed in the account. No new orders will be opened if this number is reached.


 

The code to generate the MySQL Database and table structure:

 CREATE DATABASE FOREX;


USE FOREX;


CREATE TABLE Orders

(

Symbol NVARCHAR(50), 

BuyOrSell NVARCHAR(10),

StopLoss NUMERIC(32,10), 

Comment NVARCHAR(1000)

);

Do not hesitate for further details if something is unclear..

 

Thank you 


 

Répondu

1
Développeur 1
Évaluation
(219)
Projets
370
42%
Arbitrage
145
17% / 41%
En retard
124
34%
Gratuit
2
Développeur 2
Évaluation
(28)
Projets
36
17%
Arbitrage
2
50% / 50%
En retard
2
6%
Gratuit
3
Développeur 3
Évaluation
(2)
Projets
2
0%
Arbitrage
13
8% / 92%
En retard
1
50%
Gratuit
4
Développeur 4
Évaluation
(441)
Projets
547
25%
Arbitrage
21
38% / 38%
En retard
83
15%
Travail
Commandes similaires
Hey there, interested in your services for merging 2 pinescripts into one Ninjatrader Strategy. I have attached both scripts below and both will be running on Renko Charts. I added entry examples in the attachment as well. For this, I would like to add some user-defined variables such as Stop Loss and Profit Targets, or allow it to sync with my ATM strategies. Please advise if this would be possible. Additional
https://github.com/theshadow76/PocketOptionAPI https://lu-yi-hsun.github.io/pocketoptionapi/ i need someone to help with with connecting to this API and recieving signals from telegram channel i have created the app but can't make it connect with SSID and start trades and veiw these trades in realtime on the app if someone can help i would be thankful telegram : @sadscan
hi, just like mt5 plateform. there is one another new platefrom called TM9 whose website is( https://trademaster9.com/site/index.html ) i want you to create an API intigration to connect mt5 or mt4 plateform to this platform. i want you to create a copy trading software which can copy trade from mt5/mt4 to trade master 9 plateform. for more information please contact me directly. PRICE CAN BE NEGOTIATED. looking
I have a python script that connects MT5 to Deriv for binary trading which is having some bug. It stops executing trades after a while. I need someone to check the code and fix it. Negotiable price

Informations sur le projet

Budget
Délais
de 1 à 10 jour(s)