Based on the request.
https://fxcodebase.com/code/viewtopic.php?f=38&p=144460BUY RULE:
Fast MA crosses above Slow MA
ADX (14) > 30, ADX (14) < 45
RSI (14) > 50, RSI (14) < 70
SELL RULE:
Fast MA crosses below Slow MA
ADX (14) > 30, ADX (14) < 45
RSI (14) > 30, RSI (14) < 50