联系方式 Contact

云指标公式网

淘宝:iyungs.taobao.com

电话:18020657357

微信:396950280

Q Q:332879389

点击这里给我发消息

网址:www.yzhibiao.com

搜索 Search

炒股真的不太难(源码 主副图 通达信 贴图)

2016-10-16 14:24:07点击:

主图

MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;
NX:(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210,COLORRED;
MX:MA(NX,8),COLORGREEN;

A4:=MA(C,20);
A5:=(C>MA(C,5)); 
A6:=(MA(C,5)>MA(C,10)); 
A7:=(C>MA(C,10));A8:=(MA(C,5)>MA(C,20)); 
A9:=(C>MA(C,20));A10:=REF(A4,1); 
A11:=(A4>A10);
AVX:=(((((IF(A5,10,(0-10))+IF(A6,10,(0-10)))+IF(A7,10,(0-10)))+
IF(A8,10,(0-10)))+IF(A9,10,(0-10)))+IF(A11,10,(0-10)));
SC:=REF(AVX,1)<=0 AND AVX>0;
A1:=AVX>10 AND AVX>=REF(AVX,1) AND AVX>=REF(AVX,2);
A2:=AVX=60;
A3:=SC OR A1 OR A2 ;
Q1:EMA(C,14),NODRAW;
Q1X:(Q1-REF(Q1,1))/REF(Q1,1)*100,NODRAW;
出击:IF(A3>0,REF(EMA(C,14),BARSLAST(CROSS(Q1X,0))+1),DRAWNULL)COLORRED,LINETHICK4;
STICKLINE(A3,O,C,2.0,0),COLORMAGENTA;
STICKLINE(A2,O,C,1.0,0),COLORYELLOW;
CX:=BARSLAST(NOT(A3));
CX1:=BARSLAST(NOT(A2));

DRAWNUMBER(A2,出击*0.98,CX1),COLORYELLOW;

V1:=DMA((((H+L)+(C*2))/4),0.9);
HY1:=REF(EMA(V1,3),1);
DK:=(MA((C-HY1)*28,2))*0.1;
HS:=V*100/CAPITAL;
ZL:=MA(HS,4);
DH:=MA(HS,9);
ZH:=MA(HS,17);
SH:=MA(HS,34);
JL:=(ZL+DH+ZH+SH)/4;
ZLNL:=(ZL-JL);
AA2:=ZLNL>=0 AND ZLNL>=REF(ZLNL,1);
DRAWICON(AA2,L*0.97,27);


..........................................................................................................................................
付图

A4:=MA(CLOSE,20);
A5:=(CLOSE > MA(CLOSE,5)); 
A6:=(MA(CLOSE,5) >MA(CLOSE,10)); 
A7:=(CLOSE > MA(CLOSE,10));A8:=(MA(CLOSE,5) >MA(CLOSE,20)); 
A9:=(CLOSE > MA(CLOSE,20));A10:=REF(A4,1); 
A11:=(A4 >A10);
AVX:(((((IF(A5,10,(0 - 10)) + IF(A6,10,(0 - 10))) + IF(A7,10,(0 - 10))) 
+ IF(A8,10,(0 - 10))) + IF(A9,10,(0 - 10))) + IF(A11,10,(0-10))),COLOR0000FF;
60;
-60;
0;