I created this new version of crossing by replacing it with , Please take into consideration that the cross signal may occur during the candle. I advise waiting until the candle is close.
I used crossing signals to adapt this code and turn it into an ( Moving Average) Cross.
I expect it to bring a better signal that an cross, let me know your comments and use under your own risk. this is just an experimental idea.
Long: Get into a long trade when the short moving average crosses up the long moving average.
Short: Get into a short trade when the short moving average crosses down the long moving average.
I recommend using it alongside a indicator to avoid sideways trends.
Exit at your own convenience or when the trend direction changes. I recommend using it in 4H and 1D charts.