OPEN-SOURCE SCRIPT
Atualizado 卡蛋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.
Notas de Lançamento
Updated the horizontal line used for assisting in the judgment of K-line reversals.Notas de Lançamento
Add HTF_2Update input panel
Notas de Lançamento
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.Notas de Lançamento
Update displayNotas de Lançamento
[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
Notas de Lançamento
// [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.
Notas de Lançamento
// 【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.
Script de código aberto
No verdadeiro espirito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam entendê-lo e verificá-lo. Parabéns ao autor Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações e regida pelas Regras da Casa.
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.
Script de código aberto
No verdadeiro espirito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam entendê-lo e verificá-lo. Parabéns ao autor Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações e regida pelas Regras da Casa.
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.