ChartArt

Narrow Range + Inside Day, Long Only Strategy (by ChartArt)

This long only strategy determines when there is both a NR7 (narrow range 7, a trading day in which the range is narrower than any of the previous six days), plus a inside day (high of the current day is lower than the high of the previous day and the low of the current day is higher than the low of the previous day) both on the same trading day and enters a long trade when the close is larger than the open and the slope of the simple moving average is upwards, too.

The strategy closes the long trade next time the daily close is larger than the open in any of the next trading days. In addition the NR7ID can be colored (the color is green when the close is larger that day than the open, else the color is red) and the SMA can be drawn with a color based on the direction of the SMA slope. To fine-tune the strategy it is highly recommended to change the period length of the SMA, which determines if the measured SMA slope is upwards or not.

Inspiration:
How to trade NR7 and Inside Day Pattern
paststat.com/blog/ho...-day-pattern-on-spy/

Code credit:
NR7 indicator script from Tradingview user Lazybear:
pastebin.com/JR0hLdwq
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?