HHH:=CONST(HHV(H,100));
LLL:=CONST(LLV(L,100));
HH:=HHH-LLL;
TJ2:= CURRBARSCOUNT=58;
DRAWTEXT(TJ2,LLL+HH*0.90,'百日低量处,倍量要涨停,凹口平量柱,确实猛如虎');
DRAWTEXT(TJ2,LLL+HH*0.85,'倍量过左峰,涨停急先锋,凹口去淘金,报四三涨停');
DRAWTEXT(TJ2,LLL+HH*0.80,'确定黄金柱,实盘擒牛股,回踩黄金线,腾飞不眨眼');
DRAWTEXT(TJ2,LLL+HH*0.75,'接力黄金线,一步一重天,银谷黄金仓,涨停没商量');
DRAWTEXT(TJ2,LLL+HH*0.70,'二次红波起,必有好戏看,长阴压短柱,攻势猛如虎');
DRAWTEXT(TJ2,LLL+HH*0.65,'咬住峰顶线,伏击赚大钱,顶底若互换,牛股要逛奔');
STICKLINE(C/REF(C,1)>1.095,C,O,2,0),COLORYELLOW;
TS:=5;{高量两边的周期,自行调节,最好设为参数TS(5,50,10)}
HV:=FILTER(BACKSET(FILTER(REF(V,TS)=HHV(V,2*TS+1),TS),TS+1),TS);
T1:=BARSLAST(HV);{高量T}
高量底:=REF(L,T1);
高量底线: IF(LLV(C,T1)>=高量底,高量底,DRAWNULL),COLORYELLOW;{黄色实线};
MAA5:MA(C,5),COLORFF00FF,LINETHICK2;
MAA10:=MA(C,10);
MAA30:MA(C,30),COLORRED;
KS:IF(MAA10>MAA30,MAA10,MAA30),COLORBLUE;
A3:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
A4:=SMA(A3,3,1);
A5:=SMA(A4,3,1);
A6:=3*A4-2*A5;
A7:=C-REF(C,1);
A8:=100*EMA(EMA(A7,6),6)/EMA(EMA(ABS(A7),6),6);
买:=LLV(A8,2)=LLV(A8,7) AND COUNT(A8<0,2) AND CROSS(A8,MA(A8,2));
DRAWTEXT(FILTER(买=1,5),LOW-0.05,'↖买进'),COLORYELLOW;
STICKLINE(买,OPEN,CLOSE,2,0),COLORYELLOW;
实体上三分之一MAX(O,C)-MIN(O,C))*2/3+MIN(O,C),COLORGREEN,NODRAW;
实体下三分之一MAX(O,C)-MIN(O,C))/3+MIN(O,C),NODRAW;
实体二分之一O+C)/2,NODRAW;
整体上三分之一MAX(H,L)-MIN(H,L))*2/3+MIN(H,L),NODRAW;
整体下三分之一MAX(H,L)-MIN(H,L))/3+MIN(H,L),COLORYELLOW,NODRAW;
整体二分之一H+L)/2,COLORLIMAGENTA,NODRAW;
STICKLINE(O<>C,实体上三分之一,实体下三分之一,2,0),COLOR824173;
STICKLINE(O<>C,实体二分之一,实体二分之一,2,0),COLORGREEN; |