OPEN-SOURCE SCRIPT

Greedy DCA

Обновлено
█ OVERVIEW

Detect price crashes in volatile conditions. This is an indicator for a greedy dollar cost average (DCA) strategy. That is, for people who want to repeatedly buy an asset over time when its price is crashing.

█ CONCEPTS
  • Price crashes are indicated if the price falls below one or more of the 4 lower Bollinger Bands which are calculated with increasing multipliers for the standard deviation.
  • In these conditions, the price is far below the average. Therefore they are considered good buying opportunities.
  • No buy signals are emitted if the Bollinger Bands are tight, i.e. if the bandwidth (upper -lower band) is below the value of the moving average multiplied with a threshold factor. This ensures that signals are only emitted if the conditions are highly volatile.
  • The Bollinger Bands are calculated based on the daily candles, irrespective the chart time frame. This allows to check the strategy on lower time frames

Информация о релизе
█ CHANGELOG

  • Condition if bands are wide no longer depends of the number of standard deviations used to calculate the main Bollinger Bands.
  • Adjusted some default values for the number of standard deviations.
  • Skipped signals are now plotted in red.
Информация о релизе
plot the moving average calculated from the daily time frame, instead of the chart time frame
Bands and ChannelsbollingerbandstrategyBollinger Bands Width (BBW)btcusdbuyDCAmulti-timeframemultitimeframeVolatility

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

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

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

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