{短线爆点指标 主图源码如下}
AA1:LLV((2*C+H+L)/4,21),LINETHICK2,COLORRED;
A2:HHV((2*C+H+L)/4,21),LINETHICK2,COLORFF0080;
年:=YEAR,NODRAW;
月:=MONTH,NODRAW;
星期:=WEEKDAY,NODRAW;
日1:=DATETODAY(DATE);
上市日:=REF(DATE,TOTALBARSCOUNT-CURRBARSCOUNT);
自然日:=日1-DATETODAY(上市日)+1;{WWW.GOODGUPIAO.COM}
ZB:=(自然日-REF(自然日,1))!=星期-REF(星期,1)OR TOTALBARSCOUNT-CURRBARSCOUNT=0;
本周第几天:=BARSLAST(ZB)+1;
本月第几天:=BARSLAST(年*100+月!=REF(年*100+月,1))+1;
MA1:=REF(C,本周第几天);
MA2:=REF(MA1,本周第几天);
MA3:=REF(MA2,本周第几天);
MA4:=REF(MA3,本周第几天);
MA5:=REF(MA4,本周第几天);
MA6:=REF(MA5,本周第几天);
MA7:=REF(MA6,本周第几天);
MA8:=REF(MA7,本周第几天);
MA9:=REF(MA8,本周第几天);
十周价:=(C+MA1+MA2+MA3+MA4+MA5+MA6+MA7+MA8+MA9)/10;
出击突破:REFDATE(十周价,DATE),COLORYELLOW,DOTLINE;
DRAWTEXT(ISLASTBAR,出击突破,' 出击突破'),COLORYELLOW;
DRAWTEXT_FIX(1,0.00,0,0,'所属行业:')COLOR00FFFF;
DRAWTEXT_FIX(1,0.06,0,0,HYBLOCK)COLOR00FFFF;
DRAWTEXT_FIX(1,0.14,0,0,'所属地区:')COLOR00FFFF;
DRAWTEXT_FIX(1,0.20,0,0,DYBLOCK)COLOR00FFFF;
DRAWKLINE(H,O,L,C);CHAGULA:SMA(MAX(CLOSE-C,0),7,1)/SMA(ABS(CLOSE-C),7,1)*100,NODRAW;
DRAWKLINE(H,IF(C<=REF(C,1),REF(C,1),DRAWNULL),L,IF(C<=REF(C,1),C,DRAWNULL));
STICKLINE(C<=REF(C,1),IF(C<=REF(C,1),REF(C,1),DRAWNULL),IF(C<=REF(C,1),C,DRAWNULL),3.05,0),COLORBLUE;
STICKLINE(C<=REF(C,1),IF(C<=REF(C,1),REF(C,1),DRAWNULL),IF(C<=REF(C,1),C,DRAWNULL),2.2,0),COLORFF7700;
STICKLINE(C<=REF(C,1),IF(C<=REF(C,1),REF(C,1),DRAWNULL),IF(C<=REF(C,1),C,DRAWNULL),1.5,0),COLORFF9900;
STICKLINE(C<=REF(C,1),IF(C<=REF(C,1),REF(C,1),DRAWNULL),IF(C<=REF(C,1),C,DRAWNULL),0.5,0),COLORFFBB00;
DRAWKLINE(H,IF(C>REF(C,1),REF(C,1),DRAWNULL),L,IF(C>REF(C,1),C,DRAWNULL));{WWW.GOODGUPIAO.COM}
STICKLINE(C>REF(C,1),IF(C>REF(C,1),REF(C,1),DRAWNULL),IF(C>REF(C,1),C,DRAWNULL),3.05,0),COLOR000099;
STICKLINE(C>REF(C,1),IF(C>REF(C,1),REF(C,1),DRAWNULL),IF(C>REF(C,1),C,DRAWNULL),2.2,0),COLOR0000CC;
STICKLINE(C>REF(C,1),IF(C>REF(C,1),REF(C,1),DRAWNULL),IF(C>REF(C,1),C,DRAWNULL),1.5,0),COLOR0000FF;
STICKLINE(C>REF(C,1),IF(C>REF(C,1),REF(C,1),DRAWNULL),IF(C>REF(C,1),C,DRAWNULL),0.5,0),COLORCC66FF;
STICKLINE(V/REF(V,1)>2 AND CLOSE>=OPEN,IF(C>REF(C,1),REF(C,1),DRAWNULL),IF(C>REF(C,1),C,DRAWNULL),1,0),COLORYELLOW;
{短线爆点指标 副图源码如下}
N:=24;
AN:=MA(C,N);
A:=REF(C,6)>REF(C,5);
A1:=REF(C,5)>REF(C,4);
A2:=REF(C,4)>REF(C,3);
A3:=REF(C,3)>REF(C,2);
A4:=REF(C,2)>REF(C,1);
A5:=A AND A1 AND A2 AND A3 AND A4;
A6:=C/REF(C,1)>1.065;
A7:=BARSLAST(A6);CHAGULA:SMA(MAX(CLOSE-C,0),7,1)/SMA(ABS(CLOSE-C),7,1)*100,NODRAW;
A8:= A7>6 AND C>REF(C,1)*1.03 ;
B:=EMA(MAX(C-REF(C,1),0),5)/EMA(ABS(C-REF(C,1)),5)*100;
B1:=EMA(MAX(C-REF(C,1),0),8)/EMA(ABS(C-REF(C,1)),8)*100;
B2:=REF(C,3)>REF(C,2) AND REF(C,2)>REF(C,1) AND REF(C,4)>REF(C,3);
B3:=CROSS(B,20) AND (CROSS(B,B1) );
XG:= A5 AND A8 AND B3 ,COLORYELLOW ;
D1:=L<AN;
D2:=C>AN;
AN12:=MA(AN,12);
D3:=C/REF(C,1)<AN;
D4:=CROSS(C,AN) AND V/REF(MA(V,5),1)>1.016;
XG1:= D3 AND D4 AND D1 AND D2,COLORYELLOW ;
XG1 OR XG;