Trend MA
- Indicateurs
- Version: 1.0
- Activations: 5
Use the MA indicator to determine the trend indicator
When it is an uptrend, the indicator bar is above the 0 value and the value is 1
When it is a downtrend, the indicator bar is below the 0 value and the value is -1
Input items:
- trend_price: Trend judgment K-line price method
price_high_low : Highest and lowest price (use the highest and lowest price to judge by the quantity above and below the MA)
price_close: Closing price (use the closing price to determine the quantity above and below the MA)
- rate: The ratio of the number of highest and lowest points to the total number of K to determine the trend (greater than this value to determine the trend)
- depth: The number of bars to be obtained when judging the trend
