Alert on Candle CloseAlert on Candle Close is a simple indicator allowing you to set alerts when a candlestick closes.
Instructions for use
From the chart window, click on "Indicators" and search for "Alert on Candle Close".
Click on "Alert on Candle Close" to add the indicator to your chart. Click on the star icon to add it to your favourites to easily access later.
Set your chart timeframe to the timeframe you wish to alert on. For example, to create an alert when a 4h candlestick closes, set your chart to the "4h" timeframe.
Hover over the "Alert on Candle Close" indicator which has been added to your chart and click the ellipsis "..." icon, then click "Add alert on Alert on Candle Close" or use the keyboard shortcut "Alt+A" from the chart.
In the alert pop-up window, make sure "Condition" is set to "Alert on Candle Close" and "Trigger" is set to "Once Per Bar".
Optionally, you can set a custom expiry for the alert, give the alert a name and customise the alert message. You can configure notification settings from the "Notifications" tab.
Click "Create" and your alert is set up!
Each alert is tied to the timeframe and chart it was created on, so you can change the timeframe or asset and create more alerts by repeating the above process.
Note : this indicator is only designed to work with time-based chart types, such as Bars, Candles or Heikin Ashi. It will not work for non-time charts such as Renko.
FAQs
Why do my alerts sometimes not fire as soon as the candle closes?
This is a limitation with Pine Script's execution model. Indicators are calculated whenever a price or volume change occurs i.e. when a new trade happens. For illiquid or slow moving markets, there may be some time between when a candle closes and the next trade, leading to a delay in the alert triggering. The alert will trigger on the next tick of data on the chart.
Why can't I create more alerts?
TradingView has a limit on the number of active technical alerts you can have based on your membership tier. To configure more alerts, consider upgrading your TradingView plan to a higher tier. See a comparison of TradingView plans at www.tradingview.com
My alert only fired once, how can I get it to keep working?
When configuring the alert in the alert pop-up window, make sure you set "Trigger" to "Once Per Bar" and "Expiration" to "Open-ended alert".
Alertsetup
Cold heart reversal with alertsThis will help you find reversal point pinpoint to its candle actually crossed the lowest or highest in the overbought and oversold zone (stochastic 9,3,3)
Various input parameters are defined . These inputs allow the user to customize the lookback period which is the number of candle before the low or high, Stochastic length.
User can also define their own high and low values that will plot on the chart.
It will be super convenient for traders who want confirmed price closed that is actually its significant point.
I used barstate confirmed in this code so you don't have to worry about repaint
Trade Ideas to Discord WebhookTakes basic user inputs for entries, exits, stop loss and leverage.
Converts all inputs (removing unused ones) to an alert message.
Intended for use as a single alert / message.
Alert will fire as soon as activated - after that you should delete the alert to prevent multiple alerts being fired on subsequent candles.
(2) Two AlertsCurrent Trading View free plan allows only ONE active alert.
This simple indicator Allows to trigger this ONE and ONLY alert when price reaches Higher, or Lower price level.
You can set levels and turn alerts for them on/off in settings, or by just drag-n-dropping Horizontal lines on the chart.
To set the only alert you need to create new alert, and change it's following parameters :
condition : 2alerts
Any alert function() call
Feel free to modify it on your needs.
Movable Stop + Trail + Alerthello everybody !
.....
this indicator helps you to get a better trading setting.
it's similar to the default draw tool from the trading view but the difference is you can add Trail stop and Alert .
.....
It also helps to free accounts to set more than 1 Alarm !!!
.....
Alert setting
just remember after you see set an alert if you change stop or entry, the alert will work with previous values/settings.
so you need to recreate an alert.
also don't change alert setting
.....
indicator setting
How is it works ?
...
settings
...
everything on :
you can see the information on the table
...
short sample :
everything on
...
simple short trade setting:
.....
my goal is to upgrade this indicator with your ideas.
not financial advice !
please , share your ideas with me to improve the indicator
I would like to see what you think about this indicator <3
also if you have any ideas to create an indicator or strategy you can make contact with me .
have a great day.
Vedant's 15min intraday breakout strategy Higher Close alert --
This script allows you to set a alert if the next close is higher than the candle close from before. It will notify you if the next candle is higher than the last candle! It is very easy to use, Steps :-
1. Add the script to your chart.
2. Select the name of the script in the "Alerts" option.
3. Done!
Now when a stock gives a higher close than before, you will be notified with a message: "Higher Close Detected in (stock)".
Lower Close alert --
If the next candle gives a lower close than the candle before, it will send a alert with a message: "Lower Close Detected in (stock)".
If you don't have the paid account, you can only close option from the two: Higher or Lower.
if paid, then you can set as many alerts as you want!
Position CalculatorThis script calculates how much cryptos or dollars you have to bet with 4 variables : Risk Loss , Leverage, Entry and Stop Loss.
When you want to open a position, just complete the parameters and the script will tell you how much you have to bet in dollars or cryptos units, depending the way you're trading.
Note : don't foreget that you have to pay fees on exchanges whose are not included here, specially with high leverage trades.
MA Proximity Alert SystemThis script enables you to get an alert when the price gets in close proximity to moving average of your choice.
►Proximity is a true range multiplied by the number of your choice
►It is designed to be used as a one-use alert. If you enable it to give you one alert per bar close, it is possible to limit the spam by number of periods for which price must be outta proximity range
►Calculations T3, EMA, SMA for true range channel
►EMA and SMA for moving average
I circled the areas where I find the reaction somewhat interesting. Although, I think there are more areas when alert would be useful in the chart.
Have a great trade!
WaveTrend Oscillator w/ Short/Long/Close Alerts - WIPHigh TFs work best, but it works on any TF. I plan to continue releasing updates to it to improve overall form and function. Green Circles are Long Alerts, Red Circles are Short Alerts. Blue and Yellow Circles are Close Position Alerts. First Blue Circle After Red Circle would be Short Exit. First Yellow Circle After Green Circle would be Long Exit.
Original script was based on Lazybear Indicator-WaveTrend-Oscillator-WT Script. I have added and modified some code to my personal liking.
Variable Alert Box Examplejust publishing to share to novice pine coders like myself
any feedback on layout/structure/shortcuts will always be appreciated, not that this is a long script with much that can go wrong
short little what ever to show variable alert message
needs to draw the number from a plotted number like line 18 and 19, and cant be gettin the numbers from line 14 and 16
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!