您现在的位置:程序化交易>> 股票公式>> 通达信>> 通达信公式>>正文内容

二号副图指标公式(通达信公式 副图指标公式 公式、源码 测试图)[通达信公式]

相关标签:

 

RSV1:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;K1:=SMA(RSV1,5,1);D1:=SMA(K1,3,1);J1:=3*K1-2*D1;AA1:=EMA(J1,12);AA2:=REF(AA1,1);STICKLINE(AA1>AA2,AA1,AA2,2,1),COLORRED;STICKLINE(AA1<=AA2,AA1,AA2,2,1),COLORGREEN;AA:=REF(CLOSE,1);QS:=SMA(MAX(CLOSE-AA,0),8,1)/SMA(ABS(CLOSE-AA),8,1)*100,COLORYELLOW,LINETHICK1;GG:100;XX:20;ZZ:50;SS:80;AA3:=CROSS(80,QS) AND AA1<=AA2;C1:=CROSS(80,QS);C2:=FILTER(C1,10);D2:=CROSS(QS,19);D3:=FILTER(D2,10);D4:=FILTER(CROSS(QS,15),10);DRAWTEXT(AA3 OR C2,95,'S'),COLORYELLOW;DRAWTEXT(D3,18,'B'),COLORRED;STICKLINE(D4,50,20,4,0),COLORYELLOW;A5:=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) ;AQW:=20;ZQ:=CROSS(A5,AQW);STICKLINE(FILTER(ZQ,20)=1,0,30,2,0),COLORLIGRAY ;AA4:=(3*C+H+L+O)/6;VAR8:=(8*AA4+7*REF(AA4,1)+6*REF(AA4,2)+5*REF(AA4,3)+4*REF(AA4,4)+3*REF(AA4,5)+2*REF(AA4,6)+REF(AA4,8))/36;VAR9:=(LLV(VAR8,2)+LLV(VAR8,4)+LLV(VAR8,6))/3;MA1:=MA(CLOSE,5);MA2:=MA(CLOSE,10);M3:=CROSS(MA2,MA1);VAR1:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;VAR2:=SMA(VAR1,3,1);VAR3:=SMA(VAR2,3,1);VAR4:=SMA(VAR3,3,1);波:= VAR3;段:= VAR4;VAR6:=CROSS(VAR3,VAR4) AND VAR3<20;CD:=FILTER(CROSS(VAR3,VAR4),10) ;HH:=HHV(HIGH,3);LL:=LLV(LOW,3);HH1:=BARSLAST((HH > REF(HH,1)));LL1:=BARSLAST((LL < REF(LL,1)));A6:=HH1>LL1;VAR7:=CROSS(VAR4,VAR3) AND VAR3>80;STICKLINE(FILTER(VAR7,5)=1 AND C<VAR9 AND A6 ,80,100,2,0),COLORRED;DRAWTEXT(FILTER(VAR7,5)=1 AND C<VAR9 AND A6,95,'小顶'),COLORRED ;看多:=ZQ AND CD;STICKLINE(看多>0,15,看多*1.01,1,0),COLORMAGENTA;DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);DEA:=EMA(DIFF,9);MMACD:=(DIFF-DEA)*2;A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));B1:=REF(C,A1+1)>C AND REF(DIFF,A1+1)<DIFF AND CROSS(DIFF,DEA) AND DEA<0;DRAWTEXT(FILTER(B1,10)=1,15,'底背');STICKLINE(FILTER(B1,10)=1,0,30,2,0),COLORBLUE ;A2:= BARSLAST(REF(CROSS(DEA,DIFF),1));B2:= REF(CLOSE,A2+1)<CLOSE AND REF(DIFF,A2+1)>DIFF AND CROSS(DEA,DIFF);STICKLINE(FILTER(B2,5)=1,80,100,2,0),COLORCYAN;DRAWTEXT(FILTER(B2,5)=1,90,'顶背'),COLORYELLOW ;{DIF:EMA(CLOSE,12)-EMA(CLOSE,26);DEA:EMA(DIF,9);}RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9));K:=SMA(RSV,9,3);D:=SMA(K,9,3);J:=3*K-2*D;A:=CROSS(DIFF,DEA) AND CROSS(K,D) AND CROSS(J,D) AND DIFF<0;SA:=CROSS(DEA,DIFF) AND CROSS(D,K) AND CROSS(D,J) AND DIFF>0;DRAWTEXT(FILTER(A,10)=1,12,' 金振'),COLORYELLOW;STICKLINE(FILTER(A,10)=1,0,20,2,0),COLORRED ;DRAWTEXT(FILTER(SA,10)=1,97,'死振'),COLORYELLOW;STICKLINE(FILTER(SA,10)=1,80,100,2,0),COLORWHITE;

 

公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程

 

 

有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友

可联系技术人员 QQ: 262069696  点击在线交流或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)

怎么收费,代编流程等详情请点击查阅!

(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)

 


【字体: 】【打印文章】【查看评论

相关文章

    没有相关内容