+ BB %B: MA selection, bar coloring, multi-timeframe, and alerts+ %B is, at its simplest, the classic Bollinger Bands %B indicator with a few added bells and whistles.
However, the right combination of bells and whistles will often improve and make a more adaptable indicator.
Classically, Bollinger Bands %B is an indicator that measures volatility, and the momentum and strength of a trend, and/or price movements.
It shows "overbought" and "oversold" spots on a chart, and is also useful for identifying divergences between price and trend (similar to RSI).
With + %B I've added the options to select one or two moving averages, candle coloring, and a host of others.
Let's start with the moving averages:
There are options for two: one faster and one slower. Or combine them how you will, or omit one or both of them entirely.
Here you will find options for SMA, EMA (as well as double and triple), Hull MA, Jurik MA, Least Squares MA, Triangular MA, Volatility Adjusted MA, and Weighted MA.
A moving average essentially helps to define trend by smoothing the noise of movements of the underlying asset, or, in this case, the output of the indicator.
All of these MAs available track this in a different way, and it's up to the trader to figure out which makes most sense to him/her.
MA's, in my opinion, improve the basic %B by providing a clearer picture of what the indicator is actually "seeing", and may be useful for providing entries and exits.
Next up is candle coloring:
I've added the option for this indicator to color candles on the chart based on where the %B is in relation to its upper and lower bounds, and median line.
If the %B is above the median but below the upper bound, candles will be green (showing bullish market structure). If %B is below the median but above the lower bound, candles will be red (denoting bearish market structure).
Overbought and oversold candles will also be colored on the chart, so that a quick glance will tell you whether price action is bullish/bearish or "oversold"/"overbought".
I've also added functionality that enables candles to be colored based on if the %B has crossed up or crossed down the primary moving average.
One example as a way to potentially use these features is if the candles are showing oversold coloration followed by the %B crossing up your moving average coloration. You might consider a long there (or exit a short position if you are short).
And the last couple of tweaks:
You may set the timeframe to whatever you wish, so maybe you're trading on the hourly, but you want to know where the %B is on the 4h chart. You can do that.
The background fill for the indicator is split into bullish and bearish halves. Obviously you may turn the background off, or make it all one color as well.
I've also added alerts, so you may set alerts for "overbought" and "oversold" conditions.
You may also set alerts for %B crossing over or under the primary moving average, or for crossing the median line.
All of these things may be turned on and off. You can pretty much customize this to your heart's delight. I see no reason why anyone would use the standard %B after playing with this.
I am no coder. I had this idea in my head, though, and I made it happen through referencing another indicator I was familiar with, and watching tutorials on YouTube.
Credits:
Firstly, thanks to www.tradingview.com for his brilliant, free tutorials on YouTube.
Secondly, thanks to www.tradingview.com for his beautiful SSL Hybrid indicator (and his clean code) from which I obtained the MAs.
Please enjoy this indicator, and I hope that it serves you well. :)
Buscar en scripts para "alert"
Fib Time Zone with Alert* Fib Time Zone with Alert will draw a series of vertical lines on chart. They are spaced at the Fibonacci intervals of 1, 2, 3, 5, 8, 13, 21, 34, 55 and 89. Trader defined the zero line and the 1 line, then Fib Time Zone with Alert auto draw the rest and display alert when price touch the line.
* Alert condition available in the Create Alert dialog box with title "Fib Time Zone Alert".
* Line 0 was defined by Date, Month, Year, Hour, Minute (use Exchange Timezone).
* Line 1 was defined by number of bars between Line 0 and Line 1.
* Line 2,3,5,8,13,21,34,55 and 89 auto draw.
Fixed Percent Stop Loss & Take Profit % - For Study Scripts===========
Fixed Percent Stop Loss & Take Profit % - { FOR STUDY SCRIPTS! }
===========
A neat example of how to set up Fixed Stops and Take Profit as a percent of the entry price - This is for setting Alerts within your own Study Script for when either your SL or TP get hit.
Yup, that's about it!
You can ignore the actual entry/exit orders - they're based on a simple MA cross and are therefore NOT relevant, NOT profitable and NOT recommended!
You should be using this code as a way of adding Stops and Takes to your own scripts - hope it helps!
Set your "Open Long/Short" Alerts to be triggered "Once per Bar Close" - Set your "SL/TP" Alerts to trigger "Once per Bar".
--
We wrote this with a bit of a rush on! ~ If you spot any mistakes/bugs just let us know and we'll get round to them asap!
-----------
Good Luck and Happy Trading!
inwCoin Specific Buy/Sell Price Alert for AutoviewJust simple script to act as conditional stop loss
Problem : Traditional Market Stop or Limit Stop, you have to set it with specific price and wait for the price to drop/pump to your stop then it will trigger. But sometime ( so many times ) the price will leave a very long wick up or down to hunt the stoploss that already set in the exchanges.. then it turn back to the opposite side after stop our position from existent!!
Thank to Autoview, with this simple script, you can setup your "stop level" without put "stop market" in the order.
Just stop when price close below or above specific level in the script, then you can just setup alert to fire the TP/Stop order to exchange via autoview after alert fire.
Example;
You need to stop loss / TP your position when price "close below 9500" in daily BTC chart
- Just set "sell price" to 9500
- and set "Cross down" option
When daily chart close below 9500, the script will trigger alert for you to catch and send to any exchange via Autoview.
Note;
1) When setting alert in tradingview, make sure to use..
- Crossing Down + 0.8 in alert trigger condition
- Set to "Once per bar" ( If you set "once per bar close", it will fire alert in next 2nd candle! )
2) You need to subscribe to autoview to use the bot. And it's not for everyone. Just do your own research before using! ( try to test with small amount of money first! )
Cheers!
Traditional Pivot Points AlertsCreated a script for alerts on Traditional Pivot Points.
You will be able to create separate alerts for every level or create one for price crossing any level.
Because of some TradingView limitations, alerts won't be fired for the first bar of the session. Will try to solve that in the new versions.
In the script used new v4 plotting features, so will be able to plot levels and labels nicely. Unfortunately, there is a limit on the number of consecutive lines you can plot on the plot (around 50), so lines in the past will disappear.
You can enable/disable in params displaying level itself on the chart.
And remember:
Past performance does not guarantee future results.
Fibonacci Pivot Points AlertsCreated a script for alerts on Fibonacci Pivot Points.
You will be able to create separate alerts for every level or create one for price crossing any level.
Because of some TradingView limitations, alerts won't be fired for the first bar of the session. Will try to solve that in the new versions.
In the script used new v4 plotting features, so will be able to plot levels and labels nicely. Unfortunately, there is a limit on the number of consecutive lines you can plot on the plot (around 50), so lines in the past will disappear.
And remember:
Past performance does not guarantee future results.
Dragon-Bot - Default ScriptDragon-Script is a framework to make it as easy as possible to test your own strategies and set alerts for external execution bots. This is the alerts version of the script.
The script has many features build in, like:
1) A ping/pong mechanism between longs and shorts
2) A stop-loss
3) Trailing Stops with several ways to calculate them.
4) 2 different ways to flip from long to short.
The script is divided into several parts.
The first part of the script is used to set all the variables. You should normally never change the first part except for the comments at the top.
The second part of the script is the part where you initialise all your indicators. Several indicators can be found on Tradingview and on other sites. Please keep in mind that all the variable names used in the indicator should be unique. (all the … = … parts)
The third part of the script, is the most important part of the script. Here you can create the entry and exit points.
Let’s look at the OPENLONG function to explain this part: The first variables are all the possible entries; These are longentry1 till longentry5. You can add many more if you like.
The variables are all initialised as being false. This way the script can set a value to true if an entry happens.
The if function is the actual logic: You could say “if this is true” then (the line below the if function) longentry1 := (becomes) true.
In this case we have said: “if this is true” then (the line below the if function) longentry1 := (becomes) true when the current close is larger than the close that is 1 back.
The last part is the makelong_funct. This part says that if any of the entries are true, the whole function is true.
The last part of the script is the actual execution. Here the alerts are plotted and the back test strategies are opened and closed.
We hope you guys like it and all feedback is welcome!
EURUSD MACD ALERT 1min Long only Alert Script for AutoviewThis is the Alert Script for the EURUSD 1min Long only script. It is also scripted with the Autoview syntax in the message body of the alert to execute Long at market price and sell open orders at market price. These conditions are set based on the EURUSD 1min Long only script posted. You can adjust as needed.
GBPUSD MACD ALERT 1min Long only Alert Script for AutoviewThis is the Alert Script for the GBPUSD 1min Long only script. It is also scripted with the Autoview syntax in the message body of the alert to execute Long at market price and sell open orders at market price. These conditions are set based on the GBPUSD 1min Long only script posted. You can adjust as needed.
GBPJPY MACD ALERT 1min Long only Alert Script for AutoviewThis is the Alert Script for the GBPJPY 1min Long only script. It is also scripted with the Autoview syntax in the message body of the alert to execute Long at market price and sell open orders at market price. These conditions are set based on the GBPJPY 1min Long only script posted. You can adjust as needed.
Strategy Moving Average Stop and Reverse alertsSo this is for strategy for the Moving Average Stop and Reverse alerts
its seems to be nice , I did not play so much with the TF but one can change settings as he wish
my indicator with alerts is
I think the results is more due to the condition of the test rather to the model? on the other hand the original model in version 2 (not mine) had similar results . also TV put the signals one bar forward where in reality the signal will beep correctly at the right bar as shown in graph
the model is attempt to make SAR better
Connors RSI with alert1-alert condition added. to use alert right click on connors rsi and set alert for buy and sell
2-for better use i added triangle up and down
when see green triangle up, go long
when see red triangle down, go short
[Autoview][Alerts]Dual MA Ribbons R0.12 by JustUncleLSorry I have had trouble getting the TradingView to point to the "Alerts" script instead of the "Backtest".
This is the Alerts part of this pair of Scripts. This part creates alerts to be picked up by the Chrome Add-on.
SuperTrend V.1 Single AlertLike SuperTrend V.1 Alert, but no difference for long alert and short alert ...
PPO Divergence AlertsThis is a pretty straightforward script that adds alerts to Pekipek's excellent PPO Divergence indicator and changes the visuals a bit. You can have the alerts fire on these events:
Purple Circle (bullish signal)
Orange Circle (bearish signal)
Green Dot (High Point)
Red Dot (Low Point)
I use this on daily Forex charts to get alerts when purple or orange dots show. As you can see, it catches a lot of big moves, some of which can give insane returns if you're 200x leveraged on the likes of 1Broker.com. In regards to reducing false signals, I'm getting good results with a Williams %R but would love to hear any suggestions.
Edit: Oops. Box #6 in the example should be yellow, not purple.
RSI with Multiple MAs + Slope Alerts 5,9,34,55RSI with Multiple MAs + Slope Alerts 5,9,34,55
Stacking Alerts Available
QTrade Golden, Bronze & Death, Bubonic Cross AlertsThis indicator highlights key EMA regime shifts with simple, color-coded triangles:
- Golden / Death Cross — 50 EMA crossing above/below the 200 EMA.
- Bronze / Bubonic Cross — 50 EMA crossing above/below the 100 EMA.
- Early-Warning Proxy — tiny triangles for the 4 EMA vs. 200 EMA (4↑200 and 4↓200). These often fire before the 50/100 and 50/200 crosses.
No text clutter on the chart—just triangles. Colors: gold (50↑200), red (50↓200), darker-yellow bronze (50↑100), burgundy (50↓100), turquoise (4↑200), purple (4↓200).
What it tells you (in order of warning → confirmation)
- First warning: 4 EMA crosses the 200 EMA (proxy for price shifting around the 200 line).
- Second warning: 50 EMA crosses the 100 EMA (Bronze/Bubonic).
- Confirmation: 50 EMA crosses the 200 EMA (Golden/Death).
Alerts included
- Golden Cross (50↑200) and Death Cross (50↓200)
- Bronze Cross (50↑100) and Bubonic Cross (50↓100)
- 4 EMA vs. 200 EMA crosses (up & down) — early-warning proxy
- Price–100 EMA events (touch/cross, if enabled in settings)
Bullish_Mayank_entry_Indicator with AlertsThis indiucator gives buy signal alerts using EMAs, RSI & Weighted Moving Average of RSI & also multiframe analysis
Ichimoku + MACD Combo (Two Alerts)The script is made in conjunction with below mentioned video which i watched few days ago
youtu.be
So i combined both ichimoku and MACD indicators and created the alerts as shown in the video
RSI Cross Alerts with Vertical Lines (9:30 AM - 2:45 PM)RSI Cross Alerts - Indicates Vertical Lines on previous times the RSI Indicator Crosses Overbought or Oversold parameters set by user.
EMA 5/25 Cross Signals with AlertsIt is EMA 5/25 Cross Signals with Alerts
So you can find Golden Cross and Dead Cross
XAUUSD Buy/Sell Alerts with SL & TPThis custom TradingView indicator identifies high-probability buy and sell signals on XAUUSD using EMA crossovers combined with RSI confirmation. Designed for precision entries, it automatically calculates optimal Stop Loss (SL) and Take Profit (TP) levels based on user-defined pip distances.
Key Features:
Fast and Slow EMA crossover for trend direction
RSI filter for momentum confirmation
Dynamic SL and TP levels to manage risk and reward
Visual buy/sell signals plotted on chart
Real-time alerts with detailed messages including entry price, SL, and TP
Suitable for multiple timeframes and trading styles
Perfect for traders seeking clear signals with built-in risk management for scalping or swing trading XAUUSD.