Here we have the TRIX "0-line cross" strategy with EMA filter for trend detection. TRIX and EMA periods are customizable. Please use with caution !
It's a simple trend following system. Play with the setups. Works best on 30min and up timeframes. Look at the code for better understanding.