Bitduke

Gap Trading Strategy: CME Bitcoin

Bitduke Cập nhật   
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.

Usage:

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

Features:

  • 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.

Backtesting:

Backtested on BTCPERP ( FTX ) and XBTUSD.P (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.
Phát hành các Ghi chú:
> Added ability to choose timeframe for BTC1! values. Available options: 120min, 240min, Day, Week

Mã được bảo vệ
Tập lệnh này được xuất bản mã nguồn đóng và bạn có thể sử dụng một cách tự do. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ. Bạn không thể xem hoặc sửa đổi mã nguồn.
Thông báo miễn trừ trách nhiệm

Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?