Tâche terminée
Temps d'exécution 4 heures
Commentaires de l'employé
Excellent Customer
Commentaires du client
well done.thanks.
Spécifications
Can someone modify the code that "SleepSeconds" variable takes its value from a csv/txt file, refreshes its value and always updates itself.
.
.
extern int SleepSeconds = 1440;
.
.
.
int start() {
prepare() ;
if( CloseAll ) closeAll() ;
else {
if( dailyGrowth / AccountBalance() < DailyGrowth && TimeCurrent() - lastTradeTime > SleepSeconds && ( marginLevel == 0 || marginLevel > MinMarginLevel ) ){
if( totalTrades >= MaxStartTrades && ( AccountBalance() + ( totalProfit + totalLoss ) ) / AccountBalance() < TriggerBackSystem ) backSystem();
else if( ( ContinueTrading || ( !ContinueTrading && totalTrades > 0 ) ) && ( totalTrades < MaxStartTrades || MaxStartTrades == 0 ) ) openPosition();
else if( EnableCalendar && ffCalenadarEventTime1 < NewsReleaseMinutes ) newsSystem();
}
managePositions() ;
longStop();
}
return( 0 ) ;
}
Attach
Répondu
1
Évaluation
Projets
680
57%
Arbitrage
25
16%
/
60%
En retard
228
34%
Gratuit
2
Évaluation
Projets
121
25%
Arbitrage
5
20%
/
60%
En retard
17
14%
Gratuit
Informations sur le projet
Budget
10 USD
Délais
1 jour(s)