MA181:MA(C,181),COLOR008080,LINETHICK2;
无穷成本均线: DMA(CLOSE,VOL/CAPITAL),COLORFF00FF LINETHICK2;
E5:=EMA(C,5);
E13:=EMA(C,13);
DRAWBAND(E5,RGB(200,0,0),E13,RGB(0,200,0));
DRAWKLINE(H,O,L,C);
中线:=EMA(C,20)COLORYELLOW;
上轨:中线 + 2*STD(C,20),COLORLIRED;
SS:=MA((LOW+HIGH+CLOSE)/3,5)>REF(MA((LOW+HIGH+CLOSE)/3,5),1) AND REF(MA((LOW+HIGH+CLOSE)/3,5),1)<REF(MA((LOW+HIGH+CLOSE)/3,5),2);
SC:=L<HHV(MA((LOW+HIGH+CLOSE)/3,5),13) AND H>HHV(MA((LOW+HIGH+CLOSE)/3,5),13) AND C>REF(C,1) AND C>O;
MR:=SC AND COUNT(SS,2);
买:=MR AND NOT(REF(MR,1));
V1:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
V2:=(1-7/100)*(DMA(CLOSE,V1));
V3:=(1+7/100)*(DMA(CLOSE,V1));
V5:=MA((LOW+HIGH+CLOSE)/3,5);
MA1:=MEMA(CLOSE,5);
MA2:=ATAN((MA1/REF(MA1,1)-1)*100)*180/3.1416;
MA3:=IF(MA2>0,MA2,MA2);
MA5:MA(C,5),COLORWHITE;
MA25:=MA(C,25),COLORGREEN,LINETHICK2;
VAR1:=CLOSE=HHV(C,4) AND (REF(C,1)>=REF(C,2) OR REF(C,1)>=REF(C,3))
OR REF(C,1)=HHV(C,4) AND CLOSE>=REF(C,2) OR REF(C,2)=HHV(C,4) AND
REF(C,3)=LLV(C,4) AND C>=REF(C,1) OR REF(C,3)=HHV(C,4) AND
C>=REF(C,1) AND C>=REF(C,2);
VAR2:=CLOSE=HHV(C,4) AND REF(C,1)=LLV(C,4);
VAR3:=CLOSE=LLV(C,4) AND (REF(C,1)<REF(C,2) OR REF(C,1)<REF(C,3)) OR
REF(C,1)=LLV(C,4) AND C<REF(C,2) OR REF(C,2)=LLV(C,4) AND
REF(C,1)=HHV(C,4) AND C<REF(C,1) OR REF(C,3)=LLV(C,4) AND
C<REF(C,1) AND C<REF(C,2);
VAR4:=REF(C,1)=LLV(C,4) AND C>=REF(C,2) OR REF(C,2)=LLV(C,4) AND
REF(C,1)<=REF(C,3) AND REF(C,2)<REF(C,4) AND C>=REF(C,1);
AA10:=MA(CLOSE,8),COLOR0000FF;
BB10:=((ATAN((AA10 - REF(AA10,1))) * 3.1416) * 10);
均线30:=MA(CLOSE,30);
均线89:=MA(CLOSE,89);
均线:=MA(CLOSE,16);
DRAWTEXT((((((OPEN <= 均线) AND ((均线30 - REF(均线30,1)) > 0))
AND (CLOSE > 均线89)) AND (BB10 > 1)) AND ((CLOSE / OPEN) > 1.04)),
LOW,'请注意
'), COLORFF00FF;
{}
EMA3:=EMA(C,3),NODRAW;
EMA13:=EMA(C,13);
EMA21:=EMA(C,21),NODRAW;
BR1:=COUNT(BETWEEN((C-REF(C,1))/REF(C,1)*100,0,5) ,5)=5;
BR2:=ABS((EMA3-EMA13)+(EMA13-EMA21))/C<0.2;
BR3:=C>EMA21 AND (REF(C,1)<REF(EMA21,1) OR REF(C,2)<REF(EMA21,2) OR REF(C,3)<REF(EMA21,3) OR REF(C,4)<REF(EMA21,4) OR REF
(C,5)<REF(EMA21,5));
BR4:=BR1 AND BR2 AND BR3;
HR2:=EMA3>=REF(EMA3,3) AND EMA13>=REF(EMA13,1) AND EMA21>=REF(EMA21,1) AND CROSS(C,EMA3) AND CROSS(C,EMA13) AND CROSS
(C,EMA21){ AND CROSS(C,EMA55)};
STICKLINE(HR2,CLOSE,OPEN,3,0),COLORFF80FF;
DRAWTEXT(HR2 AND FILTER(HR2,10),L*0.94,'进场'), COLORYELLOW ;
副图选股一体
V01:=IF(NAMELIKE('S'),0,1);
V02:=DYNAINFO(8)>0;
V03:=IF(NAMELIKE('*'),0,1);
V04:=V01 AND V02 AND V03;
VR1:=LLV(LOW,15);
VR2:=(CLOSE-VR1);
VR3:=HHV(HIGH,5);
VR4:=LLV(LOW,5);
VR5:=VR2/(VR3-VR4)*100;
VR6:=SMA(VR5,3,1);
VR7:=SMA(VR6,3,1);
VR8:=VR6*3;
VR9:=VR7*2;
VR10:=VR8-VR9;
VR11:=EMA(CLOSE,20);
VR12:=EMA(CLOSE,25);
VR13:=VR11-VR12;
VR14:=EMA(VR13,10);
VR15:=2*(VR13-VR14);
VR16:=VR15>0;
VR17:=((HIGH+LOW)+(CLOSE*2));
VR18:=DMA(VR17/4.2,1);
VR19:=EMA(VR18,3);
VR20:=REF(VR19,1);
VR21:=CROSS(CLOSE,VR20);
II:VR21 AND VR10<62 AND VR16 AND V04;