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.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.