BB With Buy & Sell Signaling by mattzab

No arrow = hold the position (whether in or out)
Blue up = buy
Red down = sell
Arrows are produced by MACD histogram moving in the same direction as price.
MACD settings are:
Fast EMA = 10
Slow EMA = 20
Signal Smoothing SMA = 5
If someone can show me how to prevent multiple consecutive buy arrows and sell arrows I'd appreciate it. Fewer arrows would be nice. Just a single buy, followed by a single sell, followed by a single buy, single sell, etc.
Email me, my username at gmail. Thanks!
Full Explanation:
This will overlay standard Bollinger Bands, with these additions:
Blue Up Arrow - Buy Signal
Red Down Arrow - Sell Signal
To the right of the current price:
Horizontal Blue and Red Lines - These show you how close you are to getting the opposite signal. When blue is above red, you are in buy/hold territory. When blue is below red, you are in sell/wait territory. The purpose of these red and blue horizontal lines out in front of price is to show you how close you are to getting an opposite buy/sell signal.
The script isn't perfect, but I don't know what to do to get the tack lines to the right of price to be more accurate to the buy/sell arrows.
Email me if you have any ideas.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Untuk akses pantas pada carta, tambah skrip ini kepada kegemaran anda — ketahui lebih lanjut di sini.
Penafian
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Untuk akses pantas pada carta, tambah skrip ini kepada kegemaran anda — ketahui lebih lanjut di sini.