Here’s a script for TradingView in Pine Script that implements the indicators you requested:
- **SMA (200) of High, Low, and (High + Low + Close)/3** - **EMA (8) of High, Low, and (High + Low + Close)/3**
Below is the code:
### Explanation of the Code: 1. **Inputs**: Allows customization of the lengths for SMA and EMA. 2. **Calculations**: - SMA(200) is calculated for High, Low, and (High + Low + Close)/3. - EMA(8) is calculated for the same parameters. 3. **Plotting**: - Each SMA and EMA series is plotted on the chart with distinct colors for easy identification.