章萌主 发表于 2023-9-1 11:11:30

2023幸运福气牛股 强势出击买点《通达信+指标+公式+副图+源码》


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



CAP1:=(CLOSE+HIGH+LOW)/3;
CAP2:=EMA(CAP1,10);
CAP3:=REF(CAP2,1);
CAP4:=CROSS(CAP2,CAP3);
CAP5:=SMA(HIGH,21,2)*1.05;
CAP6:=SMA(LOW,21,2)*0.969;
CAP7:=MA(CLOSE,118);
CAP8:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
CAP9:=SMA(CAP8,3,1);
CAP10:=SMA(CAP9,3,1);
CAP11:=3*CAP9-2*CAP10;
CAP12:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
CAP13:=SMA(CAP12,3,1);
CAP14:=SMA(CAP13,3,1);
CAP15:=3*CAP13-2*CAP14;
CAP16:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
CAP17:=SMA(CAP16,3,1);
CAP18:=SMA(CAP17,3,1);
CAP19:=3*CAP17-2*CAP18;
CAP20:=AMOUNT/VOL/100;
CAP21:=CAP20>HIGH OR CAP20<LOW;
CAP22:=MA(CLOSE,8);
CAP23:=MA(CLOSE,21);
CAP24:=MA(CLOSE,8);
CAP25:=MA(CLOSE,12);
CAP26:=ATAN(CAP24-REF(CAP24,1))*3.1416*10;
CAP27:=ATAN(CAP25-REF(CAP25,1))*3.1416*10;
CAP28:=MA(CLOSE,13);
CAP29:=FILTER(CLOSE/OPEN>1.04 AND CLOSE-REF(CLOSE,1)>0 AND CLOSE>CAP6 AND CAP24-REF(CAP24,1)>0 AND CLOSE<CAP5,3);
CAP30:=CLOSE>REF(CLOSE,1) AND REF(OPEN>=CLOSE,1);
CAP31:=21;
CAP32:=5;
CAP33:=SUM(IF(CLOSE>REF(CLOSE,1),VOL,0),CAP31);
CAP34:=SUM(IF(CLOSE<REF(CLOSE,1),VOL,0),CAP31);
CAP35:=SUM(IF(CLOSE=REF(CLOSE,1),VOL,0),CAP31);
CAP36:=100*(CAP33*2+CAP35)/(CAP34*2+CAP35);
CAP37:=MA(CAP36,CAP32);
CAP38:=CROSS(CAP36,CAP37);
CAP39:=CAP37<100;
CAP40:=CAP37<150 AND CAP37>REF(CAP37,1);
CAP41:=CAP38 AND CAP39;
CAP42:=CAP38 AND CAP40;
CAP43:=FILTER(CAP41,5);
CAP44:=FILTER(CAP42,8);
CAP45:=OPEN>REF(CLOSE,1) AND CLOSE>REF(CLOSE,1);
CAP46:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
CAP47:=SMA(CAP46,2,1);
CAP48:=CROSS(CAP47,20) AND REF(CLOSE<OPEN,1) AND CAP45;
CAP49:=IF(CAP48,2,0);
CAP50:=5;
CAP51:=4*SMA((CLOSE-LLV(LOW,CAP50))/(HHV(HIGH,CAP50)-LLV(LOW,CAP50))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,CAP50))/(HHV(HIGH,CAP50)-LLV(LOW,CAP50))*100,5,1),3.2,1);
CAP52:=8;
CAP53:=CROSS(CAP51,CAP52);
幸运牛:CAP4 AND CAP29 AND CAP49 AND CAP53,LINETHICK1,COLORYELLOW;
STICKLINE(幸运牛=CAP4 AND CAP29 AND CAP49 AND CAP53,0,100,5,0),COLORYELLOW;
DRAWTEXT(幸运牛=CAP4 AND CAP29 AND CAP49 AND CAP53,50,'幸运牛'),COLORRED;

选股公式源码



{选股公式}
CAP1:=(CLOSE+HIGH+LOW)/3;
CAP2:=EMA(CAP1,10);
CAP3:=REF(CAP2,1);
CAP4:=CROSS(CAP2,CAP3);
CAP5:=SMA(HIGH,21,2)*1.05;
CAP6:=SMA(LOW,21,2)*0.969;
CAP7:=MA(CLOSE,118);
CAP8:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
CAP9:=SMA(CAP8,3,1);
CAP10:=SMA(CAP9,3,1);
CAP11:=3*CAP9-2*CAP10;
CAP12:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
CAP13:=SMA(CAP12,3,1);
CAP14:=SMA(CAP13,3,1);
CAP15:=3*CAP13-2*CAP14;
CAP16:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
CAP17:=SMA(CAP16,3,1);
CAP18:=SMA(CAP17,3,1);
CAP19:=3*CAP17-2*CAP18;
CAP20:=AMOUNT/VOL/100;
CAP21:=CAP20>HIGH OR CAP20<LOW;
CAP22:=MA(CLOSE,8);
CAP23:=MA(CLOSE,21);
CAP24:=MA(CLOSE,8);
CAP25:=MA(CLOSE,12);
CAP26:=ATAN(CAP24-REF(CAP24,1))*3.1416*10;
CAP27:=ATAN(CAP25-REF(CAP25,1))*3.1416*10;
CAP28:=MA(CLOSE,13);
CAP29:=FILTER(CLOSE/OPEN>1.04 AND CLOSE-REF(CLOSE,1)>0 AND CLOSE>CAP6 AND CAP24-REF(CAP24,1)>0 AND CLOSE<CAP5,3);
CAP30:=CLOSE>REF(CLOSE,1) AND REF(OPEN>=CLOSE,1);
CAP31:=21;
CAP32:=5;
CAP33:=SUM(IF(CLOSE>REF(CLOSE,1),VOL,0),CAP31);
CAP34:=SUM(IF(CLOSE<REF(CLOSE,1),VOL,0),CAP31);
CAP35:=SUM(IF(CLOSE=REF(CLOSE,1),VOL,0),CAP31);
CAP36:=100*(CAP33*2+CAP35)/(CAP34*2+CAP35);
CAP37:=MA(CAP36,CAP32);
CAP38:=CROSS(CAP36,CAP37);
CAP39:=CAP37<100;
CAP40:=CAP37<150 AND CAP37>REF(CAP37,1);
CAP41:=CAP38 AND CAP39;
CAP42:=CAP38 AND CAP40;
CAP43:=FILTER(CAP41,5);
CAP44:=FILTER(CAP42,8);
CAP45:=OPEN>REF(CLOSE,1) AND CLOSE>REF(CLOSE,1);
CAP46:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
CAP47:=SMA(CAP46,2,1);
CAP48:=CROSS(CAP47,20) AND REF(CLOSE<OPEN,1) AND CAP45;
CAP49:=IF(CAP48,2,0);
CAP50:=5;
CAP51:=4*SMA((CLOSE-LLV(LOW,CAP50))/(HHV(HIGH,CAP50)-LLV(LOW,CAP50))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,CAP50))/(HHV(HIGH,CAP50)-LLV(LOW,CAP50))*100,5,1),3.2,1);
CAP52:=8;
CAP53:=CROSS(CAP51,CAP52);
幸运牛:CAP4 AND CAP29 AND CAP49 AND CAP53,LINETHICK1,COLORYELLOW;

浓茶人生 发表于 2023-10-19 22:19:47

感谢楼主分享好资源

xdfu76136 发表于 2024-1-21 09:27:37

感谢!

123458268 发表于 2024-2-24 19:29:04

爱分享,爱生活
页: [1]
查看完整版本: 2023幸运福气牛股 强势出击买点《通达信+指标+公式+副图+源码》