//If BreakEven SL is Active then set BreakEven Stop Losses for all orders if the current price is past the entry point of the Last position to close with profit override protected bool ExcuteRuleLogic() { if (BotState.OrdersPlaced && BotState.PositionsRemainOpen()) { FixedTrailingStop.chase(); return(true); } return(false); }
//If it is after reduce risk time then set the fixed trailing stop override protected bool ExcuteRuleLogic() { if (BotState.IsAfterReducedRiskTime) { if (BotState.OrdersPlaced && BotState.PositionsRemainOpen()) { FixedTrailingStop.activate(); ExecuteOnceOnly(); return(true); } } return(false); }
//If Spike retrace is greater than Level 2 but less than Level 3 set Fixed Trailing Stop override protected bool ExcuteRuleLogic() { if (BotState.OrdersPlaced && BotState.PositionsRemainOpen()) { if (SpikeManager.IsRetraceBetweenLevel2AndLevel3()) { //Activate Trailing Stop Losses FixedTrailingStop.activate(); ExecuteOnceOnly(); return(true); } } return(false); }