Senthaamizh

Bollinger Band Breakout

It is a long only strategy.

1. Buy when price breaks out of the upper band.
2. Exit has two options. Option 1 allows you to exit using lower band. Option 2 allows you to exit using moving average.
3. Option 1 preferred over option 2 if the instrument is highly volatile.
4. Slippage and commissions are not considered in the return calculation.
Note di rilascio: Modified the position sizing. Now it is based on the available capital.
Script open-source

Nello spirito di condivisione promosso da TradingView, l'autore (al quale vanno i nostri ringraziamenti) ha deciso di pubblicare questo script in modalità open-source, così che chiunque possa comprenderlo e testarlo. Puoi utilizzarlo gratuitamente, ma il riutilizzo del codice è subordinato al rispetto del Regolamento. Per aggiungerlo al grafico, mettilo tra i preferiti.

Vuoi usare questo script sui tuoi grafici?

Commenti

Thank you for this strategy, looks very good.

Just of curiosity : why buy when breaks the upper band, shouldn't it buy when it breaks the lower one ? I'm trying to understand BB, your answer would be very appreciated
+10 Rispondi
interesno drutrading88
@drutrading88, i tested.. with "upper" it's better, than with lower :) i'm surprised :)
+4 Rispondi
oneman2amazing drutrading88
@drutrading88, The bands do no suggest buy or sell signals themselves and price can stay in the upper or lower for a while.
Rispondi
Senthaamizh drutrading88
@drutrading88, Yes, you are right. It was built to find the reversing points but it works only in sideways market and not when the instrument is trending. In the long run, Index are always trending so I am buying the breakout of upper band.
Rispondi
Anyone knows how to put a timeframe into this script? For example, back test from 01/01/2015 to current date.
I have tried a numberous of different addons but none of it worked.

Thanks in advance!!
+4 Rispondi
Just an idea like that, if the buy signal would happen when price breaks up the upper band AND when the BB width is at it's 6 months low, you would get a strategy that looks pretty much like the one described in the book Bollinger on Bollinger Bands. Actually I wish I could find such strategy.
+1 Rispondi
Senthaamizh Madcaptains
@Madcaptains, it will be helpful if you can mention how the author calculates the BB width.
Rispondi
hello! Can you program this ea for mt4 and mt5 ?
Rispondi
There is a huge difference between standard candles and heikin ashi candles. Is this normal? For example in Turkish stock market, THYAO (turkish airlines) at 1 day period, it gets %1465 profit in 15 years. and the same stock at same period with heikin ashi candles, it gets %38340 profit in 15 years.
Rispondi