当前位置:分析家公式网 → 股票公式 → 同花顺公式 → 一键转帖:创鑫快手短线,短线组穿越长线组,重点关注
软件名称:[B]创鑫快手短线,短线组穿越长线组,重点关注[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:5.00 KB
官方主页:Home Page
更新时间:2023-08-01 00:09:57
软件简介:
创鑫快手短线
短线组穿越长线组,重点关注
//GUBI
K1:EMA(C,7),colorwhite;
K2:EMA(C,9),colorwhite;
K3:EMA(C,11),colorwhite;
K4:EMA(C,13),colorwhite;
K5:EMA(C,15),colorwhite;
K6:EMA(C,18),colorwhite;
K7:EMA(C,30),colorgreen;
K8:EMA(C,35),colorgreen;
K9:EMA(C,40),colorgreen;
K10:EMA(C,45),colorgreen;
K11:EMA(C,50),colorgreen;
K12:EMA(C,60),colorgreen ;
//短线组穿越长线组,重点关注
SS:=(K1+K2+K3+K4+K5+K6)/6;
LL:=(K7+K8+K9+K10+K11+K12)/6;
//UP:=K1>K2 AND K2>K3 AND K3>K4 AND K4>K5 AND K5>K6 AND K6>K7 AND K7>K8 AND K8>K9 AND K9>K10 AND K10>K11 AND K11>K12;
//短线组粘合 长线组宽度大于短线组
nn1:=ABS(K1-ss);
nn2:=ABS(K6-ss);
nn3:=ss*0.005;
nn4:=IF(nn1<=nn3 AND nn2<=nn3 AND CROSS(K1,REF(K6,1)) AND ss>=Ll,1,0);
//黑马优化
B1:=(C-REF(C,1))/REF(C,1)*100;
X1:=SUM(B1,21);
X2:=SMA(X1,3,1);
X3:=SMA(X2,3,1);
X4:=SMA(X3,3,1);
//汗血宝马:X1,colorred,linethick2;
//白龙马:X2,colorwhite,linethick2;
//赤突马:X3,color0099ff,linethick2;
//赛马场:0,coloryellow,linethick2;
//20081214日去掉以下部分
DRAWICON(CROSS(SS,LL) AND X1>=0,LOW,"buy");
//DRAWTEXT(CROSS(SS,LL) AND X1>=0,LOW*0.992,'趋势变好,重点关注'), colorred;
//DRAWICON(nn4,LOW,"buy");
//DRAWTEXT(nn4 ,LOW,'短期均线粘合,重点关注'), colorred;
//顶底
var1:=(HHV(HIGH,8)-LLV(LOW,8));
Var2:=(HHV(HIGH,8)-CLOSE);
Var3:=(CLOSE-LLV(LOW,8));
Var4:=Var2/Var1*100-70 ;
Var5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
Var6:=(2*C+H+L)/4;
Var7:=SMA((Var3/Var1*100),3,1);
Var8:=LLV(LOW,30);
Var9:=SMA(Var7,3,1)-SMA(Var4,9,1);
Var10:= IF(Var9>100,Var9-100,0);
VarA:=HHV(HIGH,30);
B:=EMA((Var6-Var8)/(VarA-Var8)*100,8);
B1:=EMA(B,5);
//STICKLINE(B>0 AND B-B1>=0,79,80,6,0),colorred;
//STICKLINE(B>0 AND B-B1<0,79,80,6,0),COLOR00ff00;
//STICKLINE(B>0 AND B-B1>=0,49,50,6,0),colorred;
//STICKLINE(B>0 AND B-B1<0,49,50,6,0),COLORff8899;
//STICKLINE(B>0 AND B-B1>=0,19,20,6,0),colorred;
//STICKLINE(B>0 AND B-B1<0,19,20,6,0),COLOR00ff00;
//STICKLINE(B-B1>0,B,B1,8,1),colorred;
//STICKLINE(B-B1<0,B,B1,8,1),COLOR00ff00;
// macd 买入
short=8;
Long=30;
DIFF=EMA(CLOSE,SHORT) - EMA(CLOSE,LONG);
DEA=EMA(DIFF,5);
MACD=2*(DIFF-DEA);
MACD1=IF(diff>=dea OR diff>REF(diff,1) OR CROSS(MACD,REF(MACD,1)),1,0);
//新未来函数,使用cross
//n1=7;n2=2;n3=2;
//小转向角,3,加仓买入 18日线走平或者多,短期均线在长期均线上,长期均线向上发散,黑马指标中X1>X2>X3,短期组的厚度小于长期组厚度的120%
//DRAWICON(CROSS(ZIG(3,n2),REF(ZIG(3,n2),1)) AND K6>=REF(K6,1) AND K1>K7 AND k7>K12 AND x1>x2 AND MACD1,LOW,"buy1");
DRAWICON(CROSS(ZIG(3,n2),REF(ZIG(3,n2),1)) ,LOW,"buy1");
//小转向角,6,短线卖出
DRAWICON(CROSS(REF(ZIG(3,n3),1),ZIG(3,n3)),HIGH,"sell1");
//DRAWICON(CROSS(ZIG(3,n3),REF(ZIG(3,n3),1)),LOW,"buy");
//转向比较大,适合日线及中长线操作
DRAWICON(CROSS(ZIG(3,n1),REF(ZIG(3,n1),1)),LOW,"buy");
DRAWTEXT(CROSS(ZIG(3,n1),REF(ZIG(3,n1),1)),LOW*0.992,'关注机会'),colorred;
DRAWICON(CROSS(REF(ZIG(3,n1),1),ZIG(3,n1)),HIGH,"sell");
DRAWTEXT(CROSS(REF(ZIG(3,n1),1),ZIG(3,n1)),HIGH*1.008,'注意风险'), colorgreen;
[url=http://www.70822.com/soft/sort013/sort036/down-168652.html]创鑫快手短线,短线组穿越长线组,重点关注[/url]