抄底买入短赚 跟随主力进场【指标公式】(含选股)第一部分 副图公式 手机/电脑
M:=60;N:=30;
RSV1:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*110;
K1:=SMA(RSV1,5,1);D1:=SMA(K1,3,1);J1:=3*K1-2*D1;
NOTEXTCHA2:EMA(J1,5),COLORRED;
NOTEXTCHP1:110*(HHV(HIGH,M)-CLOSE)/(HHV(HIGH,M)-LLV(LOW,M)),COLORGREEN;
CHP2:=REF(LOW,1);
CHP3:=SMA(ABS(LOW-CHP2),3,1)/SMA(MAX(LOW-CHP2,0),3,1)*100;
CHP4:=EMA(IF(CLOSE*1.3,CHP3*10,CHP3/10),3);
CHP5:=LLV(LOW,38);CHP6:=HHV(CHP4,38);
CHP7:=IF(MA(CLOSE,90),1,0);
CHP8:=EMA(IF(LOW<=CHP5,(CHP4+CHP6*2)/2,0),3)/618*CHP7;
CHP9:=IF(CHP8>100,10,CHP8);
CHA3:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;
CHA4:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
CHA5:=SMA(CHA4,13,8);
NOTEXTCHA6:CEILING(SMA(CHA5,13,8)),COLORYELLOW;
CHA7:=SMA(CHA3,21,8);
买入:IF(CROSS(NOTEXTCHA6,NOTEXTCHA2) AND (NOTEXTCHA2<20) AND (NOTEXTCHP1>78),20,1),COLORFF00FF,LINETHICK1;
卖出:IF(CROSS(NOTEXTCHA2,NOTEXTCHA6) AND (NOTEXTCHA2>82) AND (NOTEXTCHA6>80),80,100),COLORWHITE,LINETHICK1;
CHP11:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
CHP12:=SMA(ABS(LOW-CHP11),13,1)/SMA(MAX(LOW-CHP11,0),10,1);
CHP13:=EMA(CHP12,10);CHP14:=LLV(LOW,33);
CHP15:=EMA(IF(LOW<=CHP14,CHP13,0),3);
主力:IF(CHP15>REF(CHP15,1),CHP15,0)*1,COLORRED,NODRAW;
洗盘:IF(CHP15
STICKLINE(CHP15
STICKLINE(CHP15>REF(CHP15,1),0,CHP15,0.6,0 ),COLOR000055;
STICKLINE(CHP15>REF(CHP15,1),0,CHP15,0.6,0 ),COLOR000077;
STICKLINE(CHP15>REF(CHP15,1),0,CHP15,0.6,0 ),COLOR000099;
STICKLINE(CHP15>REF(CHP15,1),0,CHP15,0.6,0 ),COLOR0000BB;
STICKLINE(CHP15>REF(CHP15,1),0,CHP15,0.6,0 ),COLOR0000DD;
STICKLINE(CHP15>REF(CHP15,1),0,CHP15,0.3,0 ),COLOR0000FF;
STICKLINE(CHP15
STICKLINE(CHP15
STICKLINE(CHP15
STICKLINE(CHP15
STICKLINE(CHP15
STICKLINE(CHP15
第二部分 选股公式
{选股公式:买}
M:=60;N:=30;
RSV1:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*110;
K1:=SMA(RSV1,5,1);D1:=SMA(K1,3,1);J1:=3*K1-2*D1;NOTEXTCHA2:=EMA(J1,5),COLORRED;
NOTEXTCHP1:=110*(HHV(HIGH,M)-CLOSE)/(HHV(HIGH,M)-LLV(LOW,M)),COLORGREEN;
CHP2:=REF(LOW,1);
CHP3:=SMA(ABS(LOW-CHP2),3,1)/SMA(MAX(LOW-CHP2,0),3,1)*100;
CHP4:=EMA(IF(CLOSE*1.3,CHP3*10,CHP3/10),3);
CHP5:=LLV(LOW,38);CHP6:=HHV(CHP4,38);
CHP7:=IF(MA(CLOSE,90),1,0);
CHP8:=EMA(IF(LOW<=CHP5,(CHP4+CHP6*2)/2,0),3)/618*CHP7;
CHP9:=IF(CHP8>100,10,CHP8);
CHA3:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;
CHA4:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
CHA5:=SMA(CHA4,13,8);
NOTEXTCHA6:=CEILING(SMA(CHA5,13,8)),COLORYELLOW;
买:CROSS(NOTEXTCHA6,NOTEXTCHA2) AND (NOTEXTCHA2<20) AND (NOTEXTCHP1>78);
{卖出公式:卖}
M:=60;N:=30;
RSV1:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*110;
K1:=SMA(RSV1,5,1);D1:=SMA(K1,3,1);J1:=3*K1-2*D1;NOTEXTCHA2:=EMA(J1,5),COLORRED;
NOTEXTCHP1:=110*(HHV(HIGH,M)-CLOSE)/(HHV(HIGH,M)-LLV(LOW,M)),COLORGREEN;
CHP2:=REF(LOW,1);
CHP3:=SMA(ABS(LOW-CHP2),3,1)/SMA(MAX(LOW-CHP2,0),3,1)*100;
CHP4:=EMA(IF(CLOSE*1.3,CHP3*10,CHP3/10),3);
CHP5:=LLV(LOW,38);CHP6:=HHV(CHP4,38);
CHP7:=IF(MA(CLOSE,90),1,0);
CHP8:=EMA(IF(LOW<=CHP5,(CHP4+CHP6*2)/2,0),3)/618*CHP7;
CHP9:=IF(CHP8>100,10,CHP8);
CHA3:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;
CHA4:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
CHA5:=SMA(CHA4,13,8);
NOTEXTCHA6:=CEILING(SMA(CHA5,13,8)),COLORYELLOW;
卖:CROSS(NOTEXTCHA2,NOTEXTCHA6) AND (NOTEXTCHA2>82) AND (NOTEXTCHA6>80);
|