OPEN-SOURCE SCRIPT
Aktualisiert

卡蛋K线反转

828
Currently, only entry signals and reversal signals are available.
Continuous updates are planned, with subsequent plans to add alarm and reversal alerts.
Versionshinweise
Updated the horizontal line used for assisting in the judgment of K-line reversals.
Versionshinweise
Add HTF_2
Update input panel
Versionshinweise
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.
Versionshinweise
Update display
Versionshinweise
[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
Versionshinweise
// [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.
Versionshinweise
// 【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.

Haftungsausschluss

Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.