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