欧欧 欧欧量化 2024年12月23日 08:02 广西 CTA1:=(2*CLOSE+HIGH+LOW)/4;CTA4:=EMA((CTA1-CTA2)/(CTA3-CTA2)*100,8);CTA6:=((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100+(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100+(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100)/3;CTA12:=BARSLAST(CROSS(CTA8,CTA9));CTA13:=BARSLAST(CROSS(CTA9,CTA8));CTA14:=IF(CTA12<CTA13,CTA12+1,0);CTA15:=IF(CTA13<CTA12,CTA13+1,0);CTA16:=CTA8>CTA10 AND CTA9>CTA10 AND CTA10>REF(CTA10,1) AND CTA11>REF(CTA11,1);CTA17:=HHV(CTA14,5)>=2 AND CTA16 AND CTA8>REF(CTA8,1) AND CTA8>CTA9;CTA19:=BARSLAST(CTA18>0 AND NOT(REF(CTA18,1)))+1;CTA20:=(CLOSE/REF(CLOSE,CTA19)-1)*100;拉升值:IF(CTA20>0,CTA20,0),COLORLIMAGENTA; DRAWTEXT_FIX(C>O,0.01,0.1,0,'微信公众号:欧欧量化'),COLOR0000FF;CTA22:=IF(CLOSE>REF(CLOSE,1),88,0);CTA23:=IF(CLOSE/REF(CLOSE,1)>1.05 AND HIGH/CLOSE<1.01 AND CTA22>0,91,0);CTA24:=FILTER(CTA23>90,45);STICKLINE(CTA24,10,0,1,0),COLORYELLOW;STICKLINE(CTA24,10,0,0.5,0),COLORRED;DRAWTEXT(CTA24>0,7,'量值+拉升值,大于10,后市看涨'),COLOR00C5FF; CTA1:=(2*CLOSE+HIGH+LOW)/4;CTA22:=IF(CLOSE>REF(CLOSE,1),88,0);CTA23:=IF(CLOSE/REF(CLOSE,1)>1.05 AND HIGH/CLOSE<1.01 AND CTA22>0,91,0);CTA24:=FILTER(CTA23>90,45); 风险提示:本指标公式仅作为知识分享,模拟测试不构成任何投资建议,不作投资依据。
|