Login Page - Create Account

Support Board


Date/Time: Wed, 27 Nov 2024 13:40:50 +0000



Post From: Comparing Delta between bars

[2020-12-22 06:34:52]
User135370 - Posts: 162
Hi I'm trying to have an alert when the current bar's delta is say 2X the previous bar's delta

If the previous bars delta is positive and the current is positive it works OK, the issue is when one of the 2 numbers is negative then it does not give me the right read.

Delta in current bar = 68
Delta in previous bar = 450-
So I want to say

ID2.SG1-ID1>SG1[-1]>4*ID2.SG1[-1] for a buy signal

ID2.SG1-ID1>SG1[-1]<4*ID2.SG1[-1] for a sell signal

Hope it's clear the issue I'm having, any solutions to my issue and how I can get an accurate reading