当前位置:分析家公式网 → 股票公式 → 同花顺公式 → 一键转帖:短线宝(同花顺公式 副图 源码 测试图)
软件名称:[B]短线宝(同花顺公式 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:12.0 KB
官方主页:Home Page
更新时间:2022-07-22 00:12:19
软件简介:
股S短线宝
//短线宝**********************
V1T:=MA(C,3)=HHV(MA(C,3),7);
V2T:=MA(C,3)>MA(C,5);
V3T:=MA(V,5)>MA(V,10)*1.01;
V4T:=COUNT(MA(C,1)>REF(C,1),2)=2;
LC20T:=REF(CLOSE,1);
RSI20T:=SMA(MAX(CLOSE-LC20T,0),4.1,1)/SMA(ABS(CLOSE-LC20T),4.1,1)*100;
DRAWICON(CROSS(RSI20T,11)*1 ,-10,11),coloryellow;
//STICKLINE(CROSS(RSI20T,11)*1,-10,20,2,0),coloryellow;
VAR3AT:=3;
VAR2AT:=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);
MTMt:=C-REF(C,1);
DXT:=100*EMA(EMA(MTMt,6),6)/EMA(EMA(ABS(MTMt),6),6);
YXFT:=IF(LLV(DXT,2)=LLV(DXT,7) AND COUNT(DXT<0,2) AND CROSS(DXT,MA(DXT,2)),1,0);
加仓:IF(FILTER(YXFT=1,5),10,0),STICK,colorblue,LINETHICK3;
A51T:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV
(L,55))*100,5,1);
FYT:=EMA(A51T,5);
A54T:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;
//方向:(MA(3*SMA(A54T,6,1)-2*SMA(SMA(A54T,5,1),5,1),2)),LINETHICK2,colorred;
//成功率吓人的指标,用再多的指标不如专攻一个
//该指标用于提示短线个股买卖
//指标与K线结合起来用更好
//具体用法是:当出现蓝线凸出为关注点,但是为了保险期间,最好等待方向红线扭头向上,还有K线扭头向上时买入
M:=55;
N:=34;
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);
//DRAWTEXT(CROSS(85,RSI),75,'T'),colorgreen;
VAR1:=IF(YEAR>=2038 AND MONTH>=1,0,1);
VAR2:=REF(LOW,1)*VAR1;
VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100*VAR1;
VAR4:=EMA(IF(CLOSE*1.3,VAR3*10,VAR3/10),3)*VAR1;
VAR5:=LLV(LOW,30)*VAR1;
VAR6:=HHV(VAR4,30)*VAR1;
VAR7:=IF(MA(CLOSE,58),1,0)*VAR1;
VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7*VAR1;
吸筹:=IF(VAR8>100,100,VAR8)*VAR1,colorlired;
庄家吸筹:STICKLINE(吸筹>-150,0,吸筹,8,0),colorlired;
//散户线: 100*(HHV(HIGH,M)-CLOSE)/(HHV(HIGH,M)-LLV(LOW,M)),colorgreen,LINETHICK2;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
m线:EMA(J,6),colorlired,LINETHICK2;
STICKLINE(m线>REF(m线,1),95,105,5,0),LINETHICK5,colorred;
STICKLINE(m线<REF(m线,1) AND (REF(m线,1)-m线>=0.35) ,95,99,5,0),LINETHICK8,colorgreen;
STICKLINE(m线<REF(m线,1) AND (REF(m线,1)-m线<0.35) ,95,103,5,1),LINETHICK8,coloryellow;
STICKLINE(m线-REF(m线,1)>10 ,95,99,5,0),LINETHICK8,colorgreen;
DRAWTEXT(m线-REF(m线,1)>13,65,'强'),linethick1,colorblue;
DRAWTEXT(m线-REF(m线,3)>26,85,'牛'),linethick1,colorblue;
DRAWTEXT(m线-REF(m线,5)>56,25,'疯'),linethick1,colorblue;
//DRAWTEXT(CROSS(散户线,庄家线),散户线,'B');
//DRAWTEXT(CROSS(庄家线,散户线),庄家线,'S');
/*
强势线:=MA(CLOSE,5),colorblack;
DRAWTEXT(CLOSE>强势线 AND OPEN >强势线 AND REF(C,1) >强势线 AND REF(C,2) >强势线 ,50,'强'),coloryellow;
*/
//大单
/*
Nt:=5;
Mt:=13;
AAt:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
买量:=IF(CLOSE>OPEN,AAt*(HIGH-LOW),IF(CLOSE<OPEN,AAt*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),LINETHICK0,colorred;
卖量:=IF(CLOSE>OPEN,0-AAt*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-AAt*(HIGH-LOW),0-VOL/2)),LINETHICK0,COLORFFFF00;
进出量:=买量+卖量;
STICKLINE(进出量<0,0,进出量,4,0),COLORFF6600;
STICKLINE(进出量<0,0,进出量,3,0),COLORFF9900;
STICKLINE(进出量<0,0,进出量,1.5,0),COLORFFCC00;
STICKLINE(进出量<0,0,进出量,0.5,0),COLORFFFF00;
STICKLINE(进出量>0,0,进出量,4,0),COLOR000099;
STICKLINE(进出量>0,0,进出量,3,0),COLOR0000CC;
STICKLINE(进出量>0,0,进出量,1.5,0),COLOR0000FF;
STICKLINE(进出量>0,0,进出量,0.5,0),COLORCC66FF;
N日内净流入:SUM(进出量,Nt),LINETHICK2,COLOR33FF33;
TJ:=进出量>0 AND REF(进出量,1)<0;
连红天:IF(进出量>0,BARSLAST(TJ)+1,0),COLORFF00FF;
M日内翻红天:COUNT(进出量>0,M),colorred;
TJ1:=CROSS(0,N日内净流入);
FT:=BARSLAST(TJ1);
走熊天:IF(N日内净流入<0,FT+1,0),COLORFFFF00;
TJ2:=CROSS(N日内净流入,0);
FT2:=BARSLAST(TJ2);
走牛天:IF(N日内净流入>0,FT2+1,0),colorred;
*/
//红绿灯
A:=MAX(MA(C,60),MA(C,120));
B:=MIN(MA(C,60),MA(C,120));
C1:=LLV(HIGH,5);
C2:=LLV(HIGH,5);
D:=CLOSE>=MA(C,5) AND OPEN>=MA(C,5) ;
E:=CLOSE<=MA(C,5) AND OPEN<=MA(C,5) ;
F:=CLOSE>=MA(C,5) AND OPEN<=MA(C,5) ;
G:=CLOSE<=MA(C,5) AND OPEN>=MA(C,5) ;
绿灯行:=C>A,colorgreen;
红灯停:=C<B,colorred;
黄灯观望:=A>=C AND C>=B,coloryellow ;
//STICKLINE(C>A,0,10,8,0),colorgreen,LINETHICK2;
//STICKLINE(C<B,0,10,8,0),colorred,LINETHICK2;
//STICKLINE(A>=C AND C>=B,0,10,8,0),coloryellow,LINETHICK2;
STICKLINE(E,0,10,8,0),colorgreen,LINETHICK2;
STICKLINE(G,0,25,9,0),colorblack,LINETHICK2;
STICKLINE(D AND (CLOSE-OPEN>-4),0,35,8,0),colorred,LINETHICK2;
STICKLINE(F,0,35,8,1),coloryellow,LINETHICK2;
STICKLINE(D AND (CLOSE-OPEN<=-4),0,30,8,0),colorblack,LINETHICK2;
//STICKLINE(F AND D,0,10,8,0),colorblue,LINETHICK2;
//
Var3:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
Var4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
Var5:=(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100;
Var6:=(Var3+Var4+Var5)/3;
Var7:=EMA(Var6,5);
指标: =EMA(EMA(Var3,5),5)*3, COLORSTICK;
Var8:=IF(Var6<=-20,10,0);
Var9:=HHV(Var8,10);
STICKLINE(Var8=10,15,0,6,1),coloryellow;
VarA:=IF(Var9 AND CROSS(MA(CLOSE,3),MA(CLOSE,5)),20,0);
K:=EMA(Var7,5)*2, COLORff00ff;
D:=EMA(K,5), colorwhite;
J:=K*3-D*2, coloryellow;
VarB:=BETWEEN(CLOSE,MA(CLOSE,3),MA(CLOSE,5)) AND J>10;
换手:= VOL/CAPITAL*100,colorgreen;
DRAWTEXT(VarA=20,60,'底'),linethick1,colorliblue;
STICKLINE((VarA=20),0,50,1,0),colorliblue;
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));
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));
STICKLINE((VARC=1),(65),0,1,0),colorred;
DRAWTEXT((VARC=1),(79),'买'),colorred;
STICKLINE((VARD=1),65,0,1,0),colorgreen;
DRAWTEXT((VARD=1),79,'卖'),colorgreen;
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,50,'大资'),linethick1,COLORff00ff;
S
[url=http://www.70822.com/soft/sort013/sort036/down-163360.html]短线宝(同花顺公式 副图 源码 测试图)[/url]
[url=http://www.70822.com/soft/sort013/sort036/down-163360.html]短线宝(同花顺公式 副图 源码 测试图)[/url]