当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:玄黄趋势,波段指标,红块低吸(通达信指标 副图 源码 测试图)
软件名称:[B]玄黄趋势,波段指标,红块低吸(通达信指标 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:4.00 KB
官方主页:Home Page
更新时间:2022-12-27 00:10:35
软件简介:
玄黄趋势
波段指标,红块是低吸的时机。
顶部:100,LINETHICK1,COLORYELLOW;
高风险:90,POINTDOT,COLORMAGENTA;
高位区:80,POINTDOT,COLORMAGENTA;
分界线:50,POINTDOT,COLORWHITE;
低位区:20,POINTDOT,COLORBLUE;
低分险:10,POINTDOT,COLORBLUE;
零轴:0,LINETHICK1,COLORYELLOW;
VAR1:=HHV(HIGH,55);
VAR2:=LLV(LOW,55);
空仓:SMA((CLOSE-VAR2)/(VAR1-VAR2),8,1)*100,COLORYELLOW,LINETHICK2;
持股:EMA(HHV(空仓,3),1),COLORRED,LINETHICK2;
DRAWICON((持股=空仓) AND(REF(持股-空仓,1)>0),50,1);
DRAWICON((持股>空仓) AND(REF(持股-空仓,1)=0),50,2);
{DRAWTEXT((持股>空仓) AND (持股-空仓)<(REF(持股-空仓,1)),45,'☆');}
{黄金买入}
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;
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:=IF(REF(趋势线,1)<11 AND CROSS(趋势线,11) AND C<DF3,50,0);
DD1:=REF(趋势线,1)>89 AND REF(趋势线,1)<94 AND CROSS(89,趋势线);
DD0:=REF(趋势线,1)>89 AND CROSS(89,趋势线) AND C>MA(C,250);
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,0,-5,4,0),COLORRED;
STICKLINE(趋势线>89,100,105,4,0),COLORGREEN;
DRAWICON(CROSS(MOV1,MOV2),50,1);
DRAWICON(CROSS(MOV2,MOV1),50,2);
买入:BB0,COLORRED;
DRAWTEXT(买入,50,'低位可以买入'),COLORRED;
DRAWTEXT(DD1,50,'高处注意风险'),COLORLIBLUE;
DRAWICON(买入,50,1);
{/*顺势而为*/}
R:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
PERIODD:=7;
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);}
{/*大盘趋势*/}
VAR1D:=HHV(INDEXH,55);
VAR2D:=LLV(INDEXL,55);
VAR3D:=SMA((INDEXC-VAR2D)/(VAR1D-VAR2D),8,1)*100;
大盘趋势:EMA(HHV(VAR3D,3),1),COLORBLUE,LINETHICK2;
[url=http://www.70822.com/soft/sort013/sort05/down-165595.html]玄黄趋势,波段指标,红块低吸(通达信指标 副图 源码 测试图)[/url]