OPEN-SOURCE SCRIPT
Cập nhật TPI

You know who you are.
Use the "Plot" option one indicator at a time to verify that you have the correct time series for each indicator and that the bullish/bearish formula you enter is correct. Only one indicator can be plotted at a time and the best source of validation is the numerical value from the last candle that shows as a highlight in each indicator.
After you have verified that all indicators are correctly set up click on "Use in TPI" and make sure no "Plot" option is selected.
Set the Threshold to "1000" to define the +1/-1 TPI component value by comparing two time series data (usually on perpetual indicators) as opposed to the fixed value in Threshold (usually on oscillators).
Zero range specifies a band around which the difference between the two values will be considered zero. -1 disables it and outputs only +1/-1 values for each component.
Good luck!
Use the "Plot" option one indicator at a time to verify that you have the correct time series for each indicator and that the bullish/bearish formula you enter is correct. Only one indicator can be plotted at a time and the best source of validation is the numerical value from the last candle that shows as a highlight in each indicator.
After you have verified that all indicators are correctly set up click on "Use in TPI" and make sure no "Plot" option is selected.
Set the Threshold to "1000" to define the +1/-1 TPI component value by comparing two time series data (usually on perpetual indicators) as opposed to the fixed value in Threshold (usually on oscillators).
Zero range specifies a band around which the difference between the two values will be considered zero. -1 disables it and outputs only +1/-1 values for each component.
Good luck!
Phát hành các Ghi chú
You know who you are.Use the "Plot" option one indicator at a time to verify that you have the correct time series for each indicator and that the bullish/bearish formula you enter is correct. Only one indicator can be plotted at a time and the best source of validation is the numerical value from the last candle that shows as a highlight in each indicator.
After you have verified that all indicators are correctly set up click on "Use in TPI" and make sure no "Plot" option is selected.
Set the Threshold to "1000" to define the +1/-1 TPI component value by comparing two time series data (usually on perpetual indicators) as opposed to the fixed value in Threshold (usually on oscillators).
Zero range specifies a band around which the difference between the two values will be considered zero. -1 disables it and outputs only +1/-1 values for each component.
Good luck!
Phát hành các Ghi chú
Adding -1/+1 lines so that the scale remains the same irrespective of the period.Phát hành các Ghi chú
Added rate of change and split TPI from signal to better support alert generationPhát hành các Ghi chú
Added number of bars the TPI has remained at +1 to be used as a strategy input.Phát hành các Ghi chú
Added the option to have the day of the month on TPI transitions to help in indicator tunning.Phát hành các Ghi chú
Add the ability to exports TPI transition dates to aid with indicator selection and optimization.Phát hành các Ghi chú
Fixed error on exported day of the transition dateMã 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.
Thông báo miễn trừ trách nhiệm
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.
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.
Thông báo miễn trừ trách nhiệm
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.