OPEN-SOURCE SCRIPT
Telah dikemas kini 卡蛋K线反转

Currently, only entry signals and reversal signals are available.
Continuous updates are planned, with subsequent plans to add alarm and reversal alerts.
Continuous updates are planned, with subsequent plans to add alarm and reversal alerts.
Nota Keluaran
Updated the horizontal line used for assisting in the judgment of K-line reversals.Nota Keluaran
Add HTF_2Update input panel
Nota Keluaran
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.Nota Keluaran
Update displayNota Keluaran
[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
Nota Keluaran
// [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.
Nota Keluaran
// 【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.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.