当前位置:分析家公式网 → 股票公式 → 同花顺公式 → 一键转帖:大周期(同花顺公式 副图 源码 测试图)
软件名称:[B]大周期(同花顺公式 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:8.00 KB
官方主页:Home Page
更新时间:2020-10-13 00:11:57
软件简介:
大周期
附件里有源码和不加密的公式,请下载导入公式
//大周期
VAR3:=100-(100-3*SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))
*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))
*100,20,1),15,1));
VAR4:=100-(100-3*SMA((OPEN-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))
*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))
*100,20,1),15,1));
STICKLINE(VAR3<=REF(VAR4,1),VAR3,VAR4,5,0),colorgreen;
STICKLINE(VAR3>REF(VAR4,1),VAR3,VAR4,5,0),colorred;
RSV=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
a=SMA(RSV,M1,1);
b=SMA(a,M2,1);
e=3*a-2*b;
K:a;
D:b;
J:e;
BUY1:=CROSS(K,D) AND CROSS(J,D) AND D<30 AND D>REF(D,1);
SEL1:=FILTER(REF(J,1)>75 AND J<REF(J,1),3);
STICKLINE(j>D AND j>D,j,D,1,0),colorred;
STICKLINE(j<D AND j>D,j,D,1,0),coloryellow;
STICKLINE(j<D AND j<D,j,D,1,0),colorgreen;
STICKLINE(j<D AND j>D,j,D,1,0),colorcyan;
STICKLINE(j>D AND j>D AND j<REF(j,1) AND d>REF(D,1) AND j>50,j,D,1,0),colorcyan;
VARC:=(ZIG(3,5)>=REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2)) AND (REF(ZIG
(3,5),2)<=REF(ZIG(3,5),3))AND (REF(ZIG(3,5),3)<=REF(ZIG(3,5),4));
VARC9:=(ZIG(3,9)>=REF(ZIG(3,9),1)) AND (REF(ZIG(3,9),1)<=REF(ZIG(3,9),2)) AND (REF(ZIG
(3,9),2)<=REF(ZIG(3,9),3))AND (REF(ZIG(3,9),3)<=REF(ZIG(3,9),4));
VARD:=(ZIG(3,5)<=REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)>=REF(ZIG(3,5),2)) AND (REF(ZIG
(3,5),2)>=REF(ZIG(3,5),3))AND (REF(ZIG(3,5),3)>=REF(ZIG(3,5),4));
VARD9:=(ZIG(3,9)<=REF(ZIG(3,9),1)) AND (REF(ZIG(3,9),1)>=REF(ZIG(3,9),2)) AND (REF(ZIG
(3,9),2)>=REF(ZIG(3,9),3))AND (REF(ZIG(3,9),3)>=REF(ZIG(3,9),4));
STICKLINE((VARC=1),(k),k+10,8,1),Color0000FF;
DRAWTEXT((VARC=1),(k-1),'B5'),Color0000FF;
STICKLINE((VARC9=1),(k),k+10,4,0),colorcyan;
DRAWTEXT((VARC9=1),(K-1),'___B9'),colorcyan;
STICKLINE((VARD=1),(k-2),D-10,8,1),Color00FF00;
DRAWTEXT((VARD=1),(D-15),'S5'),Color00FF00;
STICKLINE((VARD9=1),(k-2),D-10,4,0),coloryellow;
DRAWTEXT((VARD9=1),(D-15),'___S9'),coloryellow;
VARE:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;
VARF:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA
((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
VAR10:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA
((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
VAR11:=VARF<REF(VAR10,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
DRAWTEXT(VAR11 AND COUNT(VAR11,30)=1,K+5,'Moving'),LINETHICK1,COLORFF00FF;
STICKLINE(VAR11 AND COUNT(VAR11,30)=1,K+5,D+1,2,0),COLORFF00FF;
VAR12:=(HIGH+LOW+CLOSE)/3;
VAR13:=(VAR12-MA(VAR12,14))/(0.015*AVEDEV(VAR12,14));
VAR14:=(VAR12-MA(VAR12,70))/(0.015*AVEDEV(VAR12,70));
VAR15:=IF(VAR13>=150 AND VAR13<200 AND VAR14>=150 AND VAR14<200,10,0);
VAR16:=IF(VAR13<=-150 AND VAR13>-200 AND VAR14<=-150 AND VAR14>-200,-10,VAR15);
VAR17:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
VAR18:=100-ABS(VAR17);
VAR19:=IF(VAR18<90,VAR18,100);
VAR1A:=IF(VARE>0,VARE,0);
VAR1B:=IF(VAR14>=200 AND VAR13>=150,15,IF(VAR14<=-200 AND VAR13<=-150,-15,VAR16))+60;
VAR1C:=VAR1A>48 AND VAR1B>60 AND VAR19<100;
DRAWTEXT(VAR1C AND COUNT(VAR1C,30)=1,K-10,'OUT'),LINETHICK1,COLORFFCC66;
STICKLINE(VAR1C AND COUNT(VAR1C,30)=1,k+5,D+1,2,0),COLORFFCC66;
[url=http://www.70822.com/soft/sort013/sort036/down-151380.html]大周期(同花顺公式 副图 源码 测试图)[/url]