公式指标论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

同花顺操盘区

2015-7-24 23:13| 发布者: admin| 查看: 16| 评论: 0

DIFF := (EMA(CLOSE,12) - EMA(CLOSE,26));
DEA := (EMA(DIFF,9));
MACD : 2*(DIFF-DEA);
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))/2;
K:=SMA(RSV,2,1);
D:=SMA(K,2,1);
J:=MA(3*K-2*D,102);
y:2*(j-d);
z:=y>0 AND MACD<0 AND y+MACD>0;
z1:=y<0 AND MACD>0 AND y+MACD<0;
z2:=y>0 AND MACD>0;
z3:=y<0 AND MACD<0;
z4:=y>0 AND MACD<0 AND y-ABS(MACD)<0;
z5:=y<0 AND MACD>0 AND MACD-ABS(y)>0;
AA:=MA((2*CLOSE+HIGH+LOW)/4,5);
通道1:=AA*102/100;
通道2:=AA*(200-102)/100;
CC:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
DD:=DMA(CLOSE,CC);
通道3:=(1+6/100)*DD;
通道4:=(1-6/100)*DD;
zn:=z OR z2 OR z5 OR (CLOSE>通道2 AND 通道2>通道4);
zn1:=z1 OR z3 OR z4 OR (CLOSE<通道2 AND 通道2<通道4);
STICKLINE(zn,0,zn,8),colorred,linethick2;
STICKLINE(zn1,zn1,0,8),colorgreen,linethick2;
IF(MACD<0 AND y<0)
y1=MACD+y;
IF(MACD<0 AND y>0)
y1=y-ABS(MACD);
IF(y<0 AND MACD>0)
y1=MACD-ABS(y);
Zero : 0;
zero1:0.25


鲜花

握手

雷人

路过

鸡蛋
返回顶部