OPEN-SOURCE SCRIPT

7 Week Rule

Actualizado
The 7 week rule was shared by Gil Morales in his book “Trade Like an O’Neil Disciple”. The rule is described as: Stocks that have shown a tendency to “obey” or “respect” the 10-day moving average for at least 7 weeks in an uptrend should often be sold once the stock violates the 10-day line. A “violation” is defined as a close below the 10-day moving average followed by a move on the next day below the intraday low of the first day.

This indicator makes using the 7 week rule easy. Once a stock has closed above its selected moving average (10SMA by default) for 35 days the 7 week rule is triggered. Once the stock then “violates” the moving average, a sell signal is printed on the chart.

Indicator Customizations
  • Moving Average Length & Type
  • Show or Hide Moving Average
  • Show Running Count of Days Above Selected MA
  • Highlight When 7 Week Rule Triggers
  • Option to Show First Day Above MA


Indicator is dynamic and will continue the count if no violation occurs.
imagen
Notas de prensa
Small change to day 1 label placement
gilmogilmoralesibdMoving AveragesPortfolio managementTrend Analysis

Script de código abierto

Siguiendo fielmente el espíritu de TradingView, el autor de este script lo ha publicado en código abierto, permitiendo que otros traders puedan entenderlo y verificarlo. ¡Olé por el autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la reutilización de este código en la publicación se rige por las Normas internas. Puede añadir este script a sus favoritos y usarlo en un gráfico.

¿Quiere utilizar este script en un gráfico?


Trusted Pine programmer. Send me a message for script development.
También en:

Exención de responsabilidad