OPEN-SOURCE SCRIPT
Aktualisiert 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!
Versionshinweise
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!
Versionshinweise
Adding -1/+1 lines so that the scale remains the same irrespective of the period.Versionshinweise
Added rate of change and split TPI from signal to better support alert generationVersionshinweise
Added number of bars the TPI has remained at +1 to be used as a strategy input.Versionshinweise
Added the option to have the day of the month on TPI transitions to help in indicator tunning.Versionshinweise
Add the ability to exports TPI transition dates to aid with indicator selection and optimization.Versionshinweise
Fixed error on exported day of the transition dateOpen-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.