当前位置:分析家公式网 → 股票公式 → 同花顺公式 → 一键转帖:主力持仓_GSW1811
软件名称:[B]主力持仓_GSW1811[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:2.00 KB
官方主页:Home Page
更新时间:2018-11-19 00:10:57
软件简介:
主力持仓_GSW1811
参考网络代码,进行修改,感谢网友。观察了很多股票,感觉不错。调试之中。
花:=EMA(SLOPE(1,1)+C,3),colorred,nodraw;
女:=EMA(SLOPE(1,1)+C,7),colorgreen,nodraw;
ZEROS:0,nodraw;//www.70822.com
买点:(COUNT (花<女,5)=4 AND 花>=女),nodraw;
卖点期:COUNT(买点,PASTDAYS),nodraw;
卖点:COUNT (花>=女,5)=4 AND 花<女,nodraw;
DRAWICON(买点,C*0.95,'BUY'), colorred;
DRAWICON(卖点,C*1.08,'SELL'), coloryellow;
//STICKLINE(买点,CLOSE,OPEN,4,0),colorcyan;
持仓:=(花>= 女) AND (买点<1),nodraw;
空仓:=(花>= 女) AND (卖点<1),nodraw;
STICKLINE(持仓 ,CLOSE,OPEN,8,0) ,COLOR000077;
STICKLINE(持仓 ,CLOSE,OPEN,7,0) ,COLOR000099;
STICKLINE(持仓 ,CLOSE,OPEN,6,0) ,COLOR0000bb;
STICKLINE(持仓 ,CLOSE,OPEN,5,0) ,COLOR0000cc;
STICKLINE(持仓 ,CLOSE,OPEN,4,0) ,COLOR0000dd;
STICKLINE(持仓 ,CLOSE,OPEN,3,0) ,COLOR0000ee;
STICKLINE(持仓 ,CLOSE,OPEN,2,0) ,COLOR0000ff;
STICKLINE(花<= 女 ,CLOSE,OPEN/1.005,8,0),colorFF0000;
STICKLINE(花<= 女 ,CLOSE,OPEN/1.004,7,0),colorFF3300;
STICKLINE(花<= 女 ,CLOSE,OPEN/1.003,3,0),colorFFDD00;
STICKLINE(花<= 女 ,CLOSE,OPEN/1.002,2,0),colorFFFF00;
///DRAWGBKLAST(CLOSE>OPEN,STRIP(RGB(55,50,0),RGB(0,25,1000),1));
//DRAWGBKLAST(CLOSE<OPEN,STRIP(RGB(80,0,0),RGB(100,20,1000),1));
ema13:=EMA(C,20),COLORFF8080;
ema34:=EMA(C,60),colorFFFF00;
ema55:=EMA(C,80),colorff00ff;
YZ1:=C/O>1.02 AND H/C>1.02 AND O/L<1.02;
YZ2:=REF(C,1)>REF(O,1) AND O>MA(C,11);
Y:=(MA(C,13)-MA(C,55))/MA(C,13)*100;
YZ:=YZ1 AND YZ2 AND Y>10;
X11:DRAWTEXT(YZ,HIGH+0.2,'减仓'),COLORF00FF0;
gr1:=BARSLAST(BETWEEN("bias.bias2"(6,13,24),0,5) );
gr2:=ema13>ema34 AND ema34>ema55 AND ema13>REF(ema13,1);
gr3:=COUNT("bias.bias2"(6,13,24)>10 AND H=HHV(H,gr1),gr1);
gr4:=H=HHV(H,gr1);
gr5:="macd.macd"(12,26,9)<REF("macd.macd"(12,26,9),1);
gr6:=gr2 AND gr3 AND gr4;
gr7:=gr2 AND gr3 AND gr4 AND gr5;
DRAWTEXT(gr6 AND gr7,H+0.13,'风险'),color00ff00;
A1:=EMA(C,14),colorwhite,LINETHICK1;
A1X:=(A1-REF(A1,1))/REF(A1,1)*100,NODRAW;
支撑位:IF(A1X>=0,REF(EMA(C,14),BARSLAST(CROSS(A1X,0))+1),DRAWNULL),nodraw;//colorred,LINETHICK1;
阻力位:IF(A1X<0,REF(EMA(C,14),BARSLAST(CROSS(0,A1X))+1),DRAWNULL),nodraw;//colorgreen,LINETHICK1;
STICKLINE(CROSS(A1X,0),C,O,2,0),coloryellow;
STICKLINE(CROSS(0,A1X),C,O,2,0),colorgreen;
DRAWICON(CROSS(花,女) AND CLOSE/REF(CLOSE,1)>1.03,LOW/1.06,25);
通 = MA(C,17);
子 = MA(C,26);
通子金叉:=CROSS(通,子),nodraw;
DRAWICON(通子金叉,LOW/1.06,16);
花2:=EMA(SLOPE(1,1)+C,3),colorred,nodraw;
女2:=EMA(SLOPE(1,1)+C,7),colorgreen,nodraw;
花1=MA(CLOSE, 5);
女1=MA(CLOSE, 60);
花仙=CROSS(花2,女2) AND 花1>女1;
仙女=CROSS(女2,花2) AND 花1>女1 AND COUNT(CROSS(花,女) AND 花1>女1 ,30);
最佳买点:买点+花仙,nodraw;
最佳买点期:COUNT(最佳买点,PASTDAYS),nodraw;
DRAWTEXT(花仙,LOW/1.03,'↖买'),colorwhite;
DRAWTEXT(仙女,HIGH*1.06,'卖'),coloryellow;
//STICKLINE(花仙,CLOSE,O,2,0),coloryellow;
STICKLINE(仙女,CLOSE,O,7,0),COLOR555500;
STICKLINE(仙女,CLOSE,O,6,0),COLOR888800;
STICKLINE(仙女,CLOSE,O,5,0),COLORAAAA00;
STICKLINE(仙女,CLOSE,O,4,0),COLORCCCC00;
STICKLINE(仙女,CLOSE,O,3,0),COLOREEEE00;
STICKLINE(仙女,CLOSE,O,2,0),colorwhite;
STICKLINE(花仙,CLOSE,O,4,0),COLOR0000AA;
//STICKLINE(花仙,CLOSE,O,3,0),COLOR0000CC;
//STICKLINE(花仙,CLOSE,O,2,0),COLOR0000EE;
STICKLINE(最佳买点,CLOSE,OPEN,8,0),COLOR006666;
STICKLINE(最佳买点,CLOSE,OPEN,7,0),COLOR007777;
STICKLINE(最佳买点,CLOSE,OPEN,6,0),COLOR008888;
STICKLINE(最佳买点,CLOSE,OPEN,5,0),COLOR009999;
STICKLINE(最佳买点,CLOSE,OPEN,4,0),COLOR00aaaa;
STICKLINE(最佳买点,CLOSE,OPEN,3,0),COLOR00bbbb;
STICKLINE(最佳买点,CLOSE,OPEN,2,0),COLOR00CCCC;
STICKLINE(最佳买点,CLOSE,OPEN,1,0),COLOR00dddd;
[url=http://www.70822.com/soft/sort013/sort036/down-130652.html]主力持仓_GSW1811[/url]