Purpose and Unique Features:
This script is designed to implement a trend-following automated trading strategy by combining trendlines, supertrends and Bollinger Bands.
The following key aspects are highlighted:
supertrend :
It basically follows the long and short trends of the supertrend line.
Bollinger Band :
When the Bollinger Band breaks strongly upward or downward, the entry decision is made by referring to the trading volume. Additionally, the first profit margin price is calculated based on Bollinger Bands.
trendline :
The trend line drawn with reference to 72 candles first checks whether the closing price breaks the line at the pivot creation point.
The trend line drawn after checking modifies the primary target price.
At this time, trailing stop is activated.
And by tracking previous highs and lows, the primary target is reflected in the correction.
Inputs :
VL : Multiply Volume | Long
VS : Multiply Volume | Short
To filter out false signals when the Bollinger Band breaks, you can refer to trading volume and adjust how much weight to give.
BL : Stop trading when it rise 5%
BS : Stop trading when it falls 4%
A sharp rise or plunge is followed by a correction or sideways movement. After it fluctuates by a few percent, you can stop trading for a while.
PL : Pivot Range