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

通达信操盘好帮手《六彩条共振》副图指标 源码

发布时间:2012/9/15 9:47:25  浏览次数:

通达信操盘好帮手《六彩条共振》副图指标 源码

六彩条共振副图源码;
RC:=DYNAINFO(3);{前收盘价}
S2:=SMA(C,3,1);{收盘价的3日[1日权重]移动平均}
S6:=SMA(C,5,1);{收盘价的5日[1日权重]移动平均}
DK:=2*(S2-S6);
AA:=DK>0;
AAB:=DK<0;
AB1:=MA(CLOSE,20);
AB2:=(CLOSE>MA(CLOSE,5));
AB3:=(MA(CLOSE,5)>MA(CLOSE,10));
AB4:=(CLOSE>MA(CLOSE,10));
AB5:=(MA(CLOSE,5)>MA(CLOSE,20));
AB6:=(CLOSE>MA(CLOSE,20));
AB7:=REF(AB1,1);
AB8:=(AB1> AB7);
AVX:=(((((IF(AB2,10,(0 - 10)) + IF(AB3,10,(0 - 10))) + IF(AB4,10,(0 -10))) +
IF(AB5,10,(0 - 10))) + IF(AB6,10,(0 - 10))) + IF(AB7,10,(0 - 10)) + IF(AB8,10,(0 -10)))+40,COLORFF00FF;
BB:=AVX>=50;
BBB:= AVX<50;
AC:=CLOSE;
转强:=WMA(HIGH,5);
转弱:=WMA(LOW,5);
B:=CLOSE*0;
转折线:=IF(B=-1,MA(HIGH,4),MA(LOW,4)),COLORFFFF00,LINETHICK0;
DD:=C>转折线;
DDB:=C<转折线;
TP:=REF(EMA(C,14),1);
A1X:=(EMA(C,10)-TP)/TP*100;
JZ:=IF(A1X>=0,REF(EMA(C,10),BARSLAST(CROSS(A1X,0))+1),REF(EMA(C,10),BARSLAST(CROSS(0,A1X))+1)),COLORFFFF00,LINETHICK2;
EE:=A1X>=0;
EEB:=A1X<0;
N1:=IF(BARSCOUNT(C)>=8,8,BARSCOUNT(C));
AMOV:=VOL*(C+L+H)/3;
MN:=SUM(AMOV,N1)/SUM(VOL,N1),COLORFF0000,LINETHICK3;
FF:=C> MN;
FFB:=C<MN;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1),COLORRED,LINETHICK2;
D:=SMA(K,3,1),COLORFFFF00,LINETHICK2;
J:=3*K-2*D,COLORFF00FF,LINETHICK2;
STICKLINE(1,4,11,4,1),COLOR686868;
STICKLINE(K>=D,3,12,4,0),COLOR00FFFF;
STICKLINE(J>=REF(J,1),2,13,4,0),COLORBB00BB;
STICKLINE(J>=REF(J,1) AND K>=D,0,15,4,0),COLOR0000FF;
STICKLINE(AA AND BB AND DD AND FF,50,110,2,0),COLORBBBB00;
STICKLINE(AA AND BB AND DD AND EE AND FF,30,110,2,0),COLORRED;
STICKLINE(AA AND BB AND DD AND EE AND FF,30,110,0.5,0),COLOR00FFFF;
STICKLINE(EE,20,35,4,0),COLORCCCC00;
STICKLINE(EEB,23,32,3,1),COLOR686868;
STICKLINE(DD,40,55,4,0),COLORBB00CC;
STICKLINE(DDB,43,52,3,1),COLOR686868;
STICKLINE(BB,60,75,4,0),COLOR00FFFF;
STICKLINE(BBB,63,72,3,1),COLOR686868;
STICKLINE(AA,80,95,4,0),COLORFF00FF;
STICKLINE(AAB,83,92,3,1),COLOR686868;
STICKLINE(FF,100,115,4,0),COLOR00AA00;
STICKLINE(FFB,103,112,3,1),COLOR686868;
DRAWTEXT(CURRBARSCOUNT=18,27,'中线操盘--阶梯彩块'),COLOR00FFFF;
DRAWTEXT(CURRBARSCOUNT=10,47,'转折线'),COLOR00FFFF;
DRAWTEXT(CURRBARSCOUNT=10,67,'变异线'),COLOR0000FF;
DRAWTEXT(CURRBARSCOUNT=10,87,'收盘线'),COLOR00FFFF;
DRAWTEXT(CURRBARSCOUNT=10,107,'决策线'),COLOR00FFFF;
DRAWICON(CROSS(K,D),D,13);
DRAWICON(CROSS(D,K),D,14);
DRAWICON(CROSS(K,D) AND K<20,D,23);
DRAWICON(CROSS(K,D),7,34);
DRAWICON(CROSS(D,K),7,35);
DRAWICON(CROSS(K,D) AND K<20,0,23);
DRAWTEXT(CURRBARSCOUNT=33,7,'【黄-KD金叉】【粉-J上行】【 红-J上行并KD金叉】'),COLORFFFFFF;
LC5:=REF(CLOSE,1);
RSI5:=SMA(MAX(CLOSE-LC5,0),6,1)/SMA(ABS(CLOSE-LC5),6,1)*100;
R:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
A:=SMA(R,3,1);
BT:=SMA(A,3,1);
CCC:=(BT/2+40)*1.1;
DA:=SMA(CCC,3,1);
DRAWICON(CROSS(DA,RSI5),105,15);
DRAWICON(CROSS(80,RSI5),113,14);
LC:=REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
周15:=FILTER(CROSS(80,RSI1) AND RSI1<REF(RSI1,1),8);
DRAWICON(周15,125,35);
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
CCI修正1:=EMA(EMA(EMA(CCI,2),2),2);
CCI修正2:=EMA(EMA(EMA(CCI,3),2),2);
X:=(CROSS(CCI修正1,CCI修正2) OR (CCI修正1>=CCI修正2)) AND CCI修正1>=-101 AND CCI修正1>=REF(CCI修正1,1) AND REF(CCI修正1,1)<-101 ;
RSVT:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
KT:=SMA(RSVT,3,1);
DT:=SMA(KT,3,1);
JT:=3*KT-2*DT;
K1:= EMA(EMA(EMA(KT,2),2),2);
D1:= EMA(EMA(EMA(DT,2),2),2);
J1:= EMA(EMA(EMA(JT,2),2),2);
Y:= J1>REF(J1,1) ;
预警:=X AND Y ;
DRAWICON(预警,0,13);
DRAWTEXT(预警,-3,'↖预警买'),COLORYELLOW;
DRAWTEXT_FIX(1,0.3,0,0,'【红十字球-KDJ<20金叉】【红球〖金向上球〗-KDJ金叉】【兰球〖绿向下球〗-KDJ死叉】'),COLOR00FFFF;

通达信操盘好帮手《六彩条共振》副图指标 源码

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

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