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提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。

想在圖表上使用此腳本?