资源预览内容
第1页 / 共6页
第2页 / 共6页
第3页 / 共6页
第4页 / 共6页
第5页 / 共6页
第6页 / 共6页
亲,该文档总共6页全部预览完了,如果喜欢就下载吧!
资源描述
通达信双保险稳赚主图指标公式AAF:=LLV(LOW,34),LINETHICK1,COLOR0000FF;BBF:=MA(AAF,4),LINETHICK1,COLORFF00FF;TYP := (HIGH + LOW + CLOSE)/3;CCI1:=(TYP-MA(TYP,6)/(0.015*AVEDEV(TYP,5);差值1:=ABS(REF(CCI1,1)-CCI1),LINETHICK0;CCI2:=(TYP-MA(TYP,10)/(0.015*AVEDEV(TYP,10);差值2:=ABS(REF(CCI2,1)-CCI2),LINETHICK0;CCI3:=(TYP-MA(TYP,20)/(0.015*AVEDEV(TYP,20);差值3:=ABS(REF(CCI3,1)-CCI3),LINETHICK0;CCI4:=(TYP-MA(TYP,30)/(0.015*AVEDEV(TYP,30);差值4:=ABS(REF(CCI4,1)-CCI4),LINETHICK0;CCI5:=(TYP-MA(TYP,60)/(0.015*AVEDEV(TYP,60);差值5:=ABS(REF(CCI5,1)-CCI5),LINETHICK0;CCI:=CCI1+CCI2+CCI3+CCI4+CCI5;AAA:=(3*C+H+L+O)/6;VAR1:=(8*AAA+7*REF(AAA,1)+6*REF(AAA,2)+5*REF(AAA,3)+4*REF(AAA,4)+3*REF(AAA,5)+2*REF(AAA,6)+REF(AAA,8)/36;VAR2:=(HHV(VAR1,5)+HHV(VAR1,10)+HHV(VAR1,20)/3;VAR3:=(LLV(VAR1,5)+LLV(VAR1,10)+LLV(VAR1,20)/3;VAR4:=(HHV(VAR2,5)+HHV(VAR2,10)+HHV(VAR2,20)/3;VAR5:=(LLV(VAR3,5)+LLV(VAR3,10)+LLV(VAR3,20)/3;VAR6:=(LLV(VAR1,2)+LLV(VAR1,4)+LLV(VAR1,6)/3;短线:=VAR1,COLORWHITE;中线:=VAR6,COLORYELLOW;DRAWBAND(短线,RGB(255,255,50),中线,RGB(0,0,220);下跌:IF(VAR1=VAR6,VAR6, DRAWNULL),COLORGREEN;TJ1:=CCI1差值 4;立桩量:=FILTER(TJ1,0),NODRAW;TJ2:=IF(BARSLAST(立桩量 )=1 ,1,0);成立1:=TJ2=1;条件成立1:=FILTER(成立1,5);TJ11:= CCI1REF(HIGH,1),1,IF(BARSLAST(立桩量2)=2 AND CLOSEREF(HIGH,2),1,IF(BARSLAST(立桩量2)=3 AND CLOSEREF(HIGH,3),1,0);TJ:=IF(BARSLAST(立桩量2)=1 AND CLOSEREF(LOW,1),1,0);成立2:=TJ=1;条件成立2:=FILTER(成立2,5);TJ111:=(ABS(CCI1)CCI AND ABS( 差值1) ABS(差值5)OR (VOL=HHV(VOL,10) AND VOL2*REF(VOL,1) AND CLOSEVAR1);立桩量3:=FILTER(TJ111,5);TJ3:=IF(BARSLAST(立桩量 3)=1 AND CLOSEREF(LOW,1),1,IF(BARSLAST(立桩量3)=2 AND CLOSEREF(LOW,2),1,IF(BARSLAST(立桩量 3)=3 AND CLOSEREF(LOW,3),1,0);成立:=TJ3=1;条件成立:=FILTER(成立,5);DRAWICON(条件成立 AND 下跌!= VAR6 AND BB130,L*0.97,23);LC:=REF(CLOSE,1);RSI:=(SMA(MAX(CLOSE - LC),0),3,1) / SMA(ABS(CLOSE - LC),3,1) * 100);FF:=EMA(CLOSE,3);MA15:=EMA(CLOSE,21);DRAWICON(CROSS(FF,MA15),LOW*0.97,23);DRAWTEXT(CROSS(88,RSI),(HIGH * 1.01),R 背),COLOR00FF00;X1:=(C+L+H)/3;BB13:=ATAN(EMA(X1,13)-REF(EMA(X1,13),1)*3.1416*10;EMA8:=EMA(C,8);DRAWTEXT(FILTER(BB131 AND EMA(X1,13)REF(EMA(X1,8),1),10),EMA8,),COLORWHITE;超买:MA(C,10)*IF(CAPITAL=0,1.04,1.1),POINTDOT,COLORGREEN,LINETHICK2;超卖:MA(C,10)*IF(CAPITAL=0,0.95,0.9),POINTDOT,COLORRED,LINETHICK2;上:=EMA(C,3),COLORBLUE,LINETHICK1;中:=EMA(C,5),COLORWHITE,LINETHICK1;下:=EMA(中,5),COLOR00FF00,LINETHICK1;QQ:= CREF(上,1) AND REF(上,1)0,MA2,MA2);MA5:=MA(CLOSE,5),COLOR888899;MA13:=MA(CLOSE,13),COLORFF00F0,LINETHICK2;VAR01:=CLOSE=HHV(C,4) AND (REF(C,1)=REF(C,2) OR REF(C,1)=REF(C,3)OR REF(C,1)=HHV(C,4) AND CLOSE=REF(C,2) OR REF(C,2)=HHV(C,4) ANDREF(C,3)=LLV(C,4) AND C=REF(C,1) OR REF(C,3)=HHV(C,4) ANDC=REF(C,1) AND C=REF(C,2);收盘价=4日内收盘价的最高值 AND 昨收=2日前的收盘价VAR02:=CLOSE=HHV(C,4) AND REF(C,1)=LLV(C,4);收盘价=4日内收盘价的最高值 AND 昨收=4日内收盘价的最低值 VAR03:=CLOSE=LLV(C,4) AND (REF(C,1)=REF(C,2) OR REF(C,2)=LLV(C,4) ANDREF(C,1)=REF(C,1);昨收=4日内收盘价的最低值 AND 收盘价=2日前的收盘价VAR05:=REF(C,1)=HHV(C,4) AND CREF(C,3) OR REF(C,3)=HHV(C,4) AND REF(C,1)REF(C,2) ANDREF(C,2)=REF(C,4) AND CREF(V5,1) AND REF(V5,1)HHV(V5,13) AND CLOSEREF(C,1) AND CLOSEOPEN;VAR08:=VAR07 AND COUNT(VAR06,2);VAR09:=100*EMA(EMA(C-REF(C,1),6),6)/EMA(EMA(ABS(C-REF(C,1),6),6);VAR10:=EMA(MA(C,13),13);VAR11:=FILTER(LLV(VAR09,2)=LLV(VAR09,7) AND COUNT(VAR0950,2) ANDCROSS(MA(VAR09,2),VAR09)=1,1);VAR13:=SMA(EMA(C-REF(C,1)/REF(C,1),5)*100,3,1)*10;VAR14:=FILTER(CROSS(VAR13,0) OR CROSS(C,VAR10) AND VAR11)=1,3);VAR15:=MA(C,18)=REF(MA(C,18),3) AND CROSS(C,MA(C,18);VAR16:=VAR08 AND NOT(REF(VAR08,1);RSV:=(CLOSE-LLV(LOW,9)/(HHV(HIGH,9)-LLV(LOW,9)*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;金叉:=CROSS(J,D);死叉:=CROSS(D,J);买1:=(VAR14 OR VAR15) AND VAR11;买2:=(VAR14 OR VAR15) AND VAR4;买3:=(VAR14 OR VAR15) AND VAR2;买4:=(VAR2 AND VAR11) OR (VAR4 AND VAR11);买5:=(金叉 AND VAR04) OR (金叉 AND VAR02) OR (金叉 AND VAR11);涨停STICKLINE(CLOSEREF(CLOSE,1)*1.0985 AND CLOSE=HIGH,CLOSE,OPEN,4,-1),COLOR00FFFF;跌停STICKLINE(CLOSE=CLOSE,CLOSE,OPEN,3.3,0),COLORFF6600;STICKLINE(OPEN=CLOSE,CLOSE,OPEN,2.4,0),COLORFF8800;STICKLINE(OPEN=CLOSE,CLOSE,OPEN,1.3,0),COLORFFAA00;STICKLINE(OPEN=CLOSE,CLOSE,OPEN,0.6,0),COLORFFCC00;红STICKLINE(CLOSEOPEN,CLOSE,OPEN,3.3,0),COLOR000099;STICKLINE(CLOSEOPEN,CLOSE,OPEN,2.4,0),COLOR0000BB;STICKLINE(CLOSEOPEN,CLOSE,OPEN,1.3,0),COLOR0000DD;STICKLINE(CLOSEOPEN,CLOSE,OPEN,0.5,0),COLOR0000FF;绿STICKLINE(VAR03,OPEN,(OPEN+CLOSE)/2,3.3,0),COLOR009900;STICKLINE(VAR03,OPEN,(OPEN+CLOSE)/2,2.4,0),COLOR00BB00;STICKLINE(VAR03,OPEN,(OPEN+CLOSE)/2,1.3,0),COLOR00DD00;STICKLINE(VAR03,OPEN,(OPEN+CLOSE)/2,0.5,0),COLOR00FF00;灰STICKLINE(VAR04 AND MM,OPEN,(OPEN+CLOSE)/2,3.3,0),COLOR999999;STICKLINE(VAR04 AND MM,OPEN,(OPEN+CLOSE)/2,2.2,0),COLORBBBBBB;STICKLINE(VAR04 AND MM,OPEN,(OPEN+CLOSE)/2,1.3,0),COLORDDDDDD;STICKLINE(VAR04 AND MM,OPEN,(OPEN+CLOSE)/2,0.5,0),COLORFFFFFF;STICKLINE(金叉 ,OPEN,CLOSE,0.5,0),COLORYELLOW;STICKLINE(死叉 ,OPEN,CLOSE,0.5,0),COLOR000066;DRAWICON(VAR16,LOW-0.02,15);DRAWICON(买 1 OR 买2 OR 买3 OR 买4 OR 买5 AND MM,LOW-0.05,23);DRAWICON(死叉 OR CROSS(50,VAR09) AN
网站客服QQ:2055934822
金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号