TradingView
bennef
2019年9月28日午後12時4分

Heiken Ashi BF  

Bitcoin / US Dollar Perpetual Inverse Swap ContractBitMEX

詳細

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

リリースノート

Small changes
コメント
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.
詳細