PROTECTED SOURCE SCRIPT
STRATEGY WITH POINT TP/SL BY SKBTS

The formula for the standard middle band is simply a moving average, often set to 20 periods:
Middle Band = 20-period moving average (close)
The upper and lower bands are calculated from the standard deviation, which measures how dispersed the price data is from the average.
Upper Band = Middle Band + (2 standard deviations of 20-period close)
Lower Band = Middle Band - (2 standard deviations of 20-period close)
The key inputs are the 20-period moving average, the number of standard deviations (typically 2), and the 20-period standard deviation. The bands will expand and contract based on the standard deviation value.
Some traders increase the standard deviation multiplier to 2.1 or 2.2 to make the bands looser and more sensitive. Decreasing the number of periods for the moving average and standard deviation will also increase sensitivity.
Middle Band = 20-period moving average (close)
The upper and lower bands are calculated from the standard deviation, which measures how dispersed the price data is from the average.
Upper Band = Middle Band + (2 standard deviations of 20-period close)
Lower Band = Middle Band - (2 standard deviations of 20-period close)
The key inputs are the 20-period moving average, the number of standard deviations (typically 2), and the 20-period standard deviation. The bands will expand and contract based on the standard deviation value.
Some traders increase the standard deviation multiplier to 2.1 or 2.2 to make the bands looser and more sensitive. Decreasing the number of periods for the moving average and standard deviation will also increase sensitivity.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể tự do sử dụng tập lệnh mà không có bất kỳ hạn chế nào – tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể tự do sử dụng tập lệnh mà không có bất kỳ hạn chế nào – tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.