OPEN-SOURCE SCRIPT
LCCM & C7

Lục Chỉ Cầm Ma (LCCM)
This indicator replicates the Lục Chỉ Cầm Ma (LCCM) trading method developed by Khac Quy.
Lục Chỉ Cầm Ma (LCCM) is a rule-based breakout and trend-following trading method, originally designed for Gold (XAUUSD) and optimized for M15 and M30 timeframes.
The method focuses on key support and resistance levels (barriers), candle strength analysis, and MA20 for trade management.
🔹 Core Trading Logic
Buy Signal:
A buy setup is considered when a candle closes above a resistance barrier, indicating a valid breakout.
Sell Signal:
A sell setup is considered when a candle closes below a support barrier, indicating a downside breakout.
🔹 C7 Candle Pattern
🔸 C7CB (Basic 3-Candle Pattern)
C7CB consists of three consecutive candles with decreasing body size.
The body of candle 1 is larger than candle 2, and candle 2 is larger than candle 3.
This pattern indicates that trend momentum is weakening and buyers/sellers are losing control.
Usage:
Exit or partially close positions.
Alternatively, move stop loss to breakeven to protect profits.
🔸 C7CC (Extended 5-Candle Pattern)
C7CC is a five-candle consolidation pattern, consisting of:
One mother candle (largest range),
Followed by four inside candles with smaller ranges.
The final candle that breaks out of this structure is used to confirm trend continuation or reversal, depending on direction.
Usage:
If a strong reversal candle appears after C7CC, close existing positions.
If breakout aligns with the trend, traders may continue holding or add positions cautiously.
You can refer to other C7 patterns in the LCCM documentation by the author Khac Quy.
This indicator replicates the Lục Chỉ Cầm Ma (LCCM) trading method developed by Khac Quy.
Lục Chỉ Cầm Ma (LCCM) is a rule-based breakout and trend-following trading method, originally designed for Gold (XAUUSD) and optimized for M15 and M30 timeframes.
The method focuses on key support and resistance levels (barriers), candle strength analysis, and MA20 for trade management.
🔹 Core Trading Logic
Buy Signal:
A buy setup is considered when a candle closes above a resistance barrier, indicating a valid breakout.
Sell Signal:
A sell setup is considered when a candle closes below a support barrier, indicating a downside breakout.
🔹 C7 Candle Pattern
🔸 C7CB (Basic 3-Candle Pattern)
C7CB consists of three consecutive candles with decreasing body size.
The body of candle 1 is larger than candle 2, and candle 2 is larger than candle 3.
This pattern indicates that trend momentum is weakening and buyers/sellers are losing control.
Usage:
Exit or partially close positions.
Alternatively, move stop loss to breakeven to protect profits.
🔸 C7CC (Extended 5-Candle Pattern)
C7CC is a five-candle consolidation pattern, consisting of:
One mother candle (largest range),
Followed by four inside candles with smaller ranges.
The final candle that breaks out of this structure is used to confirm trend continuation or reversal, depending on direction.
Usage:
If a strong reversal candle appears after C7CC, close existing positions.
If breakout aligns with the trend, traders may continue holding or add positions cautiously.
You can refer to other C7 patterns in the LCCM documentation by the author Khac Quy.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que la republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como asesoramiento o recomendaciones financieras, de inversión, de trading o de otro tipo proporcionadas o respaldadas por TradingView. Más información en Condiciones de uso.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que la republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como asesoramiento o recomendaciones financieras, de inversión, de trading o de otro tipo proporcionadas o respaldadas por TradingView. Más información en Condiciones de uso.