Super Trend 3.3 Source code - Chinese
SuperTrend Indicates the policy principle of the supertrend
1. Identify trends
We define a box (the box is defined mainly for your understanding) that contains the nearest 66 (configurable) K-wires. The highest point of these 66 K lines is the top of the box, and the lowest point of these 66 K lines is the bottom of the box. As long as the current price is more than 60 points from the bottom (can be set), EA determines that the current trend is long; As long as the current price is more than 60 points from the top (can be set), EA determines that the current trend is short.

SuperTrend Indicates the policy principle of the supertrend
1. Identify trends
We define a box (the box is defined mainly for your understanding) that contains the nearest 66 (configurable) K-wires. The highest point of these 66 K lines is the top of the box, and the lowest point of these 66 K lines is the bottom of the box. As long as the current price is more than 60 points from the bottom (can be set), EA determines that the current trend is long; As long as the current price is more than 60 points from the top (can be set), EA determines that the current trend is short.
