当前位置:分析家公式网 → 股票公式 → 同花顺公式 → 一键转帖:强弱判断优化MACD
软件名称:[B]强弱判断优化MACD[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:6.00 KB
官方主页:Home Page
更新时间:2017-07-16 00:49:47
软件简介:
RSV=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
a=SMA(RSV,M1,1);
b=SMA(a,M2,1);
e=3*a-2*b;
K=a;
D=b;
J=e;
LC=REF(CLOSE,1);
AA=ABS(HIGH-LC);
BB=ABS(LOW-LC);
CC=ABS(HIGH-REF(LOW,1));
DD=ABS(LC-REF(OPEN,1));
R=IF(AA>BB AND AA>CC,AA+BB/2+DD/4,IF(BB>CC AND BB>AA,BB+AA/2+DD/4,CC+DD/4));
X=(CLOSE-LC+(CLOSE-OPEN)/2+LC-REF(OPEN,1));
SI=16*X/R*MAX(AA,BB);
ASI=SUM(SI,M3);
ASIT=MA(ASI,M4);
TJ1:=ASI>ASIT AND REF(ASI,1)<REF(ASIT,1);
TJ2:=D>REF(D,1) AND J<75;
TJ3:=TJ1 AND TJ2;
TJ4:=J>REF(J,1);
TJ5:=TJ3 AND TJ4;
分数=IF(ASIT<REF(ASIT,1),-5,0)-((ATAN((MA(C,5)/REF(MA(C,5),1)-1)*100)*57.3)-(ATAN((MA(C,10)/REF(MA(C,10),1)-1)*100)*57.3))+IF(MA(C,20)>REF(MA(C,20),1),5,-10)-(OPEN-MA(C,5))/MA(C,5)*1000;
分数短期平均值=MA(分数,20);
ROC=(CLOSE-REF(CLOSE,N1))/REF(CLOSE,N1)*100;
ROCMA=MA(ROC,M);
TJ6:=ROC>ROCMA AND REF(ROC,1)<REF(ROCMA,1);
TJ7:=分数短期平均值>-50 AND ASI>REF(ASI,1);
TJ8:=TJ6 AND TJ7;
TJ9:=J<90 AND D>REF(D,1);
TJ10:=TJ8 AND TJ9;
TJ11:=MA(C,5)>REF(MA(C,5),1) AND 分数短期平均值>MA(分数,60);
TJ12:=TJ10 AND TJ11;
TJ13:=TJ5 OR TJ12;
TJ14:=MA(C,5)>REF(MA(C,5),1) AND MA(C,20)>=REF(MA(C,20),1);
TJ15:=TJ13 AND TJ14;
TJ16:=COUNT(TJ13,10)>0;
TJ17:=TJ15 AND TJ16;
MID = MA(CLOSE,N);
UPPER= MID + P*STD(CLOSE,N);
JT1:=UPPER<C AND UPPER>REF(UPPER,1);
JT2:=JT1 AND TJ14;
JT3:=分数>-40;
JT4:=JT2 AND JT3;
DIFF : EMA(CLOSE,SHORT) - EMA(CLOSE,LONG);
DEA : EMA(DIFF,M6);
MACD : 2*(DIFF-DEA);
Zero : 0;
DRAWICON(TJ17,ZERO,1);
DRAWTEXT(JT4,DIFF,'布林张口'),colorgreen;
每股净资产:MGJZC,NODRAW;
净收率:CJ_JZCSYL,NODRAW;
TT1:=MACD<REF(MACD,1) AND J<D;
TT2:=REF(J,1)>REF(D,1) AND MACD<DEA;
TT3:=REF(J,1)>J AND MACD<DEA;
DRAWICON(TT1 AND TT2,ZERO,2);
DRAWICON(TT1 AND TT3,ZERO,2);
DRAWICON(COUNT(TJ5,2)>0 AND TJ14,ZERO,1);
DRAWICON(COUNT(TJ12,2)>0 AND TJ14,ZERO,1);
TT4:=REF(J,1)>J AND MA(C,20)<REF(MA(C,20),1);
TT5:=MACD<REF(MACD,1);
DRAWICON(TT4 AND TT5,ZERO,2);
TT6:=分数>=5 AND 分数<=20;
DRAWTEXT(JT4 AND TT6,DEA,'优良张口'),colorblue;
[url=http://www.70822.com/soft/sort013/sort036/down-114023.html]强弱判断优化MACD[/url]