当前位置:分析家公式网 → 股票公式 → 同花顺公式 → 一键转帖:skdj抄底(同花顺公式 副图 源码 测试图)
软件名称:[B]skdj抄底(同花顺公式 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:9.00 KB
官方主页:Home Page
更新时间:2020-10-11 00:12:49
软件简介:
skdj抄底
附件里有源码和不加密的公式,请下载导入公式
//skdj抄底
n:=9;
m:=3;
LOWV:=LLV(LOW,N);
HIGHV:=HHV(HIGH,N);
RSV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,M);
K:EMA(RSV,M);
D:MA(K,M);
Var1:=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);
Var2:=(CLOSE-LLV(LOW,26))/(HHV(HIGH,26)-LLV(LOW,26))*100;
Var3:=SMA(SMA(Var2,3,1),3,1);
Var4:=EMA(Var3,5);
LOWV:=LLV(LOW,N);
HIGHV:=HHV(HIGH,N);
RSV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,M);
K:EMA(RSV,M);
D:MA(K,M);
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;
LC:=REF(CLOSE,1);
RSI5:=((SMA(MAX((CLOSE-LC),0),5,1) / SMA(ABS((CLOSE-LC)),5,1)) * 100);
TR1:=SUM(MAX(MAX((HIGH-LOW),ABS((HIGH-REF(CLOSE,1)))),ABS((LOW-REF(CLOSE,1)))),10);
HD:=(HIGH-REF(HIGH,1));
LD:=(REF(LOW,1) - LOW);
DMP:=SUM(IF(((HD> 0) AND (HD > LD)),HD,0),10);
DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),10);
PDI:=((DMP * 100) / TR1);
MDI:=((DMM * 100) / TR1);
ADX:=MA(((ABS((MDI - PDI)) / (MDI + PDI)) * 100),5);
AV:=(RSI5 + ADX);
DXR:=(((ADX + REF(ADX,5)) / 2) + RSI5);
WR10:=((100 * (HHV(HIGH,10) - CLOSE)) / (HHV(HIGH,10) - LLV(LOW,10)));
NEWVOL:=(RSI5 - WR10);//分析家公式网 www.70822.com
最佳买入:=(AV + NEWVOL);
Look:IF(CROSS(最佳买入,0),20,0),colorgray,LINETHICK;
VARA1:=SMA(Look,3,1);
VARA2:=SMA(VARA1,3,1),COLOR0000FF;
VARA3:=SMA(VARA2,3,1),COLOR00FFFF;
机构建仓:IF(CROSS(VARA2,VARA3) AND (VARA2<40),30,0),colorblue,LINETHICK;
DRAWTEXT((机构建仓>20),(机构建仓+10),'机构建仓'),colorblue;
抄底: IF(TROUGHBARS(3,15,1)=0 AND HIGH>LOW+0.01,50,0);
清仓:IF(PEAKBARS(3,15,1)=0,60,100);
DRAWTEXT((抄底>10),(抄底+10),'抄底'),colorred;
DRAWTEXT((清仓<90),(清仓+37),'OUT'),colorgreen;
[url=http://www.70822.com/soft/sort013/sort036/down-151381.html]skdj抄底(同花顺公式 副图 源码 测试图)[/url]