
🚀 "See Tomorrow's Signals Today – Trade Smarter with Signal of the Future!"
📌 Indicator Overview
Name: Signal of the Future
Version: 1.00
Platform: MetaTrader 4 (MT4)
Window: Separate Indicator Window
Developer: R.KH 1001
Source: https://www.robomql.com
This indicator combines Bollinger Bands, smoothed signal lines, and custom logic to forecast future price action and generate alerts with directional arrows.
🧠 How It Works
1. %BB Calculation
The indicator calculates a customized %B (Percent Bandwidth) value:
plaintext
Copy
Edit
%BB = ((Close[i+1] - LowerBand) / (UpperBand - LowerBand)) * 100
This shows the relative position of price within the Bollinger Bands.
2. Smoothing
The raw %BB values are smoothed using a Simple Moving Average to reduce noise.
3. Signal Logic – Two Modes:
Mode 1: Level-Based Signal (Level_or_BB = true)
Buy signal: smoothed %BB crosses above lower_level
Sell signal: smoothed %BB crosses below upper_level
Mode 2: Double Bollinger Signal (Level_or_BB = false)
Buy signal: smoothed %BB crosses above lower BB
Sell signal: smoothed %BB crosses below upper BB
4. Arrows and Alerts
Directional arrows (up/down) appear on the chart when signal conditions are met, optionally accompanied by:
Sound
Pop-up message
Push notification
⚙️ Input Parameters
🔧 Signal & Band Settings
Input NameDescription
Bands_periodBollinger Band period
Bands_deviationBollinger Band deviation factor
smoothingSmoothing period for %BB
Level_or_BBToggle between level-based or BB-based signals
Bands_period_2Second BB period (used when Level_or_BB = false)
Bands_deviation_2Second BB deviation
upper_levelUpper threshold (used when Level_or_BB = true)
lower_levelLower threshold (used when Level_or_BB = true)
HistoryNumber of bars to calculate
🔔 Alert System
Input NameDescription
alertsOnEnable/disable alerts
alertsOnCurrentAlert on the current (open) bar
alertsMessageShow alert popup
alertsSoundPlay sound file
alertsNotifyPush notification
alertsEmailEmail notification
soundFileSound file name
📍 Arrow Settings
Input NameDescription
arrowsVisibleShow/hide arrows
arrowsIdentifierUnique ID for arrows
arrowsUpperGapVertical distance of up arrow
arrowsLowerGapVertical distance of down arrow
arrowsUpColorUp arrow color
arrowsDnColorDown arrow color
arrowsUpCodeUp arrow symbol
arrowsDnCodeDown arrow symbol
arrowsUpSizeUp arrow size
arrowsDnSizeDown arrow size
📈 Output Buffers
Buffer NameContent
PercentBBNormalized price inside BBs (%)
BB_SmoothSmoothed signal line
BBUp, BBDnUpper/lower custom BBs
Fleche_up_1Buy signal (arrow) buffer
Fleche_down_1Sell signal (arrow) buffer
trendInternal trend direction marker (1/-1/0)
🛠 How to Use
Attach to a chart on any timeframe and symbol.
Configure Inputs based on your strategy:
Use Level_or_BB = true for static level alerts (e.g., RSI-style).
Use Level_or_BB = false for dynamic Bollinger signals.
Enable alerts and arrows if you want visual/audio confirmation.
Watch the smoothed %BB line for entry/exit points:
Crosses above → possible buy.
Crosses below → possible sell.
📢 Developer Info
Developer: R.KH 1001
Source Website: https://www.robomql.com