Login Page - Create Account

Support Board


Date/Time: Fri, 10 May 2024 03:27:21 +0000



Post From: Does SC have a one time framing up and one time framing down indicator?

[2021-03-03 11:30:03]
User877753 - Posts: 152
It's really interesting, we are closer to the solution.

This LSHL is a good idea.

I suggest the following :

One Time Framing - Up:

The chart enters the OTF - Up state if
L[2] <= L[1]- N*s && L[1] <= L - N*s
--> The chart has a clean start : 2 consecutive strict Higher Lows. Using the N*s allows to normalize the step and is in line with the condition below.

Once in such a state, the chart exits the OTF - Up state if:
LSHL - N*s > L,
where
LSHL[0] = L[0], and for t > 0 LSHL = max(LSHL[1],L[1])
// As soon as the retracement beyond "the tolerance ticks" occurs, One Time Framing - Up ceases.

Note : on 3 consecutive compressing bars (ie H[2] >H[1]>H && L[2]<L[1]<L), you will have both states for the last Bar : OTF UP and OTF Down. This won't last, as chart never compresses forever.

What do you think about this ?