当前位置:分析家公式网 → 股票公式 → 同花顺公式 → 一键转帖:行穩致遠(同花顺公式 副图 源码 测试图)
软件名称:[B]行穩致遠(同花顺公式 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:14.0 KB
官方主页:Home Page
更新时间:2021-09-16 00:12:17
软件简介:
根据斜率推测走势的转向概率,调整仓位比例。
A1:=(2*CLOSE+HIGH+LOW)/4;
A2:=EMA(A1,3);
A3:=EMA(A2,3);
A4:=EMA(A3,3);
XYS0:=(A4-REF(A4,1))/REF(A4,1)*160;
XYHSL:=EMA(VOL/SHGZG*100,13);
CYC13:=EMA(MONEY,13)/EMA(VOL,13);
CYS13:=(CLOSE-CYC13)/CYC13*100;
STICKLINE(XYS0>=0,XYS0,0,8,0),colorred;
STICKLINE(XYS0<0,XYS0,0,8,0),colorgreen;
STICKLINE(XYHSL>6.1 AND CYS13>5,1.2,0,8,0),colorgreen;
STICKLINE(XYHSL>3.8 AND CYS13>5,0.9,0,8,0),coloryellow;
STICKLINE(XYHSL>2.1 AND CYS13>5,0.6,0,8,0),colorcyan;
STICKLINE(XYHSL>1.8 AND CYS13>5,0.3,0,8,0),colorblue;
牛线:MA(xys0,1);
熊线:MA(xys0,2);
买:MA(xys0,1)-MA(xys0,2),NODRAW;
HHJSJDA:=(3*CLOSE+OPEN+LOW+HIGH)/6;
大牛:(20*HHJsjda+19*REF(HHJsjda,1)+18*REF(HHJsjda,2)+17*REF(HHJsjda,3)+16*REF(HHJsjda,4)+15*REF(HHJsjda,5)+14*REF(HHJsjda,6)+13*REF(HHJsjda,7)+12*REF(HHJsjda,8)+11*REF(HHJsjda,9)+10*REF(HHJsjda,10)+9*REF(HHJsjda,11)+8*REF(HHJsjda,12)+7*REF(HHJsjda,13)+6*REF(HHJsjda,14)+5*REF(HHJsjda,15)+4*REF(HHJsjda,16)+3*REF(HHJsjda,17)+2*REF(HHJsjda,18)+
REF(HHJsjda,20))/210,colorred,NODRAW;
大熊:MA(大牛,5),coloryellow,NODRAW;
买卖:MA(大牛,1)-MA(大熊,1),NODRAW;
A1:=BARSLAST(REF(CROSS(牛线,熊线),1));
底背离:=REF(CLOSE,A1+1)>CLOSE AND 牛线>REF(牛线,A1+1) AND CROSS(牛线,熊线) AND 牛线<0;
STICKLINE(底背离,熊线*1.09,熊线*0.86,6,0),Color00FF00;
DRAWTEXT(底背离,熊线*1.09,' 反'),Color6600FF;
A2:=BARSLAST(REF(CROSS(熊线,牛线),1));
顶背离:=REF(CLOSE,A2+1)<CLOSE AND REF(牛线,A2+1)>牛线 AND CROSS(熊线,牛线) AND 牛线>0;
DRAWTEXT(顶背离,熊线*1.2,' 反'),Color00FF00;
VAR33:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
VAR34:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
VAR35:=(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100;
VAR36:=(VAR33+VAR34+VAR35)/3;
VAR37:=EMA(VAR36,5);
VAR38:=IF(VAR36<=-20,10,0);
VAR39:=HHV(VAR38,10);
VARH:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;
VARI:=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);
VAR40:=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);
VAR41:=VARI<REF(VAR40,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
DRAWTEXT(VAR41 AND COUNT(VAR41,30)=1,-0.7,'大资金活动'),LINETHICK1,COLORFF00FF;
STICKLINE(VAR41 AND COUNT(VAR41,30)=1,-0.05,-0.4,4,0),COLORFF00FF;
..........省略部分
[url=http://www.70822.com/soft/sort013/sort036/down-158090.html]行穩致遠(同花顺公式 副图 源码 测试图)[/url]