通达信南极北极分时主图指标公式

通达信低拐点高拐点指标公式

通达信南极北极分时主图指标公式:

ZGZD0:=IF(C>4,0.0025*FLOOR(C),0.01);

ZGZD1:CONst(IF(COUNT(C>=CONST(HHV(C,0)),999)>=4,CONST(HHV(C,0)),IF(COUNT(C>=CONST(HHV(C,0))-ZGZD0,999)>=4,CONST(HHV(C,0))-ZGZD0,IF(COUNT(C>=CONST(HHV(C,0))-2*ZGZD0,999)>=4,CONST(HHV(C,0))-4*ZGZD0,IF(COUNT(C>=CONST(HHV(C,0))-3*ZGZD0,999)>=4,CONST(HHV(C,0))-3*ZGZD0,IF(COUNT(C>=CONST(HHV(C,0))-4*ZGZD0,999)>=4,CONST(HHV(C,0))-4*ZGZD0,CONST(HHV(C,0))-5*ZGZD0))))));

ZGZD2:CONST(IF(COUNT(C<=CONST(LLV(C,0)),999)>=4,CONST(LLV(C,0)),IF(COUNT(C<=CONST(LLV(C,0))+ZGZD0,999)>=4,CONST(LLV(C,0))+ZGZD0,IF(COUNT(C<=CONST(LLV(C,0))+2*ZGZD0,999)>=4,CONST(LLV(C,0))+4*ZGZD0,IF(COUNT(C<=CONST(LLV(C,0))+3*ZGZD0,999)>=4,CONST(LLV(C,0))+3*ZGZD0,IF(COUNT(C<=CONST(LLV(C,0))+4*ZGZD0,999)>=4,CONST(LLV(C,0))+4*ZGZD0,CONST(LLV(C,0))+5*ZGZD0))))));

通达信险峰取宝指标公式