MYSQL ticks records

MQL4 Indicateurs Intégration MySQL

Tâche terminée

Temps d'exécution 4 jours
Commentaires de l'employé
Great customer with high cooperation. It was a real pleasure
Commentaires du client
Very good experience. The program work as expected and the delivery was done in very short time, developer also helped with the implementation

Spécifications

Hello,




I need an indicator or EA (with source code) capable to do the following:

Once is added in the chart has to check in mysql if exist records of that symbol in the database.

In case there is not records has to make INSERT with the next tick and record the information about that tick.

In case there is records because were from before or because the indicator/EA just made the record then has to make UPDATE of the information in that symbol every time MT4 generates a new tick

Has to be capable to reconnect by itself in case the connection with the database was down. Also has to update the information in case the current information in the market doesn't match the one recorded before the connection was lost.


TABLE FORMAT:


CREATE TABLE `ticks` (


 `id` int NOT NULL AUTO_INCREMENT,                  (Single id of the Symbol)

 `Symbol` varchar(255) NOT NULL,                      (Symbol name, example: 'EURUSD') 

 `Date` date NOT NULL,                                      (Date of the INSERT or last UPDATE)

 `Time` datetime NOT NULL,                               (Datetime  of the INSERT or last UPDATE) 

 `Ask` double NOT NULL,                                     (Ask in the moment of the INSERT or last UPDATE) 

 `Bid` double NOT NULL,                                     (Bid in the moment of the INSERT or last UPDATE)  

 `Diff` varchar(255) NOT NULL,                            (indicate here if the current ASK is higher, lower or equal regarding the previous ASK)

 `isopen` varchar(255) NOT NULL,                        (Days and hours the symbol can de traded)

`swaptype` varchar(255) NOT NULL,                        (type of swap)

`swaplong` varchar(255) NOT NULL,                        (swap long)

`swapshort` varchar(255) NOT NULL,                        (swap short)

 `lo` int NOT NULL,                                             (INSERT and UPDATE has to put just this: '-' in this column)

 `le` int NOT NULL,                                             (INSERT and UPDATE has to put just this: '-' in this column) 

 `class` varchar(11) NOT NULL,                            (INSERT and UPDATE has to put just this: '-' in this column) 

 `data` varchar(256) NOT NULL,                           (INSERT and UPDATE has to put just this: '-' in this column) 

 `askadjust` decimal(10,4) NOT NULL,                  (INSERT and UPDATE has to put just this: '-' in this column) 

 `bidadjust` decimal(10,4) NOT NULL,                  (INSERT and UPDATE has to put just this: '-' in this column) 

 `sessions` varchar(256) NOT NULL,                     (INSERT and UPDATE has to put just this: '-' in this column) 

 PRIMARY KEY (`id`)

) ENGINE=InnoDB AUTO_INCREMENT=177 DEFAULT CHARSET=utf8




INPUTS:


Database host, User, Password, Database, Table, Port, Remove prefixes / suffixes (ejemplo is the symbol name is EURUSD.e or e.EURUSD I want to be able to remove the e. or e. part).


Also I need to have a debug area in the chart to show the status of the connection and if the logging in the database is been successful or if is giving errors, take a look in the image for example.


Besides the indicator/expert code the developer has to provide the mqh file the dll files and any other files that are necessary to make the indicator/expert work as expected.
























Dossiers :

JPG
Capture.JPG
122.9 Kb

Répondu

1
Développeur 1
Évaluation
(5)
Projets
9
11%
Arbitrage
5
40% / 60%
En retard
1
11%
Gratuit
2
Développeur 2
Évaluation
(83)
Projets
143
52%
Arbitrage
8
13% / 75%
En retard
22
15%
Gratuit
3
Développeur 3
Évaluation
(170)
Projets
203
47%
Arbitrage
5
20% / 60%
En retard
3
1%
Gratuit
4
Développeur 4
Évaluation
(162)
Projets
218
30%
Arbitrage
4
50% / 25%
En retard
5
2%
Gratuit
Publié : 1 code
Commandes similaires
Project Description I am looking for an experienced MQL5/MT5 Expert Advisor developer to develop an automated trading EA for XAUUSD on the M3 timeframe , running on an Exness account . The EA will automate a manual strategy based on SNR/GAP zones , using two setup types: Price Rejection Price Correction The EA should identify valid BUY/SELL setups around predefined SNR/GAP areas, apply configurable RSI, SMA, EMA and
Indicador Maximas e Minimas + Super Trend O Indicador MAX/MIN é um indicador de análise técnica para o MetaTrader 5 , desenvolvido para ajudar você a identificar regiões importantes de preço e possíveis oportunidades de compra e venda. O que ele faz MAX/MIN: identifica máximas e mínimas relevantes do mercado e mostra os preços no gráfico. HH / HL / LH / LL: ajuda a visualizar a estrutura do mercado, mostrando quando
Hi i need help to connect my chat gtp with ninja trader I have all tools. Just need supervision and seeking a professional who can do that for me. This the bridge extension https://crosstrade.io/blog/chatgpt-to-ninjatrader-mcp-walkthrough
MT4/MT5 HFT EA us30 30 - 3000 USD
Hello everybody, I'm looking for an experienced MQL4/MQL5 developer to optimize a High-Frequency Trading (HFT) Expert Advisor for both MT4 and MT5. The EA performs consistently and profitably on demo accounts, but when it is run on Raw and Standard live accounts under what appear to be the same trading conditions, it begins generating losses. I do not have the original source code (.mq4/.mq5); I only have the

Informations sur le projet

Budget
30 - 70 USD
Délais
de 1 à 15 jour(s)