Dual High Low Tide Here is a binary indicator called Dual High Low Tide LRV:=LinearReg(MP(),10); A1:=If(Ref(HHV(H,10),-1)>LRV AND Ref(LLV(L,10),-1)Ref(LRV,-1) AND Ref(LRV,-1)>Ref(LRV,-2),-1, If(Ref(HHV(H,10),-1)>LRV AND Ref(LLV(L,10),-1)LRV2 AND Ref(LLV(L,50),-1)Ref(LRV2,-1) AND Ref(LRV2,-1)>Ref(LRV2,-2),-1.5, If(Ref(HHV(H,50),-1)>LRV2 AND Ref(LLV(L,50),-1)