# Support/Resistance Zone Strength and Decay Scoring

`D08-F06-A06` · Geometric Chart Patterns → Level Confluence and Zone Scoring · archetype `record-transform` · difficulty 4/5 · verification **contract**

Full page: https://docs.thefintechbuilder.com/geometric-chart-patterns/level-confluence-and-zone-scoring/support-resistance-zone-strength-decay-scoring/
Agent skill: `npx skills add IslamBaraka90/Fintech-Algorithms-Library` — https://docs.thefintechbuilder.com/guides/agent-skill/

## Install and import

```bash
npm install fintech-algorithms
```

```ts
import { supportResistanceZoneStrengthDecayScoring } from "fintech-algorithms/geometric-chart-patterns/level-confluence-and-zone-scoring/support-resistance-zone-strength-decay-scoring";
```

## Signature

```ts
supportResistanceZoneStrengthDecayScoring(input)
```

Scores zone strength from source confluence, decayed touches, rejection quality, durability, and break penalties.

## Parameters

| Name | Type | Required | Notes |
| --- | --- | --- | --- |
| `input` | `{ source_confluence: number; zone_age_bars: number; half_life_bars: number; break_count: number; rejection_target_atr: number; touches: { age_bars: number; rejection_atr: number }[] }` | yes | Record containing source confluence, zone age, decay half-life, break count, rejection target, and touch observations. |

## Returns

`{ state, score, grade, components, decayed_touch_evidence, touch_count }`

One `calculated` score record with a bounded 0-100 score, qualitative grade, and every component contribution.

## Errors

- When confluence, age, half-life, break-count, rejection, or touch input is outside its declared range — throws

## Complexity

Time `undefined`, space `undefined`.

## Worked example

Captured by running this function on the input its own test provides. Real output of real code — but not asserted against a published figure.

### Input

`input`:

```json
{
  "source_confluence": 0.8,
  "zone_age_bars": 10,
  "half_life_bars": 20,
  "break_count": 0,
  "rejection_target_atr": 1,
  "touches": [
    {
      "age_bars": 2,
      "rejection_atr": 0.8
    },
    {
      "age_bars": 8,
      "rejection_atr": 1.4
    },
    {
      "age_bars": 20,
      "rejection_atr": 0.4
    }
  ]
}
```

### Call

```ts
supportResistanceZoneStrengthDecayScoring(input)
```

### Returns

object with 6 fields: state, score, grade, components, decayed_touch_evidence, touch_count

```json
{
  "state": "calculated",
  "score": 81.604861183733,
  "grade": "strong",
  "components": {
    "source": 24,
    "touch": 31.086403443236,
    "rejection": 19.447389928631,
    "durability": 7.071067811865,
    "break_penalty": 0
  },
  "decayed_touch_evidence": 2.190891274792,
  "touch_count": 3
}
```

## Other exports

`calculate`, `priceByVolumeProfileConstruction`, `pocValueAreaHvnLvnDetection`, `fibonacciRetracementExtensionProjection`, `psychologicalRoundNumberLevelGeneration`, `multiSourceSupportResistanceZoneFusion`, `supportResistanceRoleReversalStateMachine`, `breakoutAndRetestDetection`, `marketWideZoneProximityScannerRanking`. Every module additionally exports `run` as an alias of its primary
function, and a `meta` object carrying its catalog id, domain, family, shape and article URL.

## Verification and provenance

Tier: **contract**.

The module loads, the entry point is callable and its declared signature matches the compiled code. The example below is real captured output, but no independently published figure asserts the numbers.

Both tiers guarantee the signature. Full explanation: https://docs.thefintechbuilder.com/guides/verification/

Generated from the docs.json payload shipped inside fintech-algorithms@0.12.0.
The signature and parameter list are checked against the compiled implementation at build time,
so a description that contradicts the code fails the build rather than reaching this file.

## Links

- Article (how it works, step by step): https://thefintechbuilder.com/geometric-chart-patterns/level-confluence-and-zone-scoring/support-resistance-zone-strength-decay-scoring/
- Implementation source: https://github.com/IslamBaraka90/Fintech-Algorithms-Library/blob/main/src/geometric-chart-patterns/level-confluence-and-zone-scoring/support-resistance-zone-strength-decay-scoring/impl.ts
- Package on npm: https://www.npmjs.com/package/fintech-algorithms
- Domain index for agents: https://docs.thefintechbuilder.com/geometric-chart-patterns/llms.txt
