强势共振抓牛 地量满仓进场【指标公式】(含选股)
第一部分 副图公式 手机/电脑CAIH0:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
CAIH1:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;
CAIH2:=SMA(CAIH0,3,1);
CAIH3:=SMA(CAIH2,3,1);
CAIH4:=EMA(SMA(CAIH1,3,1),2);
CAIH5:=SMA(CAIH4,3,1);
DRAWTEXT(CROSS(CAIH2,CAIH3) AND CROSS(CAIH4,CAIH5),9,'共振'),COLORYELLOW;
CAIH6:=EMA(CLOSE,12) - EMA(CLOSE,26);
CAIH7:=EMA(CAIH6,9);
CAIH8:=2*(CAIH6-CAIH7);
CAIH9:=IF(CROSS(0,CAIH7),1,0);
CAIH10:=IF(CAIH6=REF(CAIH24,1);
CAIH28:=MAX(MAX(CAIH24,CAIH25),CAIH26);CAIH29:=MIN(MIN(CAIH24,CAIH25),CAIH26);
CAIH30:= CAIH28REF(CAIH23,1);
满仓选股:IF(CAIH30,38,0),COLORMAGENTA,LINETHICK3;
IF(CAIH30,30,0),COLORBLACK,LINETHICK3;
DRAWTEXT(CAIH30,42,'↙满仓'),COLORYELLOW;
CAIH31:=0.0001*AMOUNT;
CAIH32:=0.0001*MA(AMOUNT,5);
CAIH33:=0.0001*MA(AMOUNT,10);
百日地量:LLV(CAIH31,100)=CAIH31,STICK,COLORCC66FF;
DRAWTEXT(百日地量,-8,'↖地量'),COLORCC66FF;
CAIH34:=MA(C,5);
CAIH35:=(C-CAIH34)/CAIH34*100;
CAIH36:=ATAN((CAIH34/REF(CAIH34,1)-1)*100)*180/3.1416;
CAIH37:=SMA(EMA((CAIH34-REF(CAIH34,1))/REF(CAIH34,1),3)*100,3,1);
CAIH38:=EMA((CAIH37-REF(CAIH37,1)),3);
CAIH39:=MA(C,10);
CAIH40:=ATAN((CAIH39/REF(CAIH39,1)-1)*100)*180/3.1416;
CAIH41:=MA(C,30);CAIH42:=MA(C,20);
CAIH43:=(C-CAIH41)/CAIH41*100;
(CAIH42-CAIH41)>REF((CAIH42-CAIH41),1) AND CAIH42>REF(CAIH42,1) AND CAIH41>REF(CAIH41,1);
(CAIH41-CAIH42)
CAIH44:=ATAN((CAIH41/REF(CAIH41,1)-1)*100)*180/3.1416;
强势选股:FILTER(CAIH44>30 AND CAIH40>45 AND CROSS(CAIH36,60),10);
加仓:FILTER(COUNT(CROSS(CAIH36,30),5)>=1 AND CAIH34>REF(CAIH34,1) AND CAIH43>REF(CAIH43,1) AND CAIH39>REF(CAIH39,1) AND CAIH38>REF(CAIH38,1) AND CAIH37>REF(CAIH37,1) ,10) ;
CAIH45:=COUNT(CROSS(CAIH35,0),3)>=1 AND CAIH43>REF(CAIH43,1) AND CAIH34>REF(CAIH34,1) AND (C/REF(C,1)-1)*100>5 AND REF(C,1)
CAIH46:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-CAIH46,0),6,1)/SMA(ABS(CLOSE-CAIH46),6,1)*100;
逃顶:CROSS(80,RSI)*50,LINETHICK3 ,COLORGREEN;
CROSS(80,RSI)*40,LINETHICK3 ,COLORBLACK;
DRAWTEXT(CROSS(80,RSI),52,' ↙顶 '),COLORGREEN;
CAIH47:=(2*CLOSE+HIGH+LOW)/4;
CAIH48:=LLV(LOW,34);
CAIH49:=HHV(HIGH,34);
Y:EMA((CAIH47-CAIH48)/(CAIH49-CAIH48)*100,13),COLORRED;
D:EMA(0.667*REF(Y,1)+0.333*Y,2),COLORYELLOW;
CAIH50:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
CAIH51:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
CAIH52:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
CAIH53:=(CAIH50+2*CAIH51+3*CAIH52)/6;
CAIH54:=MA(CAIH53,3);
CAIH55:=LLV(LOW,36);
CAIH56:=HHV(HIGH,30);
CAIH57:=EMA((CLOSE-CAIH55)/(CAIH56-CAIH55)*4,4)*25;
底背离:IF(CAIH5490),110,100), COLORGREEN,LINETHICK3;
IF(CAIH5490),106,100), COLORBLACK,LINETHICK3;
100,COLORFFFF00, LINETHICK1;
DRAWTEXT(加仓=1,Y*1.05,' 加仓'),COLORRED;
第二部分 选股公式
{选股公式一:共振}
CAIH0:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
CAIH1:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;
CAIH2:=SMA(CAIH0,3,1);
CAIH3:=SMA(CAIH2,3,1);
CAIH4:=EMA(SMA(CAIH1,3,1),2);
CAIH5:=SMA(CAIH4,3,1);
共振:CROSS(CAIH2,CAIH3) AND CROSS(CAIH4,CAIH5);
{选股公式二:W底}
CAIH6:=EMA(CLOSE,12) - EMA(CLOSE,26);
CAIH7:=EMA(CAIH6,9);
CAIH8:=2*(CAIH6-CAIH7);
CAIH9:=IF(CROSS(0,CAIH7),1,0);
CAIH10:=IF(CAIH6=REF(CAIH24,1);
CAIH28:=MAX(MAX(CAIH24,CAIH25),CAIH26);CAIH29:=MIN(MIN(CAIH24,CAIH25),CAIH26);
CAIH30:= CAIH28REF(CAIH23,1);
满仓:CAIH30;
{选股公式四:地量}
CAIH31:=0.0001*AMOUNT;
CAIH32:=0.0001*MA(AMOUNT,5);
CAIH33:=0.0001*MA(AMOUNT,10);
百日地量:=LLV(CAIH31,100)=CAIH31,COLORCC66FF;
地量:百日地量;
{选股公式五:强势}
CAIH34:=MA(C,5);
CAIH35:=(C-CAIH34)/CAIH34*100;
CAIH36:=ATAN((CAIH34/REF(CAIH34,1)-1)*100)*180/3.1416;
CAIH37:=SMA(EMA((CAIH34-REF(CAIH34,1))/REF(CAIH34,1),3)*100,3,1);
CAIH38:=EMA((CAIH37-REF(CAIH37,1)),3);
CAIH39:=MA(C,10);
CAIH40:=ATAN((CAIH39/REF(CAIH39,1)-1)*100)*180/3.1416;
CAIH41:=MA(C,30);CAIH42:=MA(C,20);
CAIH43:=(C-CAIH41)/CAIH41*100;
CAIH44:=ATAN((CAIH41/REF(CAIH41,1)-1)*100)*180/3.1416;
强势:FILTER(CAIH44>30 AND CAIH40>45 AND CROSS(CAIH36,60),10);
{选股公式六:加仓}
CAIH34:=MA(C,5);
CAIH35:=(C-CAIH34)/CAIH34*100;
CAIH36:=ATAN((CAIH34/REF(CAIH34,1)-1)*100)*180/3.1416;
CAIH37:=SMA(EMA((CAIH34-REF(CAIH34,1))/REF(CAIH34,1),3)*100,3,1);
CAIH38:=EMA((CAIH37-REF(CAIH37,1)),3);
CAIH39:=MA(C,10);
CAIH40:=ATAN((CAIH39/REF(CAIH39,1)-1)*100)*180/3.1416;
CAIH41:=MA(C,30);CAIH42:=MA(C,20);
CAIH43:=(C-CAIH41)/CAIH41*100;
CAIH44:=ATAN((CAIH41/REF(CAIH41,1)-1)*100)*180/3.1416;
加仓:FILTER(COUNT(CROSS(CAIH36,30),5)>=1 AND CAIH34>REF(CAIH34,1) AND CAIH43>REF(CAIH43,1) AND CAIH39>REF(CAIH39,1) AND CAIH38>REF(CAIH38,1) AND CAIH37>REF(CAIH37,1) ,10) ;
帮你顶下哈!! 找了很久了,多谢! 支持一下:lol 群众力量就是大,分享万岁! 我抢、我抢、我抢沙发~
页:
[1]