Hello!
Please see your triggers attached. Use the constants to adjust your settings. Please be aware, that if you set cycle_length to a small value, your liability after a loss may grow at a significant speed, so experiment with this setting to find the best option for you.
Make sure you have tested the triggers in Test Mode.