资源描述:
《【股票指标公式下载】-【通达信】极准(超买、超卖、趋势线)》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、【通达信】极准(超买、超卖、趋势线)-指标公式源码{N:11005M:110013}N:=5;M:=13;上:EMA(C,3),COLORBLUE,LINETHICK1;中:EMA(C,5),COLORWHITE,LINETHICK1;下:EMA(中,5),COLOR00FF00,LINETHICK1;IF(上>中AND上>REF(上,1),上,DRAWNULL),LINETHICK2,COLORRED;IF(中>下AND中>REF(中,1),中,DRAWNULL),LINETHICK2,COLORRED;DRAWBAND(上,RGB(255,255,0),中,RGB(256
2、,200,0));QQ:=C<中;MM:=上>REF(上,1)ANDREF(上,1)3、ICK4;V1:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);V2:=(1-7/100)*(DMA(CLOSE,V1));V3:=(1+7/100)*(DMA(CLOSE,V1));V5:=MA((LOW+HIGH+CLOSE)/3,5);MA1:=MEMA(CLOSE,5);MA2:=ATAN((MA1/REF(MA1,1)-1)*100)*180/3.1416;MA3:=IF(MA2>0,MA2,MA2);MA5:=MA(CLOSE,N),COLOR888899;MA13:=MA(CLOSE,M),COLORFF
4、00F0,LINETHICK2;VAR1:=CLOSE=HHV(C,4)AND(REF(C,1)>=REF(C,2)ORREF(C,1)>=REF(C,3))ORREF(C,1)=HHV(C,4)ANDCLOSE>=REF(C,2)ORREF(C,2)=HHV(C,4)ANDREF(C,3)=LLV(C,4)ANDC>=REF(C,1)ORREF(C,3)=HHV(C,4)ANDC>=REF(C,1)ANDC>=REF(C,2);{收盘价=4日内收盘价的最高值AND昨收>=2日前的收盘价}VAR2:=CLOSE=HHV(C,4)ANDREF(C,1)=LLV(C,4);{收盘
5、价=4日内收盘价的最高值AND昨收=4日内收盘价的最低值}VAR3:=CLOSE=LLV(C,4)AND(REF(C,1)6、ionalpositionandachieveREF(C,1)=LLV(C,4)ANDC[=REF(C,2)ORREF(C,2)=LLV(C,4)ANDREF(C,1)<=REF(C,3)ANDREF(C,2)][=REF(C,1]
7、);{昨收=4日内收盘价的最低值AND收盘价>=2日前的收盘价}VAR5:=REF(C,1)=HHV(C,4)ANDC[REF(C,3)ORREF(C,3)=HHV(C,4)ANDREF(C,1)>REF(C,2))ANDREF(C,2)>=REF(C,4)ANDC][REF(V5,1)ANDREF(V5,1)][ ]