通达信最新指标公式 通达信转点和逃点副图公式源码
2016-08-19 11:11 股票知识 zhishi.southmoney.com
过滤:=8;
周期:=-15;
VAR1:=MA(CLOSE,5);
VAR2:=MA(CLOSE,10);
VAR3:=MA(CLOSE,20);
VAR4:=MA(CLOSE,30);
VAR5:=(VAR1+VAR2+VAR3+VAR4)/4;
VAR6:=(VAR5-REF(VAR5,(-1)*周期))/REF(VAR5,(-1)*周期)*100;
VAR7:=(VAR5-REF(VAR5,(-1)*周期))/REF(VAR5,(-1)*周期)*100;
VAR8:=EMA(VAR6,过滤);
反转: STICKLINE(VAR8>REF(VAR8,1),VAR6,0,5,0),COLORMAGENTA , ;
持股: STICKLINE(VAR6>REF(VAR6,1),VAR6,VAR8,5,0),COLORRED , ;
调整: STICKLINE(VAR6<REF(VAR6,1) AND VAR8>1*REF(VAR8,1),VAR6,VAR8,10,0),COLORYELLOW , ;
持币: STICKLINE(VAR6<REF(VAR6,1),VAR6,VAR8,5,1),COLORGREEN , ;
DRAWTEXT(VAR8<-10 AND VAR8>REF(VAR8,1) AND REF(VAR8,1)<REF(VAR8,2),-2,'转点'),COLORFFFF00 , ;
DRAWTEXT(VAR8>10 AND VAR8<REF(VAR8,1) AND REF(VAR8,1)>REF(VAR8,2),VAR8,'逃点'),COLORGREEN , ;
VAR9:=(CLOSE-MA(CLOSE,58))/MA(CLOSE,58)*100;
VARA:=VOL/CAPITAL*100;
VARB:=LLVBARS(LOW,50);
VARC:=SUM(VOL,VARB);
VARD:=HHVBARS(HIGH,50);
VARE:=SUM(VOL,VARD);
VARF:=(CLOSE-REF(OPEN,VARD))/REF(OPEN,VARD)*100;
VAR10:=VARE/CAPITAL*100;
VAR11:=(CLOSE-REF(OPEN,VARB))/REF(OPEN,VARB)*100;
VAR12:=VARC/CAPITAL*100;
VAR13:=MA(CLOSE,3);
VAR14:=REF(CLOSE,2)*0.865;
VAR15:=REF(CLOSE,13)*0.772;
VAR16:=MIN(VAR14,VAR15);
VAR17:=MA(CLOSE,13);
低买: IF(VAR6<-10 AND VAR6<REF(VAR6,1),20,0),COLORBLUE ,STICK,LINETHICK2 ;
资金进出: STICKLINE((CLOSE-VAR16)/CLOSE<0.03 AND VARF<-35 AND SUM(VARA,5)/5<1.8,0,24,0.8,1),COLORFFFF00;
周期:=-15;
VAR1:=MA(CLOSE,5);
VAR2:=MA(CLOSE,10);
VAR3:=MA(CLOSE,20);
VAR4:=MA(CLOSE,30);
VAR5:=(VAR1+VAR2+VAR3+VAR4)/4;
VAR6:=(VAR5-REF(VAR5,(-1)*周期))/REF(VAR5,(-1)*周期)*100;
VAR7:=(VAR5-REF(VAR5,(-1)*周期))/REF(VAR5,(-1)*周期)*100;
VAR8:=EMA(VAR6,过滤);
反转: STICKLINE(VAR8>REF(VAR8,1),VAR6,0,5,0),COLORMAGENTA , ;
持股: STICKLINE(VAR6>REF(VAR6,1),VAR6,VAR8,5,0),COLORRED , ;
调整: STICKLINE(VAR6<REF(VAR6,1) AND VAR8>1*REF(VAR8,1),VAR6,VAR8,10,0),COLORYELLOW , ;
持币: STICKLINE(VAR6<REF(VAR6,1),VAR6,VAR8,5,1),COLORGREEN , ;
DRAWTEXT(VAR8<-10 AND VAR8>REF(VAR8,1) AND REF(VAR8,1)<REF(VAR8,2),-2,'转点'),COLORFFFF00 , ;
DRAWTEXT(VAR8>10 AND VAR8<REF(VAR8,1) AND REF(VAR8,1)>REF(VAR8,2),VAR8,'逃点'),COLORGREEN , ;
VAR9:=(CLOSE-MA(CLOSE,58))/MA(CLOSE,58)*100;
VARA:=VOL/CAPITAL*100;
VARB:=LLVBARS(LOW,50);
VARC:=SUM(VOL,VARB);
VARD:=HHVBARS(HIGH,50);
VARE:=SUM(VOL,VARD);
VARF:=(CLOSE-REF(OPEN,VARD))/REF(OPEN,VARD)*100;
VAR10:=VARE/CAPITAL*100;
VAR11:=(CLOSE-REF(OPEN,VARB))/REF(OPEN,VARB)*100;
VAR12:=VARC/CAPITAL*100;
VAR13:=MA(CLOSE,3);
VAR14:=REF(CLOSE,2)*0.865;
VAR15:=REF(CLOSE,13)*0.772;
VAR16:=MIN(VAR14,VAR15);
VAR17:=MA(CLOSE,13);
低买: IF(VAR6<-10 AND VAR6<REF(VAR6,1),20,0),COLORBLUE ,STICK,LINETHICK2 ;
资金进出: STICKLINE((CLOSE-VAR16)/CLOSE<0.03 AND VARF<-35 AND SUM(VARA,5)/5<1.8,0,24,0.8,1),COLORFFFF00;
更多股票公式相关资讯请关注南方财富网
股票知识网声明:资讯来源于合作媒体及机构,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。