This indicator is called "TRIX with Momentum" and is used to analyze the momentum of an asset's price and predict potential trend reversals. The logic of operation is based on the combination of two indicators: the Triple Exponential Moving Average (TRIX) and the momentum oscillator.
The TRIX is calculated using three exponential moving averages (EMA) of the asset's closing price, with a user-defined length (set to 14 by default). The TRIX is then normalized and centered around 0 to facilitate analysis of its relationship with the momentum oscillator.
The momentum oscillator is calculated using the EMA of the normalized TRIX with a user-defined length (set to 14 by default).
The indicator plots the normalized TRIX and the momentum oscillator on a chart, using different colors to indicate whether the TRIX is above or below 0. Additionally, the color of the y-axis label changes based on the position of the oscillator, while the color of the x-axis label remains gray.
The indicator uses a weighted average between the normalized TRIX and the momentum oscillator to create a colored background of the chart, which changes based on the weighted average. If the weighted average is positive, the chart's background is green, otherwise it is red. Finally, a horizontal line is drawn at point 0 to facilitate visual analysis of the chart.
------------ ITALIANO -------------
Questo indicatore è chiamato "TRIX with Momentum" ed è utilizzato per analizzare il momentum del prezzo di un asset e prevedere eventuali inversioni di trend. La logica di funzionamento è basata sulla combinazione di due indicatori: il TRIX (Indicatori di media mobile Tripla Esponenziale) e l'oscillatore momentum.
L'indicatore consente all'utente di impostare la lunghezza del TRIX e dell'oscillatore momentum come input personalizzato. Il TRIX viene calcolato utilizzando tre medie mobili esponenziali (EMA) della chiusura dei prezzi dell'asset, mentre l'oscillatore momentum viene calcolato utilizzando l'EMA del TRIX normalizzato.
Il TRIX normalizzato viene centrato intorno allo 0 per facilitare l'analisi della sua relazione con l'oscillatore momentum. L'indicatore plotta il TRIX normalizzato e l'oscillatore momentum su un grafico, utilizzando diversi colori per indicare se il TRIX è sopra o sotto lo 0.
L'indicatore utilizza una media pesata tra il TRIX normalizzato e l'oscillatore momentum per creare uno sfondo colorato del grafico, che cambia in base alla media pesata. L'utente può impostare il peso da dare al TRIX e all'oscillatore momentum come input personalizzato, e il peso dell'oscillatore momentum verrà automaticamente impostato come complementare al peso del TRIX.
Se la media pesata è positiva, lo sfondo del grafico è verde, altrimenti è rosso. Viene tracciata anche una linea orizzontale al punto 0 per facilitare l'analisi visiva del grafico.
Infine, il colore dell'etichetta dell'asse y cambia in base alla posizione dell'oscillatore, mentre il colore dell'etichetta dell'asse x rimane sempre grigio.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Để truy cập nhanh vào biểu đồ, hãy thêm tập lệnh này vào mục yêu thích của bạn — tìm hiểu thêm tại đây.
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Để truy cập nhanh vào biểu đồ, hãy thêm tập lệnh này vào mục yêu thích của bạn — tìm hiểu thêm tại đây.
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.