{星穹裂晓F源码如下}
X_1:=CLOSE/REF(CLOSE,1)>1.07 AND CLOSE=HIGH AND BETWEEN(FORCAST(VOL,4),0.2*FORCAST(VOL,12),2.1*FORCAST(VOL,12));
拉升:=FILTER(X_1,28),COLORYELLOW,LINETHICK2;
STICKLINE(拉升,0,10,4,0),COLORRED;
STICKLINE(拉升,0,10,0.5,0),COLORYELLOW;
STICKLINE(拉升,10,15,2.5,0),COLORYELLOW;
STICKLINE(拉升,15,20,1.5,0),COLORMAGENTA;
STICKLINE(拉升,0,25,0.5,0),COLORYELLOW;
{星穹裂晓源码如下}
M6:=10;
M8:=20;
N6:=20;
AA1:=(1+M6/100)*MA(CLOSE,N6),COLORYELLOW;
AA2:(1-M8/100)*MA(CLOSE,N6),COLORBLUE;
AA3:(AA1+AA2)/2,COLORWHITE DOTLINE;
AA4:8*(AA1+AA2)/14,COLORRED;
AA5:6*(AA1+AA2)/14,COLORGREEN;
AB:=1200823;
涨停:IF(DATE<AB,ZTPRICE(REF(C,1),IF(CODELIKE('688'),0.2,IF(NAMEINCLUDE('S'),0.05,0.1))),ZTPRICE(REF(C,1),IF(CODELIKE('688') OR CODELIKE('300'),0.2,IF(NAMEINCLUDE('S'),0.05,0.1)))),NODRAW,COLORRED;
跌停:IF(DATE<AB,DTPRICE(REF(C,1),IF(CODELIKE('688'),0.2,IF(NAMEINCLUDE('S'),0.05,0.1))),DTPRICE(REF(C,1),IF(CODELIKE('688') OR CODELIKE('300'),0.2,IF(NAMEINCLUDE('S'),0.05,0.1)))),NODRAW,COLORGREEN;
M涨停:IF(DATE<AB,C*IF(CODELIKE('688'),1.2,IF(NAMEINCLUDE('S'),1.05,1.1)),C*(IF(CODELIKE('688') OR CODELIKE('300'),1.2,IF(NAMEINCLUDE('S'),1.05,1.1)))),NODRAW,COLORLIMAGENTA;
M跌停:=IF(DATE<AB,C*IF(CODELIKE('688'),0.8,IF(NAMEINCLUDE('S'),0.45,0.9)),C*(IF(CODELIKE('688') OR CODELIKE('300'),0.8,IF(NAMEINCLUDE('S'),0.45,0.9)))),NODRAW,COLORFFFF00;
ACC:=C>=涨停 AND PERIOD=5 AND H=C;
ACC1:=H>=涨停 AND PERIOD=5 AND H>C;
BB:=C<=跌停 AND PERIOD=5 AND L=C;
BB1:=L<=跌停 AND PERIOD=5 AND L<C;
TJ:=V=HHV(V,100);
N:=9;
M1:=3;
M2:=3;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,M1,1);
D:=SMA(K,M2,1);
J:=3*K-2*D;
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2;
XG:=MACD>0;
DRAWICON(CROSS(J,50)AND XG,L,26);
K1:=SUMBARS(TJ,1);
星穹裂晓:=C>AA4 AND REF(C,1)<AA4 AND (C-REF(C,1))/REF(C,1)>0.09;
STICKLINE(星穹裂晓,OPEN,CLOSE,2,0),COLORMAGENTA;
STICKLINE(CROSS(J,50)AND XG,OPEN,CLOSE,0.6,0),COLORYELLOW;
DRAWTEXT(星穹裂晓,L,'★星穹裂晓');
DRAWICON(星穹裂晓,L,9);