去评论
彩虹桥投资充电站

2023短线买出击点 大中小三顶底《通达信+指标+公式+副图+源码》分享

刘冠华
2023/05/05 23:25:55

副图公式源码支持 手机/电脑



CHP2A:=LLV(LOW,10);

CHP3A:=HHV(HIGH,25);

CHP4A:=EMA((CLOSE-CHP2A)/(CHP3A-CHP2A)*4,4);

趋势线:MA(CHP4A,2);

IF(趋势线>REF(趋势线,1),趋势线,DRAWNULL),COLORRED;

IF(趋势线

STICKLINE(趋势线>REF(趋势线,1),趋势线,REF(趋势线,1),1,0),COLORRED;

STICKLINE(趋势线<=REF(趋势线,1),趋势线,REF(趋势线,1),1,0),COLOR00FF00;

CHA:=REF(CLOSE,1);

CHB:=SMA(MAX(CLOSE-CHA,0),5,1)/SMA(ABS(CLOSE-CHA),5,1)*1000;

CHH:=CHB-LLV(CHB,10);

CHS:=(MA(CHH,2)*3+CHH*13)/16;

买点:=IF(CHS>13,MA(CHS,2),CHS)/6;

出击:IF(CROSS(买点,1) AND (买点<30),1,0);

X:=MA(AMOUNT,5)/MA(V,5)/100;

CHP13A:=(X-MA(AMOUNT,125)/MA(V,125)/100)/X;

CHP14A:=MA((LLV(L,45)-C)/(HHV(H,45)-LLV(L,45))*100,3);

CHP15A:=C/MA(C,60)-1;

大底:IF(CROSS(-5,CHP14A) AND CHP13A<-0.4,-0.01,-1);

中底:IF(CROSS(-5,CHP14A) AND CHP13A<-0.25 AND CHP13A>-0.4,-0.3,-1);

小底:IF(CROSS(-5,CHP14A) AND CHP13A<-0.15 AND CHP13A>-0.25,-0.6,-1);

小顶:IF(CROSS(CHP14A,-95) AND CHP15A<0.2 AND CHP15A>=0.1,0.6,1);

中顶:IF(CROSS(CHP14A,-95) AND CHP15A<0.35 AND CHP15A>=0.2,0.3,1),COLORYELLOW;

大顶:IF(CROSS(CHP14A,-95) AND CHP15A>=0.35,0,1),COLORRED;



选股公式源码



{选股公式一:出击}

CHA:=REF(CLOSE,1);

CHB:=SMA(MAX(CLOSE-CHA,0),5,1)/SMA(ABS(CLOSE-CHA),5,1)*1000;

CHH:=CHB-LLV(CHB,10);

CHS:=(MA(CHH,2)*3+CHH*13)/16;

买点:=IF(CHS>13,MA(CHS,2),CHS)/6;

出击:IF(CROSS(买点,1) AND (买点<30),1,0);



{选股公式二:大底}

X:=MA(AMOUNT,5)/MA(V,5)/100;

CHP13A:=(X-MA(AMOUNT,125)/MA(V,125)/100)/X;

CHP14A:=MA((LLV(L,45)-C)/(HHV(H,45)-LLV(L,45))*100,3);

CHP15A:=C/MA(C,60)-1;

大底:CROSS(-5,CHP14A) AND CHP13A<-0.4;

{选股公式三:中底}

X:=MA(AMOUNT,5)/MA(V,5)/100;

CHP13A:=(X-MA(AMOUNT,125)/MA(V,125)/100)/X;

CHP14A:=MA((LLV(L,45)-C)/(HHV(H,45)-LLV(L,45))*100,3);

CHP15A:=C/MA(C,60)-1;

中底:CROSS(-5,CHP14A) AND CHP13A<-0.25 AND CHP13A>-0.4;



{选股公式四:小底}

X:=MA(AMOUNT,5)/MA(V,5)/100;

CHP13A:=(X-MA(AMOUNT,125)/MA(V,125)/100)/X;

CHP14A:=MA((LLV(L,45)-C)/(HHV(H,45)-LLV(L,45))*100,3);

CHP15A:=C/MA(C,60)-1;

小底:CROSS(-5,CHP14A) AND CHP13A<-0.15 AND CHP13A>-0.25;