r/pinescript • • 16d ago

Open sourced. Sonar battery.

Post image

Sonar Battery: A volume-gated Volatility meter that predicts the breakout bias.

11 Upvotes

14 comments sorted by

7

u/Ulysses68 16d ago

​Hey guys, I just published this to the TradingView public library for free. It uses Bollinger Band / Keltner Channel compression to find the squeeze, but calculates the EMA of the wick/body flow to predict the breakout bias before it fires. ​I also built an "Ignition Gate" so it only fires when relative volume actually expands—cuts out a lot of the low-volume fakeouts.

You can grab it here.

https://www.tradingview.com/script/jSoHDxka-Stealth-Umbrella-Sonar-Battery/

1

u/Rizzanthrope 15d ago

When setting alerts, what is the best chart timeframe? 1 min or 5 min?

2

u/Ulysses68 15d ago

Higher time frame will give you less but might miss the move. I think the 3 min is good but I would check the log. It would be good to have support and resistance on the chart so you can find targets.

2

u/Rizzanthrope 15d ago

Already caught two breakouts thanks to your indicator.

2

u/Ulysses68 15d ago

Nice!!!!!!!!

1

u/Rizzanthrope 15d ago

Any tips and tricks you have learned regarding your breakout indicator? I want to make sure I am using it to full effectiveness. I mostly trade MNQ.

2

u/Ulysses68 15d ago

Dont get greedy. Use it as a compliment to what you already do. Have targets ready. Dont size up just because you got a new toy. Haha. It's not going to work out the same way every time. Might not be that big of a move or it could happen so fast you can't do anything. Normal stuff to watch for. Mainly watch your risk and don't get too greedy. maybe leave a runner that can't hurt you after you take profit.

2

u/Ulysses68 15d ago

Hey. Dont get over confident and blow up bud. Be safe.

2

u/Rizzanthrope 15d ago

Good job! I like it.

2

u/Ulysses68 15d ago

Thanks. Be sure to set your risk.

1

u/Nekssz 13d ago

Great work

2

u/Ulysses68 12d ago

Thanks

1

u/Nekssz 12d ago

no worries