fxcodebase-backup

Multiple Stream Correlation

Source: https://fxcodebase.com/code/viewtopic.php?f=17&t=75950
Forum: 17 · Topic 75950 · 3 post(s)


Multiple Stream Correlation

Apprentice · Tue May 20, 2025 6:12 am

EURUSD H1 (05-20-2025 1312).png

Correlation.lua

Two Stream Correlation.lua

Multiple Stream Correlation.lua


Re: Multiple Stream Correlation

Apprentice · Tue May 20, 2025 7:04 am

EURUSD H1 (05-20-2025 1355).png

Directional Agreement Oscillator

Description: A correlation-style oscillator that calculates the percentage of instruments and timeframes with candles moving in the same direction (up or down). It reflects how synchronized the selected markets are in their short-term behavior.

Use case: Useful for spotting periods of strong market alignment (high agreement) or divergence (low agreement), similar to a multi-stream correlation but based on candle direction rather than raw price or return values.

Directional Agreement Oscillator.lua

Two Stream Directional Agreement Oscillator.lua

Multiple Stream Directional Agreement Oscillator.lua


Re: Multiple Stream Correlation

Apprentice · Mon May 26, 2025 7:24 am

SPX500 m30 (05-26-2025 1413).png

Multiple Time Frame Multiple Stream Directional Agreement Indicator This indicator analyzes the directional alignment of price action across multiple time frames and instruments.

Calculating whether instrument trends align with chart instrument.

The output is displayed as labels in the chart area, with colors indicating trend alignment (e.g., green for alignment, red for non-alignment).

In 50 percent or more of the cases, the direction of the candle is observed to align with the chart time instrument interpretation and Green.

Multiple Time Frame Multiple Stream Directional Agreement.lua