FourC

4C ATR w/ Reference Line

FourC Atualizado   
The 4C ATR is a simple indicator that plots a horizontal line on the ATR indicator, which can be used as a minimum or maximum reference value.

Some trading setups have specific criteria that require a minimum ATR on a certain timeframe for the instrument to be playable. The horizontal line is useful as a quick visual reference, and can be adjusted to any specific level for any timeframe. If the ATR dips below the horizontal line, the trader can quickly see that the ATR is below the minimum criteria, and should not trade that instrument (based on their personal trade criteria).

This indicator also features a color change of the ATR line based on trend direction. If the ATR is trending up, it is painted blue, and if it starts to trend down, it is painted red. It uses a hidden simple moving average of the ATR, and the slope direction of the moving average paints the ATR line. The moving average length can be adjusted, and is set at a length of 8 for default. The ATR is set at a default value of 14.

Parts of this script used the default/stock Tradingview ATR indicator to build off of.
Notas de Lançamento:
12/2/22
Small update to add ability to Show or Hide the ATR Reference Line
Script de código aberto

Dentro do verdadeiro espírito TradingView, o autor deste script publicou ele como um script de código aberto, para que os traders possam compreender e checar ele. Um viva ao autor! Você pode usá-lo gratuitamente, mas a reutilização deste código em uma publicação é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.

Quer usar esse script no gráfico?