TsangYouJun

Mean Reversion w/ Bollinger Bands

This is a more advanced version of my original mean reversion script.

It employs the famous Bollinger Bands .

This robot will buy when price falls below the lower Bollinger Band , and sell when price moves above the upper Bollinger Band .

I've only tested it on the S&P 500 , though you could try it out on other assets to see the backtest performance.

During the recent COVID-19 bear market drop, it produced several buy signals on the S&P which I followed, and made some nice gains so far.

I still think this would make a better investing strategy (buy undervalued / sell over-valued), rather than a trading strategy.

I use this robot for my long term portfolio.
Скрипт с открытым кодом

В истинном духе TradingView автор этого скрипта опубликовал его с открытым исходным кодом, чтобы трейдеры могли понять, как он работает, и проверить на практике. Вы можете воспользоваться им бесплатно, но повторное использование этого кода в публикации регулируется Правилами поведения. Вы можете добавить этот скрипт в избранное и использовать его на графике.

Хотите использовать этот скрипт на графике?

Комментарии

Sir,first of all, a great congratulation for your dedication towards providing one of the best indicator 'Mean Reversion w/Bollinger Bands.Sir ,I invest in share, mkt .
Please tell me some 2 or 3 the best indicators for trading. Iwould be highly obliged for this kind of act.Waiting for the answer.
My Best regards.
+3 Ответить
thank you for the contribution sir. One query, does it repaints sir?
Ответить
Hi there, super nice strategy! really clean - have been using it alot! It seems like something happened with the script today; my bollinger-bands do not show. Do you know what to do? best, Jesper
Ответить
Hi there, this is a wonderful spcirpt, but is there anyway to add the timeframe into it?
I have tried for so many times but couldn't get it to work....
Ответить
TsangYouJun wangtzuchao
@wangtzuchao, if you’re using it for crypto, you need to modify the UNITS. Crypto and Currencies work differently from stocks.
Ответить
can this program into interactive brokers?
Ответить
Thank you very much for your contribution. I have been working with this script (with some modifications) and I am getting very good results. It works very well with various cryptocurrencies. Thanks again.
Ответить
@coinnoz, you’re welcome!
Ответить
rdoubz coinnoz
@coinnoz, what did you change to make it work with crypto?
Ответить