OPEN-SOURCE SCRIPT
已更新 Peterbolic SAR - Colorbar

Indicator with buy/sell alerts for setup/trigger conditions
Built upon Peterbolic SAR current version as of publishing
Built upon Peterbolic SAR current version as of publishing
版本注释
Forgot you have to manually calculate the Heiken Ashi candle values to get the proper signals on normal candles for this one版本注释
Improved the way the script calculates the plot and what colors to useFixed the alerts to use the original signals that the plot is draw from so no mishaps occur (Pine script and/or Tradingview can get touchy about how you set your alert conditions)
Added a blue indicator line for if we're considered in an uptrend or not based on the current indicator levels
You can usually tell based on the previous values/colors but it's easier to spot immediately at any point when viewing a chart
版本注释
Add option to use Heiken Ashi values (or not) instead of hard setting them, results can vary depending on different time frames and this should help with more strategies版本注释
Added Bolinger Band Normalizer value to increase/reduce the offset of order placement based on the volatility at that point in time.Changed the blue line to purple and multiplied it with the BBand Average value to give a visual representation of how much volatility is going on inside the indicator.
The spikes on the orange line will also be larger when the volatility is higher in the same way the purple line does
版本注释
Offset was not calculating as needed due to round() going to 0 for all values <0.5Setup so 0.5 should be the default offset from a setup that hits a trigger, because trigger candles have to EXCEED the setup candles in the direction of the trend
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。