OPEN-SOURCE SCRIPT
Cập nhật GOLD TERTIUM MGC 1m

This indicator is a visual tool for TradingView designed to help you read trend structure using EMAs and highlight potential long and short entries on the MGC 1‑minute chart, while filtering pullbacks and avoiding trades when the 200 EMA is flat.
It calculates five EMAs (32, 50, 110, 200, 250) and plots them in different colors so you can clearly see the moving‑average stack and overall direction. The main trend is defined by the 200 EMA: bullish when price and the fast EMAs (32 and 50) are above it with a positive slope, and bearish when they are below it with a negative slope; if the 200 EMA is almost flat, signals are blocked to reduce trading in choppy markets.
Entry logic looks for a pullback into the 32–50 EMA zone on the previous candle, then requires a trend‑aligned candle to trigger a signal: long when the trend is up, the previous bar retested the EMA zone, and the current bar closes above EMA 32 with a bullish body; short when the trend is down, there was a valid retest, the current bar closes below EMA 32 with a bearish body and EMA 32 is below EMA 50. On the chart, you will see colored EMAs plus green “L” triangles under bars for potential long entries and red “S” triangles above bars for potential short entries, which are meant as visual cues rather than automatic trade instructions
It calculates five EMAs (32, 50, 110, 200, 250) and plots them in different colors so you can clearly see the moving‑average stack and overall direction. The main trend is defined by the 200 EMA: bullish when price and the fast EMAs (32 and 50) are above it with a positive slope, and bearish when they are below it with a negative slope; if the 200 EMA is almost flat, signals are blocked to reduce trading in choppy markets.
Entry logic looks for a pullback into the 32–50 EMA zone on the previous candle, then requires a trend‑aligned candle to trigger a signal: long when the trend is up, the previous bar retested the EMA zone, and the current bar closes above EMA 32 with a bullish body; short when the trend is down, there was a valid retest, the current bar closes below EMA 32 with a bearish body and EMA 32 is below EMA 50. On the chart, you will see colored EMAs plus green “L” triangles under bars for potential long entries and red “S” triangles above bars for potential short entries, which are meant as visual cues rather than automatic trade instructions
Phát hành các Ghi chú
This indicator is a visual tool for TradingView that helps you trade trend pullbacks on the MGC 1‑minute chart using a stack of EMAs and strict entry filters.
It plots five EMAs (32, 50, 110, 200, 250) in different colors so you can easily see short‑, medium‑, and long‑term direction on the chart. The main trend is defined by the 200 EMA: bullish when price, EMA 32, and EMA 50 are all above the 200 EMA with a positive slope, and bearish when they are below it with a negative slope; if the 200 EMA is almost flat, signals are blocked to avoid trading in ranging conditions.
For entries, the indicator looks for a pullback to the EMA 32–50 zone on the previous candle and then requires a trend‑aligned candle to fire a signal. Long signals only appear if the overall trend is up, the previous bar retested the EMA 32–50 zone, EMA 32 is above EMA 50, the distance between those two EMAs is at least 10 pips, and the current candle closes above EMA 32 with a bullish body. Short signals only appear if the trend is down, there was a valid retest, EMA 32 is below EMA 50 with at least 10 pips separation, and the current candle closes below EMA 32 with a bearish body.
On the chart, you see the colored EMAs plus green “L” triangles under bars for potential long entries and red “S” triangles above bars for potential short entries. These markers are meant as visual cues to highlight spots where your rules are met, not as automatic trade execution, so they are normally combined with your own session, structure, and risk management criteria.
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.