欧欧 欧欧量化 2024年11月14日 08:00 广西 DRAWTEXT_FIX(1,0.005,0,0,'所属风格:'),COLORYELLOW; DRAWTEXT_FIX(1,0.06,0,0,FGBLOCK),COLORYELLOW; DRAWTEXT_FIX(1,0.005,0.05,0,'所属概念:'),COLORMAGENTA; DRAWTEXT_FIX(1,0.06,0.05,0,GNBLOCK),COLORYELLOW; DRAWTEXT_FIX(C>O,0.01,0.9,0,'微信公众号:欧欧量化'),COLOR0000FF; CTA1:EMA(C,10),COLOR61DC16 DOTLINE; CTA2:EMA(CTA1,3),COLOR61DC16 DOTLINE; CTA3:EMA(CTA2,3),COLOR61DC16 DOTLINE; CTA4:EMA(CTA3,3),COLOR61DC16 DOTLINE; CTA5:EMA(CTA4,3),COLOR61DC16 DOTLINE; CTAS1:EMA(C,45),COLORD1875A DOTLINE; CTAS2:EMA(CTAS1,3),COLORD1875A DOTLINE; CTAS3:EMA(CTAS2,3),COLORD1875A DOTLINE; CTAS4:EMA(CTAS3,3),COLORD1875A DOTLINE; CTAS5:EMA(CTAS4,3),COLORD1875A DOTLINE; IF(CTA1>REF(CTA1,1),CTA1,DRAWNULL),COLORMAGENTA LINETHICK2; IF(CTA2>REF(CTA2,1),CTA2,DRAWNULL),COLORMAGENTA; IF(CTA3>REF(CTA3,1),CTA3,DRAWNULL),COLORMAGENTA; IF(CTA4>REF(CTA4,1),CTA4,DRAWNULL),COLORMAGENTA; IF(CTA5>REF(CTA5,1),CTA5,DRAWNULL),COLORMAGENTA; IF(CTAS1>REF(CTAS1,1),CTAS1,DRAWNULL),COLORRED LINETHICK2; IF(CTAS2>REF(CTAS2,1),CTAS2,DRAWNULL),COLORRED; IF(CTAS3>REF(CTAS3,1),CTAS3,DRAWNULL),COLORRED; IF(CTAS4>REF(CTAS4,1),CTAS4,DRAWNULL),COLORRED; IF(CTAS5>REF(CTAS5,1),CTAS5,DRAWNULL),COLORRED; STICKLINE(CLOSE>REF(CLOSE,1)*1.0985 AND CLOSE=HIGH,CLOSE,OPEN,3.5,-1),COLOR00FFFF; STICKLINE(CLOSE<REF(CLOSE,1)*0.9015 AND CLOSE=LOW,CLOSE,OPEN,3.5,-1),COLORGREEN; ACB1:=REF(MA(C,20),10); 开:=O-ACB1; 高:=H-ACB1; 低:=L-ACB1; 收:=C-ACB1; MID:=MA(C,20); UPPER:=MID+2*STD(C,20); LOWER:=MID-2*STD(C,20); V1:=(C-LOWER)/(UPPER-LOWER)*100; V2:=V1-EMA(V1,5); K1:=SUM(LLV(V2,4),4)/4; V3:=EMA(V2,64)*10; V4:=EMA(0.4*V2*(-1),3); V5:=-1*EMA(V2,39)*10; A:=V3>10; B:=V2>V4; D:=V5>10; E:=V3<=10 OR V2<=V4 OR V5<=10; AAA1:=C>MA(C,5); CTAF:=3*SMA((C-LLV(L,13))/(HHV(H,13)-LLV(L,13))*100,5,1)-2*SMA(SMA((C-LLV(L,13))/(HHV(H,13)-LLV(L,13))*100,5,1),3,1); CTAG:=(HHV(HIGH,25)-LLV(LOW,25))/EMA((CLOSE-LLV(LOW,25)),5); 趋势:=IF(CTAF-CTAG,CTAF,CTAF),COLORBB11AA,LINETHICK0; 底部:=IF(CTAG-CTAF,CTAG,CTAF),COLORGRAY; 多多:=BARSLASTCOUNT(开<=收AND B)=1 AND AAA1 AND(趋势>REF(趋势,1)); {DRAWICON(多多,L*1.002,9);} CTC:=(CLOSE-LLV(LOW,32))/(HHV(HIGH,32)-LLV(LOW,32))*1.2*CLOSE; CTC1:=EMA(CTC,3); CTC2:=EMA(CTC,5); CTC3:=EMA(CTC,7); T1:=CTC2>=CTC3 AND CTC1<REF(CTC1,1); T2:=CTC2<CTC3 AND CTC1>REF(CTC1,1); STICKLINE(T1,C,O,1.25,0),COLORFF7700;STICKLINE(T1,C,O,1.25,0),COLORFF7700; STICKLINE(T2,C,O,1.25,0),COLORRED; STICKLINE(T2,C,O,1.25,0),COLORRED; N:=10; 大涨:=CLOSE/REF(CLOSE,1)>=1.08 OR((H-L)/REF(C,1)>0.1 AND C=H); STICKLINE(大涨,C,O,2.75,0),COLOR007FFF; DA:=(EMA(C,1)+EMA(C,2)+EMA(C,3)+EMA(C,4))/4; DBB:=(EMA(C,10)+EMA(C,20)+EMA(C,40)+EMA(C,80))/4; DRAWTEXT(CROSS(DA-DBB,0),L*0.995,'★B'),COLORYELLOW; JH:=SMA(MAX(C-REF(C,1),0),5,1)/SMA(ABS(C-REF(C,1)),5,1)*100; 操作线:MA(C,5)*IF(CONST(MA(C,5)),1,DRAWNULL)COLORYELLOW LINETHICK2; NN:=8; AA:=REF(H,NN)=HHV(H,2*NN+1); AA1:=REF(L,NN)=LLV(L,2*NN+1); QY:=(AA,NN+1);QY1:=(AA1,NN+1); CC:=FILTER(QY,NN)AND H=HHV(H,NN+1); CC1:=FILTER(QY1,NN)AND L=LLV(L,NN+1); DRAWICON(CC,H,2); 三、B买入选股: 风险提示:本指标公式仅作为知识分享,模拟测试不构成任何投资建议,不作投资依据。 |
|
来自: vfswjjx9wz3kz7 > 《欧欧量化》