OPEN-SOURCE SCRIPT

Bollinger %B Candles Strategy

Telah dikemas kini
Strategy built based on earlier published indicator:

Bollinger %B Candles


Looks to be doing good for short term swing trades. But, I am not sure if there is repainting. I tried to avoid buy/sell trades on same day - but wasn't successful.

So far back-tested on following:

BTCUSD - works on both long and short
CURRENCYCOM:GOLD and equities - long only.

Some of the failures: ASX:WPL, WHC, NHC

As usual for back-testing - using 1000 as initial capital with 100% invested on each trade and no compounding so that it will be easy to compare with buy and hold. Trade with caution :)
Nota Keluaran
Update capital and percentage of capital per trade as this is not long term strategy and hence not required to compare with buy and hold
Nota Keluaran
Added delay in buy and sell signal to avoid buy/sell on same bars.
Nota Keluaran
Fixed error.
Nota Keluaran
Remove calc_on_order_fills
Bollinger Bands (BB)Moving Averagesswingtradingswingtradingsetup

Skrip sumber terbuka

Dalam semangat sebenar TradingView, penulis telah menerbitkan kod Pine ini sebagai sumber terbuka supaya pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda boleh menggunakan perpustakaan ini secara percuma, tetapi penggunaan semula kod dalam penerbitan ini adalah dikawal oleh Peraturan dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Ingin menggunakan skrip ini pada carta?

Penafian