INVITE-ONLY SCRIPT
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
Tips!
Any tips would be gratefully received. My addresses are as follows:
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
仅限邀请脚本
只有作者授权的用户才能访问此脚本。您需要申请并获得使用许可。通常情况下,付款后即可获得许可。更多详情,请按照下方作者的说明操作,或直接联系DatCryptoBoi。
TradingView不建议您付费购买或使用任何脚本,除非您完全信任其作者并了解其工作原理。您也可以在我们的社区脚本找到免费的开源替代方案。
作者的说明
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
仅限邀请脚本
只有作者授权的用户才能访问此脚本。您需要申请并获得使用许可。通常情况下,付款后即可获得许可。更多详情,请按照下方作者的说明操作,或直接联系DatCryptoBoi。
TradingView不建议您付费购买或使用任何脚本,除非您完全信任其作者并了解其工作原理。您也可以在我们的社区脚本找到免费的开源替代方案。
作者的说明
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。