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

Invite-only script

Access to this script is restricted to users authorized by the author and usually requires payment. You can add it to your favorites, but you will only be able to use it after requesting permission and obtaining it from its author. Contact DatCryptoBoi for more information, or follow the author's instructions below.

TradingView does not suggest paying for a script and using it unless you 100% trust its author and understand how the script works. In many cases you can find a good open-source alternative for free in our Community Scripts.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?

Warning: please read before requesting access.