OPEN-SOURCE SCRIPT

Double 7's Strategy

Strategy described in the book "Short Term Trading Strategies that Work", written by Larry Connors and Cesar Alvarez.

It is the simplest strategy I know and has only 3 rules:

- Price must be above the arithmetic moving average of 200 periods.
- Buy when the price closes below the closing of the last 7 days.
- Sale when the price closes above the closing of the last 7 days.

Simple as it may seem, this strategy works very well in some stocks and/or graphical times (in some stocks it overcomes many RSI 2 strategies). It was developed for the daily chart and does not usually work well on weekly or monthly charts, but can be used for day trades if the back-test proves to be favorable.

If you want, you can change the input and output rules by setting other values ​​for the input or output period and thus find more positive results for specific stocks.

There is no stop loss because in tests the stop loss usually reduces the gains of the strategy.

Good luck and good trades.

================================

Estrategia descrita no livro "Short Term Trading Strategies that Work", escrito por Larry Connors e Cesar Alvarez.

É a estratégia mais simples que eu conheço e tem apenas 3 regras:

- Preço deve estar acima da média móvel aritmética de 200 períodos.
- Compre quando o preço fechar abaixo do fechamento dos ultimos 7 dias.
- Venda quando o preço fechar acima do fechamento dos ultimos 7 dias.

Por mais simples que pareça, esta estratégia funciona muito bem em alguns papeis e/ou tempos gráficos (em alguns papeis a mesma supera muitas estratégias pelo IFR2). A mesma foi desenvolvida para o gráfico diário e normalmente não funciona muito bem em gráficos semanais ou mensais, mas pode ser utilizado no intraday caso o backtest se mostre favorável.

Caso você queira, é possível alterar a regra de entrada e saída definindo outros valores para o período de entrada ou saída e assim encontrar resultados mais positivos para cada papel.

Não existe stop loss pois nos testes normalmente o stop loss reduz os ganhos da estratégia.

Boa sorte e bons trades.
OscillatorsRelative Strength Index (RSI)Simple Moving Average (SMA)

สคริปต์โอเพนซอร์ซ

ด้วยเจตนารมณ์หลักของ TradingView ผู้เขียนสคริปต์นี้ได้เผยแพร่เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถเข้าใจและตรวจสอบได้ ต้องขอบคุณผู้เขียน! ที่ให้คุณใช้ได้ฟรี แต่การนำโค้ดนี้ไปใช้ในการเผยแพร่ซ้ำจะต้องอยู่ภายใต้ กฎระเบียบการใช้งาน คุณสามารถตั้งเป็นรายการโปรดเพื่อใช้บนชาร์ตได้

ต้องการที่จะใช้สคริปต์นี้บนชาร์ตใช่ไหม?

คำจำกัดสิทธิ์ความรับผิดชอบ