N:=BARSSINCEN(L=LLV(L,60),20);
压力线1:=HHV(H,60);
支撑线1:=CONST(LLV(C,120));
A18:IF(压力线1=REF(压力线1,1),(压力线1-支撑线1)/8+支撑线
1,DRAWNULL),COLORBLUE;
A26:IF(压力线1=REF(压力线1,1),(压力线1-支撑线1)*2/8+支撑线
1,DRAWNULL),COLORLIRED;
A45:IF(压力线1=REF(压力线1,1),(压力线1-支撑线1)*3/8+支撑线
1,DRAWNULL),COLORRED;
A63:IF(压力线1=REF(压力线1,1),(压力线1-支撑线1)*4/8+支撑线
1,DRAWNULL),COLORBROWN;
A71:IF(压力线1=REF(压力线1,1),(压力线1-支撑线1)*5/8+支撑线
1,DRAWNULL),COLORBROWN;
A75:IF(压力线1=REF(压力线1,1),(压力线1-支撑线1)*6/8+支撑线
1,DRAWNULL),COLORBROWN;
A82:IF(压力线1=REF(压力线1,1),(压力线1-支撑线1)*7/8+支撑线
1,DRAWNULL),COLORBROWN;
A90:压力线1,COLORBROWN;
A0:支撑线1,COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=10,A45*0.99, A45红线为牛熊关口,上穿看多,下穿看空
),COLORMAGENTA;
反弹线:CONST(压力线1/3);
M5:=MA(C,5),COLORWHITE;
IF(CODELIKE( 000622 ),5.50,DRAWNULL);
STICKLINE(A90 REF(A90,1),A90,A0,0,-1),COLORRED;
DRAWKLINE(H,O,L,C);
HH:=HHV(H,9);
LL:=LLV(L,9);
FG:=(HH-LL)/100;
RSV:=(C-LL)/(HH-LL)*100;
K1:=SMA(RSV,3,1);
DA:=SMA(K1,3,1);
J1:=3*K1-2*DA;
K:K1*FG+LL,NODRAW;
D:DA*FG+LL,NODRAW;
J:=J1*FG+LL;
DRAWBAND(K,RGB(250,0,0),D,RGB(0,180,0));
ZIF:=EMA(C,12)-EMA(C,26);
ZEA:=EMA(ZIF,9);
ZBC:=2*(ZIF-ZEA);
ZJS:=1.25*ZIF-0.25*ZEA;
ZXH:=(ZJS*13*27-27*11*EMA(C,12)+13*25*EMA(C,26))/28,COLORWHITE;
ZPH:=(ZIF*13*27-27*11*EMA(C,12)+13*25*EMA(C,26))/28,COLORYELLOW;
ZQS:=(ZEA*13*27-27*11*EMA(C,12)+13*25*EMA(C,26))/28,COLORCYAN;
ZNX:=(ZXH+ZQS)/2,COLORMAGENTA;
ZJD:=ATAN((ZPH-REF(ZPH,1))/REF(ZPH,1)*100)*180/3.14159;
导向:ZXH,COLORFFFFFF;
平滑:ZPH,COLOR00FFFF;
牛熊:ZNX,COLORFF00FF;
:ZQS,COLORFFFF00;
DRAWKLINE(H,O,L,C);
NL:=(VOL+REF(V,2)+REF(V,3)+REF(V,4)+REF(V,5))/3.3;
XG1:=V NLANDREF(J1 50,1)ANDCROSS(K,D)ANDCROSS(ZXH,ZQS);
XG2:=V NLANDREF(J1 50,1)ANDCROSS(K,D)ANDZXH ZPHANDZXH REF(ZXH,1);
DRAWTEXT(XG1ORXG2,L, ←买 ),COLORRED;DRAWTEXT_FIX(C O,0.02,0.01,0, 公 ),COLOR666666;
HH:=HHV(H,9);
LL:=LLV(L,9);
FG:=(HH-LL)/100;
RSV:=(C-LL)/(HH-LL)*100;
K1:=SMA(RSV,3,1);
DA:=SMA(K1,3,1);
J1:=3*K1-2*DA;
K:=K1*FG+LL;
D:=DA*FG+LL;
ZIF:=EMA(C,12)-EMA(C,26);
ZEA:=EMA(ZIF,9);
ZJS:=1.25*ZIF-0.25*ZEA;
ZXH:=(ZJS*13*27-27*11*EMA(C,12)+13*25*EMA(C,26))/28,COLORWHITE;
ZPH:=(ZIF*13*27-27*11*EMA(C,12)+13*25*EMA(C,26))/28,COLORYELLOW;
ZQS:=(ZEA*13*27-27*11*EMA(C,12)+13*25*EMA(C,26))/28,COLORCYAN;
NL:=(VOL+REF(V,2)+REF(V,3)+REF(V,4)+REF(V,5))/3.3;
XG1:=V NLANDREF(J1 50,1)ANDCROSS(K,D)ANDCROSS(ZXH,ZQS);
XG2:=V NLANDREF(J1 50,1)ANDCROSS(K,D)ANDZXH ZPHANDZXH REF(ZXH,1);
XG:XG1ORXG2;