MQL5
Indicateurs
Experts
Forex
Trading robot/indicator debugging
Strategy optimization
Statistics and mathematics
Strategy modules
Panels and dialog boxes
Stocks
Custom graphics
Futures
MySQL
Product Design
JavaScript
Options
Collection of data on the internet
SQL
HTML
PHP
Uploading data to a website
Data mining
OpenCL
Spécifications
// Add this to your EA after ExportState() function
void SendToBase44(const string state, const string dir, double entry, double sl, double tp)
{
string url = "https://preview-sandbox--ee0a32a725b788974de435e8cef40b7a.base44.app/api/functions/receiveEAState";
string headers = "Content-Type: application/json\r\n";
string json = "{"
"\"symbol\":\""+_Symbol+"\","
"\"time\":"+IntegerToString((int)TimeCurrent())+","
"\"state\":\""+state+"\","
"\"direction\":\""+dir+"\","
"\"entry\":"+DoubleToString(entry,_Digits)+","
"\"sl\":"+DoubleToString(sl,_Digits)+","
"\"tp\":"+DoubleToString(tp,_Digits)+
"}";
char data[], result[];
StringToCharArray(json, data, 0, StringLen(json));
int res = WebRequest("POST", url, headers, 5000, data, result, headers);
if(res == 200) Print("✅ State sent to Base44");
else Print("❌ Base44 send failed: ", res);
}
// Replace all ExportState() calls with:
// SendToBase44(state, dir, entry, sl, tp);
Répondu
1
Évaluation
Projets
28
7%
Arbitrage
9
33%
/
33%
En retard
1
4%
Travail
2
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
3
Évaluation
Projets
39
23%
Arbitrage
14
0%
/
93%
En retard
4
10%
Gratuit
4
Évaluation
Projets
17
18%
Arbitrage
2
0%
/
50%
En retard
3
18%
Chargé
5
Évaluation
Projets
2
0%
Arbitrage
0
En retard
1
50%
Gratuit
6
Évaluation
Projets
8
38%
Arbitrage
2
50%
/
50%
En retard
2
25%
Gratuit
7
Évaluation
Projets
3
33%
Arbitrage
2
0%
/
100%
En retard
0
Gratuit
8
Évaluation
Projets
1
0%
Arbitrage
3
0%
/
100%
En retard
1
100%
Gratuit
9
Évaluation
Projets
60
5%
Arbitrage
6
0%
/
67%
En retard
5
8%
Gratuit
10
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
11
Évaluation
Projets
1
100%
Arbitrage
3
0%
/
100%
En retard
0
Gratuit
12
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
13
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
Commandes similaires
Chciał bym w tym tłumacza albo ulepszyć jakoś
100 - 1000 USD
Chciał bym w tej grze poznać dużo i zrozumieć ciężko bez języka mam tylko sms na gry nie mam kieszonkowych i kiepsko się trzymam finansowo żeby czasem myślę gdzie będę
Informations sur le projet
Budget
30+ USD