HTFlover

Trend-following Strategy E v2.6 4H ETHBTC

HTFlover Cập nhật   
Hi All,

Welcome to my first published Trend-following strategy for Ethereum, designed specifically for POLONIEX:ETHBTC on 4H due its long price history.
This script is based on my previously published scripts for bitcoin.

In order to set up Alerts for this strategy, I've created a second script called Trend-following Alert E v2.6 4H ETHBTC which you can find here:

Here you will find the "active_long" and "active_long" variables (red and blue lines) that show which positions are being taken by the strategy script.

You can set 'Once per bar close' alerts for this to get your alerts on TV.
For instance, I use 'crossing up @ 0.1' on "active_long" to set an 'Open Long" alert and a 'crossing down @ 0.9' to set a 'Close Long' alert.
The same holds for the 'Open Short' and the 'Close Short' alerts but then for the 'active_short' variable.

As you can see from the backtest I've done my best to create a decent ROI with limited DD .
You can also run this backtest/strategy with '100% of equity' but I would advise against trading this as your risk will fundamentally increase.
With a constant order size this strategy should be quite safe to use.

Going from the results it's clear that this strategy excels during clear bull/bear trends but might suffer a little bit during market chop.
This is also where ROI tends to stagnate a little bit only then to take off again during a clear trend.

There are two inputs that can be modified on this strategy, however I think the current settings are optimal for this market on the 4H candle.

I've also added start and end dates to test specific time periods.

Please let me know if you have any questions.
Phát hành các Ghi chú:
Updated logic to detect and prevent chop, resulting in improved ROI/Sharpe/Profit Factor
Tập lệnh chỉ hiển thị cho người được mời

Quyền truy cập vào tập lệnh này bị hạn chế đối với người dùng được tác giả ủy quyền và thường yêu cầu thanh toán. Bạn có thể thêm nó vào mục yêu thích của mình, nhưng bạn sẽ chỉ có thể sử dụng nó sau khi yêu cầu sự cho phép từ tác giả. Liên hệ HTFlover để thêm thông tin, hoặc làm theo hướng dẫn của tác giả bên dưới.

TradingView không đề xuất trả tiền cho một tập lệnh và sử dụng cho đến khi bạn hoàn toàn tin tưởng tác giả và hiểu cách thức hoạt động của tập lệnh. Trong nhiều trường hợp, bạn có thể tìm thấy một giải pháp thay thế nguồn mở miễn phí trong Thư viện Công cộng của chúng tôi.

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 đồ?

Cảnh báo: vui lòng đọc trước khi yêu cầu quyền truy cập.