当前位置:分析家公式网 → 股票公式 → 同花顺公式 → 一键转帖:黑马趋势(同花顺公式 副图 源码 测试图)
软件名称:[B]黑马趋势(同花顺公式 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:11.0 KB
官方主页:Home Page
更新时间:2022-09-22 00:09:21
软件简介:
黑马趋势
■低vs高■:100*REF(C,0)/HHV(C,144),color32CD99,NODRAW;//现价vs三月最高
Ⅰ752不看:0.752*HHV(C,144),colorcyan,NODRAW;
Ⅱ728白2:0.728*HHV(C,144),colorwhite,NODRAW;
Ⅲ679绿2再来4:0.679*HHV(C,144),colorgreen,NODRAW;//第二波绿四
Ⅳ612蓝2:0.612*HHV(C,144),colorblue,NODRAW;
Ⅴ58黄不看:0.58*HHV(C,144),coloryellow,NODRAW;
Ⅵ55红长跌3:0.55*HHV(C,144),colorred,NODRAW;//一至三
Ⅶ52紫长跌3:0.52*HHV(C,144),colormagenta,NODRAW;//一至三
Ⅷ45棕长跌2:0.45*HHV(C,144),colorbrown,NODRAW;//一至三
红紫棕第2日向上涨超2个点买入■跌看第3日: colorred;
STICKLINE((■低vs高■>75.21 AND ■低vs高■<83.59),20,0,10,1),colorwhite;
STICKLINE(■低vs高■>72.81 AND ■低vs高■<=75.21,0,■低vs高■,8,0),colorcyan;
STICKLINE(■低vs高■>67.91 AND ■低vs高■<=72.81,0,■低vs高■,8,0),colorwhite;
STICKLINE(■低vs高■>61.21 AND ■低vs高■<=67.91,0,■低vs高■,8,0),colorgreen;
STICKLINE(■低vs高■>58.01 AND ■低vs高■<=61.21,0,■低vs高■,8,0),colorblue;
STICKLINE(■低vs高■>55.01 AND ■低vs高■<=58.01,0,■低vs高■,8,0),coloryellow;
STICKLINE(■低vs高■>52.01 AND ■低vs高■<=55.01,0,■低vs高■,8,0),colorred;
STICKLINE(■低vs高■>45.01 AND ■低vs高■<=52.01,0,■低vs高■,8,0),colormagenta;
STICKLINE(■低vs高■<=45.01,0,■低vs高■,8,0),colorbrown;
//大单净量
r:=((ZDMR[-1]+BDMR[-1])-(ZDMC[-1]+BDMC[-1]))/SHGZG*100;
//相对强弱
LC := REF(CLOSE,1);//前一日收盘价;
RSI$1:=SMA(MAX(CLOSE-LC,0),3,1)/SMA(ABS(CLOSE-LC),3,1)*100;
RSI$2:=SMA(MAX(CLOSE-LC,0),5,1)/SMA(ABS(CLOSE-LC),5,1)*100;
RSI$3:=SMA(MAX(CLOSE-LC,0),8,1)/SMA(ABS(CLOSE-LC),8,1)*100;
相对强弱:=0.5*RSI$1+0.31*RSI$2+0.19*RSI$3;
wave$1:=SMA(100*(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8)),3,1);
wave$2:=SMA(100*(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8)),5,1);
wave$3:=SMA(100*(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8)),8,1);
短线波段:=0.5*wave$1+0.31*wave$2+0.19*wave$3;
机会区:=20,POINTDOT,colorred;
风险区:=80,POINTDOT,colorgreen;
风险系数:=0.5*相对强弱+0.5*短线波段,colorliblue;
//买入条件;
CD1:=IF(风险系数<20 AND CLOSE>OPEN AND r>0,1,0);//波段小于20,股价翻红;
CD2:=IF(风险系数<20 AND LOW>=REF(LOW,1) AND CLOSE>LOW AND r>0,1,0);//波段小于20,股价未翻红,但未创新低;
CD3:=IF(REF(风险系数,1)<20 AND 风险系数>REF(风险系数,1),1,0);//前一日波段小于20,今日转向;
SIGNALBUY=(CD1=1 OR CD2=1 OR CD3=1);
X=(SIGNALBUY AND COUNT(SIGNALBUY,3)=1);
DRAWICON(X,机会区,11);
//buy 2;
机会区xx:=25.99,POINTDOT,colorwhite;//之前24,改为25.99
CDxx1:=IF(风险系数<25.99 AND 风险系数>=20 AND CLOSE>OPEN AND r>0,1,0);//波段小于20,股价翻红;
CDxx2:=IF(风险系数<25.99 AND 风险系数>=20 AND LOW>=REF(LOW,1) AND CLOSE>LOW AND r>0,1,0);//波段小于20,股价未翻红,但未创新低;
CDxx3:=IF(REF(风险系数,1)<25.99 AND REF(风险系数,1)>=20 AND 风险系数>REF(风险系数,1),1,0);//前一日波段小于20,今日转向;
SIGNALBUYxx=(CDxx1=1 OR CDxx2=1 OR CDxx3=1);
Xxx=(SIGNALBUYxx AND COUNT(SIGNALBUYxx,3)=1);
DRAWICON(Xxx,机会区xx,5);
//----------part222222222--------;
VAR3:=LLV(HIGH,240);
VAR4:=100*(CLOSE-VAR3)/VAR3;
VAR5:=(CLOSE-LLV(LOW,528))/(HHV(HIGH,528)-LLV(LOW,528))*100;
VAR6:=(CLOSE-LLV(CLOSE,530))/(HHV(CLOSE,530)-LLV(CLOSE,530))*100;
VAR8:=SMA(MAX(CLOSE-REF(CLOSE,1),0),34,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*100;
VAR9:=SMA(MAX(CLOSE-REF(CLOSE,1),0),13,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),13,1)*100;
VARA:=BARSCOUNT(CLOSE);
VARB:=VAR8<20 AND VAR9<23 AND VARA>35;
VARC:=VARB AND COUNT(VARB,1)=1;
VARD:=EMA(CLOSE,21)-EMA(CLOSE,8);
VARE:=EMA(VARD,5);
VARF:=TROUGHBARS(3,6,1)<4 AND CROSS(VARD,VARE);
VAR10:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0);
VAR11:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)<=REF(ZIG(3,6),3);
VAR12:=ZIG(3,6)=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)>=REF(ZIG(3,6),3);
VAR13:=ZIG(3,22)>REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)<=REF(ZIG(3,22),3);
VAR14:=ZIG(3,22)=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)>=REF(ZIG(3,22),3);
VAR15:=ZIG(3,51)>REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)<=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)<=REF(ZIG(3,51),3);
VAR16:=ZIG(3,51)=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)>=REF(ZIG(3,51),3);
VAR17:=ZIG(3,72)>REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)<=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)<=REF(ZIG(3,72),3);
VAR18:=ZIG(3,72)=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)>=REF(ZIG(3,72),3);
VAR19:=EMA(CLOSE,2)-EMA(CLOSE,150);
VAR1A:=EMA(VAR19,100);
VAR1B:=2*(VAR19-VAR1A);
VAR1C:=POW(VAR1B,3)*0.1+POW(VAR1B,1);
VAR1D:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));
VAR1E:=EMA(VAR1D*0.97,3);
VAR1F:=(HIGH+LOW+CLOSE)/3;
VAR20:=(VAR1F-MA(VAR1F,14))/(0.015*AVEDEV(VAR1F,14));
VAR21:=CROSS(VAR1E,LOW);
选股买点:=VAR10,coloryellow;
组合买:(VAR11+VAR13+VAR15+VAR17),colorred;
组合卖:=(VAR12+VAR14+VAR16+VAR18),colorgreen;
黑马线:=IF(VAR1B>0.1,VAR1C,0)*1;
黑马信号介入点:=选股买点 AND VARF AND VARC AND VAR21 AND VAR4<0 AND VAR5<2 AND VAR6=0,colorliblue;
DRAWTEXT(VAR13,0.6,'●'),colorred;
DRAWICON(组合买,组合买,1);
DRAWICON(组合卖,组合卖,9);
DRAWTEXT(黑马信号介入点>0,4.5,'●我的黑马介入点'),colorred;
DRAWICON(选股买点>0,4.2,1);
DRAWTEXT(选股买点 AND VARF AND VARC,2.8,' 30%下单莫错过!'),colormagenta;
DRAWTEXT(VAR18,3,'空仓'),colorgreen;
DRAWTEXT(VAR20<-110 AND 选股买点>0,2,'选股买点'),coloryellow;
DRAWTEXT(VAR17,1.3,'发现黑马'),colorliblue;
DRAWTEXT(选股买点 AND VAR20<-100 AND VARF AND VARC>0,4.1,'★组合5分钟线选股思路获利5%以上'),colorred
[url=http://www.70822.com/soft/sort013/sort036/down-164241.html]黑马趋势(同花顺公式 副图 源码 测试图)[/url]