DerivativeAlertPlaceHoldersLibrary "DerivativeAlertPlaceHolders"
TODO: Creation of Placeholders for Alerts, for using in FNO segment.
BasicPH(CustomMessage)
Parameters:
CustomMessage (string) : TODO: Requires Custom Input of Message
Returns: TODO: String with PH
CustomPlaceHoldersFNO(CustomInputMessage, InputPrice)
Parameters:
CustomInputMessage (string) : TODO: Requires Custom Input of Message
InputPrice (float)
Returns: TODO: Alert String with PH used in major FNO alert Segments
在腳本中搜尋"alert"
THE PHOENIX v0.1 wSMD - ALERTSALERTS for PHOENIX v0.1 - DO NOT USE THIS SCRIPT UNLESS YOU ARE MARGING TRADING
--------------------------------------------------------------------------------------------------------
Implementation in TradingView of modified version of the "Weis Wave".
indicatior will generate Long and Close Long signals according to market trend.
(Learned the hard way that using short instead of close long to close long orders will seriously mess backtest results and create unrealistic expectations)
Added a customizable RATE OF CHANGE indicator that I called SMD (sideways market detection) to try and avoid trading on sideways market.
References: "Trades About To Happen" David H. Weis, Division 2 of the Richard D. Wyckoff Method of Trading in Stocks.
I've had best results on 2h and 4h charts, I would not recommend to go below 1h, my general rule is to run the backtest on regular candle and make sure the backtest gives goodd result, but I use the script with autoview on heikin ashi.
Backtesting: You can change the dates of the backtest as you please, the backtest runs with 1000USD and 100% of equity orders, 3 ticks slippage and 0.1% commission.
For Autoview users: Will upload LONG ALERT and CLOSE LONG ALERT studies separately as I find it easier to see whats going on on 2 seperate indicators.
NO, IT DOES NOT REPAINT.
jsonSignalBuilderV2🧩 jsonSignalBuilder – Pine Script JSON Alert Builder
Create structured JSON payloads for Pine Script alerts, ready to send to trading bots or automation platforms.
Use it to build webhook-compatible alerts for platforms like <> – a real-time trading signal platform.
🔗 Send alerts to: <>
StocksDeveloper_AutoTraderWebLibrary "StocksDeveloper_AutoTraderWeb"
AutoTrader Web trading API functions implementation for Trading View.
preparePlaceOrderJson(account, symbol, group, variety) Prepare a place order json
Parameters:
account : Pseudo or group account number
symbol : AutoTrader Web's stock/derivative symbol
group : Set it to true to use group account (Default: false)
variety : Variety (Default: REGULAR)
Returns: A json message for the given order data
preparePlaceOrderAlertUsingOrderJson(orderJsonArray) Prepare a place order alert message using order json array
Parameters:
orderJsonArray : Order json can contain one or more orders
Returns: A complete alert message to place orders
preparePlaceOrderAlertMessage(account, symbol, group, variety, validity) Prepare a place order alert json message
Parameters:
account : Pseudo or group account number
symbol : AutoTrader Web's stock/derivative symbol
group : Set it to true to use group account (Default: false)
variety : Variety (Default: REGULAR)
validity : Validity (Default: DAY)
Returns: A complete alert message to place orders
[Alerts] Custom ORB with Target/StoplossThis Open Range Breakout (ORB) Indicator displays High, Low for the selected time frame.
Indicator Feature :-
Shows Long & Short signals based on the crossover.
You can use different alerts like Long, Short, Long-TP, Short-TP, Long-SL, Short-SL, Close
You can change Take profit points
Stop Loss will be low of breaking candle when Long signal is generated and high of breaking candle when Short signal is generated
Select Session time to get alerts only on that period
Select Square off and End Session to generate Close alert based on a specific time at the end of the day
In the future, I will Enhance and update this Indicator if needed
If you have any suggestion mention here
Thank you :-)
Strat-test ALERTSAlerts script, accompanying the "Strategy Tester EMA-SMA-RSI-MACD" script,
when you find a good strategy, you can use the same settings in this Alert script and
you'll have your alerts
Have fun!
Alert TrendThis indicator is designed to function as a dynamic BIAS tool but can be adapted to various strategies depending on user needs.
Key Features and Integration:
Personally, I pair it with the "EMA Suite" indicator, as my strategy revolves around Fibonacci-based moving averages. The indicator uses EMA 55 and EMA 233 as trend references, triggering a trend shift when a candle closes fully above or below these levels. To maintain structural integrity, the EMA values are not user-configurable in the settings: adjustments require direct script modification (e.g., switching to EMA 50 and EMA 200, widely recognized reference levels), this ensures logical consistency for advanced users familiar with Pine Script.
Output Signals and Interpretation:
The indicator generates four distinct signals:
1. Uptrend: Candle closes above both EMA 55 and EMA 233.
2. Weak Uptrend: Candle closes above EMA 55 but below EMA 233.
3. Downtrend: Candle closes below both EMA 55 and EMA 233.
4. Weak Downtrend: Candle closes below EMA 55 but above EMA 233.
The area between the two EMAs represents a "complex zone" where price action contradicts higher timeframe trends. To resolve ambiguity, combine this indicator with a primary timeframe (e.g., H4) and a confirmation timeframe (e.g., H1). In smaller timeframes may also serve as entry signals, a feature currently under exploration for automation.
Alert System and Strategy Integration:
The indicator includes customizable alerts for all four signals collectively or individually, streamlining integration into Strategy scripts. This flexibility enhances adaptability for backtesting or live trading.
Critical Note:
Configure the indicator to display exclusively on the selected timeframe. Higher intervals fail to render all signals due to overlapping visualizations, distorting analysis. To resolve this, set the visibility parameter to "Visibility on intervals/Current interval and below" in the chart settings. This ensures clarity and preserves signal accuracy.
Development Status and Collaboration:
As part of an ongoing project, this tool is already integrated into my personal strategy. While functional and publicly shareable, further refinements are planned. Though not a professional developer, I utilize Deepseek for coding assistance and possess sufficient Pine Script literacy to oversee the logic. Feedback, suggestions, and collaborations are welcome to optimize its utility.
I hope this tool proves valuable to fellow traders navigating multi-timeframe analysis and trend confirmation.
TradingUtilsLibrary "TradingUtils"
Utility library for common trading functions
calcVariation(price, threshold)
Calculates variation of a price based on a threshold
Parameters:
price (float) : (float) The price to be varied
threshold (float) : (float) The threshold for the variation
Returns: (float) The varied price
sendAlert(action, symbol, orderType, quantity, message)
Sends an alert message in JSON format
Parameters:
action (string) : (string) The action to be taken (e.g., "BUY", "SELL")
symbol (string) : (string) The trading symbol (e.g., "BTCUSDT")
orderType (string) : (string) The order type (e.g., "MARKET")
quantity (float) : (float) The quantity of the order
message (string) : (string) The message to be included in the alert
updateLine(condition, index, price, lineColor)
Updates or creates a line on the chart
Parameters:
condition (bool) : (bool) Condition to check if the line should be updated or created
index (int) : (int) The current bar index
price (float) : (float) The price value for the line
lineColor (color) : (color) The color of the line
Returns: (line) The updated or newly created line
FrostyBotLibrary "FrostyBot"
JSON Alert Builder for FrostyBot.js Binance Futures and FTX orders
github.com
More Complete Version Soon.
TODO: Comment Functions and annotations from command reference ^^
TODO: Add additional whitelist and symbol mappings.
leverage()
buy()
sell()
cancelall()
closelong()
closeshort()
traillong()
trailshort()
long()
short()
takeprofit()
stoploss()
Alert() Example syntax builderToday Tradingview released a lovely new update that I am sure many are eager to play with.
Here is a little example script of how you can use this fantastic new update to include a built-in syntax builder for integration with Autoview into all your scripts going forward.
It is only configured for basic commands, but should be a great starting point for most, and at bare minimum a glimpse at the possibilties this latest update provides.
Add this to your chart and go to the settings to see all the options that can be configured.
Go ahead, fire some alerts and see how it all affects what is passed through the alert ready to hit the exchange.
Alert-QuarryLake Indicator Map - ATR Trend Following Strategy A lot of times I don't like my chart crowding with indicators, thus the reason for creating this script for my strategy QuarryLake.
This script also comes with alert.
Below is the explanation for QuarryLake
I have also updated the script in version 4.
This strategy consists of 3 indicators that I found works quite well together.
Keltner Channel, Waddah Attah Explosion, and Volatility Stop.
You can find WAE here
KC Period = 200
KCATR = 5
Vstop Period = 3
Vstop Mult = 1.5
Long when close > KC, close > Vstop, WAE trendUp
Short when close < KC, close < Vstop, WAE trendDown
Works well on BTCUSD XBTUSD, as well as other major liquid Pair.
Feel free to follow me on Twitter @Lancelot_Auger for more free Alpha.
Please acknowledge my effort by like and follow.
And lastly,
Save Hong Kong, the revolution of our times.
Alerts IndicatorThe Alerts Indicator looks to highlight areas of importance during a trend. Become aware when the trend could be ready to plateau for a while or when a top could be forming. The alert markers can be used to tighten your trailing stop, remove a portion of the trade, or be used as an indication to remove the position entirely.
OteHmacSha256Library "OteHmacSha256"
Library to use HMAC SHA-256 by OgahTerkenal
hmac_sha256(string) HMAC SHA-256
Parameters:
string : msg String to be hashed
Returns: Return a hashed string in hex format and an array of 8 32 bits integer
Library to use HMAC SHA-256 for authenticating alert message going out from TradingView.
It has limitation on allowed characters (because PineScript cannot access the underlying bits of each ASCII) from ASCII 32 to 126 only.
Usage Example section at the end of the source code pretty much tell everything about this library.
General example as how to import to your PineScript code is not included (please refer to the PineScript manual).
Alert// Short+long: SAR+HMA+Bollinger+support/resistanceHello, dear friends.
This script can be used for various strategies. Whether it's a scalp like now or more positional purchases. To determine the minimum and maximum, SAR ,resistance points, support points+HMA+ Bollinger channel are used. The entry occurs when the SAR intersects with the HMA , if it is above or below the support/ resistance levels.
In the settings there is a "back" how many bars to use back to search for these conditions.Also the standard setting is SAR+ multiplier.
The strategy based on these alerts is the same, but the conditions stipulate that the entry into the deal does not occur (while you are in the deal) if the purchase is more expensive than the previous one.
Alerts on OnePunch Algo StudyIn this study you will be able to get alerts based on the OnePunch Algo Strategy Version 1 and 2.
How To Use:
Open Alerts and Pick Alerts on OnePunch Algo Study option.
For buy alerts, pick Buy Signal option
For sell alerts, pick Sell Signal option
Simple as that. This script will provide buying and selling alerts to your email and mobile app notifications.
MA-MTF-ALERT// Alerts based on SMA strategy
// Time frame 5M, 10M, 15M
// Created and based on Binance chart
// Working with comission
// No repaints
No Shadow Candles - Alertsalert script to detect candles with no wick, for testing.
scripted on request.