GapSMA - Gap Simple Moving Average
Last updated
Last updated
The SimpleSMA has the Issue, that in case of an big opening Gap, the SMA takes very long to adjust to the candles. The GapSMA ignores the Gaps and ends calculating on the Market Close and starts calculating on the Market Open again.
If there is a Gap between the Market Close and the Market Open it will not be taken into account.
double
When using this method with an index (e.g. GapSMA(14)[int barsAgo] ), the value of the indicator will be issued for the referenced bar.
InSeries Input data series for the indicator
period Number of bars included in the calculations