一,指标引用名称:排名引用 ZTJ:=IF(INBLOCK('科创板') OR INBLOCK('创业板'),ZTPRICE(REF(C,1),0.2),ZTPRICE(REF(C,1),0.1)); ZT:ZTJ=C; KP:(O/REF(C,1)-1)*100; ZF3:(C/REF(C,2)-1)*100; ZF10:(C/REF(C,9)-1)*100; 二,板块龙头付图 BZC1:=CLOSE>MA(CLOSE,20) AND CLOSE>MA(CLOSE,60); BZC2:=MA(CLOSE,20); BZC3:=CLOSE>BZC2; BZC4:=SMA(HIGH,21,2)*1.05; BZC5:=SMA(LOW,21,2)*0.95; BZC6:=SMA(LOW,5,1); BZC7:=(HIGH-CLOSE)/CLOSE*100<1; BZC8:=CLOSE/REF(CLOSE,1)>1.03; BZC9:=SMA(CLOSE,2,1); BZC10:=IF(CROSS(BZC9,BZC6),BZC4*1.05,BZC6); BZC11:=IF(CROSS(BZC9,BZC4),BZC4*1.1,BZC5); BZC12:=BZC11>BZC5 OR BZC10>BZC6 AND BZC7 AND BZC8 AND BZC1 AND BZC3; OVER:=REF(BZC12,1) OR BZC12; AE2:=(((2*CLOSE)+HIGH)+LOW)/4; AE3:=LLV(LOW,34); AE4:=HHV(HIGH,34); NED:=(EMA((((AE2-AE3)/(AE4-AE3))*100),8)); FAR:=(EMA(NED,5)); 个股:EMA(100*(C-LLV(L,34))/(HHV(H,34)-LLV(L,34)),3),COLORWHITE; 大盘:EMA(100*(INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34)),3),COLORCYAN,DOTLINE; 行业:EMA(100*(HY_INDEXC-LLV(HY_INDEXC,34))/(HHV(HY_INDEXC,34)-LLV(HY_INDEXC,34)),3),COLORLIRED,DOTLINE; A1:=AMOUNT/VOL/100; A2:=(3*HIGH+LOW+OPEN+2*CLOSE)/7; A3:=SUM(AMOUNT,15)/A1/100; A4:=SUM(AMOUNT,30)/A1/100; B1:=DMA(A2,VOL/A3); B2:=DMA(A2,VOL/A4); 力度:(CLOSE-B1)/B1*100,COLORYELLOW,NODRAW; STICKLINE(力度>2.5,0,力度,3,0),COLORRED; 板块中排名:HORCALC(HYBLOCK,105,1,DRAWNULL)*1,NODRAW; 板块涨停数:INSUM(HYBLOCK,'排名引用',1,0),NODRAW; DRAWTEXT_FIX(1,0.001,0.01,0,'板块:'),COLORCYAN; DRAWTEXT_FIX(ISLASTBAR,0.0269,0,0,HYBLOCK),COLORYELLOW; 个股强弱值:SMA(MAX(CLOSE-REF(CLOSE,1),0),10,1)/(SMA(ABS(CLOSE-REF(CLOSE,1)),10,1))*100,NODRAW; 大盘C:=INDEXC; 大盘C1:=REF(大盘C,1); 大盘指数强弱:=SMA(MAX(大盘C-大盘C1,0),10,1)/(SMA(ABS(大盘C-大盘C1),10,1))*100; 板块C:=HY_INDEXC; 板块C1:=REF(板块C,1); 板块指数强弱:=SMA(MAX(板块C-板块C1,0),10,1)/(SMA(ABS(板块C-板块C1),10,1))*100; 板块强弱值:100*(板块指数强弱-大盘指数强弱)/大盘指数强弱,NODRAW; GULT:=BARSSINCEN((COUNT(一刀妖股FT.XG,3) AND 个股强弱值>=75 AND 板块强弱值>=10 AND 板块中排名<=10 AND 力度>=8 AND 板块涨停数>=1),5)=0; VPDY:=REF(GULT,1) OR GULT; XG:BARSLASTCOUNT(OVER AND VPDY AND 力度>8)=1,COLORRED,NODRAW; DRAWICON(XG,个股*1.15,25); 80,DOTLINE; 50,DOTLINE; 20,DOTLINE; 三,选股 {条件:1,个股强弱值大于75,2,板块强弱值大于9,3,出现“ 钻石”信号,3,XG等于1,4点共振可作为买入条件.} BZC1:=CLOSE>MA(CLOSE,20) AND CLOSE>MA(CLOSE,60); BZC2:=MA(CLOSE,20); BZC3:=CLOSE>BZC2; BZC4:=SMA(HIGH,21,2)*1.05; BZC5:=SMA(LOW,21,2)*0.95; BZC6:=SMA(LOW,5,1); BZC7:=(HIGH-CLOSE)/CLOSE*100<1; BZC8:=CLOSE/REF(CLOSE,1)>1.03; BZC9:=SMA(CLOSE,2,1); BZC10:=IF(CROSS(BZC9,BZC6),BZC4*1.05,BZC6); BZC11:=IF(CROSS(BZC9,BZC4),BZC4*1.1,BZC5); BZC12:=BZC11>BZC5 OR BZC10>BZC6 AND BZC7 AND BZC8 AND BZC1 AND BZC3; OVER:=REF(BZC12,1) OR BZC12; A1:=AMOUNT/VOL/100; A2:=(3*HIGH+LOW+OPEN+2*CLOSE)/7; A3:=SUM(AMOUNT,15)/A1/100; B1:=DMA(A2,VOL/A3); 力度:=(CLOSE-B1)/B1*100; 板块中排名:=HORCALC(HYBLOCK,105,1,DRAWNULL)*1; 板块涨停数:=INSUM(HYBLOCK,'排名引用',1,0); 个股强弱值:=SMA(MAX(CLOSE-REF(CLOSE,1),0),10,1)/(SMA(ABS(CLOSE-REF(CLOSE,1)),10,1))*100; 大盘C:=INDEXC; 大盘C1:=REF(大盘C,1); 大盘指数强弱:=SMA(MAX(大盘C-大盘C1,0),10,1)/(SMA(ABS(大盘C-大盘C1),10,1))*100; 板块C:=HY_INDEXC; 板块C1:=REF(板块C,1); 板块指数强弱:=SMA(MAX(板块C-板块C1,0),10,1)/(SMA(ABS(板块C-板块C1),10,1))*100; 板块强弱值:=100*(板块指数强弱-大盘指数强弱)/大盘指数强弱; GULT:=BARSSINCEN((COUNT(一刀妖股FT.XG,3) AND 个股强弱值>=75 AND 板块强弱值>=10 AND 板块中排名<=10 AND 力度>=8 AND 板块涨停数>=1),5)=0; VPDY:=REF(GULT,1) OR GULT; XG:BARSLASTCOUNT(OVER AND VPDY AND 力度>8)=1; |
|