Login Page - Create Account

Support Board


Date/Time: Thu, 02 May 2024 08:34:29 +0000



Post From: Find the calculation Formula

[2023-03-04 20:45:02]
ondafringe - Posts: 248
Okay, back...

As I understand, you want to calculate the percent difference between buyer deltas from one bar to the next.

So, in your first example, you went from a -3000 up to a +100, which is a change of +3100.

Current delta minus prior delta = delta change
+100-(-3000) = +3100

Delta change divided by prior delta = multiplier
+3100/-3000 = -1.03333 (rounded)

Multiplier times prior delta = delta change
-1.03333 * -3000 = +3100 (rounded up from 3099.99)

Delta change plus prior delta = current delta
+3100+(-3000) = +100



In your second example, you went from a -100 up to a +3000, which is also a change of +3100

Current delta minus prior delta = delta change
+3000 -(-100) = +3100

Delta change divided by prior delta = multiplier
+3100/-100 = -31

Multiplier times prior delta = delta change
-31 * -100 = +3100

Delta change plus prior delta = current delta
+3100+(-100) = +3000



In the first example, you have a 103.333% (1.03333 x 100) increase from the prior bar.
-3000 * 103.333% = 3100 (rounded up from (3099.99)

In the second example, you have a 3,100% (31 x 100) increase from the prior bar.
-100 * -3100% = 3100


I *think* the above is correct, but I'm open to being wrong, if someone else wants to check my math! lol
Date Time Of Last Edit: 2023-03-04 22:33:48