ZigZag based on RSI oscillator.

Fig.1. ZigZag_RSI indicator
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/16577
ZigZag_MFI
ZigZag based on MFI oscillator.
Simulator regular expressions
The script allows you to try regular expressions.