I developed this strategy with perpetual contracts like the ones offered by Bitmex and FTX for Bitcoin.
This script uses complex regressions to analyze past, present and future to place long calls.
The script performs well on 1H charts on most perpetual contracts scenario.