Four adjustable moving averages set in order to produce buy and sell signals, works best on smaller timeframes from my backtesting, 10M - 30M seems optimal for scalping.
The idea behind this script is to only enter positions that are following the trend in order to minimise drawdown and decrease risk when using leverage.
The script will only enter long positions when MA crossover occurs above the Long MA 2.
The script will exit a long position when MA Short crosses below Long MA 1.
The script will only enter short positions when MA cross under occurs below the Long MA 2.
The script will exit a short position when MA Short crosses below Long MA 1.