bennef

Heiken Ashi BF

bennef 已更新   
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
开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?