TT:=REF(C,3)>REF(C,4) AND REF(C,3)>REF(O,3) AND REF(C,2)>=REF(C,3) AND REF(C,1)>=REF(C,3) AND C>=REF(C,3);
TT1:=(REF(C,2)+REF(C,1)+C)/3;
VV:=REF(V,3)>REF(V,2) AND REF(V,3)>REF(V,1) AND REF(V,3)>V;
VV1:=(REF(V,2)+REF(V,1)+V)/3;
黄金柱:=TT AND (VV OR VV1<REF(V,3));
JQ:=REF(C,3)>REF(C,4) AND REF(C,3)>REF(O,3) AND REF(C,2)>=REF(O,3) AND REF(C,1)>=REF(O,3) AND C>=REF(O,3);
将军柱:=JQ AND VV;
BACKSET101:=BACKSET(黄金柱,4);
FILTER101:=FILTER(BACKSET101,3);
BACKSET104:=BACKSET(将军柱,4);
FILTER104:=FILTER(BACKSET104,3);
STICKLINE(FILTER101,OPEN,CLOSE,0.5,0),COLORYELLOW;
STICKLINE(FILTER104,OPEN,CLOSE,0.5,0),COLORYELLOW;
K1:=SUMBARS(FILTER104,1);
STICKLINE(K1,REF(L,K1-2),REF(L,K1-2),3,-1),COLORYELLOW;
STICKLINE(K1,REF(L,K1-1),REF(L,K1-1),3,-1),COLORGREEN;
K2:=SUMBARS(FILTER101,1);
STICKLINE(K2,REF(L,K2-2),REF(L,K2-2),3,-1),COLORYELLOW; |