TYP:=IF((H>C AND C>0) OR (H>0 AND 0>=C),C,H)*IF((L<C AND C<0) OR(L<0 AND 0<=C),CLOSE,LOW)/3;
CCI:EMA((TYP-MA(TYP,84.0270012))/(0.015*AVEDEV(TYP,84.0270012)),2.0332),colorwhite,LINETHICK2;
STICKLINE(CCI<-100,CCI,-100,2,0),colormagenta;
STICKLINE(C>0,100,101,2,0),colorred,LINETHICK3;
STICKLINE(C>0,-100,-101,2,0),coloryellow,LINETHICK2;
N:=90;M:=3;
低:=REF(LLV(L,N),M);
低点:=REFDATE(低,DATE);
XGAA:=低点=L AND ((C-L)>(0-C) OR (0-L)>(C-0));
IF(XGAA,88.50,0),coloryellow,LINETHICK3;
202108202134.jpg
|