MIDPRICE
Indicator Description
MIDPRICE (Mid Price Indicator) is a trend indicator that reflects the central trend of price by calculating the average of the highest and lowest prices over a certain period.
Function Information
- Function Name: MIDPRICE
- Input Parameters: #Kline
- Parameter Settings: timeperiod (default: 14)
- Output: MIDPRICE value
Calculation Principle
MIDPRICE is calculated using the following formula:
MIDPRICE = (Highest High + Lowest Low) / 2
Where:
- Highest High is the highest price in the period
- Lowest Low is the lowest price in the period
Usage Scenarios
- Trend identification and tracking
- Support and resistance level identification
- Price breakout confirmation
- Trading signal generation
Usage Recommendations
- Choose appropriate parameters based on the trading period
- Use in combination with other technical indicators
- Monitor price and mid-price crossovers
- Pay attention to market trend changes