OPEN-SOURCE SCRIPT

GAP Momentum Oscillator

От Hunter_Algo

This function calculates GAP Momentum, a measure of momentum based on the gaps between opening and closing prices over several periods.

Gaps are calculated for defined periods (here, by default, 14 periods). It determines :

UpGaps: the sum of positive gaps, i.e. openings that are higher than the previous period's close.
DnGaps: the sum of negative gaps, i.e. openings below the previous period's close.

It then calculates the GAP Momentum as the ratio between the sum of the up gaps and the sum of the down gaps, multiplied by 100. If the total of the down gaps is zero, the ratio takes a default value of 1 to avoid division by zero.
Breadth IndicatorsCandlestick analysismomentumindicatorMomentum OscillatorsmomentumstrategyVolatility
Hunter_Algo

Скрипт с открытым кодом

В истинном духе TradingView автор этого скрипта опубликовал его с открытым исходным кодом, чтобы трейдеры могли понять, как он работает, и проверить на практике. Вы можете воспользоваться им бесплатно, но повторное использование этого кода в публикации регулируется Правилами поведения. Вы можете добавить этот скрипт в избранное и использовать его на графике.

Хотите использовать этот скрипт на графике?

Отказ от ответственности