当前位置:分析家公式网 → 股票公式 → 同花顺公式 → 一键转帖:刀哥顶底,综合了几个指标(同花顺公式 副图 源码 测试图)
软件名称:[B]刀哥顶底,综合了几个指标(同花顺公式 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:10.0 KB
官方主页:Home Page
更新时间:2022-10-08 00:01:30
软件简介:
刀哥顶底,综合了几个指标
N:=12;M:=6;
线0:0.01,colorwhite;
线50:50,colorred;
线100:99.99,colorwhite;
多线:51;
空线:49;
RSV=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
K:SMA(RSV,21,1),colormagenta;
D:SMA(K,15,1),colormagenta;
J:3*K-2*D,colormagenta;
DRAWICON(CROSS(J,D),线0+5,11);
DRAWICON(CROSS(D,J),线100-5,12);
A1:=BARSLAST(REF(CROSS(K,D),1));
底背离:=REF(CLOSE,A1+1)>CLOSE AND K>REF(K,A1+1) AND CROSS(K,D);
DRAWTEXT(底背离,线0+2,'底背'),colormagenta;
A2:=BARSLAST(REF(CROSS(D,K),1));
顶背离:=REF(CLOSE,A2+1)<CLOSE AND REF(K,A2+1)>K AND CROSS(D,K);
DRAWTEXT(顶背离,线100+12,'顶背'),colormagenta;
RSV=(CLOSE-LLV(LOW,81))/(HHV(HIGH,81)-LLV(LOW,81))*100;
a=SMA(RSV,4,1);
b=SMA(a,3,1);
e=3*a-2*b;
q=(e+J)/2,colorgreen;
T:a,COLOR0099FF;
Y:b,coloryellow;
Z:e,colorwhite;
O:q,colorgreen;
DRAWICON(CROSS(O,线100),线100-2,22);
DRAWICON(CROSS(线100,O),线100,8);
DRAWICON(CROSS(线0,O),线0,9);
DRAWICON(CROSS(O,线0),线0-2,7);
PSY:COUNT(CLOSE>REF(CLOSE,1),N)/N*100,colorlired;
PSYMA:MA(PSY,M),colorlired;
P:COUNT(CLOSE>REF(CLOSE,3),N)/N*100,colorcyan;
DRAWICON(CROSS(P,多线),线50+15,7);
DRAWICON(CROSS(空线,P),线50-15,8);
DRAWICON(CROSS(线0,P),线50,9);
DRAWICON(CROSS(P,线100),线50-15,14);
DRAWICON(CROSS(线100,P),线100+10,15);
Var1:=(2*CLOSE+HIGH+LOW)/4;
Var2:=LLV(LOW,34);
Var3:=HHV(HIGH,34);
xx:EMA((Var1-Var2)/(Var3-Var2)*100,13),colorwhite;
yy:EMA(0.667*REF(xx,1)+0.333*xx,2),colorcyan;
STICKLINE(CROSS(xx,20) AND yy<xx,xx+19,xx-10,4,0),colorred;
DRAWTEXT(CROSS(xx,20) AND yy<xx,xx-5,'百分之三! ');
STICKLINE(yy<xx,xx,yy,4,0),colorred;
选股:IF(CROSS(xx,yy) AND xx<20 ,50,0),colorred;
逃顶:IF(FILTER(CROSS(YY,XX) AND xx>80 ,3),60,90),colorgreen;
DRAWICON(CROSS(xx,yy),xx,1);
DRAWICON(CROSS(yy,xx),xx,2);
PRICEOSC:(MA(CLOSE,12) - MA(CLOSE,26))/MA(CLOSE,12)*1000;
趋势线:PRICEOSC+50,colorred;
aa:-6;
bb:6;
aa1:80,colorwhite;
bb1:20,colorwhite;
DRAWICON(CROSS(趋势线,aa1),aa1+5,22);
DRAWICON(CROSS(bb1,趋势线),bb1+5,9);
涨:IF(趋势线>REF(趋势线,1),趋势线,DRAWNULL),colorred;
跌:IF(趋势线<REF(趋势线,1),趋势线,DRAWNULL),colorwhite;
VAR1:=1;
VAR2:=1/WINNER(CLOSE);
VAR3:=MA(CLOSE,13);
VAR4:=100-ABS((CLOSE-VAR3)/VAR3*100);
VAR5:=LLV(LOW,75);
VAR6:=HHV(HIGH,75);
VAR7:=(VAR6-VAR5)/100;
VAR8:=SMA((CLOSE-VAR5)/VAR7,20,1);
VAR9:=SMA((OPEN-VAR5)/VAR7,20,1);
VARA:=3*VAR8-2*SMA(VAR8,15,1);
VARB:=3*VAR9-2*SMA(VAR9,15,1);
VARC:=100-VARB;
持仓:(100-VARA)*VAR1,colorwhite,LINETHICK2;
DRAWICON(CROSS(持仓,线100),线100,9);
DRAWICON(CROSS(线0,持仓),线0,22);
DRAWICON(CROSS(线100,持仓),线100,7);
DRAWICON(CROSS(持仓,线0),线0,8);
DRAWTEXT(CROSS(线50,持仓),线50-5,'多');
DRAWTEXT(CROSS(持仓,线50),线50+15,'空 ');
看空:IF(持仓>REF(持仓,1),持仓,DRAWNULL),COLORFF00FF,LINETHICK2;
看多:IF(持仓<REF(持仓,1),持仓,DRAWNULL),colorwhite,LINETHICK2;
大盘生命指数: =EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3)*1.25;
大盘生命量能:IF(大盘生命指数>115.16,大盘生命指数,100),colormagenta;
R1:=(CLOSE-LLV(LOW,90))/(HHV(HIGH,90)-LLV(LOW,90))*200;
R2:=EMA((CLOSE-(LLV(LOW,5)))/((HHV(HIGH,5))-(LLV(LOW,5)))*100,4)*2;
R3:=EMA(0.618*REF(R2,1)+0.382*R2,2);
R4:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);
R5:=POW(MA(LOW,5),2)+MA(LOW,5);
R6:=POW(MA(HIGH,5),2)+MA(HIGH,5);
R7:=(R4-LLV(R5,64))/(HHV(R6,64)-LLV(R5,64))*150+65-10;
R8:=SMA((SMA(R7,3,1)*1.5-100),3,1);
R9:=3*(SMA(R7,3,1)*1.5-100)-2*R8;
R10:=(HIGH+LOW+CLOSE*2)/4;
R11:=(R10-(EMA(R10,13)))*100/(STD(R10,13));
R12:=EMA((EMA(R11,5)),13)+200-100;
R13:=(SMA(R1,3,1))+R2+(SMA(R7,3,1)*1.5-100)+R12;
R14:=(SMA((SMA(R1,3,1)),3,1))+R3+R8+(EMA(R12,10));
R15:=(3*(SMA(R1,3,1))-2*(SMA((SMA(R1,3,1)),3,1)))+(3*R12-2*(EMA(R12,10)))+
R9+(3*R12-2*(EMA(R12,10)));
R16:=(HIGH+LOW+CLOSE)/3;
R17:=(R16-MA(R16,34))/(0.015*AVEDEV(R16,34));
R18:=(HIGH+LOW+CLOSE+R16)/4;
R19:=(R18-(EMA(R18,24)))/(STD(R18,24))*100;
R20:=(R16-MA(R16,24))/(0.015*AVEDEV(R16,24));
R21:=(((EMA(R19,5))+R20+R17)/3+165)/4;
R22:=(R13+R14+R15*30)/32/5-15;
短期线: EMA(((R21+R22)/2/1.3),1),colormagenta;
长期线:MA(短期线,3),coloryellow;
和:(短期线+长期线)/2,coloryellow;
[url=http://www.70822.com/soft/sort013/sort036/down-164322.html]刀哥顶底,综合了几个指标(同花顺公式 副图 源码 测试图)[/url]