设为首页加入收藏

微信关注
官方微信号:71712643
加关注获取每日精选资讯
股票入门欢迎您加入
广告服务联系我们网站地图

同花顺看图解势公式源码是什么?

2016-6-1 14:41:11 股票入门 http://rumen.southmoney.com

同花顺看图解势公式源码是什么?附:同花顺好选股指标公式  南方财富网小编为您提供


【同花顺看图解势公式源码】

WRAP: break-word; WHITE-SPACE: normal; TEXT-TRANSFORM: none; WORD-SPACING: 0px; COLOR: rgb(51,51,51); PADDING-BOTTOM: 0px; PADDING-TOP: 0px; FONT: 14px/24px 宋体, arial, sans-serif, 'DejaVu Sans', 'Lucida Grande', Tahoma, 'Hiragino Sans GB', STHeiti, SimSun, sans-serif; PADDING-LEFT: 0px; MARGIN: 0px; WIDOWS: 1; LETTER-SPACING: normal; PADDING-RIGHT: 0px; TEXT-INDENT: 0px; -webkit-text-stroke-width: 0px">周期:=15; 过滤:= 8; 选股:= -26; 抄底:= -40;

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,周期))/REF(VAR5,周期)*100;

VAR7:=(VAR5-REF(VAR5,周期))/REF(VAR5,周期)*100;

VAR8:=EMA(VAR6,过滤);

STICKLINE(VAR6>REF(VAR6,1) AND VAR6<0 AND VAR6<VAR8,VAR6,0,5,0),COLORFF0000 ;

底部注意: VAR6>REF(VAR6,1) AND VAR6<0 AND VAR6<VAR8 ,COLORFF0000,LINETHICK0 ;

STICKLINE(VAR8>REF(VAR8,1) AND VAR6<0 AND VAR6>VAR8,VAR8,0,5,0),COLOR62B3FF;

低位转强: VAR8>REF(VAR8,1) AND VAR6<0 AND VAR6>VAR8,COLOR62B3FF,LINETHICK0;

STICKLINE(VAR6>REF(VAR6,1) AND VAR6>0 AND VAR8<0,VAR6,VAR8,10,0), colorred;

买点: VAR6>REF(VAR6,1) AND VAR6>0 AND VAR8<0, colorred,LINETHICK0;

STICKLINE(VAR8>REF(VAR8,1) AND VAR8>0,VAR6,0,5,0),COLORF000F0 ;

坚定持股: VAR8>REF(VAR8,1) AND VAR8>0,COLORF000F0,LINETHICK0 ;

STICKLINE(VAR6<REF(VAR6,1) AND VAR8>REF(VAR8,1) AND VAR6>0,VAR6,VAR8,10,0),COLOR00F0F0;

谨慎观望: VAR6<REF(VAR6,1) AND VAR8>REF(VAR8,1) AND VAR6>0,COLOR00F0F0 ,LINETHICK0;

STICKLINE(VAR6<REF(VAR6,1) AND VAR6<VAR8,VAR6,VAR8,5,1);

果断持币: VAR6<REF(VAR6,1) AND VAR6<VAR8 ,LINETHICK0;

VAR9:=(CLOSE-MA(CLOSE,58))/MA(CLOSE,58)*100;

VARA:=VAR9>1*REF(VAR9,1) AND VAR9<选股 AND VAR9>抄底*1.5;

VARB:=VOL/SHGZG*100;

VARC:=LLVBARS(LOW,50);

VARD:=SUM(VOL,VARC);

VARE:=HHVBARS(HIGH,50);

VARF:=SUM(VOL,VARE);

VAR10:=(CLOSE-REF(OPEN,VARE))/REF(OPEN,VARE)*100;

VAR11:=VARF/CAPITAL*100;

VAR12:=(CLOSE-REF(OPEN,VARC))/REF(OPEN,VARC)*100;

VAR13:=VARD/CAPITAL*100;

VAR14:=MA(CLOSE,3);

VAR15:=REF(CLOSE,2)*0.865;

VAR16:=REF(CLOSE,13)*0.772;

VAR17:=MIN(VAR15,VAR16);

VAR18:=MA(CLOSE,13);

超跌: IF((CLOSE-VAR17)/CLOSE<0.03 AND VAR10<-35 AND SUM(VARB,5)/5<1.8,1,0)*10,  colorblue;

DRAWTEXT(超跌,超跌,' 抄底 '),COLORFF0000 ;

VAR19:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;

VAR1A:=(EMA(CLOSE,12)-EMA(CLOSE,26))*100;

VAR1B:=EMA(VAR1A,9);

VAR1C:=2*(VAR1A-VAR1B);

DRAWTEXT(VAR1A<-50 AND VAR19>7 AND VAR1A<VAR1B,-10,'底'), colorred;

DRAWTEXT(VAR1A<-50 AND VAR19>7 AND VAR1A>=VAR1B,5,'追'),  colorred;

STICKLINE(VAR1A<-50 AND VAR19>7,0,-10,5,0),COLORF0F000 ;

附:【同花顺好选股指标公式】

股价趋势:= 3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);

底部警戒:=10,colorred,LINETHICK2;

底1:=CROSS(股价趋势,底部警戒);

A1:=(2*CLOSE+HIGH+LOW)/4;

A2:=LLV(LOW,27);

A3:=HHV(HIGH,27);

A4:=EMA((A1-A2)/(A3-A2)*100,13);

A5:=EMA(0.618*REF(A4,1)+0.382*A4,3);

底2:=CROSS(A4,A5) AND A4<16;

波底:=底1 AND 底2;

VAR2:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;

VAR3:=SMA(SMA(VAR2,3,1),3,1)/28.57;

VAR4:=EMA(VAR3,5);

VAR5:=3*VAR3-2*VAR4;

牛:=CROSS(VAR5,VAR3) AND VAR3<2.1 AND C>O;

VARA2:=LLV(LOW,10);

VARA3:=HHV(HIGH,25);

动力线:= EMA((CLOSE-VARA2)/(VARA3-VARA2)*4,4);

N:=19;

VARB1:=HHV(HIGH,N);

VARB2:=LLV(LOW,N);

阻力线:=EMA((CLOSE-VARB2)/(VARB1-VARB2),21)-0.5;

操作线:=EMA((CLOSE-VARB2)/(VARB1-VARB2),5)-0.5;

突破:=CROSS(操作线,阻力线) AND 阻力线<0.1;

破位:=CROSS(阻力线,操作线) AND 阻力线>0.25;

V2:=IF(CURRBARSCOUNT=1,VOL*240/FROMOPEN/REF(VOL,1)-1,VOL/REF(VOL,1)-1);

T12:=V2>=1;

T0:=BARSLAST(T12);

L1:=REF(L,T0);

H1:=REF(H,T0);

L11:=MIN(REF(L,1),L);

L10:=MIN(L11,REF(L,2));

L21:=MAX(REF(L,1),L);

L20:=MAX(L21,REF(L,2));

T111:=(REF(V2>=1,3) OR REF(V2>=1,2) OR REF(V2>=1,1)) AND

((L10>L1 AND L20>H1) OR (L11>L1 AND L21>H1) OR (L>H1));

T11:=T111 AND REF(T111,1)=0;

C3:=REF(C,1);

涨停:=IF((C-C3)*100/C3>=(10-0.01*100/C3),1,0);

跌停:=IF((C3-C)*100/C3>=(10-0.01*100/C3),1,0);

LC:=REF(CLOSE,1);

RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);

FF:=EMA(CLOSE,3);

MA15:=EMA(CLOSE,21);

背离:=CROSS(88,RSI);

底背离:=CROSS(FF,MA15);

X1:=(C+L+H)/3;

BB13:=ATAN(EMA(X1,13)-REF(EMA(X1,13),1))*3.1416*10;

EMA8:=EMA(C,8);

T1:=FILTER(BB13>1 AND EMA(X1,13)>REF(EMA(X1,8),1),10);

获利盘:=WINNER(C)*100;

VOLUME:VOL,VOLSTICK;

MAVOL1:MA(VOLUME,5),colorwhite;

MAVOL2:MA(VOLUME,35),coloryellow;MAVOL3:MA(VOLUME,135),colorgreen;

{V2:IF(CURRBARSCOUNT=1,VOL*240/FROMOPEN/REF(VOL,1)-1,VOL/REF(VOL,1)-1),NODRAW,colorred;}

STICKLINE(V2>=1,0,VOL*0.5,2,0),coloryellow;

STICKLINE(动力线>=3.2,0,VOL,1,0),COLOR238E23;

STICKLINE(波底,0,VOL,2,0),colormagenta;

DRAWTEXT(波底,VOL*0.8,'底'),colorwhite;

DRAWICON(波底,VOL*1.1,5);

STICKLINE(牛,0,VOL,2,0),colorred;

DRAWTEXT(牛,VOL*1.15,'牛'),colorwhite;

STICKLINE(突破,0,VOL,1,0),colorblue;

DRAWTEXT(突破,VOL*0.5,'突破'),colorwhite;

DRAWICON(突破,VOL*1.2,1);

STICKLINE(破位,0,VOL,0.5,0),colorbrown;

DRAWTEXT(破位,VOL*0.5,'破位'),colorwhite;

DRAWICON(破位,VOL*1.05,2);

STICKLINE(T11,O,VOL,2,0),COLORFF00FF;

STICKLINE(涨停,VOL*0.5,VOL,2.5,0),colorlired;

STICKLINE(涨停,VOL*0.5,VOL,0,0),colorred;

STICKLINE(跌停,VOL*0.5,VOL,2.5,0),COLOR2F4F2F;

STICKLINE(跌停,VOL*0.5,VOL,0,0),colorblack;

STICKLINE(顶背离,VOL*0.8,VOL,2.5,0),colorgreen;

STICKLINE(底背离,0,VOL*0.2,3,0),COLOR7F017F;

DRAWTEXT(T1,VOL*1.1,'∠'),COLOR007575;

DRAWTEXT(获利盘>=75 AND 动力线>=3.2,VOL*1.1,'●'),colorred;

DRAWTEXT(获利盘<75 AND 动力线>=3.2,VOL*1.1,'●'),colorgreen;

更多同花顺公式源码相关资讯请关注南方财富网

股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。