OPEN-SOURCE SCRIPT
Low-lag Trendline

We apply the LLT trend timing to daily data of market indices such as the Shanghai and Shenzhen 300, Shanghai Composite Index, and Shenzhen Composite Index, and use the tangent method to make direction judgments, obtaining a good risk return situation. Compared to MA trend timing, we found that the LLT model has a shorter timing period and better stability. However, there is a problem with using the tangent method to track trend lines, which is that near the turning point of the trend, the tangent slope is prone to oscillate near zero, resulting in multiple timing judgments and a decrease in accuracy. This is equivalent to embedding a certain stop loss mechanism in the timing model, so we call this type of timing method transactional timing. For the LLT indicator, once the trend is established, holding positions can maintain a relatively long profit period, and although there are many volatile trading times near the inflection point, the holding time is often very short. Therefore, for transactional timing, when the accuracy of judgment is relatively low, the proportion of correct judgment time is often high, and profits mainly come from this part of the contribution.
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。