SJ:=IF(HOUR<12,(HOUR-9.5)*60+MINUTE,(HOUR-11)*60+MINUTE);
DYX1:=IF(SJ>60 AND C[
DYX:=IF(HHV(C,20)>C*1.018,MAX(DYNAINFO(3)*0.98,HHV(C,SJ)*0.98),C);]
J1:=MIN(C,DYNAINFO(3)*1.01);
J:=MAX(C,MAX(DYNAINFO(3)*0.98,HHV(C,SJ)*0.98));
QQ:=DRAWBAND(J1,RGB(224,0,0),C,RGB(224,0,0));
JJ:=DRAWBAND(J,RGB(5,125,7),C,RGB(5,125,7));
DD:=DRAWBAND(DYX,RGB(0,224,224),C,RGB(224,224,224));
{均价:IF(DYNAINFO(10)<3000000000,SUM(AMO,SJ)/SUM(VOL,SJ)/100,MA(C,SJ)),COLORYELLOW;}
F:=DYNAINFO(3)*0.98,LINETHICK2,COLORYELLOW;
H1:=MAX(DYNAINFO(3),DYNAINFO(5));
L1:=MIN(DYNAINFO(3),DYNAINFO(6));
P1:=H1-L1;
阻力:=L1+P1*7/8,,COLOR00DD00;
支撑:=L1+P1*0.5/8,,COLOR00DD00;
VAR1:=EMA(EMA(CLOSE,13),13);
控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;
{分时价格原码}
JJ1:=DYNAINFO(11);
{波段买卖原码}
P:=55;S:=8;
财:=(EMA(CLOSE,S)-EMA(CLOSE,P))*10;
神:=EMA(财,3);
{股价与均线偏离买卖条件}
BTJ1:=(C-JJ1)/JJ1<-0.005;
BTJ11:=(C-JJ1)/JJ1<-0.03;
BTJ12:=LAST(JJ1>=REF(JJ1,1),5,1) AND (C-JJ1)/JJ1<0.005;
BTJ2:=控盘>REF(控盘,1) AND 控盘<-0.2;
BTJ22:=控盘>REF(控盘,1) AND 控盘<0 ;
{波段买卖条件}
BTJ3:=CROSS(财,神) AND 财<-0.3;
BTJ32:=CROSS(财,神) AND 财<-0.1;
{以下为信号};
B1:=FILTER(BTJ1 AND BTJ2 AND BTJ3,13);{选股信号}
B2:=FILTER(BTJ11 AND BTJ2 AND BTJ3,13);{选股信号}
B3:=FILTER(BTJ12 AND BTJ22 AND BTJ32,13);{选股信号};
STICKLINE(B1 AND B2 AND B3,支撑,阻力,1,0),COLORGREEN;