Just stick with the basic - Moving Average! Take only historical data to predict future price action and only use close of candle for algo calculations.
Here i present to you a MA script that includes:
*Date Selection for Backtesting
Custom Time Frame
Filters - Oscillator and CCI
Risk Management
This script has been optimized for ETHUSD perpetual swap on Bitmex.