Tell me what steps I still need to do to complete the algorithm.

Input:       ema_s[1]>ema_b[1] && ema_s[2]<ema_b[2]
Output:     ema_s[1]<ema_b[1] && ema_s[2]>ema_b[2]
+

trailing stop

using QuantConnect.Indicators;

namespace QuantConnect { 

public class BasicTemplateAlgorithm : QCAlgorithm
{
    DateTime startDate = new DateTime(2014, 01, 01);
    DateTime endDate = new DateTime(2014, 12, 31);
    ExponentialMovingAverage ema_s;
    ExponentialMovingAverage ema_b;
    
    public override void Initialize() 
    {
       SetStartDate(startDate);
       SetEndDate(endDate);    
       SetCash(100000);
       AddEquity("IBM", Resolution.Minute);
       Securities["IBM"].SetDataNormalizationMode(DataNormalizationMode.SplitAdjusted);
       ema_s = EMA("IBM", 14, Resolution.Minute);
       ema_b = EMA("IBM", 21, Resolution.Minute);
    }

    public override void OnData(Slice data) {
       if (!ema_b.IsReady) return;      
    }
}
}