主力买入牛股 低吸进场拉升【指标公式】(含选股)
第一部分 副图公式 手机/电脑
TR1:=SMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),7,1);
HD:=HIGH-REF(HIGH,1);
LD:=REF(LOW,1)-LOW;
DMP:=SMA(IF(HD>0 AND HD>LD,HD,0),7,1);
DMM:=SMA(IF(LD>0 AND LD>HD,LD,0),7,1);
DI正:=DMP*100/TR1,COLORRED;
DI负:=DMM*100/TR1,COLORGREEN;
ZZ:=SMA(ABS(DI负-DI正)/(DI负+DI正)*100,7,1),COLORFF00FF,LINETHICK2;
ZZA:=FILTER(ZZ=REF(ZZ,2)-1.3,5) AND REF(ZZ,1)>50,5);
ZZB:=FILTER(ZZ=REF(ZZ,2)-1.3,5) AND REF(ZZ,1)>50,5);
STICKLINE(ZZA AND REF(DI正>DI负,1),15,85,2,-0),COLORGREEN;
DRAWTEXT (ZZA AND REF(DI正>DI负,1),90,'撤'),COLORGREEN;
STICKLINE(ZZB AND REF(DI正
DRAWTEXT(ZZB AND REF(DI正
CAIH333:=(CLOSE*2.5/100+CLOSE);
逃:=HHV(HIGH,19),COLORBLUE;
STICKLINE(逃>REF(逃,1)AND CROSS(逃,CAIH333)AND C
DRAWTEXT (逃>REF(逃,1)AND CROSS(逃,CAIH333)AND C
CAIH1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
CAIH2:=SMA(ABS(LOW-CAIH1),13,1)/SMA(MAX(LOW-CAIH1,0),10,1);
CAIH3:=EMA(CAIH2,10);
CAIH4:=LLV(LOW,33);
CAIH5:=EMA(IF(LOWREF(CAIH5,1),CAIH5,0),COLORRED,NODRAW;
洗盘:IF(CAIH5
CAIH21:=SMA(ABS(HIGH-CAIH1),13,1)/SMA(MIN(HIGH-CAIH1,0),10,1);
CAIH31:=EMA(CAIH21,10);
CAIH41:=HHV(HIGH,33);
CAIH51:=EMA(IF(HIGH>=CAIH41,CAIH31,0),3);
拉升:IF(CAIH51
出货:IF(CAIH51>REF(CAIH51,1),CAIH51,0),COLORGREEN,,NODRAW;
STICKLINE(CAIH5
STICKLINE(CAIH5>REF(CAIH5,1),20,15,2,1),COLORRED;
STICKLINE(CAIH51>REF(CAIH51,1),20,15,2,1),COLORGREEN;
STICKLINE(CAIH51
MTM:=C-REF(C,1);
ZLGJ:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
买:=IF(LLV(ZLGJ,2)=LLV(ZLGJ,7) AND COUNT(ZLGJ<0,2) AND CROSS(ZLGJ,MA(ZLGJ,2)),1,0);
STICKLINE(FILTER(买=1,5),36,30,2,0),COLORRED;
LC:=REF(CLOSE,1);
RSI1:SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100,COLORWHITE,DOTLINE;
吸:=CROSS(RSI1,11);
STICKLINE(CROSS(82,RSI1),75,55,2,0),COLORGREEN;
DRAWTEXT(CROSS(82,RSI1),70,'卖'),COLORGREEN;
STICKLINE(FILTER(RSI1<18,RSI1),45,40,2,-1),COLORWHITE;
STICKLINE(FILTER(RSI180,RSI1,DRAWNULL),COLORMAGENTA,LINETHICK2;
IF(RSI180,RSI1,DRAWNULL),COLORCYAN,LINETHICK2;
IF(RSI10 AND HD>LD,HD,0),7,1);
DMM:=SMA(IF(LD>0 AND LD>HD,LD,0),7,1);
DI正:=DMP*100/TR1,COLORRED;
DI负:=DMM*100/TR1,COLORGREEN;
ZZ:=SMA(ABS(DI负-DI正)/(DI负+DI正)*100,7,1),COLORFF00FF,LINETHICK2;
ZZB:=FILTER(ZZ=REF(ZZ,2)-1.3,5) AND REF(ZZ,1)>50,5);
加:ZZB AND REF(DI正
{选股公式二:红柱买}
CAIH1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
CAIH2:=SMA(ABS(LOW-CAIH1),13,1)/SMA(MAX(LOW-CAIH1,0),10,1);
CAIH21:=SMA(ABS(HIGH-CAIH1),13,1)/SMA(MIN(HIGH-CAIH1,0),10,1);
MTM:=C-REF(C,1);
ZLGJ:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
买:=IF(LLV(ZLGJ,2)=LLV(ZLGJ,7) AND COUNT(ZLGJ<0,2) AND CROSS(ZLGJ,MA(ZLGJ,2)),1,0);
红柱买:FILTER(买=1,5),COLORRED;
TR1:=SMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),7,1);
HD:=HIGH-REF(HIGH,1);
LD:=REF(LOW,1)-LOW;
DMP:=SMA(IF(HD>0 AND HD>LD,HD,0),7,1);
DMM:=SMA(IF(LD>0 AND LD>HD,LD,0),7,1);
DI正:=DMP*100/TR1,COLORRED;
DI负:=DMM*100/TR1,COLORGREEN;
ZZ:=SMA(ABS(DI负-DI正)/(DI负+DI正)*100,7,1),COLORFF00FF,LINETHICK2;
ZZA:=FILTER(ZZ=REF(ZZ,2)-1.3,5) AND REF(ZZ,1)>50,5);
ZZB:=FILTER(ZZ=REF(ZZ,2)-1.3,5) AND REF(ZZ,1)>50,5);
STICKLINE(ZZA AND REF(DI正>DI负,1),15,85,2,-0),COLORGREEN;
DRAWTEXT (ZZA AND REF(DI正>DI负,1),90,'撤'),COLORGREEN;
STICKLINE(ZZB AND REF(DI正
DRAWTEXT(ZZB AND REF(DI正
CAIH333:=(CLOSE*2.5/100+CLOSE);
逃:=HHV(HIGH,19),COLORBLUE;
STICKLINE(逃>REF(逃,1)AND CROSS(逃,CAIH333)AND C
DRAWTEXT (逃>REF(逃,1)AND CROSS(逃,CAIH333)AND C
CAIH1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
CAIH2:=SMA(ABS(LOW-CAIH1),13,1)/SMA(MAX(LOW-CAIH1,0),10,1);
CAIH3:=EMA(CAIH2,10);
CAIH4:=LLV(LOW,33);
CAIH5:=EMA(IF(LOWREF(CAIH5,1),CAIH5,0),COLORRED,NODRAW;
洗盘:IF(CAIH5
CAIH21:=SMA(ABS(HIGH-CAIH1),13,1)/SMA(MIN(HIGH-CAIH1,0),10,1);
CAIH31:=EMA(CAIH21,10);
CAIH41:=HHV(HIGH,33);
CAIH51:=EMA(IF(HIGH>=CAIH41,CAIH31,0),3);
拉升:IF(CAIH51
出货:IF(CAIH51>REF(CAIH51,1),CAIH51,0),COLORGREEN,,NODRAW;
STICKLINE(CAIH5
STICKLINE(CAIH5>REF(CAIH5,1),20,15,2,1),COLORRED;
STICKLINE(CAIH51>REF(CAIH51,1),20,15,2,1),COLORGREEN;
STICKLINE(CAIH51
MTM:=C-REF(C,1);
ZLGJ:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
买:=IF(LLV(ZLGJ,2)=LLV(ZLGJ,7) AND COUNT(ZLGJ<0,2) AND CROSS(ZLGJ,MA(ZLGJ,2)),1,0);
STICKLINE(FILTER(买=1,5),36,30,2,0),COLORRED;
LC:=REF(CLOSE,1);
RSI1:SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100,COLORWHITE,DOTLINE;
吸:=CROSS(RSI1,11);
STICKLINE(CROSS(82,RSI1),75,55,2,0),COLORGREEN;
DRAWTEXT(CROSS(82,RSI1),70,'卖'),COLORGREEN;
STICKLINE(FILTER(RSI1<18,RSI1),45,40,2,-1),COLORWHITE;
STICKLINE(FILTER(RSI180,RSI1,DRAWNULL),COLORMAGENTA,LINETHICK2;
IF(RSI180,RSI1,DRAWNULL),COLORCYAN,LINETHICK2;
IF(RSI10 AND HD>LD,HD,0),7,1);
DMM:=SMA(IF(LD>0 AND LD>HD,LD,0),7,1);
DI正:=DMP*100/TR1,COLORRED;
DI负:=DMM*100/TR1,COLORGREEN;
ZZ:=SMA(ABS(DI负-DI正)/(DI负+DI正)*100,7,1),COLORFF00FF,LINETHICK2;
ZZB:=FILTER(ZZ=REF(ZZ,2)-1.3,5) AND REF(ZZ,1)>50,5);
加:ZZB AND REF(DI正
{选股公式二:红柱买}
CAIH1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
CAIH2:=SMA(ABS(LOW-CAIH1),13,1)/SMA(MAX(LOW-CAIH1,0),10,1);
CAIH21:=SMA(ABS(HIGH-CAIH1),13,1)/SMA(MIN(HIGH-CAIH1,0),10,1);
MTM:=C-REF(C,1);
ZLGJ:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
买:=IF(LLV(ZLGJ,2)=LLV(ZLGJ,7) AND COUNT(ZLGJ<0,2) AND CROSS(ZLGJ,MA(ZLGJ,2)),1,0);
红柱买:FILTER(买=1,5),COLORRED;