資源描述:
《【股票指標公式下載】-【通達信】9圣指(趨勢、量能)》由會員上傳分享,免費在線閱讀,更多相關內容在工程資料-天天文庫。
1、【通達信】9圣指(趨勢.量能)?指標公式源碼LC:=REF(CLOSE,1);VARI:=SMA(MAX(MAX(HIGH-LOW,ABS(IIIGH-LC)),ABS(LOW-LC)),14,1);VAR2:=HIGH-REF(HIGH,1);VAR3:=REF(LOW,1)-LOW;VAR4:=SMA(IF(VAR2>0ANDVAR2>VAR3,VAR2,0),12,1);VAR5:=SMA(IF(VAR3>0ANDVAR3>VAR2,VAR3,0),12,1);VAR6:=VAR4*100/V
2、ARl;VAR7:=VAR5*100/VARl;VAR8:=SMA(ABS(VAR7-VAR6)/(VAR7+VAR6)*100,12,1);VAR9:=(VAR8+REF(VAR&5))/2;VARC-AM0UNT/V0L/100;VARD:=(3*IIIGII+L0W+0PEN+2*CL0SE)/7;VARE:=SUM(AMOUNT,5)/VARC/100;VARF:=SUM(AMOUNT,13)/VARC/100;VAR10:二SUM(AMOUNT,34)/VARC/100;VAR11:二SU
3、M(AMOUNT,209)/VARC/100;VAR12:=REF(VOL,1)+REF(VOL,2)+REF(VOL,3)+REF(VOL,4);VAR13:=VAR12/CAPITAL;VARI4:=VOL/CAPITAL*VARD+VAR13*REF(VARC,1);VARI5:=DMA(VARD,VOL/VARE);VAR16:=DMA(VARD,VOL/VARF);VAR17:=DMA(VARD,VOL/VAR10);VAR18:=DMA(VARD,VOL/CAPITAL);VARI9:二
4、MA(HHV(HIGH,488),18);VAR1A:=MA(HHV(HIGH,220),18);VARIB:=MA(HHV(HIGH,98),18);VAR1C:=MA(LLV(LOW,488),18);VAR1D:=MA(LLV(LOW,220),18);VARIE:=MA(LLV(LOW,98),18);VAR1F:二MA((VAR1C*O.96+VARlD*0?96+VARlE*0?96+VAR19*0?558+VARlA*0?558+VAR1B*O.558)/6,18);VAR2O:=MA
5、((VAR1C*1.25+VARlD*l.23+VARlE*l.2+VAR19*0.55+VARlA*0.55+VAR1B*0?65)/6,18);VAR21:=MA((VAR1C*1.3+VARlD*l.3+VARlE*l.3+VAR19*0.68+VARlA*0.68+VAR1B*0.68)/6,18);VAR22:二MA((VAR1F*3+VAR2O*2+VAR21)/6*1?738,18);VAR25:=REF(L0W,1);VAR26:=SMA(ABS(L0W-VAR25),3,l)/SM
6、A(MAX(L0W-VAR25,0),3,1)*100;VAR27:二MA(IF(CLOSE*1?35〈二VAR22,VAR26*10,VAR26/10),3);VAR29:=IIIIV(VAR27,30);VAR2A:=IF(LOW=LLV(LOW,30),(VAR27+VAR29*2)/2,0);JDl:=VAR2A>20000ANDCLOSE7、00CC99;STICKLINE(JD2,0,0.1,4.6,0),COLORWIIITE;STICKLINE(JD1ANDJD2,0.3,0.7,4.5,0),COLOROOFFOO;QS1:=SMA((CLOSE-LLV(LOW,27))/(HHV(HTGH,27)-LEV(LOW,27))*100,5,1);趨勢:EMA(3*QS1-2*SMA(QS1,3,1),5)/100,L1NETH1CK2;圣指:IF((REF(CLOSE,13)-CLOSE)/REF(CLOSE,13)*100>15
8、ANDSUM(VOL/CAPITAL,13)*10(X18ANDV0L/CAPITAL*100<2.5AND(LC-CLOSE)/LC*100〈8,0.8,0.1),C0L0RFFCC99;{金指63}V2:=(CLOSE-LC)/LC*100;V3:=MA(VOL,2)/MA(VOL,10);V4:=V0L/CAPITAL;TCT:=O.015*V2-0?124*V3+17?5*V4;TCT1:=HHV(TCT,250)-0.4;量能:IF(TCT>TCT1,TCT