資源描述:
《【股票指標公式下載】-【通達信】極準(超買、超賣、趨》由會員上傳分享,免費在線閱讀,更多相關內容在工程資料-天天文庫。
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(
2、上,RGB(255,255,0),中,RGB(256,200,0));QQ:=C<中;MM:=上>REF(上,1)ANDREF(上,1)3、CLOSE,21)*20)+CLOSE),42),POINTDOT,COLORFF00FF,LINETHICK4;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
4、;MA3:=IF(MA2>0,MA2,MA2);MA5:=MA(CLOSE,N),COLOR888899;MA13:=MA(CLOSE,M),COLORFF00F0,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
5、)ANDC>=REF(C,1)ANDC>=REF(C,2);{收盤價=4日內收盤價的最高值AND昨收>=2日前的收盤價}VAR2:=CLOSE=HHV(C,4)ANDREF(C,1)=LLV(C,4);{收盤價=4日內收盤價的最高值AND昨收=4日內收盤價的最低值}VAR3:=CLOSE=LLV(C,4)AND(REF(C,1)6、ANDC[=REF(C,2)ORREF(C,2)=LLV(C,4)ANDREF(C,1)<=REF(C,3)ANDREF(C,2)][=REF(C,1);{昨收=4日內收盤價的最低值AND收盤價>=2日前的收盤價}VAR5:=REF(C,1)=HHV(C,4)ANDC]7、2)OR(REF(C,2)=HHV(C,4)ANDREF(C,1)>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)][HHV(V5,13)ANDCLOSE>REF(C,1)ANDCLOSE>OP]
8、EN;VAR8:=VAR7ANDCOUNT(VAR6,2);VAR9:=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(VAR9,2)