Custom Indicator Alerts

I know that price alerts are what we get out of the bag with Optimus Flow. But can we create our own alerts?

I’m still new to this platform, and I’d like to create two custom indicators that have alerts:

  1. Moving Average indicator with multiple SMAs, where I am alerted when the delta between two SMAs is greater than 10. Bonus points if I can plot these indicators and have a color change once the criteria is hit.
  2. Volume indicator, that alerts me if the volume of the current bar is greater than the volume of the previous 5 bars.

Any help on this would be greatly appreciated.

Thank you.