Price Delta

Overview

Price Delta is a mechanism to simulate controlled price movement for a symbol over a defined time interval.

The system:

This feature is primarily used for:


Core Concepts

1. Time Range (From / To)

Defines the main active interval where the full price change is applied.

During this interval:

Price is shifted by the full configured delta


2. Price Delta (Pips)

Defines the magnitude of the price change.

Formula:

Adjusted Price = Base Price ± Delta

3. Smooth Change Steps

Defines how many incremental steps are used to gradually apply and remove the delta.


4. Step Duration

Defines how long each smoothing step lasts.


Full Behavior Model

The system consists of 3 phases:


1. Pre-Smoothing Phase


2. Active Phase


3. Post-Smoothing Phase


Example — Correct Timeline

Configuration

Parameter Value
Symbol EUR/USD
From 10:00
To 11:00
Delta +100 pips
Smooth Steps 10
Step Duration 10 minutes

Calculations


Timeline

08:20 → smoothing starts
10:00 → full +100 pips reached
10:00–11:00 → constant +100 pips
11:00 → smoothing down starts
12:40 → price returns to normal

Step Behavior

Pre-smoothing

08:20 → +10 pips
08:30 → +20 pips
...
09:50 → +100 pips
10:00 → full delta active

Active Phase

10:00 → 11:00

Price = +100 pips


Post-smoothing

11:00 → +90 pips
11:10 → +80 pips
...
12:40 → 0 pips

Visual Model

Price
  |
  |          ─────────────── (+100 pips)
  |        /                \
  |      /                    \
  |_____/                      \______
      ↑                        ↑
   smoothing              smoothing
     start                  end

Important Rules

1. Delta is Absolute


2. Smoothing Applies on Both Sides


3. No Instant Application

The system does NOT support:

All changes must follow:

defined timeline + smoothing


4. Time Validity


Edge Cases

1. Smoothing in the Past

If:

Then:


2. Zero Steps

If:

Smooth Steps = 0

Then:


3. Negative Delta

Works identically:

Delta = -50 pips

Result:


Revision #2
Created 24 March 2026 13:48:51 by Volodymyr Tsyoha
Updated 24 March 2026 14:43:04 by Volodymyr Tsyoha