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!
Поиск скриптов по запросу "alert"
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.
Guppy w/AlertsStandard Guppy indicator with alerts for when EMA agreement (color) changes
In the Alerts dialog, select Guppy w/Alerts from the Condition dropdown (the ema selected next to it doesn't matter)
Then select one of (Fast Trend Switch, Slow Trend Switch, Trend Switch) in the next drop down.
Trend Switch is when either set of EMAs change from bullish => neutral, neutral => bullish, bearish => neutral, or neutral => bearish
Fast Trend Switch alerts only on fast EMAs switches
Slow Trend Switch alerts only on slow EMAs switches
bullish = green/aqua
bearish = red/orange
neutral = gray
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.
Crypto Weekly Levels + One-Shot AlertsThis is for paper trading purpose only. This is my 7 years work and i am giving away it to the world. please practice it well / back test it. remember all you need only one strategy and one script.
Weekly camarilla and cpr levels. fires alerts when ever the price touches the levels. forms an triangle symbol at the touch.
after long time use the alerts at the opening are flooding so need to fix it. please remove the indicator once per week and add freshly.
Crypto Daily Levels + SMA Alerts (Non-Repainting)This is for paper trading purpose only.
Daily camarilla and cpr levels with 2 SMAs. fires alerts when ever the price touches the levels. still need to upgrade the code.
after long time use the alerts at the opening are flooding so need to fix it. please remove the indicator once per week and add freshly.
[CASH] Crypto And Stocks Helper (MultiPack w. Alerts)ATTENTION! I'm not a good scripter. I have just learned a little basics for this project, stolen code from other public scripts and modified it, and gotten help from AI LLM's.
If you want recognition from stolen code please tell me to give you the credit you deserve.
The script is not completely finished yet and contains alot of errors but my friends and family wants access so I made it public.
_________________________________________________________________________________
CASH has multiple indicators (a true all-in-one multipack), guides and alerts to help you make better trades/investments. It has:
- Bitcoin Bull Market Support Band
- Dollar Volume
- 5 SMA and 5 EMA
- HODL Trend (a.k.a SuperTrend) indicator
- RSI, Volume and Divergence indicators w. alerts
More to come as well, like Backburner and a POC line from Volume Profile.
Everything is fully customizable, appearance and off/on etc.
More information and explainations along with my guides you can find in settings under "Input" and "Style".
Volume Surge AlertVolume is often the fuel behind meaningful price moves. The Volume Surge Alert indicator highlights bars where volume explodes above its recent average, helping you spot accumulation, distribution, and breakout attempts before the price fully reacts.
Calculates a configurable simple moving average of volume to establish “normal” activity.
Flags bars where the current volume exceeds the SMA by a user-defined multiple (default 2×).
Colors the column and background on surge bars for quick visual confirmation.
Provides an alert condition so you can receive notifications the moment activity spikes.
Use it on any timeframe or market to monitor for unusual participation, confirm breakouts, or filter entries. Adjust the SMA length and surge multiple to match your market’s typical liquidity profile.
ASTER Key Levels & Alerts (Improved)TradingView Script Description
Title: ASTER Key Levels & Alerts (Improved)
Description:
Enhance your trading strategy with the "ASTER Key Levels & Alerts" indicator, designed for precision and decision-making on the Aster chart (e.g., ASTS). This Pine Script v6 tool overlays customizable key levels and zones to identify optimal entry, exit, and stop-loss points, complete with real-time alerts.Key Features:
Customizable Levels: Adjust add zones (Light & Main), breakout, stop, and take-profit (TP1-TP3
Volume Peak (2 before & 2 after) - With AlertVolume Peak (2 before & 2 after) - With Alert
There will be an alert for you when a signal appears.
If you find it useful, please give me a like
Arisa RSI Rebound Alert (v6.2)Short description:
Simple RSI-based rebound detection with ATR confirmation — designed for traders who prefer a clean and intuitive signal.
Full description:
This indicator detects oversold and rebound phases using RSI and confirms the strength of each rebound with ATR slope analysis.
It is optimized for deep correction phases (e.g. RSI 25→35 cross), helping traders catch early reversal signals while avoiding unnecessary noise.
💡 Recommended use:
• Timeframes: 30min–4h
• Ideal for short- to mid-term rebound trades
• Combine with Heikin-Ashi or volume expansion for higher accuracy
✨ Key Features:
• Clear oversold/rebound thresholds (default RSI <25 / cross-up >35)
• Background highlight for deep oversold conditions
• Visual markers for strong vs. weak rebounds (ATR slope filter)
• Alert-ready (three conditions included)
🪶 Concept:
This script is designed for traders who value simplicity and intuition — focusing on meaningful signals rather than automation overload.
It’s for those who still want to see and feel the market before taking action.
⸻
Author:
Arisa Sanjo (Japan)
Created with the support of GPT-5, based on live trading insights from October 2025.
License:
Free to use and modify with proper attribution.
If you redistribute or enhance this script, please mention “Based on Arisa RSI Rebound Alert (v6.2)” in your description.
EMA 9/20 Crossover AlertThis EMA 9/20 Crossover Alert indicator is a technical tool used on price charts to detect and notify traders when the short-term 9-period Exponential Moving Average (EMA) crosses above or below the longer-term 20-period EMA. This crossover often signals potential shifts in market momentum, signaling possible buy or sell opportunities. The indicator visually plots both EMAs on the chart and creates alert conditions so traders can be promptly informed of these crossover events, aiding in timely decision-making without needing to constantly watch the chart. It is widely used in momentum and trend-following trading strategies to identify trend reversals or continuations






















