Custom Alert()
Custom Step Alerts allow you to build a multi-step trading strategy by chaining different technical events together in a specific sequence (e.g., Step 1 -> Step 2 -> Step 3).
Instead of alerting you on a single isolated event, a final alert is only triggered if your selected conditions happen one after the other within a strict, user-defined time limit.
1. The Setup Controls
Use Custom Alerts (Checkbox): Turns the entire multi-step tracking sequence rule on or off.

Max Bars Allowed Between Steps: This is your countdown window. Once Step 1 triggers, the script starts counting down candle bars.

If the next step in your sequence does not happen within this number of bars, the entire sequence resets back to the beginning.
2. Understanding the Steps (1 to 5)
You can assign any enabled technical indicator or pattern to a specific order number using the Step input field:
Sequential Steps (Different Step Numbers): If you set Order Blocks to Step 1 and Market Structure to Step 2, the Order Block event must happen first. The Market Structure event must happen at least 1 bar later for the sequence to continue.

Simultaneous Steps (Same Step Numbers): If you set two different alerts to the same step number (e.g., both on Step 1), both conditions must hit on the exact same candle bar to trigger that step.

3. Visual Tracking on Your Chart
The indicator features a visual tracking bar at the bottom of your chart so you always know the status of your setup:

The Gray Line (The Buffer Window): As soon as Step 1 is triggered, a gray bar tracking sequence appears at the bottom of the chart. This shows you that the system is actively waiting for your next step(s). It will stay visible for as long as your "Max Bars Allowed" settings specify.
The Orange Square (The Final Trigger): If all your configured steps successfully trigger in sequence before the countdown runs out, an orange square plots at the bottom of the chart, signaling that the entire custom alert condition has been met.

4. External Source Condition (Optional)
The External Source option allows you to integrate any third-party indicator or price plot currently loaded on your chart directly into your custom step alert sequence. This lets you build highly tailored multi-indicator filters (e.g., only triggering an alert chain if RSI is below a certain threshold or if price crosses a specific moving average).
Configuration Settings
External Source Toggle: Check this box to activate the external filter as part of your alert sequence.

Source Selector: Choose the specific data stream from your chart that you want to track (e.g.,
RSI,Closeprice,EMA, or another indicator's plot).

Condition Dropdown: Define the mathematical or behavioral rule the external source must meet:
Equal: Triggers when the source value is exactly equal to your target value.
Greater Than / Less Than: Triggers when the source value stays strictly above or below your target value.
Crossing Over / Crossing Under: Triggers specifically at the exact moment the source crosses above or below your target value.
Crossing: Triggers when the source crosses the target value in either direction.

Value Input: Enter the specific numeric threshold or level for the condition (e.g.,
50for RSI,30for oversold conditions, or a specific price level).Step: Assign the sequence order for this external condition. For example, if set to
Step 1, the external source condition must be satisfied first before the script looks for your chosen signal steps (like Trend Signals or FlowTrend).
When active, the external source acts as a strict gateway or step within your Max Bars allowed between steps rule. The alert will only fire if the external source meets your chosen condition in the exact step order you have configured.
How to create Custom Alert()
Assign Your Steps (1, 2, 3...)
Look through the available signals (Trend Signals, FlowTrend, Voltix, etc.) and assign them a sequence number using the Step inputs:
Step 1 is the trigger that starts the chain.
Step 2 must happen after Step 1 (within the max bar limit).
Step 3 must happen after Step 2, and so on.

Set any signals you don't want to use to Disabled.
Add an External Indicator Filter (Optional)
If you want to tie your alert to an outside indicator like RSI or MACD:

Check the External Source box.
Select your indicator from the dropdown menu (e.g.,
RSI: RSI).Choose a condition (e.g.,
Greater Than,Crossing Over).Type in your target value (e.g.,
50).Give it a Step number to decide exactly when this condition needs to be true during your sequence.
Create the Alert in TradingView
Once your settings look good in the indicator panel:
Now, press
Alt + Aon your keyboard (or click the Clock icon on the top menu bar) to open the official TradingView Alert Creation box. Configure this window exactly like this:

Under Condition, select Market Waves Pro.
Choose the Custom Alert() option from the secondary dropdown.

Set your notification Name and Message.

Alerts Breakdown Table
Configure your custom sequence using any combination of the following technical triggers:
Alert Category
Description & Available Options
Trend Signals
Triggers based on primary trend confirmation signals.
• Options: Any Buy, Buy, Buy+, Any Sell, Sell, Sell+, Disabled
• Details: 'Buy/Sell' runs normal validation, 'Buy+/Sell+' triggers on strong setups, and 'Any' captures combined setup execution.
FlowTrend Signals
Tracks directional momentum shifts across key market flows.
• Options: All, Bullish, Bearish, Disabled
• Details: 'Bullish/Bearish' sets clear directional locks, while 'All' triggers on both sides of the market.
FlowTrend Retest
Monitors structural retest behaviors for confirmation entries.
• Options: All, Bullish, Bearish, Disabled
• Details: 'Bullish/Bearish' targets specific directional bounds, while 'All' triggers on any structural validation.
ActionWave Signals
Captures momentum peaks and crossovers using specialized oscillator waves.
• Options: All, Bullish, Bearish, Disabled
• Details: 'Bullish/Bearish' filters for specific directional momentum, while 'All' captures every raw cross.
TrendMagnet Signals
Detects price pull or exhaustion levels near specific magnet bands.
• Options: All, Bullish, Bearish, Disabled
• Details: 'Bullish/Bearish' tracks precise band interactions, while 'All' opens up triggers for all mean reversion points.
VectorShift Signals
Identifies rapid changes and structural velocity shifts in price delivery.
• Options: All, Bullish, Bearish, Disabled
• Details: 'Bullish/Bearish' isolates clean directional break shifts, while 'All' captures any raw directional break.
VectorShift Retest
Tracks when price revisits and tests prior velocity breakout zones.
• Options: All, Bullish, Bearish, Disabled
• Details: 'Bullish/Bearish' targets precise support or resistance retests, while 'All' tracks every validation point.
CandlesPattern Signals
Uses multi-bar Japanese candlestick patterns for structural confirmation.
• Options: All, Bullish, Bearish, Disabled
• Details: 'Bullish/Bearish' responds to specific directional price actions, while 'All' triggers on any recognized pattern.
Voltix Signals
Monitors volumetric changes, compression, and major delta expansions.
• Options: All, Bullish, Bearish, Disabled
• Details: 'Bullish/Bearish' aligns with directional volume expansions, while 'All' captures all major delta events.
⚠️ Note: To link an alert feature into your custom step sequence, ensure its main display toggle is turned on in your primary settings menu, and change its dropdown from ❌Disabled to your desired rule.
Last updated
