beyond202104 发表于 2023-8-28 15:26:45

短线买点攻击 波段大小顶底【指标公式】(含选股)

第一部分 副图公式 手机/电脑


CAIH2:=LLV(LOW,10);
CAIH3:=HHV(HIGH,25);
CAIH4:=EMA((CLOSE-CAIH2)/(CAIH3-CAIH2)*4,4);
趋势线:MA(CAIH4,2);
IF(趋势线>REF(趋势线,1),趋势线,DRAWNULL),COLORRED;
IF(趋势线
STICKLINE(趋势线>REF(趋势线,1) ,趋势线 ,REF(趋势线,1),1,0),COLORRED;
STICKLINE(趋势线13,MA(CAIHS,2),CAIHS)/6;
短买:IF(CROSS(短线买点,1) AND (短线买点<30),1,0),COLORYELLOW;
X:=MA(AMOUNT,5)/MA(V,5)/100;
CAIH13:=(X-MA(AMOUNT,125)/MA(V,125)/100)/X;
CAIH14:=MA((LLV(L,45)-C)/(HHV(H,45)-LLV(L,45))*100,3);
CAIH15:=C/MA(C,60)-1;
大底:IF(CROSS(-5,CAIH14) AND CAIH13<-0.4,-0.01,-1),COLORRED;
中底:IF(CROSS(-5,CAIH14) AND CAIH13-0.4,-0.3,-1);
小底:IF(CROSS(-5,CAIH14) AND CAIH13-0.25,-0.6,-1);
小顶:IF(CROSS(CAIH14,-95) AND CAIH15=0.1,0.6,1);
中顶:IF(CROSS(CAIH14,-95) AND CAIH15=0.2,0.3,1);
大顶:IF(CROSS(CAIH14,-95) AND CAIH15>=0.35,0,1),COLORGREEN;


第二部分 选股公式


{选股公式一:短买}
CAIHA:=REF(CLOSE,1);
CAIHB:=SMA(MAX(CLOSE-CAIHA,0),5,1)/SMA(ABS(CLOSE-CAIHA),5,1)*1000;
CAIHH:=CAIHB-LLV(CAIHB,10);
CAIHS:=(MA(CAIHH,2)*3+CAIHH*13)/16;
短线买点:=IF(CAIHS>13,MA(CAIHS,2),CAIHS)/6;
{短买:IF(CROSS(短线买点,1) AND (短线买点<30),1,0),COLORYELLOW;}
短买:CROSS(短线买点,1) AND (短线买点<30);

{选股公式二:小底}
X:=MA(AMOUNT,5)/MA(V,5)/100;
CAIH13:=(X-MA(AMOUNT,125)/MA(V,125)/100)/X;
CAIH14:=MA((LLV(L,45)-C)/(HHV(H,45)-LLV(L,45))*100,3);
CAIH15:=C/MA(C,60)-1;
{小底:IF(CROSS(-5,CAIH14) AND CAIH13-0.25,-0.6,-1);}
小底:CROSS(-5,CAIH14) AND CAIH13-0.25;
{选股公式三:中底}
X:=MA(AMOUNT,5)/MA(V,5)/100;
CAIH13:=(X-MA(AMOUNT,125)/MA(V,125)/100)/X;
CAIH14:=MA((LLV(L,45)-C)/(HHV(H,45)-LLV(L,45))*100,3);
CAIH15:=C/MA(C,60)-1;
{中底:IF(CROSS(-5,CAIH14) AND CAIH13-0.4,-0.3,-1);}
中底:CROSS(-5,CAIH14) AND CAIH13-0.4;

{选股公式四:大底}
X:=MA(AMOUNT,5)/MA(V,5)/100;
CAIH13:=(X-MA(AMOUNT,125)/MA(V,125)/100)/X;
CAIH14:=MA((LLV(L,45)-C)/(HHV(H,45)-LLV(L,45))*100,3);
CAIH15:=C/MA(C,60)-1;
{大底:IF(CROSS(-5,CAIH14) AND CAIH13<-0.4,-0.01,-1),COLORRED;}
大底:CROSS(-5,CAIH14) AND CAIH13<-0.4;


粥正浓拿 发表于 2023-9-4 23:53:02

顶贴光荣!

清脆紫蓝敢 发表于 2023-11-25 23:22:18

尝试一下
页: [1]
查看完整版本: 短线买点攻击 波段大小顶底【指标公式】(含选股)