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
Cari dalam skrip untuk "alert"
[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!
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.
{CDT} v1.0 - Opal Signal ALERTSAlert version of my 87.5% profitable Opal Signal Strategy for 1 Day chart which can be found here:
----------------------------------------------
Highly profitable script, decent on all timeframes but designed specifically for XBTUSD with Heiken candles on 1D timeframe.
No repaint.
7 day free trials available on request.
----------------------------------------------
*Use at your own risk & DYOR.