通达信公式涨停回马枪
XA_1:=(CLOSE/REF(CLOSE,1)-1)*100>9.5;
XA_2:=BARSLAST(XA_1);
最后涨停距今数:XA_2,NODRAW,COLOR00CCCC;
XA_3:=BARSLAST(XA_1);
XA_4:=(REF(CLOSE,XA_3)+REF(OPEN,XA_3))/2;
STICKLINE(CLOSE,XA_4,REF(LOW,XA_3),4,0),COLOR002828;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
STICKLINE(XA_1,OPEN,CLOSE,2.6,0),COLOR0000E5;
STICKLINE(XA_1,OPEN,CLOSE,2.4,0),COLOR335555;
STICKLINE(XA_1,OPEN,CLOSE,1.8,0),COLOR338888;
STICKLINE(XA_1,OPEN,CLOSE,1.2,0),COLOR33AAAA;
STICKLINE(XA_1,OPEN,CLOSE,0.6,0),COLOR33CCCC;
STICKLINE(XA_1,OPEN,CLOSE,0.1,0),COLOR33EEEE;
XA_5:=REF(CLOSE,1);
XA_6:=IF((XA_5-CLOSE)*100/XA_5>=10-0.01*100/XA_5,1,0);
STICKLINE(XA_6,OPEN,CLOSE,2.6,0),COLORE50000;
MA13:MA(CLOSE,13),COLORCYAN;
IF(MA13>REF(MA13,1),MA13,DRAWNULL),COLORRED;
MA21:MA(CLOSE,21),COLOR00CCCC;
MA55:MA(CLOSE,55),COLOR00CC00,LINETHICK2;
XA_7:=CLOSE>MA21 AND MA13>REF(MA13,1) AND XA_6!=1;
XA_8:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
XA_9:=REF(CLOSE,1);{分析家公式网www.fxjgsw.com}
XA_10:=SMA(MAX(CLOSE-XA_9,0),2,1)/SMA(ABS(CLOSE-XA_9),2,1)*100;
XA_11:=SMA(MAX(CLOSE-XA_9,0),14,1)/SMA(ABS(CLOSE-XA_9),14,1)*100;
XA_12:=45;
XA_13:=80;
XA_14:=20;
XA_15:=5;
XA_16:=XA_10<XA_12 AND REF(XA_10,1)>XA_12;
XA_17:=XA_10<XA_14 AND REF(XA_10,1)>XA_14;
XA_18:=COUNT(XA_1,13)>=1;
XA_19:=SMA(LOW,4,3);
XA_20:=XA_16 OR XA_17 AND XA_18;
XA_21:=REF(XA_16,1) OR REF(XA_17,1) AND LOW<MA(CLOSE,5) AND XA_18 AND XA_7 AND CLOSE>REF(LOW,XA_3);
STICKLINE(XA_20 AND NOT(XA_1),OPEN,CLOSE,2.4,0),COLOR550055;
STICKLINE(XA_20 AND NOT(XA_1),OPEN,CLOSE,1.8,0),COLOR880088;
STICKLINE(XA_20 AND NOT(XA_1),OPEN,CLOSE,1.2,0),COLORAA00AA;
STICKLINE(XA_20 AND NOT(XA_1),OPEN,CLOSE,0.6,0),COLORCC00CC;
STICKLINE(XA_20,OPEN,CLOSE,0.1,0),COLOREE00EE;
STICKLINE(XA_21 AND NOT(XA_1),OPEN,CLOSE,1.2,0),COLOR000088;
STICKLINE(XA_21 AND NOT(XA_1),OPEN,CLOSE,0.6,0),COLOR0000AA;
STICKLINE(XA_21 AND NOT(XA_1),OPEN,CLOSE,0.3,0),COLOR0000CC;
STICKLINE(XA_21,OPEN,CLOSE,0.1,0),COLOR0000EE;
STICKLINE(XA_21,XA_19*0.995,XA_19,5,0),COLORGREEN;
{分析家公式网www.fxjgsw.com}
DRAWICON(XA_21,LOW*0.98,1);
XA_22:=AMOUNT/VOL/100;
XA_23:=REF(CLOSE,1);
STICKLINE(CURRBARSCOUNT<21 AND XA_1=1,XA_22,XA_22,2.5,0),COLORYELLOW;
STICKLINE(CLOSE,XA_4,XA_4,2,0),COLORRED;
STICKLINE(CLOSE,REF(LOW,XA_3),REF(LOW,XA_3),2,0),COLORCCCC00;
短线狙击:DRAWNULL,COLORCCCCCC;
扣799969968:DRAWNULL,COLORCCCCCC; |