Dragon Double RSI Overbought-Oversold With LabelThis indicator consist of tow RSI length that user can customize it. like length, overbought, oversold. like length, overbought, oversold. also it has one moving average where the user can select from different types of moving averages, price sources, lookback periods and resolutions
Alertcondition
% up/down from SMA AlertsHi all! This script allows an alert option for conditions when the price increase 10% from the SMA and when price decrease 10% from the SMA.
The SMA length defaults to 20, but can be set to any length of your preference at “length” in the inputs tab of the script settings.
Value that increase and decrease 10% from SMA is able to visualize with a line but it can also be hidden in the Style tab.
Also, the default is 10%, but you can set % value of your preference such as 2%, 5%, at "% value" in the inputs tab.
For example with the default settings, if you set the alert condition "% up SMA" in the Alert settings dialog, this alert will be triggered when the price increase 10% from SMA. "% down SMA" will be triggered when the price decrease 10% from SMA.
-----------
このスクリプトは、価格がSMAから10%上昇した時と、10%下降した時の条件のアラートオプションを可能にします。
SMAの期間はデフォルトで20ですが、スクリプト設定のパラメータータブにある「期間」でお好みの期間に設定できます。
そしてこのSMAから10%上昇した値と下降した値は、ラインで視覚的に表示されますが、タイルタブで非表示に指定することも可能です。
また、デフォルトは10%ですが、2%や5%などと、パラメータータブにある「% value」でお好みの%値を設定する事ができます。
例えばデフォルト設定の場合、アラート設定ダイアログで条件を「% up SMA」で設定した場合は、もし価格がSMAから10%上昇したらアラートがトリガーされます。
「% down SMA」を指定した場合は、もし価格がSMAから10%下降したらアラートがトリガーされます。
Mad MoveMad Move allows to highlight big candles on graph and trigger alerts when a big candle appears.
it allows you to react quickly on your trades if necessary.
Only one parameter:
"Move Size: price variation amount (default: 30)
Time frame is decisive. Logically, the smaller it is, the more the relevance increases
To create an alert, you must activate the script on the graph with the correct desired setting (Time frame + Move Size), then in the alert editor, select Mad Move in the "condition" field.
Fancy strategy alerts example [QuantNomad]Alerts on strategies were introduced just recently in TradingView.
These alerts have an alert_message placeholder which allows you to compose in PineScript very complex alerts and insert quite a lot of information in them.
This is just very simple example of how they can look like.
Alert Intervals and Delays Framework [BigBitsIO]Simply explained, this script, when modified to each specific use case, can allow you to specify that alert conditions are only checked every X seconds (AKA Intervals - as fast as every single second) and that alerts can not occur quicker than the user-specified delay (in seconds)
Explained:
- This will work on any resolution, but for the best results/fastest alerts a premium plan with 1s resolution will work best.
- Be mindful of which alert option you choose when setting up corresponding alerts. On 1s resolution with alerts once per bar you can get alerts up to every second.
- The scan for alerts every X seconds will be when the script can scan, by default every 5th second. If you want it to scan on any and all updates, set it to 1 for 1 second
- The delay between alerts will just require than that many seconds have passed since the last alert was fired (whether it was an actual alert in TradingView or just as recognized by this script)
- To have a custom alert condition met, do your normal indicator logic and check your conditions during the scanning period after the delay has been met, as marked by comments in the code
FAQ
- Why is this script useful?
- Many people do not want to constantly monitor for alerts, and may only want alerts to trigger at certain times, or after certain periods of time
- What is an example?
- You want a 1min resolution RSI alert, but you don't want to see it every minute, or only once.
- By setting your alert to once per bar, or once per minute on a 1min or less resolution chart you can get alerts only every 2min 30sec for example when setting your delay to 150 (seconds)
Warning: Since the scan time and alert times on larger resolutions can not be accessed from previous candles when first added to the chart it should be pretty important that you operate on a chart with a smaller resolution than your delay.
Custom Alert Message With alertcondition Example [BigBitsIO]This was a follower suggested script. This script shows an example of how to create a custom alert message using the alertcondition() function in pine.
Features:
- Well documented code with links to documentation for specific functions.
- Two alertconditions in a different order than the plots they reference to show the importance of plot IDs.
In order to actually get an alert with this script, you must create an alert through TradingView and reference this indicator and then reference the specific alert condition you want that alert to use.
For more information, contact me on social media or check YouTube for the associated video.
*** DISCLAIMER: For educational and entertainment purposes only. Nothing in this content should be interpreted as financial advice or a recommendation to buy or sell any sort of security or investment including all types of crypto. DYOR, TYOB. ***
How to consolidate multiple alerts into oneHow to consolidate multiple alerts into a single alertcondition().
The solution consists of two parts:
1 - consolidate the alert conditions
2 - consolidate the alert types used in the alert message
Part two is harder to accomplish because the message to display when the alert fires must be const string.
However, we can use numbers.
The structure:
▪ 1 and 0 are used in formatting the message
▪ 111 - Enter Long
▪ 222 - Exit Long
▪ 333 - Enter Short
▪ 444 - Exit Short
Alert Message Example:
- method 2 (1 0111 0222 0333 0444) is equivalent to (enterLong exitLong enterShort exitShort)
- method 3 (1111) (2222) (3333) (4444) is equivalent to (enterLong exitLong enterShort exitShort)
It can help save time managing alerts, and it can also save precious real estate on your UI.