资源描述:
《【通达信】分时操盘手(涨幅、大趋势、资金流、逃顶).doc》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、【通达信】分时操盘手(涨幅、大趋势、资金流、逃顶)-指标公式源码TA:=IF(TIME>093000ANDTIME<094000,1,0);TT:=IF(TIME>=093000ANDTIME<=093300,1,0);T0:=IF(TIME>093600ANDTIME<095900,1,0);T1:=IF(TIME>093300ANDTIME<145900,1,0);T2:=IF(TIME>095500ANDTIME<145900,1,0);T3:=IF(TIME>142500ANDTIME<145900,1,0);T4:=IF(T
2、IME>111000ANDTIME<145900,1,0);T5:=IF(TIME>110000ANDTIME<145900,1,0);T6:=IF(TIME>104200ANDTIME<145900,1,0);T7:=IF(TIME>103000ANDTIME<131000,1,0);T8:=IF(TIME>130000ANDTIME<155900,1,0);T9:=IF(TIME>095500ANDTIME<131000,1,0);T10:=IF(TIME>130500ANDTIME<143500,1,0);T11:=IF(TIM
3、E>094500ANDTIME<102500,1,0);T12:=IF(TIME>095000ANDTIME<140000,1,0);T13:=IF(TIME>093000ANDTIME<143500,1,0);DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIF,9);VARY1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));SD:=(C>60ANDC<100,200,100);SF:=IF(C<40ANDC<=60,300,SD);SG:=IF(C>10ANDC<=2
4、8,1000,IF(C>29ANDC<40,500,SF));SH:=IF(C<5,5000,IF(C>=5ANDC<=10,2000,SG));SJ:=IF(C>=6000,5,SH);SK:=IF(C>1000ANDC<6000,25,SJ);MACD:=(DIF-DEA)*SK,COLORSTICK;STICKLINE((MACD>=0),0,MACD,3,1),COLOR0000FF;STICKLINE(((MACD>=0)AND(MACD5、NE((MACD<0),0,MACD,3,0),COLORFFFF00;STICKLINE(((MACD<0)AND(MACD>REF(MACD,1))),0,MACD,3,1),COLORRED;JS1:=100000*(CLOSE-REF(CLOSE,5))/(5*REF(CLOSE,5));JS2:=IF(JS1>110,110,JS1);JS:=IF(JS2<-20,-20,JS2);RSV2:=(CLOSE-LLV(LOW,120))/(HHV(HIGH,120)-LLV(LOW,120))*100;K2A:=SMA(RSV
6、2,33,1);K2:=IF(TT=1,REF(K2A,1),K2A);D2:=SMA(K2,3,1);OK:=K2;RSV:=(CLOSE-LLV(LOW,89))/(HHV(HIGH,89)-LLV(LOW,89))*100;K89A:=SMA(RSV,33,1);K89:=IF(TT=1,REF(K89A,1),K89A);RSVC2:=(CLOSE-LLV(LOW,140))/(HHV(HIGH,120)-LLV(LOW,120))*100;KC2:=SMA(RSVC2,46,1);DC2:=SMA(KC2,46,1);大趋势
7、:DC2,LINETHICK1,CIRCLEDOT{POINTDOT},COLORYELLOW{COLORC6C600};TYPP:=(HIGH+LOW+CLOSE)/3;CCI:=(TYPP-MA(TYPP,14))/(0.015*AVEDEV(TYPP,14));GG:=(C-REF(C,210))/REF(C,210)*55;WG:=BARSSINCE(V>0)+1;GGJX:=((SUM(C*V,WG)/SUM(V,WG)+WG*0)/REF((SUM(C*V,WG)/SUM(V,WG)+WG*0),0)-1)*55;DPX:
8、=0.3*(3*SMA((C-LLV(L,105))/(HHV(H,105)-LLV(L,105)),5,1)-2*SMA(SMA((C-LLV(L,105))/(HHV(H,105)-LLV(L,105)),5,1),