由双线变色带组成,红色代表上涨趋势,绿色代表下跌趋势,低位波段起爆时,显示红色神针探底信号。CTA1:=HHV(HIGH,12)-LLV(LOW,26);CTA5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;CTA6:=(2*CLOSE+HIGH+LOW)/4;CTA7:=SMA(CTA3/CTA1*100,3,1);CTA9:=SMA(CTA7,3,1)-SMA(CTA4,9,1);CTA10:=IF(CTA9>100,CTA9-100,0);CTA12:=EMA((CTA6-CTA8)/(CTA11-CTA8)*100,13);CTA13:=EMA(0.667*REF(CTA12,1)+0.333*CTA12,2);CTA14:=SMA(MAX(CLOSE-REF(CLOSE,1),0)/CLOSE,8,1)/SMA(ABS(INDEXC-REF(INDEXC,1))/INDEXC,8,1)*100-25;DRAWTEXT_FIX(C>O,0,0.9,0,'微信公众号:欧欧量化'),COLOR0000FF;天地线:EMA(CTA13,1),COLORMAGENTA;CTA16:=HHV(HIGH,9)-LLV(LOW,9);CTA17:=HHV(HIGH,9)-CLOSE;CTA19:=CTA17/CTA16*100-70;CTA20:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;CTA21:=(2*CLOSE+HIGH+LOW)/4;CTA22:=SMA(CTA18/CTA16*100,3,1);CTA24:=SMA(CTA22,3,1)-SMA(CTA19,9,1);CTA25:=IF(CTA24>100,CTA24-100,0);CTA27:=EMA((CTA21-CTA23)/(CTA26-CTA23)*100,8);B2:EMA(CTA27,5),COLORFF7000;STICKLINE(CTA27-B2>0,CTA27,B2,2,0),COLORRED;STICKLINE(CTA27-B2<0,CTA27,B2,2,0),COLORGREEN;CTA28:=MA(CLOSE,5)=HHV(MA(CLOSE,5),20);CTA29:=MA(CLOSE,5)>MA(CLOSE,10);CTA30:=MA(VOL,5)>MA(VOL,40)*1.01;CTA31:=COUNT(MA(CLOSE,1)>REF(CLOSE,1),2)=2;CTA32:=CTA28 AND CTA29 AND CTA30 AND CTA31;CTA35:=CROSS(CTA33,CTA34);CTA36:=CTA33<EMA(CLOSE,120);CTA37:=3*SMA((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100,21,1)-2*SMA(SMA((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100,20,1),8,1);神针起爆:IF(CROSS(CTA12,天地线) AND CTA12>CTA13 AND CTA12<55 AND CLOSE>OPEN,50,0),STICK,COLORRED,LINETHICK4; CTA6:=(2*CLOSE+HIGH+LOW)/4;CTA12:=EMA((CTA6-CTA8)/(CTA11-CTA8)*100,13);CTA13:=EMA(0.667*REF(CTA12,1)+0.333*CTA12,2);神针起爆:IF(CROSS(CTA12,天地线) AND CTA12>CTA13 AND CTA12<55 AND CLOSE>OPEN,50,0);
风险提示:本指标公式仅作为知识分享,模拟测试不构成任何投资建议,不作投资依据。
|