{ Downloaded From https://www.WiseStockTrader.com }
If(Ref((C-OPEN),-2)>Mov(Abs(OPEN-C),10,S), {long white}
If(Ref((C-OPEN),-1)>Mov(Abs(OPEN-C),10,S), {long white}
If((C-OPEN)>Mov(Abs(OPEN-C),10,S), {long white}
If(Ref((Abs(OPEN+C)/2),-1)>Ref((Abs(OPEN+C)/2),-2), {higher midpoint}
If((Abs(OPEN+C)/2)>Ref((Abs(OPEN+C)/2),-1), {higher midpoint}
1,0),0),0),0),0)