Phil's 45 EMA Scalper - Buy / Sell with Alertsgives buy / sell alert when candle closes above or below 45 EMA respectively.
Wyszukaj w skryptach "alert"
Ichimoku Kinko Hyo Cloud - no offset - no repaint - strategyIchimoku Kinko Hyo Cloud - no offset - no repaint - RSI filter - strategy
The indicator contains both the standard Ichimoku Cloud , as well as the one without the visual offset.
The Strategy Tester indicates good backtest results when the Ichimoku Cloud is paired with the RSI .
However, it seems it likes to work more as a standalone system.
The indicator can be easily converted to the study() mode by commenting/uncommenting a few lines,
then the alarms can be configured.
There are entry and exit signals ready to be used by the alert system.
The coloring of the cloud without offset contains all 3 conditions: Uptrend , Downtrend , Transition .
Early/Delayed Signal FunctionEarly/Delayed Signal Function (before the bar close or after)
Usually, signals are considered to be valid at the bar close .
Some traders may prefer to have a chance to enter earlier .
It is of great risk , and the Strategy Tester is unable to provide consistent backtest data with regards to this.
But for those who want to integrate such a choice in their strategies, here is the Early Signal Function .
The function takes 2 parameters
- the signal that is considered valid at the bar close , of type bool
- the early time value in seconds, the time before the signal is valid, of type int
it returns a value of type bool - a New Entry Signal
The resulting conditions used for alerts would be:
- newLongCondition = earlySignal_f(myLongSignal, earlyTime)
- newShrtCondition = earlySignal_f(myShrtSignal, earlyTime)
Note: the signals can also be delayed - use a negative value for early time
NVT Signal with RMA and thresholds [alertable]NVT Signal, or NVTS, is an indicator that compares the market cap of Bitcoin to the aggregate USD value of daily transactions on the Bitcoin blockchain. It is a value indicator that shows a multiple of Bitcoin price against the actual usage of its blockchain. When the NVTS is low, it suggests Bitcoin price is low relative to the amount of utility the network provides, and vice versa.
For more information on NVTS, visit medium.com
This indicator aims to provide the following:
1. An open-source implementation of NVTS on Tradingview, as the most popular one currently is closed-source.
2. To provide two simple ways to define and visualize "overbought" or "oversold" conditions using the NVTS. Here, we have absolute value of NVTS & deviation from a long-term moving average.
3. Crude integration into Tradingview's alert system.
What this indicator CANNOT do:
1. Timeframes below 1d.
2. Signals based on statistical analyses, such as seen in Bollinger Bands et al. (However, with the appropriate type of account, you can add BBands on top of this indicator.)
I would like to express my gratitude to Willy Woo, Chris Burniske and Dimitry Kalichkin for their work on NVT Ratio and NVT Signal, without which my indicator would not have been created.
Feel free to fork & improve, or experiment with settings. I hope this indicator will be useful to someone.
Divergences for many indicators v2.0A gift from me to all.
This script is developed to find Divergences for many indicators. it analyses divergences and then draws line on the graph. red for negatif, lime for positive divergences.
Currently script checks divergence for RSI, MACD, MACD Histogram, Stochastic, CCI, Momentum, OBV, Diosc, VWMACD and CMF indicators. You can use some or all of these indicators to check divergences as you wish by choosing them on the menu. Also you can add/remove many other indicators to the script to check if there is divergence.
The script first calculates tops/bottoms by using higher time frame zig zag and then finds divergences.
Higher Time Frames are
if currend period 1 min => HTF = 5 mins
if currend period 3 mins => HTF = 15 mins
if currend period 5 mins => HTF = 15 mins
if currend period 15 mins => HTF = 1 hour
if currend period 30 mins => HTF = 1 hour
if currend period 45 mins => HTF = 1 hour
if currend period 1 hour => HTF = 4 hours
if currend period 2 hours => HTF = 4 hours
if currend period 3 hours => HTF = 4 hours
if currend period 4 hours => HTF = 1 day
if currend period 1 day => HTF = 1 week
if currend period 1 week => HTF = 1 week
future plan : script finds regular divergences, soon I will add hidden divergences and also I plan to add alert ;)
Simple Moving Averages Alert Scriptcan set alerts on 3 moving averages (crossovers) , experiment with different moving average lengths in the input settings menu, there is also a toggle switch which turns off the 3rd moving average being used as a stop.
will add a backtesting version at some point
Relative Strength Index of Moving Average MTF alertsAll credit to this study is for chris jhoncic , this is MTF version with alert of his study
basic idea is hybrid of RSI and different MA
You can choose which MA from the following list:
Tillson Moving Average (T3)
Double Exponential Moving Average ( DEMA )
Arnaud Legoux Moving Average ( ALMA )
Least Squares Moving Average ( LSMA )
Simple Moving Average ( SMA )
Exponential Moving Average ( EMA )
Weighted Moving Average ( WMA )
Smoothed Moving Average ( SMMA )
Triple Exponential Moving Average ( TEMA )
Hull Moving Average ( HMA )
Adaptive moving average (AMA)
Fractal Adaptive Moving Average (FAMA)
Variable Index Dynamic Average ( VIDYA )
Triangular Moving Average (TRIMA)
to change the time frame change int2 to what you desire
net volume of positive and negative volume buy and sell alertThis indicator try to give the mean number of bars in regarding to net volumes
This signal is produce by either cross up the 0 =buy or crossdown the 0 =sell
alerts inside
you can play with length to make optimization
[STRATEGY] MA Cross ElevenThis script is a crossing of eleven different MA, with alerts and SL and TP.
The simplest is what works best...
SMA --> Simple
EMA --> Exponential
WMA --> Weighted
VWMA --> Volume Weighted
SMMA --> Smoothed
DEMA --> Double Exponential
TEMA --> Triple Exponential
HMA --> Hull
TMA --> Triangular
SSMA --> SuperSmoother filter
ZEMA --> Zero Lag Exponential
Using "once per bar close" repaint is 0%, but if you like risk can choose "once per bar", better profit.
Thanks to JustUncleL and his amazing sripts.
Enjoy!
www.tradingview.com
"Note: When using non-standard (Renko, Kagi, Line Break, Point and Figure, Heikin Ashi, Spread Charts) types of chart as a basis for strategy, you need to realize that the result will be different. The orders will be executed at the prices of this chart (e.g.for Heikin Ashi it’ll take Heikin Ashi prices (the average ones) not the real market prices). Therefore we highly recommend you to use standard chart type for strategies."
Higher Lows / Lower Highs AlertsSet an alert with this indicator for greater than 0.99 which will notify you of when a higher low or lower high is printed on the chart
Stochastic RSI Alertscreate alert based on Stochastic RSI when k is greater than 80 or less than 20.
PIP COLLECTOR - REPAINT FIX w/ ALERTSThis fixes the repaint issue in LazyBear's Pip collector and adds alert capability. This strips away much of the original indicator, but it is a clear signal for longing and shorting, good to base off for live trading. As always, find a good entry and have an exit plan.
StochRSI overSold/Bought alerts - by squattterDepending on the new trend - Fisher 100 crossing 0;
Set an alert on each Long/Short "crossing down", 0.8 (or anything below 0.99), "on condition"
4All-Alerts Script for an easier setupThis is the alert script for
People have requested this so they can simply favorite and add it to a chart rather then cut and paste. That plus some of the code got converted to ticker data due to simply being in the description.
Happy Trading :)
Gold Correlation Dashboard + Alerts [XAUUSD Helper]這是一個專為黃金 (XAUUSD) 交易者設計的 **跨市分析儀表板 (Intermarket Correlation Dashboard)**。
這個指標的核心邏輯基於基本面與資金流向,協助交易者在 10 秒內快速判斷黃金的當前趨勢。它自動監控與黃金高度負相關的資產(美元、美債、日圓),並在圖表上直接顯示多空傾向。
### 📊 監控資產與邏輯
本腳本即時抓取以下關鍵市場數據,並分析其對黃金的影響:
1. **DXY (美元指數)**:黃金最大競爭對手。
- DXY 跌 📉 → 黃金偏多
- DXY 漲 📈 → 黃金偏空
2. **US10Y (10年期美債殖利率)**:黃金的持有成本指標。
- 殖利率跌 📉 → 黃金偏多
- 殖利率漲 📈 → 黃金偏空
3. **USDJPY (美日)** & **USDCHF (美瑞)**:避險資金流向參考。
- 匯率跌 (日圓/瑞郎強) 📉 → 黃金偏多
4. **VIX (恐慌指數)**:市場情緒指標。
- VIX 飆升 📈 → 黃金通常受惠 (避險屬性)
### 🚀 主要功能
1. **即時儀表板**:無需切換視窗,直接在黃金圖表角落查看所有關鍵資產的漲跌狀態。
2. **智能信號總結**:
- 系統會自動計算 **DXY + US10Y + USDJPY** 的綜合方向。
- 當這三大核心指標方向一致時,系統會顯示 **★ STRONG BUY (強力做多)** 或 **★ STRONG SELL (強力做空)**。
- 根據歷史經驗,當這三者同步時,趨勢準確度極高。
3. **警報系統 (Alerts)**:
- 內建警報功能,當出現「強力做多」或「強力做空」信號時,可設定推播通知,不錯過進場機會。
### ⚙️ 如何使用
- 將此指標加載到 XAUUSD (黃金) 的圖表上。
- 建議搭配 H1, H4 或 Daily 時框使用。
- **綠色背景** = 利多黃金 (Bullish)
- **紅色背景** = 利空黃金 (Bearish)
---
*免責聲明:此腳本僅供輔助分析與教育用途,不構成任何投資建議。交易請做好風險控管。*
**Gold (XAUUSD) Intermarket Correlation Dashboard & Alerts**
This indicator is designed for Gold traders who want to combine Technical Analysis with **Fundamental Intermarket Analysis**. It provides a real-time dashboard overlay that monitors key assets highly correlated with XAUUSD.
According to market logic, Gold is heavily influenced by the US Dollar (DXY), US Treasury Yields (US10Y), and global risk sentiment (USDJPY/VIX). This script helps you spot the trend in seconds.
### 📊 Monitored Assets & Logic
The dashboard tracks the real-time direction of the following assets and calculates their impact on Gold:
1. **DXY (US Dollar Index)**: Inverse correlation.
* DXY ↓ = Bullish for Gold
* DXY ↑ = Bearish for Gold
2. **US10Y (US 10-Year Treasury Yield)**: Inverse correlation (Cost of Holding).
* Yields ↓ = Bullish for Gold
* Yields ↑ = Bearish for Gold
3. **USDJPY & USDCHF**: Risk sentiment and currency flow.
* Pair ↓ (Strong JPY/CHF) = Bullish for Gold
4. **VIX (Volatility Index)**: Fear gauge.
* VIX ↑ = Generally Bullish for Gold (Safe Haven demand)
### 🚀 Key Features
**1. Real-Time Dashboard**
View the status of all 5 key assets directly on your XAUUSD chart without switching tabs. The dashboard indicates the "Gold Bias" (Bullish/Bearish) for each asset based on the current timeframe.
**2. Smart Bias Signal ("The 3-Storyline Confirmation")**
The script automatically analyzes the three most critical indicators: **DXY, US10Y, and USDJPY**.
* **★ STRONG BUY ★**: When DXY, US10Y, and USDJPY are **ALL Falling** simultaneously. (High probability setup).
* **★ STRONG SELL ★**: When DXY, US10Y, and USDJPY are **ALL Rising** simultaneously.
**3. Integrated Alerts**
Never miss a setup. You can set alerts to notify you immediately when the "Strong Buy" or "Strong Sell" conditions are met.
### ⚙️ How to Use
1. Add this script to your XAUUSD chart.
2. Works best on H1, H4, or Daily timeframes.
3. Look for the **Summary Row** at the bottom of the dashboard:
* **Green (Strong Buy)**: Look for Long entries.
* **Red (Strong Sell)**: Look for Short entries.
---
*Disclaimer: This script is for educational and informational purposes only. It does not constitute financial advice. Always manage your risk.*
VWAP + VWAP Distance Avg + Alert Lines (%)VWAP Distance & Average Distance Indicator – Detailed Description
The VWAP + VWAP Distance Avg + Alert Lines (%) indicator is designed to measure the distance of the current price from the VWAP (Volume Weighted Average Price), as well as the average distance over a specified period. This tool is particularly useful for traders who use the VWAP as a magnet for price, helping to identify potential trend changes and areas where price may revert toward the VWAP.
Key Features
Current Distance (%)
Calculates the absolute percentage difference between the current price and the VWAP
This line shows how far the price has moved away from the VWAP at any given moment.
Average Distance (%)
Calculates a simple moving average (SMA) of the distance over a specified lookback period.
This provides a reference for typical price deviations from the VWAP, helping traders assess whether the current distance is unusually high or low.
Alert Lines (%)
Allows up to three customizable horizontal alert lines, which can be turned on or off individually.
Each line can be configured with:
Value in percent.
Color.
Line thickness.
These lines serve as visual thresholds, helping traders detect extreme deviations from the VWAP that may precede trend reversals.
Use Case – Detecting Potential Trend Changes
Traders often treat the VWAP as a price magnet, where price tends to revert after significant deviations.
When the current distance exceeds typical average levels or crosses an alert line, it can signal that the price may revert toward the VWAP, potentially indicating a shift in trend or a high-probability mean-reversion scenario.
Disclaimer
This indicator is provided for educational and analytical purposes only. It does not constitute financial advice, and trading decisions are always the sole responsibility of the individual trader. Users should carefully evaluate market conditions and their own risk tolerance before taking any trade.
Better used with VWAP on chart , and be careful around the end of session, for now this works just for session...
still improving on this....
ICT Sweep + CHoCH + FVG Alerts
### 🔥 ICT Sweep + CHoCH + FVG Alerts
Script designed to automate ICT entry confirmations using:
• Liquidity Sweep (Buy/Sell Stops taken)
• Change of Character (CHoCH)
• Fair Value Gap (FVG) confirmation
### ✅ Conditions
**Long signal when:**
1. Bearish liquidity sweep
2. Bullish CHoCH
3. Bullish FVG forms and gets respected
**Short signal when:**
1. Bullish liquidity sweep
2. Bearish CHoCH
3. Bearish FVG forms and gets respected
### 🎯 Purpose
This script helps traders detect smart-money setup entries based on ICT logic and receive alerts in real time.
### 📡 Alerts
Supports webhook automation for bots, signal servers, or trading platforms.
*This script does not place trades automatically, alerts only.*
### ⚠️ Disclaimer
This tool is for educational purposes.
Always backtest and use proper risk management.
Best Time Slots — Auto-Adapt (v6, TF-safe) + Range AlertsTime & binning
Auto-adapt to timeframe
Makes all time windows scale to your chart’s bar size (so it “just works” on 1m, 15m, 4H, Daily).
• On = recommended. • Off = fixed default lengths.
Minimum Bin (minutes)
The size of each daily time slot we track (e.g., 5-min bins). The script uses the larger of this and your bar size.
• Higher = fewer, broader slots; smoother stats. • Lower = more, narrower slots; needs more history.
• Try: 5–15 on intraday, 60–240 on higher TFs.
Lookback windows (used when Auto-adapt = ON)
Target ER Window (minutes)
How far back we look to judge Efficiency Ratio (how “straight” the move was).
• Higher = stricter/smoother; fewer bars qualify as “movement”. • Lower = more sensitive.
• Try: 60–120 min intraday; 240–600 min for higher TFs.
Target ATR Window (minutes)
How far back we compute ATR (typical range).
• Higher = steadier ATR baseline. • Lower = reacts faster.
• Try: 30–120 min intraday; 240–600 min higher TFs.
Target Normalization Window (minutes)
How far back for the average ATR (the baseline we compare to).
• Higher = stricter “above average range” check. • Lower = easier to pass.
• Try: ~500–1500 min.
What counts as “movement”
ER Threshold (0–1)
Minimum efficiency a bar must have to count as movement.
• Higher = only very “clean, one-direction” bars count. • Lower = more bars count.
• Try: 0.55–0.65. (0.60 = balanced.)
ATR Floor vs SMA(ATR)
Requires range to be at least this many × average ATR.
• Higher (e.g., 1.2) = demand bigger-than-usual ranges. • Lower (e.g., 0.9) = allow smaller ranges.
• Try: 1.0 (above average).
How history is averaged
Recent Days Weight (per-day decay)
Gives more weight to recent days. Example: 0.97 ≈ each day old counts ~3% less.
• Higher (0.99) = slower fade (older days matter more). • Lower (0.95) = faster fade.
• Try: 0.97–0.99.
Laplace Prior Seen / Laplace Prior Hit
“Starter counts” so early stats aren’t crazy when you have little data.
• Higher priors = probabilities start closer to average; need more real data to move.
• Try: Seen=3, Hit=1 (defaults).
Min Samples (effective)
Don’t highlight a slot unless it has at least this many effective samples (after decay + priors).
• Higher = safer, but fewer highlights early.
• Try: 3–10.
When to highlight on the chart
Min Probability to Highlight
We shade/mark bars only if their slot’s historical movement probability is ≥ this.
• Higher = pickier, fewer highlights. • Lower = more highlights.
• Try: 0.45–0.60.
Show Markers on Good Bins
Draws a small square on bars that fall in a “good” slot (in addition to the soft background).
Limit to market hours (optional)
Restrict to Session + Session
Only learn/score inside this time window (e.g., “0930-1600”). Uses the chart/exchange timezone.
• Turn on if you only care about RTH.
Range (chop) alerts
Range START if ER ≤
Triggers range when efficiency drops below this level (price starts zig-zagging).
• Higher = easier to call “range”. • Lower = stricter.
Range START if ATR ≤ this × SMA(ATR)
Also triggers range when ATR shrinks below this fraction of its average (volatility contraction).
• Higher (e.g., 1.0) = stricter (must be at/under average). • Lower (e.g., 0.9) = easier to call range.
Alerts on bar close
If ON, alerts fire once per bar close (cleaner). If OFF, they can trigger intrabar (faster, noisier).
Quick “what happens if I change X?”
Want more highlighted times? ↓ Min Probability, ↓ ER Threshold, or ↓ ATR Floor (e.g., 0.9).
Want stricter highlights? ↑ Min Probability, ↑ ER Threshold, or ↑ ATR Floor (e.g., 1.2).
Want recent days to matter more? ↑ Recent Days Weight toward 0.99.
On 4H/Daily, widen Minimum Bin (e.g., 60–240) and maybe lower Min Probability a bit.
HA Color Change Alerts (fixed v3)📌 Heikin Ashi Color Change Alerts
This indicator notifies you whenever a Heikin Ashi candle changes color (from red → green or green → red).
🔎 Features
Automatic Heikin Ashi calculation
Uses TradingView’s built-in Heikin Ashi source, so you don’t need to switch your chart to HA candles.
Signals on chart
Plots ▲ (green triangle) when HA changes from red → green and ▼ (red triangle) when HA changes from green → red.
Customizable alerts
You can set TradingView alerts for:
“Heikin Ashi Turned GREEN”
“Heikin Ashi Turned RED”
Options
Show/Hide the Heikin Ashi candles on top of your normal chart.
Choose whether alerts trigger only after bar close, or intrabar as soon as the color flips.
Show or hide the signal markers.
🔔 Use cases
Trend following: enter when HA flips to green, exit when it flips back to red.
Early reversal spotting: get notified when the candle momentum shifts.
Works on any symbol and timeframe.






















