当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:一发入晕,副图+选股(通达信公式 副图 源码 测试图)
软件名称:[B]一发入晕,副图+选股(通达信公式 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:2.00 KB
官方主页:Home Page
更新时间:2023-07-25 06:33:46
软件简介:
一发入晕
N:=9;
M1:=2;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,M1,1);
D:=SMA(K,M1,1);
J:=3*K-2*D;
XG:=CROSS(J,0);
DIF:=(EMA(CLOSE,15) - EMA(CLOSE,26)),COLORRED;
DEA:=EMA(DIF,5),COLOR00FFFF;
MACD:2*(DIF-DEA), COLORSTICK;
DIF2:4*DIF-3*DEA,COLORFF00FF;
DEA2:=EMA(DIF2,1),COLOR2588FF;
IF(C>DEA2,DEA2,DRAWNULL),COLOR0000F0,LINETHICK3;
IF(DEA2<=REF(DEA2,1),DEA2,DRAWNULL),COLOR00E600,LINETHICK3;
XG2:=MACD< 0 AND MACD>REF(MACD ,1) AND REF(MACD ,1)< REF(MACD ,2) AND REF(MACD ,2)< REF(MACD ,3) AND REF(MACD ,3)< REF(MACD ,4);
STICKLINE(XG2,3,MACD,2,0),COLORFF00FF;
分界线:0,COLORFF00FF;
DRAWICON(XG2,6,1);
DRAWICON(XG AND XG2,5,1);
DRAWTEXT(XG AND XG2,4,'←一发入晕'),COLOR00FFFF;
STICKLINE(MACD>REF(MACD,1) AND MACD>0,0,MACD,1.8,0),COLOR000055;
STICKLINE(MACD>REF(MACD,1) AND MACD>0,0,MACD,1.1,0),COLOR000099;
STICKLINE(MACD>REF(MACD,1) AND MACD>0,0,MACD,0.6,0),COLOR0000BB;
STICKLINE(MACD<=REF(MACD,1) AND MACD>0,0,MACD,1.8,0),COLOR40FF00;
STICKLINE(MACD<=REF(MACD,1) AND MACD>0,0,MACD,1.1,0),COLOR40FF00;
STICKLINE(MACD<=REF(MACD,1) AND MACD>0,0,MACD,0.6,0),COLOR40FF00;
STICKLINE(MACD>REF(MACD,1) AND MACD< 0,0,MACD,1.8,0),COLOR000055;
STICKLINE(MACD>REF(MACD,1) AND MACD< 0,0,MACD,1.1,0),COLOR000099;
STICKLINE(MACD>REF(MACD,1) AND MACD< 0,0,MACD,0.6,0),COLOR0000BB;
STICKLINE(MACD<=REF(MACD,1) AND MACD< 0,0,MACD,1.8,0),COLOR40FF00;
STICKLINE(MACD<=REF(MACD,1) AND MACD< 0,0,MACD,1.1,0),COLOR40FF00;
STICKLINE(MACD<=REF(MACD,1) AND MACD< 0,0,MACD,0.6,0),COLOR40FF00;
选股公式如下:
N:=9;
M1:=2;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,M1,1);
D:=SMA(K,M1,1);
J:=3*K-2*D;
XG:=CROSS(J,0);
DIF:=(EMA(CLOSE,15) - EMA(CLOSE,26)),COLORRED;
DEA:=EMA(DIF,5);
MACD:=2*(DIF-DEA),;
XG2:=ACD< 0 AND MACD>REF(MACD ,1) AND REF(MACD ,1)< REF(MACD ,2) AND REF(MACD ,2)< REF(MACD ,3) AND REF(MACD ,3)< REF(MACD ,4);
选股:XG AND XG2;
[url=http://www.70822.com/soft/sort013/sort05/down-168568.html]一发入晕,副图+选股(通达信公式 副图 源码 测试图)[/url]