Trendoscope

Up-Down Range

Trendoscope Wizard Обновлено   
Here is an attempt to segregate ATR into ATR of up days and down days.

While setting trailing stops based on ATR, you probably need to consider more on how an instrument can drop during red days. Hence, ATR of only red days makes more compelling case than overall ATR. Another use case for this kind of indicator may be in options if you are selling puts and calls with the intent of pocketing premiums on expiry.

Parameters are as explained below:

  • Range Type : Different range types are tr (True Range) , close (difference between close prices), highlow (difference between high and low of candle)
  • Period : ATR Period
  • Moving Average Type : Moving Average Type for calculating ATR. Two additional types - min and max are added which calculates lowest and highest range in last n bars
  • HideFullAtr : Hides combined ATR if checked.

Информация о релизе:
  • Removed min/max options as they are not working on na values
  • Added ATR multiplier and candle coloring to notify out of range candles

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

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

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

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

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