OPEN-SOURCE SCRIPT
Updated Average Price BUY-SELL_Bulent-V2

Tracking prices that you have defined and trigger the crossing of them
Release Notes
Indicator, the unified moving-average crossover logic and multi-timeframe signals into a single structured tool that provides three direct benefits:Clear and Immediate Trade Signals
The script tracks moving-average crossovers on the active chart timeframe as well as 2-hour, 4-hour, and 1-day timeframes.
It consolidates every BUY/SELL trigger into one unified signal message, eliminating noise and making market direction unambiguous.
Temporary vs. Permanent Confirmation
Temporary signals show the earliest possible intra-bar crossovers (fast alerts).
Permanent signals confirm only at bar close (high-reliability alerts).
The indicator distinguishes both conditions, letting the user choose between early reaction and confirmation-based execution.
Integrated Alerting System
The tool provides:
TradingView alert conditions (TEMPORARY / PERMANENT)
Dynamic on-chart popup messages
Distinct sound/notification options
All signals include timeframe context (e.g., “4H BUY”, “1D SELL”), improving decision speed without checking multiple charts.
Overall, the indicator condenses multi-timeframe trend direction into a single, readable, actionable workflow.
Users can activate the alert function in three short steps:
Open the Alerts Panel
Click the Alarm/Alerts icon on the right toolbar.
Create a New Alert
Select Condition → choose the indicator name → pick one of the two alert conditions:
“SINGLE ALERT TEMPORARY” (intra-bar signals)
“SINGLE ALERT PERMANENT” (bar-close confirmed signals)
Choose alert frequency:
Once per bar for TEMPORARY
Once per bar close for PERMANENT
Enable Pop-ups / Sounds
Check Show popup, Play sound, or enable app notifications depending on preference.
Once created, TradingView will automatically trigger alerts whenever the indicator generates a BUY or SELL signal.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.