当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:简单实用的高抛低吸指标TXT源码(指标 副图 通达信 贴图)
软件名称:[B]简单实用的高抛低吸指标TXT源码(指标 副图 通达信 贴图)[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:5.00 KB
官方主页:Home Page
更新时间:2016-09-04 01:30:23
软件简介:
A:=BARSLAST(DATE=0000000); ZF:=(C-REF(C,1))/REF(C,1)*100; 支撑价:CLOSE-(((HIGH+LOW+CLOSE+OPEN)/4)-LOW),NODRAW; 压力价:CLOSE+(((HIGH+LOW+CLOSE+OPEN)/4)-LOW),NODRAW; 涨停次数:COUNT(ZF>9.8,A+1),NODRAW; 十日红盘:COUNT(ZF>0,10),NODRAW; 二十天平均振幅:MA((H-L)/REF(C,1)*100,20),NODRAW; UP:=SMA(IF(CLOSE>REF(CLOSE,1), CLOSE-REF(CLOSE,1),0),3,1); DN:=SMA(IF (CLOSE<=REF(CLOSE,1),ABS(CLOSE-REF(CLOSE,1)),0),3,1); 指标:=100*UP/(UP+DN); 强弱:EMA(指标,3),COLORLIMAGENTA; 平均:EMA(强弱,3),COLORYELLOW; 风险:80,COLOR8887EA; 安全:20,COLOR8887EA; 分界:50,CIRCLEDOT,LINETHICK2,COLORGREEN; RSV:=(CLOSE-LLV(LOW,3))/(HHV(HIGH,3)-LLV(LOW,3))*100; K:=SMA(RSV,3,1); D:=EMA(K,2); PJJ:=DMA((HIGH+LOW+CLOSE*2)/4,0.9); JJ:=REF(EMA(PJJ,3),1); QJJ:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN)); XVL:=(IF(CLOSE>OPEN,QJJ*(HIGH-LOW),IF(CLOSE<OPEN,QJJ*(HIGH-OPEN+CLOSE-LOW),VOL/2))+IF(CLOSE>OPEN,0-QJJ*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE<OPEN,0-QJJ*(HIGH-LOW),0-VOL/2))); 卖出:IF(强弱<平均 AND D<REF(D,1) ,50,DRAWNULL AND MA(C,3)<REF(MA(C,3),1)),CIRCLEDOT,LINETHICK2,COLORGREEN; 观望:IF((强弱>=平均 AND D>=REF(D,1) AND MA(C,3)>=REF(MA(C,3),1)) OR (D>=REF(D,1) AND MA(C,3)>=REF(MA(C,3),1)) OR(强弱>=平均 AND MA(C,3)>=REF(MA(C,3),1)) OR (强弱>=平均 AND D>=REF(D,1)),50,DRAWNULL),CIRCLEDOT,LINETHICK2,COLORLIMAGENTA; 买进:IF(强弱>=平均 AND D>=REF(D,1) AND MA(C,3)>=REF(MA(C,3),1),50,DRAWNULL),CIRCLEDOT,LINETHICK2,COLORRED; LC:=REF(CLOSE,1); RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100; DRAWTEXT(CROSS(85,RSI1),80,'顶'); DRAWTEXT(CROSS(RSI1,25),20,'底'); 主力:=EMA( (CLOSE-MA(CLOSE,7))/MA(CLOSE,7)*480,2)*5; 散户:=EMA( (CLOSE-MA(CLOSE,11))/MA(CLOSE,11)*480,7)*5; DRAWTEXT(CROSS(主力,散户) AND 主力<-10,50,'升'); VAR1:=1/WINNER(CLOSE); VAR2:=MA(CLOSE,13); VAR3:=100-ABS((CLOSE-VAR2)/VAR2*100); VAR4:=LLV(LOW,75); VAR5:=HHV(HIGH,75); VAR6:=(VAR5-VAR4)/100; VAR7:=SMA((CLOSE-VAR4)/VAR6,20,1); VAR8:=SMA((OPEN-VAR4)/VAR6,20,1); VAR9:=3*VAR7-2*SMA(VAR7,15,1); VARA:=3*VAR8-2*SMA(VAR8,15,1); VARB:=100-VARA; VARC:=IF(900101<DATE AND DATE<99991230,1,0); VARE:=REF(LOW,1)*0.9; VARF:=LOW*0.9; VAR10:=(VARF*VOL+VARE*(CAPITAL-VOL))/CAPITAL; VAR11:=EMA(VAR10,30); VAR12:=CLOSE-REF(CLOSE,1); VAR13:=MAX(VAR12,0); VAR14:=ABS(VAR12); VAR15:=SMA(VAR13,7,1)/SMA(VAR14,7,1)*100; VAR16:=SMA(VAR13,13,1)/SMA(VAR14,13,1)*100; VAR17:=BARSCOUNT(CLOSE); VAR18:=SMA(MAX(VAR12,0),6,1)/SMA(ABS(VAR12),6,1)*100; VAR19:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100; VAR1A:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100; VAR1B:=SMA((SMA(VAR1A,4,1)-50)*2,3,1); VAR1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100; VAR1D:=SMA(VAR1C,4,1); VAR1E:=SMA(VAR1D,3,1); VAR1F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100; VAR20:=VAR18<=25 AND VAR19<-95 AND VAR1F>20 AND VAR1B<-30 AND VAR1E<30 AND VAR11-CLOSE>=-0.25 AND VAR15<22 AND VAR16<28 AND VAR17>50; VAR21:=(HIGH+LOW+CLOSE)/3; VAR22:=(VAR21-MA(VAR21,14))/(0.015*AVEDEV(VAR21,14)); VAR23:=(VAR21-MA(VAR21,70))/(0.015*AVEDEV(VAR21,70)); VAR24:=IF(VAR22>=150 AND VAR22<200 AND VAR23>=150 AND VAR23<200,10,0); VAR25:=IF(VAR22<=-150 AND VAR22>-200 AND VAR23<=-150 AND VAR23>-200,-10,VAR24); VAR26:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100; VAR27:=REVERSE(VAR26); VAR28:=SMA(VAR26,3,1); 趋势: SMA(VAR28,3,1)*VARC,COLORRED; 阻力: SMA(趋势,3,1)*VARC, COLORGREEN; T:=SMA(MAX(CLOSE-LC,0),9,1)/SMA(ABS(CLOSE-LC),9,1)*100; DRAWTEXT(T#WEEK<20,20,'买'), COLORRED;
[url=http://www.70822.com/soft/sort013/sort05/down-102261.html]简单实用的高抛低吸指标TXT源码(指标 副图 通达信 贴图)[/url]