TradingView
bennef
28 Sep 2019 pukul 12.04

Heiken Ashi BF  

Bitcoin / US Dollar Perpetual Inverse Swap ContractBitMEX

Huraian

Heiken Ashi candles help us to identify a trend.

This strategy simply enters a long when the Heiken Ashi candles turn green and a short when they turn red.

Because of the way BTC price moves in medium term trends, this simple strategy seems effective.

There is a rate of change function applied to avoid some of the choppy sideways action (thanks again to kiasaki for the code)

There is a 2% fixed stop loss applied and an optional take-profit setting. You can change both in the settings.

As you can see from the code, this strategy does not enter trades based on the Heiken Ashi closes, rather the actual price close. This is an important distinction since the HA closes are based on an average of the OHLC values so attempting to enter at that price may not always be possible. There are some "strategies" that use this information to try and con people by appearing to have awesome entries that are actually not attainable in all cases.

  • Green = Long
  • Red = Short
  • White = No trade

Nota Keluaran

Small changes
Komen
HolRiz
I love this script. So simple, yet it looks so effective on BTC. I was about to start trading this using a bot, have you tried trading this @bennef? How is it working for you in forward testing?
bennef
@hollandrisley, I don it trade using this script, it’s more a demonstration of how a simple strategy can work well. I am happy you find it to be useful.
Lebih