RicardoSantos

[RS]Bollinger Bands Breakout Candles V0

2304 11 432
EXPERIMENTAL: a experiment using bollingers and directional momentum, Breakout detector.
Remove from Favorite Scripts Add to Favorite Scripts
study(title="[RS]Bollinger Bands Breakout Candles V0", shorttitle="[RS]BBBc.V0", overlay=true)
length = input(8)
src = input(hl2)
deviations = input(2)
ma = sma(src, length)
oma = ma > ma[1] ? valuewhen(ma < ma[1], ma[1], 0) : ma < ma[1] ? valuewhen(ma > ma[1], ma[1], 0) : nz(oma[1])
upper = oma + stdev(src, length) * deviations
lower = oma - stdev(src, length) * deviations

plotcandle(oma, upper, lower, ma, color=ma>=upper?#9ce0b2:ma<=lower?#e0b29c:ma>=ma[1]?green:maroon)
Hi Ricardo. Do you know how to convert your code to amibroker (AFL) code?
Reply
very interesting work and concept. qq, did this indicator come from a body of work or previous analyst?
if so, i'd love to further read about it.
Reply
currently busy with work stuff, so cant do much testing, thx for comments
Reply
Nice work, Always great when Someone completes your planned indicator. I will see, how it compares to my version, if needed I will post.
Reply
Have you found this indicator to be effective on any particular timescale?
Reply
Looks interesting will investigate further
Reply
Ricardo this is interesting. I'll take a look further
Reply
Looks very good.
Try pairing it with my range expansion bar signals and you have a straight winner.
Now, an auto strategy with these would be interesting, but would need extra specific variables.

snapshot
+1 Reply
IvanLabrie PRO IvanLabrie
snapshot
+3 Reply
Richardo - this might be your best yet. Do you like any of your other indicators combined with this one? Thanks for all you are sharing with us.
+1 Reply
United States
United Kingdom
India
Deutschland
France
España
Italia
Polska
Türkiye
Россия
Brasil
Indonesia
Malaysia
Việt Nam
日本
한국
简体
繁體
Home Stock Screener Forex Signal Finder Cryptocurrency Signal Finder Economic Calendar How It Works Chart Features House Rules Moderators Website & Broker Solutions Widgets Stock Charting Library Feature Request Blog & News FAQ Help & Wiki Twitter
Profile Profile Settings Account and Billing My Support Tickets Priority Support Contact Support Ideas Published Followers Following Private Messages Chat Sign Out