当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:涨三丰背离指标公式(通达信指标 副图 源码 测试图)
软件名称:[B]涨三丰背离指标公式(通达信指标 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:2.00 KB
官方主页:Home Page
更新时间:2023-05-14 00:13:24
软件简介:
涨三丰背离指标公式
{涨三丰背离指标公式}
DIF:EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:EMA(DIF,9);
MACD:(DIF-DEA)*2,COLORSTICK;
X_1:=CROSS(DIF,DEA) AND DIF<(-0.1);
STICKLINE(X_1,0,(-0.18),1,0),COLORYELLOW;
DRAWTEXT(X_1,(-0.15),'17'),COLORRED;
X_2:=COUNT(CROSS(DIF,DEA),BARSLAST(DEA>=0));
X_3:=CROSS(DIF,DEA) AND DEA<0 AND COUNT(X_2=2,21)=1;
STICKLINE(X_3,0,(-0.18),1,0),COLORMAGENTA;
DRAWTEXT(X_3,(-0.3),'18'),COLORMAGENTA;
X_4:=BARSLAST(REF(CROSS(DIF,DEA),1));
X_5:=REF(CLOSE,X_4+1)>CLOSE AND DIF>REF(DIF,X_4+1) AND CROSS(DIF,DEA);
STICKLINE(X_5,0,0.13,1,0),COLORGREEN;
DRAWTEXT(X_5,0.18,'涨9'),COLORGREEN;
X_6:=BARSLAST(REF(CROSS(DEA,DIF),1));
X_7:=REF(CLOSE,X_6+1)<CLOSE AND REF(DIF,X_6+1)>DIF AND CROSS(DEA,DIF);
DRAWTEXT(X_1 AND X_3 AND X_5,0.251,'涨0'),COLORYELLOW,LINETHICK2;
DRAWTEXT(X_1 AND X_5,0.31,'背离1'),COLORLIBLUE,LINETHICK2;
上翘:IF(DIF>REF(DIF,1),DIF,DRAWNULL),COLORRED,LINETHICK2;
下拐:IF(DIF<REF(DIF,1),DIF,DRAWNULL),COLORLIBLUE,LINETHICK2;
X_8:=BARSLAST(REF(CROSS(RSI.RSI1,RSI.RSI2),1));
X_9:=REF(CLOSE,X_8+1)>CLOSE AND REF(RSI.RSI1,X_8+1)<RSI.RSI1 AND CROSS(RSI.RSI1,RSI.RSI2);
DRAWTEXT(X_9>0,(-0.3),'背离2'),COLORCYAN;
X_10:=BARSLAST(REF(CROSS(RSI.RSI2,RSI.RSI1),1));
X_11:=REF(CLOSE,X_10+1)<CLOSE AND REF(RSI.RSI1,X_10+1)>RSI.RSI1 AND CROSS(RSI.RSI2,RSI.RSI1);
DRAWTEXT(X_11>0,0.28,'开跌'),COLORGREEN;
[url=http://www.70822.com/soft/sort013/sort05/down-167584.html]涨三丰背离指标公式(通达信指标 副图 源码 测试图)[/url]