大阳上调
均线多头
A1:=MA(CLOSE,30);
A2:=MA(CLOSE,N1);
A3:=MA(CLOSE,N2);
A4:=MA(CLOSE,N3);
XG: CLOSE>A1 AND A1>A2 AND A2>A3 AND CLOSE>A4 ;
15F均
MA5:MA(CLOSE,5) ;
MA20:MA(CLOSE,30) LINETHICK1 COLORRED;
IF(MA20<REF(MA20,1),MA20,DRAWNULL)COLORYELLOW LINETHICK1;
MA60:MA(CLOSE,60) LINETHICK2 COLORMAGENTA;
IF(MA60<REF(MA60,2),MA60,DRAWNULL),COLORGREEN,LINETHICK2;
MA240:=MA(CLOSE,240) COLORBLUE;
STICKLINE(C/REF(C,1)>1.095 AND C=H,C,O,2,0),COLOR00FFFF;
Z1:=STRCAT(HYBLOCK,' ');
Z2:=STRCAT(Z1, DYBLOCK);
Z3:=STRCAT(Z2,' ');
DRAWTEXT_FIX(ISLASTBAR ,0, 0, 0,STRCAT(Z3, GNBLOCK) ),COLORYELLOW;
{涨停回调XG}
MA20:=MA(C,20);
二十线上涨:= MA20>=REF(MA20,1);
TS:=BARSLAST(C/REF(C,1)>1.08);{上次收盘价/1日前的收盘价>1.085距今天数}
涨停最高价:=REF((C+O)/2,TS);
XG:LLV(C,TS)>涨停最高价 AND BETWEEN(TS,3,20) AND 二十线上涨 AND
NOT(NAMELIKE('S')||NAMELIKE('*S')||CODELIKE('688'));
均线
MA1:MA(CLOSE,M1);
MA2:MA(CLOSE,M2);
MA3:MA(CLOSE,30);
MA4:MA(CLOSE,60);
MA5:MA(CLOSE,120);
MA6:MA(CLOSE,250);
STICKLINE(C/REF(C,1)>1.095 AND C=H,C,O,2,0),COLOR00FFFF;
Z1:=STRCAT(HYBLOCK,' ');
Z2:=STRCAT(Z1, DYBLOCK);
Z3:=STRCAT(Z2,' ');
DRAWTEXT_FIX(ISLASTBAR ,0, 0, 0,STRCAT(Z3, GNBLOCK) ),COLORYELLOW;