SleepSeconds Variable - TXT Import

MQL4 Esperti Integrazione

Lavoro terminato

Tempo di esecuzione 4 ore
Feedback del dipendente
Excellent Customer
Feedback del cliente
well done.thanks.

Specifiche

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

File:

Con risposta

1
Sviluppatore 1
Valutazioni
(620)
Progetti
680
57%
Arbitraggio
25
16% / 60%
In ritardo
228
34%
Gratuito
2
Sviluppatore 2
Valutazioni
(97)
Progetti
121
25%
Arbitraggio
5
20% / 60%
In ritardo
17
14%
Gratuito

Informazioni sul progetto

Budget
10 USD
Scadenze
1 giorno(i)