SleepSeconds Variable - TXT Import

Trabajo finalizado

Plazo de ejecución 4 horas
Comentario del Ejecutor
Excellent Customer
Comentario del Cliente
well done.thanks.

Tarea técnica

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

Archivos adjuntos:

Han respondido

1
Desarrollador 1
Evaluación
(620)
Proyectos
680
57%
Arbitraje
25
16% / 60%
Caducado
228
34%
Libre
2
Desarrollador 2
Evaluación
(97)
Proyectos
121
25%
Arbitraje
5
20% / 60%
Caducado
17
14%
Libre

Información sobre el proyecto

Presupuesto
10 USD
Plazo límite de ejecución
1 día(s)