STICKLINE(18,100,0,5,0),COLOR666666;
RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
RSV1:=(HHV(H,9.8)-C)/(HHV(H,9.8)-LLV(L,9.8))*101;
KK:=SMA(RSV1,3,1);
DD:=SMA(KK,3,1);
JJ:=3*KK-2*DD;
J:=IF(JJ>=100,100,IF(JJ<=0,0,JJ));
买:IF((J=100),10,00),LINETHICK3,COLORRED;
卖:IF((J=0),90,100),LINETHICK2,COLORGREEN;
趋势:EMA((C-LLV(L,7))/(HHV(H,7)-LLV(L,7)),2)*100,COLORYELLOW,LINETHICK2;
VARB1:=SMA(SMA(趋势,2,1),2,1);
VARB2:=(VARB1/2+45.8)*1;
上轨:SMA(VARB2,2,1),COLORFFFF00;
下轨:SMA(VARB2,2,1)-45.8,COLOR00FF00,LINETHICK1;
中轨:(上轨+下轨)/2,COLORWHITE;
IF(趋势>=REF(趋势,1),趋势,DRAWNULL),COLORRED,LINETHICK2;
DRAWICON(CROSS(上轨,趋势),上轨+0.5,15);
DRAWICON(CROSS(趋势,下轨),下轨-0.5,23);
量:=EMA(VOL,13);
资金:=EMA(AMOUNT,13);
过滤:=((资金 /量) / 100);
真金:=(((CLOSE -过滤) / 过滤) * 100);
股市:=((真金 < (0 - 18)) AND ZXNH),COLORRED;
STICKLINE(股市,30,60,3,0),COLOR000055;
STICKLINE(股市,30,60,2,0),COLOR000077;
STICKLINE(股市,30,60,1,0),COLOR0000BB;
STICKLINE(股市,30,60,0.5,0),COLOR0000FF;
金库:=((真金 < (0 - 14)) AND ZXNH),COLOR00FF00;
STICKLINE(金库,0,30,3,0),COLOR003300;
STICKLINE(金库,0,30,2,0),COLOR007700;
STICKLINE(金库,0,30,1,0),COLOR00BB00;
STICKLINE(金库,0,30,0.5,0),COLOR00FF00;
XG:股市 AND 金库;
{地量}
VOLUME1:=VOL/10000,VOLSTICK;
MAVOL1:=MA(VOLUME1,5)/10000;
MAVOL2:=MA(VOLUME1,35)/10000;
MAVOL3:=MA(VOLUME1,135)/10000;
地量:IF(CROSS(0.9,1/VOL*1000>0.01 AND "KDJ.J"<0),-0,-10), COLOR1010FF,LINETHICK2;
DRAWTEXT(CROSS(0.9,1/VOL*1000>0.01 AND "KDJ.J"<0),-5,' 地量'), COLOR1010FF;
{出击}
VAR1D:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
VAR1E:=100-ABS(VAR1D);
出击: IF(BARSCOUNT(CLOSE)<13,-15,0-IF(VAR1E<92 AND VAR1D<0,0,8)),COLOR00FFFF,LINETHICK2;
{黄金坑}
VAR88:=MA(CLOSE,27);
VAR99:=(CLOSE-VAR88)/VAR88*100;
VARA9:=MA(VAR99,2);
VARB9:=BARSLAST(CROSS(-10,VARA9)=1);
VARC9:=BARSLAST(CROSS(VARA9,10)=1);
VARD9:=VARA9<-10 AND VARB9>3;
黄金坑:IF(VARD9,VARA9/2,0),LINESTICK ,LINETHICK2, COLORYELLOW;
买稳zhuan:=IF(VARA9>REF(VARA9,1) AND VARD9 AND VARA9<-15,25,0),LINETHICK2,LINESTICK,COLORFFA2AF;
DRAWICON(买稳zhuan>0,30,1); |