mattzab

Advanced Buy/Sell Signals with BB by mattzab

mattzab Telah dikemas kini   
The Basics
  • Buy and Sell Signal Arrows
  • Tack Marks to show how close the next opposite arrow might be- showing possible trend reversals
  • Standard Bollinger Bands


The Nitty Gritty
The buy and sell signal arrows are based on price and MACD histogram.
The MACD settings are as follows: 10 day fast EMA, 20 day slow EMA, 5 day SMA signal smoothing. Instead of close price, we are using the average point of the day's high, low, and close.

For the arrows, current price and yesterday's price are the average point between price high and low.
A BUY arrow is created when:
Current Price IS GREATER THAN Previous Price _AND_ Current MACD Histogram IS GREATER THAN Previous MACD Histogram

A SELL arrow is created when:
Current Price IS LESS THAN Previous Price _AND_ Current MACD Histogram IS LESS THAN Yesterday's MACD Histogram


The Red Tack is the threshold, or barrier, for the next arrow. It will not move.

The Blue Tack is the current point in space for our average Price and MACD Delta Values. It will move throughout the day (or hour or minute depending on your resolution). The Blue Tack will give you an indication of how close or how far from the reversal threshold (Red Tack) the ticker is at that point.

While the Blue Tack is ABOVE Red, the most recent signal arrow will be a buy, and we are in a buy/hold period.
While the Blue Tack is BELOW Red, the most recent signal arrow will be a sell, and we are in a sell/wait period.
If the Blue Tack crosses above or below Red, you'll get the next arrow.

The Bollinger Bands are unmodified and are just a background indicator for your use. If you prefer not to see the Bollinger Bands, change their transparency to 0% to hide them.

Please leave feedback on how the script works for you, if you run into problems, if you have any changes you'd like to see, etc.
Nota Keluaran:
Adjusted the initial display for better view.
Nota Keluaran:
Adjusted initial view again, attempting to "reunjumble" the arrows and text boxes.
Nota Keluaran:
Updated Title
Nota Keluaran:
Added Buy/Sell alerts.

Now you can enable alerts to text message for when you get a buy or sell arrow.
Nota Keluaran:
Fixed arrows after adding alerts.
Nota Keluaran:
Added an alert that will notify you for either arrow, Buy or Sell.
Nota Keluaran:
Added 10 Day SMA, labeled plot lines and shapes.
Nota Keluaran:
Lots of changes. Arrows are produced less often now, preventing false sell alerts, based on 2 day SMA and 10 day SMA.
Skrip dilindungi
Skrip ini diterbitkan secara sumber tertutup dan anda boleh menggunakannya dengan bebas. Anda boleh menyukainya untuk menggunakannya pada carta. Anda tidak dapat melihat atau mengubah kod sumbernya.
Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.

Ingin menggunakan skrip ini pada carta?