当前位置:分析家公式网 → 股票公式 → 同花顺公式 → 一键转帖:FY抄底波段(同花顺公式 副图 源码 测试图)
软件名称:[B]FY抄底波段(同花顺公式 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:4.00 KB
官方主页:Home Page
更新时间:2022-09-15 00:08:11
软件简介:
FY抄底波段
N:=9;M1:=3;M2:=3;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:SMA(RSV,M1,1),coloryellow,LINETHICK1;
D:SMA(K,M2,1),colorcyan,LINETHICK1;
J:3*K-2*D,colormagenta,colorred;
高安全区:0,colorred;
安全区:20,colorcyan;
风险区:100,colorgreen;
U1:=BARSLAST(REF(CROSS(K,D),1));
U2:REF(C,U1+1)>C AND REF(K,U1+1)<K AND CROSS(K,D)AND D<50;
底背离:IF(U2>0,1,0);
DRAWLINE(U1=0,D,底背离,REF(D,U1),0),colorred,LINETHICK2;
DRAWLINE(底背离,D,底背离,REF(D,U1),0),colorred,LINETHICK2;
DRAWTEXT(底背离,REF(D,U1)*1.00,' 底背离'),colorred;
RR:=MAX(C,O);
Q1:=HHV(RR,5);
Q2:=D<REF(D,1) AND REF(D,1)>REF(D,2);
A2:=BARSLAST(REF(Q2,1));//分析家公式网www.70822.com
顶背离:= REF(Q1,A2+1)<Q1 AND K<REF(K,A2+1) AND Q2;
DRAWLINE(A2=0 ,D,顶背离,REF(D,A2),0),colorwhite,LINETHICK2;
DRAWLINE(顶背离,D,顶背离,REF(D,A2),0),colorwhite,LINETHICK2;
DRAWTEXT(顶背离,REF(D,A2)*1.02,' 顶背离'),colorgreen;
RSV1:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
K1:=SMA(RSV1,5,1);
D1:=SMA(K1,5,1);
J1:=3*K1-2*D1;
AA1:EMA(J1,5);
AA2:REF(AA1,1);
STICKLINE(AA1>AA2,AA1,AA2,8,0),COLOR0055AA;
STICKLINE(AA1>AA2,AA1,AA2,6,0),colorred;
STICKLINE(AA1>AA2,AA1,AA2,4,0),colorred;
STICKLINE(AA1>AA2,AA1,AA2,1,0),colorred;
STICKLINE(AA1<=AA2,AA1,AA2,8,0),COLOR006600;
STICKLINE(AA1<=AA2,AA1,AA2,6,0),COLOR009900;
STICKLINE(AA1<=AA2,AA1,AA2,4,0),COLOR00BB00;
STICKLINE(AA1<=AA2,AA1,AA2,1,0),COLOR00CC00;
RSV2:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K2:=SMA(RSV2,3,1);
D2:=SMA(K2,3,1);
J2:=3*K2-2*D2;
BB1:=EMA(J2,5);
BB2:=REF(BB1,1);
DD:=AA1>AA2 AND BB1>BB2;
注意买入:DD AND NOT(REF(DD,1)) AND (AA1<50 OR BB1<50),colorblue;
DRAWICON(注意买入,-5,'BUY');
注意卖出:=REF(DD,1)=1 AND NOT(DD);
DRAWICON(注意卖出,102,'SELL');
[url=http://www.70822.com/soft/sort013/sort036/down-164139.html]FY抄底波段(同花顺公式 副图 源码 测试图)[/url]