分析家公式网,提供指标公式,股票软件 用户登录  |  用户 注册

软件名称:[B]玄黄趋势(同花顺指标 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:6.00 KB
官方主页:Home Page
更新时间:2022-12-13 00:05:46
软件简介:

 玄黄趋势(副)

天地玄黄,趋势为王,低吸持股,高抛空仓。

/*玄黄趋势*/
Var1:=HHV(HIGH,55);
Var2:=LLV(LOW,55);
空仓: SMA((CLOSE-Var2)/(Var1-Var2),8,1)*100,coloryellow,linethick2;
持股: EMA(HHV(空仓,3),1),colorred,linethick2;
低吸:20,colorgreen;
强弱:50,colorwhite;
风险:80,colorblue;
DRAWICON((持股=空仓) AND(REF(持股-空仓,1)>0),强弱,1);
DRAWICON((持股>空仓) AND(REF(持股-空仓,1)=0),强弱,2);
DRAWTEXT((持股>空仓) AND(持股-空仓)<(REF(持股-空仓,1)),强弱-5,'☆');
/*黄金买入*/
VAR11:=(((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18)))*100);
VAR12:=SMA(VAR11,9,1);
安全线:=EMA(VAR12,3),colorffffff;
H1:=MAX(REF(C,1),HIGH);
L1:=MIN(REF(C,1),LOW);
P1:=H1-L1;
DF1:=L1+P1*7/8,colorgreen;
DF2:=L1+P1*0.5/8,colorred;
DF3:=(DF2+DF1)/2,colorwhite,POINTDOT;
V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
趋势线:=EMA(V11,3),LINETHICK,colorliblue;
RSV:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
支撑线:=SMA(RSV,5,1),coloryellow;
顶线:89,colorgreen;
底线:11,coloryellow;
MOV0:=(((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18)))*100);
MOV1:=SMA(MOV0,9,1),colorgreen;
MOV2:=EMA(MOV1,3),colorlired;
MOV3:=EMA(MOV2,3),COLORFFCC66;
MOV4:=EMA(MOV3,3),COLORCC9966;
MOV5:=EMA(MOV4,3),COLORCC6666;
BB0:=REF(趋势线,1)<11 AND CROSS(趋势线,11) AND C<DF3;
DD1:=REF(趋势线,1)>89 AND REF(趋势线,1)<94 AND CROSS(89,趋势线);
DD0:=REF(趋势线,1)>89 AND CROSS(89,趋势线) AND C>中线;
DD2:=REF(趋势线,1)>94 AND REF(趋势线,1)<97 AND CROSS(94,趋势线);
DD3:=REF(趋势线,1)>97 AND REF(趋势线,1)>99 AND CROSS(97,趋势线);
DD4:=REF(趋势线,1)>99 AND REF(趋势线,1)<100 AND CROSS(99,趋势线);
DD5:=REF(趋势线,1)>100 AND CROSS(100,趋势线);
DD:=DD1=1 OR DD2=1 OR DD3=1 OR DD4=1 OR DD5=1;
STICKLINE(趋势线<11,趋势线,11,5,0),coloryellow;
STICKLINE(趋势线>89,趋势线,89,5,0),colorwhite;
DRAWICON(CROSS(mov1,mov2),强弱,1);
DRAWICON(CROSS(mov2,mov1),强弱,2);
买入:BB0,colorred;
DRAWTEXT(买入,趋势线+3.5,'买入'),colorred;
DRAWTEXT(DD1,趋势线+3.5,'高处注意风险'),colorliblue;
DRAWICON(买入,趋势线+3.5,1);
/*顺势而为*/
R:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
PERIODD:=9;
EMA1:=EMA(R,PERIODD);
EMA2:=EMA(EMA1,4);
DIFFERENCE:=EMA1-EMA2;
ZEROLAGEMA:=EMA1+DIFFERENCE;
看好了:100-ABS(ZEROLAGEMA);
随行线:MA(看好了,4),coloryellow,LINETHICK1;
K:=14;
FFILTER:=(K/100)*STD(看好了-REF(看好了,1),9);
XA:=IF(看好了<REF(看好了,1),看好了,0);
XN:=BARSLAST(XA>0 );
AMALOW:=REF(看好了,XN);
YA:=IF(看好了>REF(看好了,1),看好了,0);
YN:=BARSLAST(YA>0);
AMAHIGH:=REF(看好了,YN);
RR:=IF(AMAHIGH-看好了>FFILTER,-1,0);
TT:=IF(看好了-AMALOW>FFILTER,1,RR);
byx:=看好了;
FILLRGN(byx,REF(byx,1),byx>REF(byx,1),colorlired,byx<REF(byx,1),colorligreen);
 

[url=http://www.70822.com/soft/sort013/sort036/down-165381.html]玄黄趋势(同花顺指标 副图 源码 测试图)[/url]

关于本站 | 网站帮助 | 广告合作 | 声明 | 友情连接 | 网站地图 |
分析家公式网声明:本站所有股票公式软件资料均网上公开收集,如侵权请联系删帖。站内所有广告,均与本站无关!
Copyright © 2003-2024 70822.Com. All Rights Reserved .
页面执行时间:62.50000 毫秒