第一部分 副图公式 手机/电脑
CHA:=(3*C+H+L+O)/6;
CAIH1:(8*CHA+7*REF(CHA,1)+6*REF(CHA,2)+5*REF(CHA,3)+4*REF(CHA,4)+3*REF(CHA,5)+2*REF(CHA,6)+REF(CHA,8))/36,LINETHICK2,COLORRED;
CAIH2:=(HHV(CAIH1,2)+HHV(CAIH1,4)+HHV(CAIH1,8))/3;
CAIH3:=(LLV(CAIH1,2)+LLV(CAIH1,4)+LLV(CAIH1,8))/3;
CAIH4:(HHV(CAIH2,2)+HHV(CAIH2,4)+HHV(CAIH2,8))/3;
CAIH5:(LLV(CAIH3,2)+LLV(CAIH3,4)+LLV(CAIH3,8))/3,COLORWHITE;
IF((CAIH1=REF(CAIH1,1)),CAIH1,DRAWNULL),COLORRED,LINETHICK3;
STICKLINE(CAIH4>CAIH1,CAIH4,CAIH1,0,0),COLORBLUE;
DRAWKLINE(H,O,L,C);
DRAWTEXT(REF(CAIH5,1)=REF(CAIH1,1) AND CAIH5
DRAWTEXT(REF(CAIH4,1)=REF(CAIH1,1) AND CAIH4>CAIH1,H,'↖卖点'),COLORGREEN;
ZT:=REF(C,1)*1.1-C<0.01 AND H=C;
黄柱突破:=CROSS(C,CAIH4) AND ZT;
STICKLINE(黄柱突破,CLOSE,OPEN,3.2,0),COLOR0077FF;
STICKLINE(黄柱突破,CLOSE,OPEN,2.5,0),COLOR0099FF;
STICKLINE(黄柱突破,CLOSE,OPEN,1.9,0),COLOR00BBFF;
STICKLINE(黄柱突破,CLOSE,OPEN,1.2,0),COLOR00DDFF;
第二部分 选股公式 |