Gap Trading Strategy: CME Bitcoin

I created a strategy which finds gaps on CME Futures market for Bitcoin , BTC1! and opens a long or short position on the crypto exchange depending on what kind of gap was found (up or down) on CME .

Up gap: today open price > previous day high price
Down gap: today open price < previous day low price

Two lines below the main chart show when gaps appear. The green line represents the size of up gaps, when it crosses zero it gives a long signal. The red line - represents the size of down gaps, when it crosses zero - short signal.

Instead of having to look between multiple charts, this simply overlays the past weeks open and close should a gap appear.


Strategy flips long / short depending of indicator signals. It could cut the position by stop loss or take profit.


  • ability to set stop loss and take profit in %
  • ability to set delta for gaps (if you want to filter small ones)
  • ability to choose strategy type. Standart: Long Up/Short Down || Inverse: Short Up/Long Down.


Backtested on BTCPERP ( FTX ) and XBTUSD (Bitmex).

It shows a low drawdown, a small number of trades and 50% of profit for the 2020.

For example, I set high delta for down gaps to filter small ones

Strategy doesn't repaint.
版本注释: > Added ability to choose timeframe for BTC1! values. Available options: 120min, 240min, Day, Week
从常用脚本中删除 添加到常用脚本
Telegram ⏩ :
Twitter ⏩:

Sign up using my ref link to obtain access to my algos :
FTX (get 5% of fees back):


首页 股票筛选器 外汇筛选器 加密货币筛选器 财经日历 如何运作 图表功能 价格 推荐朋友 网站规则 帮助中心 网站 & 经纪商解决方案 插件 图表解决方案 轻量图表库 博客 & 新闻 Twitter
概览 个人资料设置 账户和账单 推荐朋友 代币 我的客服工单 帮助中心 已发表观点 粉丝 正在关注 私人消息 在线聊天 退出