DatCryptoBoi

Heikin Ashi Trend Strategy

Strategy Overview

Uses two timeframes to combine and identify trends for buying + selling securities. Works well on Bitcoin, currencies and indices.

Usage

This strategy should be used on 1-hour or 4-hour candles. Try it on 4-hour bitcoin for example.

Normal candles are fine but lead to more fakeouts. Heiken ashi candles lead to fewer trades and longer hodling of the trend but harder to enter/exit because Heiken Ashi candles are not true prices.

Strategy results

In my testing I ran the backtest from mid December onwards to capture the very tricky bear market that bitcoin has suffered. In this market it made huge profits from a $100k initial virtual account. Profit ratio is very high and trade success rate very high. However, a warning. In live trading it will flip BUY/SELL as the trend changes. This is a bug / flaw in the TradingView scripting engine in my opinion. It should not change past buy or sell signals. So to confirm the trend signal you want to see at least one block of the orange indicator complete or maybe use this indicator in combination with other.

Watch it for confirmation of keeping in existing trades and don't do everything it says as it says or bet the farm or you may rekt. Would recommend paper trading to understand the indicator + the signals.

My advice would be not to short an uptrend and not to long a downtrend. Some of the most profitable trades are with the trend and not the whips + saws.


Inputs

  • Trade Short? Default false. When true generates short trades not just close long
  • Backtest Start Year/Month/Day. Limits the backtest window to a certain timeframe to test tricky markets
  • Higher Timeframe: The length of the higher timeframe to monitor
  • Lower timeframe: The length of the lower timeframe to monitor
  • Show trades? When true shows the buy sell trades and performs the backtest. When false its just an indicator


Tips!

Any tips would be gratefully received. My addresses are as follows:

  • BTC: 35m8CyMQeWCezRUzQdaH3qEBpEyzSPAazS
  • ETH: 0xD09605A5D9ef9768e5AE17A74A5f0D42c97eC3a9
  • LTC: MV9yLEFoM5R8sgCHdeaehH3owjLni8FFz1

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ệ DatCryptoBoi để 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.