βHow cross over,cross under,over,under work ?
Last updated
Last updated
Checking cross over, cross under at candle x:
Take two point at candle x and previous 1 candle of x in blue line (b[x-1],b[x]) and two point in red line (r[x-1],r[x])
If b[x-1] < r[x-1] and b[x] > r[x] => blue line cross over red line.
If b[x-1] > r[x-1] and b[x] < r[x] => blue line cross under red line.
Note: incase condition is Price cross over/cross under.... if you select price to check:
C-C: take two point close of candle x and close of previous 1 candle of x (c[x],c[x-1])
O-C: take two point open and close of candle x (o[x],c[x])
H-L: take two point high and low of candle x (h[x],l[x])
Checking over, under at candle x:
Take one point at candle x in blue line (b[x]) and one point in red line (r[x])
If b[x] > r[x] => blue line over red line.
If b[x] < r[x] => blue line under red line.