Forecast Moving average and Emission
The Forecast Moving average and Emission (FME) indicator calculates three lines.
- Forecast is the price forecast calculated with the horizon specified in the input parameter FcPeriod. The price type based on which the forecast is calculated is specified in the input parameter InpPrice.
- Moving average is a moving average whose type is selected in the InpMA parameter and the averaging period is set in the MaPeriod parameter.
- Emission is the adaptive emission line. The idea of plotting this line was inspired by Sergey Pavlov's article "Drawing Indicator's Emissions in MQL5". The line is automatically rearranged depending on the changes in the parameters of the first two lines (Forecast and MA). The emission line acts as the main trend line on the current time frame. We can say that the direction in which it is moving is the direction of the price movement.