I have used the quickfib for quite a while now and I know that if that can be done, then coding the sweetspot with trendline in possible.
Sweetpot parameter: Just as it was coded in the attached file.
The trendline Parameter: To draw a trendline when there is an evidence of a trend. I.e. there must be at least two reaction lows with the second low higher than the previous (for an uptrend) and vice versa. I want the trendline to only update (draw a new trendline) when there are two reactional levels in the opposite direction.
Sweetpot parameter: Just as it was coded in the attached file.
The trendline Parameter: To draw a trendline when there is an evidence of a trend. I.e. there must be at least two reaction lows with the second low higher than the previous (for an uptrend) and vice versa. I want the trendline to only update (draw a new trendline) when there are two reactional levels in the opposite direction.