New Updates:
- Broken Trend Lines are shown according to trend line style now. it means that: if Trendlines are shown as "Channel" then lines are shown with threshold value, so does broken trend lines same. if Trendlines are shown as "Trendline" or "Trend Channel" then lines passes on pivot points, so does broken trend lines same. (Users request)
- Style option added for Last Broken Trend Lines: Dotted or Dashed. it's Dotted by default. (Users request)
- When you open a chart if there is broken trend lines on last 10 bars then the script can show them now, no need to replay (1min or higher time frames). you can set the number of bars using "Show it for ? Candles" option (by default it's 5). "Show Last Broken Trend Line" option should be enabled, also "UTC" value under it must be set same as the chart timezone. important: Enabling "Show Last Broken Trend Line" causes much more calculation, so I recommend you to enable it only when you needed to check broken trend lines. (Users request)
- Important: because of thr script can not know chart timezone, new UTC option added under "Show Last Broken Trend Line" option, this value is only used to calculate last N bar to show last broken trend lines. it should be same as chart timezone. You can see/change the chart timezone and/or time at the bottom bar by clicking on the clock or in the chart settings in the Symbol tab. for example: "New York UTC -4", "London UTC +1", "Berlin UTC +2", "Moscow UTC +3", "Beijing UTC +8" etc. If you have any question please contact me.
- Minimum value for Pivot Period can be set to 1 now. (it was 2). (Users request) I recommend you to use default values (it's 4 by default) and zoom the chart using lower time frames.