OPEN-SOURCE SCRIPT

PlanB Quant Investing 101 v2

This script has been Inspired by PlanB Article Quant Investing 101.

With this script, I implemented Plan B strategy outlined in that article, trying to reproduce his findings independently and allowing TradeView Users to do the same.

PlabB is aware of this effort, and he's positive about it, via Twitter commenting, liking and sharing of this resource .

Trading Idea:
This script uses RSI index to determine the Buy And Sell signal.

As per the original PlanB article:

IF ( RSI was above 90% last six months AND drops below 65%) THEN sell,
IF ( RSI was below 50% last six months AND jumps +2% from the low) THEN buy, ELSE hold

My simple code is aimed at replicating his study in Pine so that every TV user can check his signal.
Bitcoin (Cryptocurrency)CryptocurrencyeducationalplanbRelative Strength Index (RSI)

Script de código aberto

No verdadeiro espírito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam compreendê-lo e analisá-lo. Parabéns ao autor! Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Quer usar esse script no gráfico?

Aviso legal