コード例 #1
0
 //After CLose time set hard stop losses at last position entry price with Buffer
 override protected bool ExcuteRuleLogic()
 {
     if (!BotState.IsAfterCloseTime && MarketInfo.IsAfterCloseTime())
     {
         BotState.IsAfterCloseTime = true;
         ExecuteOnceOnly();
         return(true);
     }
     return(false);
 }