Работа завершена
Время выполнения 4 часа
Отзыв от исполнителя
Excellent Customer
Отзыв от заказчика
well done.thanks.
Техническое задание
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
Откликнулись
1
Оценка
Проекты
680
57%
Арбитраж
25
16%
/
60%
Просрочено
228
34%
Свободен
2
Оценка
Проекты
121
25%
Арбитраж
5
20%
/
60%
Просрочено
17
14%
Свободен
Информация о проекте
Бюджет
10 USD
Сроки выполнения
1 дн.