OPEN-SOURCE SCRIPT
已更新

卡蛋K线反转

893
Currently, only entry signals and reversal signals are available.
Continuous updates are planned, with subsequent plans to add alarm and reversal alerts.
版本注释
Updated the horizontal line used for assisting in the judgment of K-line reversals.
版本注释
Add HTF_2
Update input panel
版本注释
Fixed the bug that may occur when the timeframe is greater than the htf_timeframe. Although the indicator cannot be used as a reference at this time.
版本注释
Update display
版本注释
[October 1st, 2025]
[Update] Added calculation of the current cycle reversal point to facilitate data acquisition during quantitative trading.
[Update] When HTF is less than or equal to TF, the signal will no longer be displayed.
[Update] Increase computing speed
[To be updated] Alert function
版本注释
// [Update] Overall restructure, using dataclasses to re-plan variables for easier subsequent development and maintenance
// [Update] Update display logic, entry signal is shown one candle earlier for convenience in backtesting development
// [Other Notes] This indicator uses the logic of Kadan, but the layout borrows from other paid indicator authors. As we have received benefits, it should not affect the sales of the author's indicators. Therefore, the alert function is not added for the time being. If needed, please develop it yourself. It's just a few lines of code and very simple.
版本注释
// 【Update】Fixed the bug where the current cycle reversal point was displayed incorrectly.
// 【Update】Optimized the logic for the current cycle reversal point. When the reverse package K-line reverses while also breaking through ldl or luh simultaneously, ldl and luh will be updated synchronously. This optimization is aimed at enabling more precise selection of stop-loss and take-profit points in subsequent quantitative development. Only the current cycle has been modified; no changes were made in HTF1 and HTF2.

免责声明

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