欧欧 欧欧量化
2024年11月08日 08:01 广西
图片
一、成见评释:红线代表多头资金,绿线代表空头资金,双线多空博易,产生信号:行将高潮、趋势买点、龙昂首、上攻。合作趋势类主图把执行情节律。二、副图公式如下:
CTA1:=25;
CTA2:=13;
CTA3:=13;
CTA4:=CLOSE-REF(CLOSE,1);
CTA5:=EMA(EMA(CTA4,CTA1),CTA2);
CTA6:=EMA(EMA(ABS(CTA4),CTA1),CTA2);
CTA7:=VOL/REF(VOL,1)>=1.9 AND CLOSE/REF(CLOSE,1)>=1.58;
CTA8:=90;
CTA9:=VOL>=HHV(VOL,CTA8);
CTA10:=MA(VOL,5);
CTA11:=MA(VOL,35);
CTA12:=MA(VOL,135);
CTA13:=CROSS(CTA10,CTA11) AND VOL>CTA10 AND VOL>CTA12*2;
CTA14:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
多:100*(CTA5/CTA6),COLORRED;
空:EMA(多,CTA3),COLORGREEN;
0,POINTDOT,COLORWHITE;
CTA15:=CROSS(多,空);
CTA16:=CTA15 AND (CTA7 OR CTA9 OR CTA13 OR CTA14>=9.6);
CTA17:=IF(CLOSE/REF(CLOSE,1)>1.094 AND CLOSE=HIGH AND CLOSE=OPEN,HHV(VOL,20),VOL);
CTA18:=(-100)*(HHV(CTA17,60)-CTA17)/(HHV(CTA17,60)-LLV(CTA17,60));
CTA19:=100*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60));
CTA20:=CTA19<20 AND CTA18>(-20);
CTA21:=CTA20;
CTA22:=(HIGH+LOW+CLOSE)/3;
CTA23:=(CTA22-MA(CTA22,14))/(0.015*AVEDEV(CTA22,14));
CTA24:=(CTA22-MA(CTA22,70))/(0.015*AVEDEV(CTA22,70));
CTA25:=(CTA22-MA(CTA22,308))/(0.015*AVEDEV(CTA22,308));
CTA26:=IF(CTA25<IF(CTA23>CTA24,CTA24,CTA23),CTA25,IF(CTA23>CTA24,CTA24,CTA23));
CTA27:=CTA26>100;
CTA28:=CTA27;
CTA29:=100*(HHV(HIGH,5)-CLOSE)/(HHV(HIGH,5)-LLV(LOW,5));
CTA30:=(-100)*(HHV(CTA17,5)-CTA17)/(HHV(CTA17,5)-LLV(CTA17,5));
CTA31:=CTA30>(-20) AND CTA29<20 AND CTA23>100;
CTA32:=CTA31 AND COUNT(CTA31,10)=1;
CTA33:=CTA32;
CTA34:=EXIST(CTA33=1,5);
CTA35:=CTA9;
CTA36:=EXIST(CTA35=1,5);
CTA37:=CTA13;
CTA38:=EXIST(CTA37=1,5);
CTA39:=CTA21 AND CTA28;
CTA40:=CTA21 AND CTA28 AND CTA33;
CTA41:=CTA21 AND CTA34 AND (CTA36 OR CTA38);
CTA42:=CTA28 AND CTA34 AND (CTA36 OR CTA38);
CTA43:=CTA39 OR CTA40 OR CTA41 OR CTA42;
CTA44:=IF(CTA43 AND REF(CTA43,1)=0,1,0);
CTA45:=EVERY(CLOSE>=ZTPRICE(REF(CLOSE,1),0.1),BARSCOUNT(CLOSE)) AND CLOSE=LOW OR ZSTJJ AND CLOSE=HIGH;
CTA46:=NOT(DYNAINFO(4)=0);
CTA47:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
CTA48:=CTA47>9.8 AND HIGH=CLOSE;
CTA49:=COUNT(CTA48,3)>=2 AND CTA46 AND NOT(CTA45) AND COUNT(CTA45,3)<1;
CTA50:=COUNT(CTA15,30)>=1 AND (CTA44 OR CTA49);
CTA51:=CTA16 OR CTA50 AND CTA14>=5.8;
CTA52:=IF(CTA51 AND REF(CTA51,1)=0,1,0);
CTA53:=100*(CLOSE-LLV(LOW,5))/(HHV(CLOSE,5)-LLV(LOW,5));
CTA54:=100*(CLOSE-LLV(LOW,10))/(HHV(CLOSE,10)-LLV(LOW,10));
CTA55:=100*(CLOSE-LLV(LOW,20))/(HHV(CLOSE,20)-LLV(LOW,20));
CTA56:=100*(CLOSE-LLV(LOW,30))/(HHV(CLOSE,30)-LLV(LOW,30));
DRAWTEXT_FIX(C>O,0.01,0.9,0,'微信公众号:欧欧量化'),COLOR0000FF;
CTA57:=MA(CLOSE,26);
CTA58:=CTA57+2*STD(CLOSE,26);
CTA59:=CTA53=100 AND REF(CTA53,1)=100 AND REF(CTA53,2)=100 AND CTA56>35 AND CTA56>REF(CTA56,1)+5 AND REF(CTA56,1)>REF(CTA56,2);
CTA60:=CTA53=100 AND REF(CTA53,1)=100 AND CTA56=100 AND REF(CTA56,1)>50 AND REF(CTA56,1)<80 AND CTA56>REF(CTA56,1)+3;
CTA61:=REF(CTA54,1)>=REF(CTA53,1);
CTA62:=50;
CTA63:=CTA61 AND REF(CTA53,1)>=REF(CTA55,1) AND REF(CTA55,1)>=REF(CTA56,1) AND REF(CTA53,2)>=REF(CTA54,2) AND REF(CTA54,2)> REF(CTA55,2) AND REF(CTA55,2)>REF(CTA56,2) AND REF(CTA54,3)>REF(CTA55,3) AND REF(CTA55,3)>REF(CTA56,3);
CTA64:=CTA56>CTA62;
CTA65:=CLOSE<CTA58;
CTA66:=CTA59 OR CTA60 AND CTA63 AND CTA64 AND CTA65;
CTA67:=CLOSE;
CTA68:=88;
CTA69:=91;
CTA70:=HIGH;
CTA71:=IF(CTA67>REF(CTA67,1),CTA68,0);
CTA72:=IF(CTA67/REF(CTA67,1)>1.05 AND CTA70/CTA67<1.01 AND CTA71>0,CTA69,0);
CTA73:=FILTER(CTA72>90,45)=1;
CTA74:=MAX(CLOSE,OPEN);
CTA75:=HHV(CTA74,30);
CTA76:=CLOSE>REF(CTA75,1);
CTA77:=HHV(VOL,60);
CTA78:=VOL>REF(CTA77,1);
CTA79:=CTA76 AND CTA78;
CTA80:=IF(CTA79 AND REF(CTA79,1)=0,1,0);
CTA81:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,VOL);
CTA82:=MA(CTA81,5);
CTA83:=MA(CTA81,60);
CTA84:=CROSS(CTA82,CTA83);
CTA85:=MA(VOL,5);
CTA86:=MA(VOL,35);
CTA87:=MA(VOL,135);
CTA88:=CROSS(CTA85,CTA86) AND VOL>CTA85 AND VOL>CTA87*2;
CTA95:=FILTER(CTA88,20);
CTA96:=VOL>=HHV(VOL,90);
STICKLINE((CTA52 AND CTA84) OR (CTA52 AND CTA95) OR (CTA52 AND CTA96),空,空+15,1,0),COLORRED,LINETHICK2;
DRAWTEXT((CTA52 AND CTA84) OR (CTA52 AND CTA95) OR (CTA52 AND CTA96),空+10,'趋势买点'),COLORYELLOW;
STICKLINE(FILTER((CTA66 AND CTA84) OR (CTA66 AND CTA95) OR (CTA66 AND CTA96),12),多+15,多,1,0),COLORRED,LINETHICK3;
DRAWTEXT(FILTER((CTA66 AND CTA84) OR (CTA66 AND CTA95) OR (CTA66 AND CTA96),12),多+18,'行将大涨'),COLORYELLOW;
STICKLINE((CTA73 AND CTA84) OR (CTA73 AND CTA95) OR (CTA73 AND CTA96),多+15,多,1,0),COLORRED,LINETHICK3;
DRAWTEXT((CTA73 AND CTA84) OR (CTA73 AND CTA95) OR (CTA73 AND CTA96),多+18,'龙昂首'),COLORYELLOW;
STICKLINE((CTA80 AND CTA84) OR (CTA80 AND CTA95) OR (CTA80 AND CTA96),多+15,多,1,0),COLORRED,LINETHICK3;
DRAWTEXT((CTA80 AND CTA84) OR (CTA80 AND CTA95) OR (CTA80 AND CTA96),多+18,'上攻'),COLORYELLOW;
三、趋势买点选股:
CTA1:=25;
CTA2:=13;CTA3:=13;CTA4:=CLOSE-REF(CLOSE,1);CTA5:=EMA(EMA(CTA4,CTA1),CTA2);CTA6:=EMA(EMA(ABS(CTA4),CTA1),CTA2);CTA7:=VOL/REF(VOL,1)>=1.9 AND CLOSE/REF(CLOSE,1)>=1.58;CTA8:=90;CTA9:=VOL>=HHV(VOL,CTA8);CTA10:=MA(VOL,5);CTA11:=MA(VOL,35);CTA12:=MA(VOL,135);CTA13:=CROSS(CTA10,CTA11) AND VOL>CTA10 AND VOL>CTA12*2;CTA14:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;多:=100*(CTA5/CTA6),COLORRED;空:=EMA(多,CTA3),COLORGREEN;CTA15:=CROSS(多,空);CTA16:=CTA15 AND (CTA7 OR CTA9 OR CTA13 OR CTA14>=9.6);CTA17:=IF(CLOSE/REF(CLOSE,1)>1.094 AND CLOSE=HIGH AND CLOSE=OPEN,HHV(VOL,20),VOL);CTA18:=(-100)*(HHV(CTA17,60)-CTA17)/(HHV(CTA17,60)-LLV(CTA17,60));CTA19:=100*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60));CTA20:=CTA19<20 AND CTA18>(-20);CTA21:=CTA20;CTA22:=(HIGH+LOW+CLOSE)/3;CTA23:=(CTA22-MA(CTA22,14))/(0.015*AVEDEV(CTA22,14));CTA24:=(CTA22-MA(CTA22,70))/(0.015*AVEDEV(CTA22,70));CTA25:=(CTA22-MA(CTA22,308))/(0.015*AVEDEV(CTA22,308));CTA26:=IF(CTA25<IF(CTA23>CTA24,CTA24,CTA23),CTA25,IF(CTA23>CTA24,CTA24,CTA23));CTA27:=CTA26>100;CTA28:=CTA27;CTA29:=100*(HHV(HIGH,5)-CLOSE)/(HHV(HIGH,5)-LLV(LOW,5));CTA30:=(-100)*(HHV(CTA17,5)-CTA17)/(HHV(CTA17,5)-LLV(CTA17,5));CTA31:=CTA30>(-20) AND CTA29<20 AND CTA23>100;CTA32:=CTA31 AND COUNT(CTA31,10)=1;CTA33:=CTA32;CTA34:=EXIST(CTA33=1,5);CTA35:=CTA9;CTA36:=EXIST(CTA35=1,5);CTA37:=CTA13;CTA38:=EXIST(CTA37=1,5);CTA39:=CTA21 AND CTA28;CTA40:=CTA21 AND CTA28 AND CTA33;CTA41:=CTA21 AND CTA34 AND (CTA36 OR CTA38);CTA42:=CTA28 AND CTA34 AND (CTA36 OR CTA38);CTA43:=CTA39 OR CTA40 OR CTA41 OR CTA42;CTA44:=IF(CTA43 AND REF(CTA43,1)=0,1,0);CTA45:=EVERY(CLOSE>=ZTPRICE(REF(CLOSE,1),0.1),BARSCOUNT(CLOSE)) AND CLOSE=LOW OR ZSTJJ AND CLOSE=HIGH;CTA46:=NOT(DYNAINFO(4)=0);CTA47:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;CTA48:=CTA47>9.8 AND HIGH=CLOSE;CTA49:=COUNT(CTA48,3)>=2 AND CTA46 AND NOT(CTA45) AND COUNT(CTA45,3)<1;CTA50:=COUNT(CTA15,30)>=1 AND (CTA44 OR CTA49);CTA51:=CTA16 OR CTA50 AND CTA14>=5.8;CTA52:=IF(CTA51 AND REF(CTA51,1)=0,1,0);CTA81:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,VOL);CTA82:=MA(CTA81,5);CTA83:=MA(CTA81,60);CTA84:=CROSS(CTA82,CTA83);CTA85:=MA(VOL,5);CTA86:=MA(VOL,35);CTA87:=MA(VOL,135);CTA88:=CROSS(CTA85,CTA86) AND VOL>CTA85 AND VOL>CTA87*2;CTA95:=FILTER(CTA88,20);CTA96:=VOL>=HHV(VOL,90);XG:(CTA52 AND CTA84) OR (CTA52 AND CTA95) OR (CTA52 AND CTA96);风险指示:本成见公式仅手脚学问共享,模拟测试不组成任何投资提议,不作投资依据。
图片
END图片
本站仅提供存储作事,通盘实际均由用户发布,如发现存害或侵权实际,请点击举报。