Signal Generator [SciQua.com]

Signal Generator is a configurable utility designed to help users build and visualize custom signal logic using normalized and optionally smoothed input series. It supports a variety of trigger conditions, making it suitable for a broad range of technical signal detection tasks. This tool is intended for analytical and educational purposes as part of the broader SciQua framework for technical research and visualization.
This script does not execute trades and does not constitute financial advice. Results may vary depending on configuration and market context.
🔍 Purpose
- Pre-process inputs via smoothing and normalization
- Detect specific behaviors or transitions in data series
- Configure multiple types of signal triggers
- Annotate signals directly on the chart using optional shapes or labels
- Apply debounce logic to manage signal frequency
🧱 Script Structure
1. Input Source
- Default input: close
- Any custom data series (e.g., indicator output) can be used
2. Smoothing (optional)
- Methods: sma, ema, rma, hma, tema, gaussian, etc.
- Purpose: Reduce short-term volatility or noise in the signal
3. Normalization (optional)
- bounded (0–1 scale)
- unbounded (centered scale)
- zscore (statistical standardization)
- none (raw input)
- Helps align input behavior across different symbols/timeframes
⚙️ Trigger Methods
- above, below — Static threshold comparisons
- crosses, crosses above/below — Value crossing a line
- equal, not equal — Equality checks
- in range, outside range — Range boundary logic
- increases, decreases — Detects directional change
- equals previous, changes — Detects plateaus or jumps
- turns up, turns down — 3-bar inflection detection
- spike up, spike down — Sudden large moves
- velocity exceeds, velocity drops below — Based on rate-of-change
🧰 Key Configuration Parameters
- value: Threshold used in static comparisons
- minVal, maxVal: For range-based triggers
- spikeThreshold: Minimum jump/drop for spike detection
- velocityPeriod: Bars to look back for rate-of-change
- velocityThreshold: Minimum velocity to trigger signal
- minBarsBetween: Debounce — minimum bars between signals
- triggerDirection: "buy" or "sell" marker orientation
- useShapes: Toggles between shape and label display
📊 Chart Overlays & Visualization
- Smoothed/Normalized Series: Plots of pre-processed input
- Trigger Thresholds: Visual reference for values, bounds, and velocity
- Velocity Gradient Bar: Highlights intensity of movement
- Signal Markers: Conditional labels or shapes on signal events
🧪 Sample Use Configurations
1. Range Reversal Setup
2. Momentum Spike Filter
3. Trend Entry by Velocity
4. Debounced Cross
🧭 Slope-Based Signal Approximation
To detect steep short-term changes, use:
This mimics short-term “angle” detection based on delta rather than true geometric slope.
📝 Setup & Deployment
- Paste the script into the Pine Script editor
- Apply it to your desired chart
- Choose your input (e.g., RSI, MACD, price series)
- Configure smoothing and normalization as needed
- Select trigger logic suited to your analysis
- Observe and tune based on visual feedback
🌐 More Info
https://sciqua.com
The Signal Generator is a configurable utility that helps users define and visualize custom signal logic using normalized and optionally smoothed input data. It supports various trigger types and visual cues, and is intended for technical research and educational use as part of the SciQua system.
This script is not a trading system. It does not place orders or give financial advice. Use it for chart-based signal exploration and backtest integration only.
🔍 Purpose
- Apply smoothing and normalization to source data
- Generate signals based on configurable value-based triggers
- Plot signal points using shapes or labels
- Apply optional debounce to space out signals
- Expose signal conditions for use in strategies or other indicators
🧱 Script Structure
1. Input Source
- Default: close
- You may input any other indicator or custom series
2. Smoothing
- Options: sma, ema, rma, hma, tema, gaussian, etc.
- Purpose: Smooth volatility for more reliable signals
3. Normalization
- bounded – scales values to [0,1]
- unbounded – centered but unbounded scale
- zscore – mean and standard deviation normalization
- none – raw input
⚙️ Trigger Methods
- above, below – Value crosses threshold
- crosses above/below – Crossing events
- equal, not equal – Static comparisons
- in range, outside range – Range checks
- increases, decreases – Momentum detection
- equals previous, changes – Flatline or jolt detection
- turns up/down – Simple inflection points
- spike up/down – Sudden movement threshold
- velocity exceeds/drops below – Measures rate-of-change over a period
🧰 Key Parameters
- value – Threshold for simple comparisons
- minVal / maxVal – Used for range checks
- spikeThreshold – Delta required for a spike
- velocityPeriod – Lookback window for velocity
- velocityThreshold – Minimum change rate to qualify
- minBarsBetween – Debounce window to suppress redundant signals
- triggerDirection – "buy" or "sell" for visual placement
- useShapes – Enable/disable shape markers vs. labels
📊 Chart Display
- Smoothed / normalized series
- Static and dynamic thresholds
- Optional velocity color bars
- Buy/Sell/Exit markers (shapes or labels)
✅ Built-in Conditions
This script exposes the following bool conditions for integration with strategies or other indicators:
- condition.buy — True when a signal is triggered and triggerDirection == "buy"
- condition.sell — True when a signal is triggered and triggerDirection == "sell"
- condition.exit — True when a new signal is detected opposite the last one (i.e., direction change)
You can reference these directly:
This allows integration into custom logic for backtesting or signal stacking.
🧪 Example Configs
1. Reversal Near Extremes
2. Breakout Momentum Spike
3. Velocity-Based Trend Entry
4. Smoothed Cross With Debounce
🧭 Slope Approximation
Use the following to approximate short-term slope (angle):
This detects bar-to-bar changes above a threshold, conceptually similar to measuring angle steepness.
📝 Setup & Use
- Add to chart and select input series
- Configure smoothing and normalization if needed
- Choose trigger type
- Tune signal logic visually
- Connect to a strategy or multi-signal tool via alert conditions (Buy Shape, Sell Shape, Exit Shape)
🌐 More Info
https://sciqua.com
Yalnızca davetli komut dosyası
Bu komut dosyasına yalnızca yazar tarafından yetkilendirilen kullanıcılar erişebilir ve bu genellikle ödeme gerektirir. Bu komut dosyasını favorilerinize ekleyebilirsiniz, ancak yalnızca yazarından izin istedikten ve aldıktan sonra kullanabilirsiniz — daha fazla bilgi burada. Daha fazla ayrıntı için yazarın aşağıdaki talimatlarını izleyin veya doğrudan JoshuaDanford ile iletişime geçin.
TradingView, yazarına tam olarak güvenmediğiniz ve nasıl çalıştığını anlamadığınız sürece bir komut dosyası için ödeme yapmanızı veya kullanmanızı ÖNERMEZ. Ayrıca topluluk komut dosyaları bölümümüzde ücretsiz, açık kaynaklı alternatifler bulabilirsiniz.
Yazarın talimatları
Uyarı: Erişim talebinde bulunmadan önce lütfen yalnızca davetli komut dosyaları kılavuzumuzu okuyun.
TradingView indicators, backtesting tools, weekly contests, and live market analysis.
Join free, compete, win, and stay updated at sciqua.com
Feragatname
Yalnızca davetli komut dosyası
Bu komut dosyasına yalnızca yazar tarafından yetkilendirilen kullanıcılar erişebilir ve bu genellikle ödeme gerektirir. Bu komut dosyasını favorilerinize ekleyebilirsiniz, ancak yalnızca yazarından izin istedikten ve aldıktan sonra kullanabilirsiniz — daha fazla bilgi burada. Daha fazla ayrıntı için yazarın aşağıdaki talimatlarını izleyin veya doğrudan JoshuaDanford ile iletişime geçin.
TradingView, yazarına tam olarak güvenmediğiniz ve nasıl çalıştığını anlamadığınız sürece bir komut dosyası için ödeme yapmanızı veya kullanmanızı ÖNERMEZ. Ayrıca topluluk komut dosyaları bölümümüzde ücretsiz, açık kaynaklı alternatifler bulabilirsiniz.
Yazarın talimatları
Uyarı: Erişim talebinde bulunmadan önce lütfen yalnızca davetli komut dosyaları kılavuzumuzu okuyun.
TradingView indicators, backtesting tools, weekly contests, and live market analysis.
Join free, compete, win, and stay updated at sciqua.com