20FF;
DRAWTEXT((ISLASTBAR AND (BBP >= 96.5)),(H5 * 1.022),'明见-短高-龙头-除外'),COLORRED;
DRAWTEXT((ISLASTBAR AND (BBP < 1)),((H5 + H4) / 1.96),'明见-短低-跌停-除外'),COLORGREEN;
DRAWTEXT(((ISLASTBAR AND W) AND (BBP < 96.5)),(H5 * 1.022),'明日看涨'),COLORYELLOW;
DRAWTEXT(((ISLASTBAR AND TW) AND (BBP > 1)),((H5 + H4) / 2),'明日看跌'),COLORGREEN;
AA:=REF(H,5)=HHV(H,2*5+1);
BB:=BACKSET(AA,5+1);
CC:=FILTER(BB,5) AND H=HHV(H,5+1);
DRAWICON(CC AND ISLASTBAR=1,H*1.01,10);
AA2:=REF(L,5)=LLV(L,2*5+1);
BB2:=BACKSET(AA2,5+1);
CC2:=FILTER(BB2,5) AND L=LLV(L,5+1);
DRAWICON(CC2 AND ISLASTBAR=1,L*0.998,11);
GG:=ISLASTBAR=1 AND REF(CC,BARSLAST(CC));
HH:=BACKSET(GG,BARSLAST(CC)+1);
II:=HH>REF(HH,1);
JJ:=REF(BARSLAST(CC),1);
KK:=BACKSET(II,JJ+2);
LL:=KK>REF(KK,1);
DRAWLINE(LL,H,II,H,1),LINETHICK1,COLORWHITE,POINTDOT;
GG2:=ISLASTBAR=1 AND REF(CC2,BARSLAST(CC2));
HH2:=BACKSET(GG2,BARSLAST(CC2)+1);
II2:=HH2>REF(HH2,1);
JJ2:=REF(BARSLAST(CC2),1);
KK2:=BACKSET(II2,JJ2+2);
LL2:=KK2>REF(KK2,1);
DRAWLINE(LL2,L,II2,L,1),LINETHICK1,COLORWHITE,POINTDOT;
乖离线:=((C-REF(MA(C,20),1))/20+MA(C,20))*1.20;
DRAWTEXT(CROSS(C,乖离线) ,H+0.13,'↓大顶必卖'),COLOR00FF00;
10,POINTDOT,LINETHICK2;
上一篇:自己专用选股绝招公式周末大礼包 下一篇:大盘K线图