- Docs
- ATAS indicators
- Correlation Engine
Correlation Engine
Correlation between your chart and a second instrument on four lookbacks.
What it shows
Correlation Engine measures how closely your chart's instrument moves with a second instrument, using Pearson correlation on log returns of the bar closes. It shows four lookback windows at once (20, 50, 100 and 250 bars by default, each adjustable) in its own window, with colors for strong positive, neutral and strong negative correlation. The second instrument must be running the same indicator on another chart, since the two charts exchange bar data through a shared file; it can be named or auto-detected. It shows the current correlation values, not a signal.
Settings
The most important settings are listed here, with their default values. The settings dialog of the indicator contains more.
Correlation
| Setting | Default | What it does |
|---|---|---|
| Secondary Instrument | empty (auto-detect) | Name of the second instrument to correlate with (must be running on another chart). Leave empty to auto-detect. |
| Lookback 1 | 20 (5-1000) | Shortest lookback window, in bars. |
| Lookback 2 | 50 (5-1000) | Second lookback window, in bars. |
| Lookback 3 | 100 (5-1000) | Third lookback window, in bars. |
| Lookback 4 | 250 (5-1000) | Longest lookback window, in bars. |
| File Write Interval (seconds) | 5 (1-60) | How often bar data is written to the shared file |
| Max Bars Stored | 500 (100-2000) | Maximum number of bars kept in the shared file |
Correlation Window
| Setting | Default | What it does |
|---|---|---|
| Correlation Window | Show | Show/Hide the Correlation Window |
Colors
| Setting | Default | What it does |
|---|---|---|
| Strong Positive Color | green (0,230,118) | Color for correlation near +1.0 |
| Neutral Color | grey (120,120,120) | Color for correlation near 0 |
| Strong Negative Color | red (255,23,68) | Color for correlation near -1.0 |
Diagnostics
| Setting | Default | What it does |
|---|---|---|
| Enable Logging | true | Write diagnostic events + errors to a log file (%TEMP%\PftCorrelationEngine.log). |
Limits
- No divergence detection and no alerts. It only displays correlation values.
- Needs the indicator running on a second chart for the other instrument; the two charts exchange data through a shared file, so a missing or stale second chart leaves the window empty.
- Auto-detect takes the first other instrument found among the shared files, which may not be the one you want; set Secondary Instrument to be sure.
- Correlation is calculated from bar closes (log returns) matched by time between the two charts; mixed timeframes or different session hours reduce the usable overlap.
- A correlation number is a statistic over the chosen window, not a forecast of lead or lag.
Price
Correlation Engine: €25 per month or €17 per week, net. It is part of the PFT Market Suite. See the indicators page for the current price and the one-day test.
It runs in ATAS Classic and ATAS X. For purchase and activation see ATAS indicators.
Last checked: 21 Nov 2026 · PFT-EdgeBook 2.1.30
