資源描述:
《[股票指標(biāo)公式下載]_[通達信]神買神賣(w底選股、股價線、趨勢線)》由會員上傳分享,免費在線閱讀,更多相關(guān)內(nèi)容在教育資源-天天文庫。
1、范文范例指導(dǎo)學(xué)習(xí)【通達信】神買神賣(W底選股、股價線、趨勢線)-指標(biāo)公式源碼DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);{選股設(shè)JC=10即可}DEA:=EMA(DIFF,9);MACD:=2*(DIFF-DEA);A:=IF(CROSS(0,DEA),1,0);A1:=IF(DIFF<0ANDCROSS(DIFF,DEA),1,0);SS:=IF(A,SUM(A1,0),0);SSB:=HHV(SS,0);SSS:=SUM(A1,0);W底選股:IF(SSS-SSB=2ANDSSS>REF(SSS,1),-22,0),LINETHICK2,COL
2、ORFFFF00;IF(SSS-SSB=2ANDSSS>REF(SSS,1),-12,0),LINETHICK2,COLORFFFF00;DRAWTEXT(A1,-10,'W底'),COLORYELLOW;N:=20;MID:=MA(C,N);VART1:=POW((C-MID),2);VART2:=MA(VART1,N);VART3:=SQRT(VART2);UPPER:=MID+2*VART3;LOWER:=MID-2*VART3;BOLL:=REF(MID,1);UB:=REF(UPPER,1);LB:=REF(LOWER,1);LOWER1:=MID-VART3;
3、LB1:=REF(LOWER1,1);股價線:(C-LB1)/(UB-LB)*100,COLORGREEN,LINETHICK1;趨勢線:MA(股價線,6),COLORRED,LINETHICK3;90,COLORGREEN,LINETHICK1;50,COLORWHITE,LINETHICK1;0,COLORWHITE,LINETHICK1;VARC:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1);準(zhǔn)備建倉:EMA(IF(L<=LLV(L,30),VARC,0),3),COLORFF00FF,LINETHICK2
4、;VARO5:=LLV(LOW,27);VARO6:=HHV(HIGH,34);VARO7:=EMA((CLOSE-VARO5)/(VARO6-VARO5)*4,4)*25;word版本整理分享范文范例指導(dǎo)學(xué)習(xí)建倉區(qū):IF((VARO7<10),80,100),COLORFFFF00,LINETHICK3;IF((VARO7<10),85,100),COLORBLACK,LINETHICK2;下單:IF(CROSS(3*SMA((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100,5,1)-2*SMA(SMA((CLOSE-
5、LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100,5,1),3,1),10),38,0),STICK,COLORYELLOW,LINETHICK4;DRAWTEXT(下單,40,'下單'),COLORGREEN;BIAS1:=(C-MA(C,6))/MA(C,6)*100;BIAS2:=(C-MA(C,12))/MA(C,12)*100;BIAS3:=(C-MA(C,24))/MA(C,24)*100;BIAS:=(BIAS1+2*BIAS2+3*BIAS3)/6;乖離1:=MA(BIAS,3);低買:IF(CROSS(BIAS,乖離
6、1)AND乖離1<-9,28,0),COLORRED,LINETHICK2;IF(CROSS(BIAS,乖離1)AND乖離1<-9,18,0),COLORRED,LINETHICK2;STICKLINE(CROSS(BIAS,乖離1)AND乖離1<-9,-12,0,8,0),COLORYELLOW;DRAWTEXT(低買,33,'低買'),COLORRED;TTR:=SUM(MAX(MAX((HIGH-LOW),ABS((HIGH-REF(CLOSE,1)))),ABS((LOW-REF(CLOSE,1)))),5);HD:=(HIGH-REF(HIGH,1));LD:=
7、(REF(LOW,1)-LOW);DMP:=(SUM(IF(((HD>0)AND(HD>LD)),HD,0),5));DMM:=SUM(IF(((LD>0)AND(LD>HD)),LD,0),5);神偷線:=(((DMP)*100)/TTR);輔助線:=((DMM*100)/TTR);動向趨勢線:=(MA(((ABS((輔助線-神偷線))/(輔助線+神偷線))*100),3));ADXR:=((動向趨勢線+REF(動向趨勢線,3))/2);VAR3:=MA(CLOSE,2);VAR7:=REF(VAR3,1);【強弱】:=((