仕事が完了した
実行時間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 日