软件名称:[B]成本和谐+三背离[/B]
软件类型:国产软件
运行环境:Win9X/2000/XP/2003/
软件语言:简体中文
授权方式:解密版
软件大小:2.00 KB
官方主页:Home Page
更新时间:2009-04-12 18:49:52
软件简介:
{成本和谐+三背离(通达信)}
{股票公式WWW.70822.com}
DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:=EMA(DIFF,8);
A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
B1:=REF(C,A1+1)>C AND REF(DIFF,A1+1)<DIFF AND CROSS(DIFF,DEA);
DRAWTEXT(IF(B1>0,1,0),L-0.1,'MACD底背'),COLORGREEN;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
A2:=BARSLAST(REF(CROSS(K,D),1));
B2:=REF(C,A2+1)>C AND REF(K,A2+1)<K AND CROSS(K,D);
DRAWTEXT(IF(B2>0,1,0),L-0.25,'KDJ底背'),COLORYELLOW;
LC:=REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
RSI2:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100;
A3:=BARSLAST(REF(CROSS(RSI1,RSI2),1));
B3:=REF(C,A3+1)>C AND REF(RSI1,A3+1)<RSI1 AND CROSS(RSI1,RSI2);
DRAWTEXT(IF(B3>0,1,0),L-0.4,'RSI底背'),COLORCYAN;
C1:=BARSLAST(REF(CROSS(DEA,DIFF),1));
D1:=REF(C,C1+1)<C AND REF(DIFF,C1+1)>DIFF AND CROSS(DEA,DIFF);
DRAWTEXT(IF(D1>0,1,0),H+0.1,'MACD顶背'),COLORWHITE;
C2:=BARSLAST(REF(CROSS(D,K),1));
D2:=REF(C,C2+1)<C AND REF(K,C2+1)>K AND CROSS(D,K);
DRAWTEXT(IF(D2>0,1,0),H+0.25,'KDJ顶背'),COLORWHITE;
C3:=BARSLAST(REF(CROSS(RSI2,RSI1),1));
D3:=REF(C,C3+1)<C AND REF(RSI1,C3+1)>RSI1 AND CROSS(RSI2,RSI1);
DRAWTEXT(IF(D3>0,1,0),H+0.4,'RSI顶背'),COLORMAGENTA;
n:=5;
n1:=13;
n2:=34;
短期成本:IF(CLOSE>1000,EMA((HIGH+LOW+CLOSE)/3,N),EMA(AMOUNT,N)/EMA(VOL,N)/100);
中期成本:IF(CLOSE>1000,EMA((HIGH+LOW+CLOSE)/3,N1),EMA(AMOUNT,N1)/EMA(VOL,N1)/100),COLORLIGREEN;
长期成本:IF(CLOSE>1000,EMA((HIGH+LOW+CLOSE)/3,N2),EMA(AMOUNT,N2)/EMA(VOL,N2)/100);
JJ:=(H+L+3*C)/5;
VAR21:=EMA(JJ,5);VAR22:=EMA(JJ,13);VAR23:=EMA(JJ,21);VAR24:=EMA(JJ,34);H1A:=(VAR21+VAR22+VAR23+VAR24)/4;
成本和谐:MA(H1A,5),COLORYELLOW,LINETHICK2;
反转∞:IF(CLOSE>1000,EMA((HIGH+LOW+CLOSE)/3,250),DMA(AMOUNT/(100*VOL),100*VOL/FINANCE(7))),COLORRED,LINETHICK2;
{技术含量不是太高,指标也不是很华丽,但是很实用!}
{稍微解释下,成本和谐,也就是黄线可以看做是牛熊分界线,长期成本其实也不算长,因为我是做短线的,大家可以根据自己喜好修改,反转相当于年线的作用,大家也可以根据自己喜好修改,三背离不用多说了吧~}
[url=http://www.70822.com/soft/sort013/sort02/down-8224.html]成本和谐+三背离[/url]