公式指标平台 股票指标公式源码分享 登录 注册
公式指标平台
未来函数检测
首 页 金钻指标 通达信公式 大智慧公式 同花顺公式 文华财经公式 操盘手公式 东财通公式 飞狐公式 其他公式 公式解答 股票软件 股票池
当前位置:→ 公式指标平台 > 通达信公式 > 正文 → 正文

通达信最神奇而简单的公式大集合

发布时间:2013/4/5 20:29:39  浏览次数:

通达信最神奇而简单的公式大集合

本文仅仅提供多个公式源码,并无公式提供下载
 

均线之下
XG:=LONGCROSS(H,MA(C,20),15) AND CROSS(C,MA(C,20)) AND C>0 AND V>MAX(REF(V,1),REF(V,2));
0,COLORGREEN;
STICKLINE(XG,10,0,1,0),COLORRED;

均线之下2.5

XG:=LONGCROSS(H,MA(C,20),15) AND CROSS(C,MA(C,20)) AND C>0 AND RANGE(V,MAX(REF(V,1),REF(V,2)),2.5*MAX(REF(V,1),REF(V,2)));
0,COLORGREEN;
STICKLINE(XG,10,0,1,0),COLORRED;

KDJ
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
XG:=CROSS(K,D) AND C>REF(C,1) AND V>MAX(REF(V,1),REF(V,2));
0,COLORBLUE;
STICKLINE(XG,10,0,1,0),COLORRED;

RSI
N1:=6;
N2:=12;
N3:=24;
LC:=REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100;
RSI2:=SMA(MAX(CLOSE-LC,0),N2,1)/SMA(ABS(CLOSE-LC),N2,1)*100;
RSI3:=SMA(MAX(CLOSE-LC,0),N3,1)/SMA(ABS(CLOSE-LC),N3,1)*100;
XG:=CROSS(RSI1,RSI2) AND CROSS(RSI1,RSI3) AND C>REF(C,1) AND V>MAX(REF(V,1),REF(V,2));
0,COLORBLUE;
STICKLINE(XG,10,0,1,0),COLORRED;

小均线
XG:=COUNT( C<MA(C,5),6)>=5 AND C>MA(C,5) AND V>REF(V,1) AND C>O ;
0,COLORGREEN;
STICKLINE(XG,10,0,1,0),COLORRED;

大均线
XG:=CROSS(C,MA(C,20)) AND C>O AND V>REF(V,1) AND V>REF(V,2);
0,COLORGREEN;
STICKLINE(XG,10,0,1,0),COLORRED;

RSI+RSI

DD:="RSI.RSI1"<20;
N1:=6;
N2:=12;
N3:=24;
LC:=REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100;
RSI2:=SMA(MAX(CLOSE-LC,0),N2,1)/SMA(ABS(CLOSE-LC),N2,1)*100;
RSI3:=SMA(MAX(CLOSE-LC,0),N3,1)/SMA(ABS(CLOSE-LC),N3,1)*100;
买入:=CROSS(RSI1,RSI2) AND CROSS(RSI1,RSI3) AND C>REF(C,1) AND V>MAX(REF(V,1),REF(V,2));
XG:=买入*(SUM(DD,5));
0,COLORBLUE;
STICKLINE(XG,10,0,1,0),COLORRED;

DMI+KDJ
DD:="DMI.PDI"<15 AND "DMI.MDI">40 AND "DMI.ADX">50 AND "DMI.ADXR">40;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
买入:=CROSS(K,D) AND C>REF(C,1) AND V>MAX(REF(V,1),REF(V,2));
XG:=买入*(SUM(DD,5));
0,COLORBLUE;
STICKLINE(XG,10,0,1,0),COLORRED;

DMI+RSI
DD:="DMI.PDI"<15 AND "DMI.MDI">40 AND "DMI.ADX">50 AND "DMI.ADXR">40;
N1:=6;
N2:=12;
N3:=24;
LC:=REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100;
RSI2:=SMA(MAX(CLOSE-LC,0),N2,1)/SMA(ABS(CLOSE-LC),N2,1)*100;
RSI3:=SMA(MAX(CLOSE-LC,0),N3,1)/SMA(ABS(CLOSE-LC),N3,1)*100;
买入:=CROSS(RSI1,RSI2) AND CROSS(RSI1,RSI3) AND C>REF(C,1) AND V>MAX(REF(V,1),REF(V,2));
XG:=买入*(SUM(DD,5));
0,COLORBLUE;
STICKLINE(XG,10,0,1,0),COLORRED;

资源下载链接   资源大小:unknow

关于我们 - 联系我们 - 广告合作 - 下载声明 - 网站帮助 - 友情链接 - 网站地图 - RSS订阅 - TOP
湘ICP备09016573号 增值电信业务经营ICP许可证:湘B2-20210269 湘公网安备43108102000039号
Copyright © GSZB.COM ,All Rights Reserved.
股票公式,股票指标,股票软件,股票知识