当前位置:分析家公式网 → 股票公式 → 同花顺公式 → 一键转帖:含金量MACD,顶底操盘(同花顺公式 副图 源码 测试图)
软件名称:[B]含金量MACD,顶底操盘(同花顺公式 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:6.00 KB
官方主页:Home Page
更新时间:2023-06-24 00:08:37
软件简介:
含金量MACD
MACD、DIFF、DEA参数指标与主力资金入场以及底部信号提示,当底部信号出现时,需确认DIFF与DEA的趋势向上并即将形成金叉,此时的底部信号才能确定,个人参考指标,请谨慎使用!仅供个人使用,谨慎参考!
DIFF:EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:EMA(DIFF,9);
MACD:2*(DIFF-DEA), COLORSTICK;
R0:=((IF(ISNULL(ZDMR[-1]),0,ZDMR)+IF(ISNULL(BDMR[-1]),0,BDMR))-(IF(ISNULL(ZDMC[-1]),0,ZDMC)+IF(ISNULL(BDMC[-1]),0,BDMC)))/SHGZG*100;
DE:((ZDMRJE[-1]+BDMRJE[-1])-(ZDMCJE[-1]+BDMCJE[-1]))/10000,NODRAW;
最小值:=LLV(LOW,10);
最大值:=HHV(HIGH,30);
波动线:=EMA((CLOSE-最小值)/(最大值-最小值)*5,5);
平均线:=EMA(波动线,3),NODRAW;
攻击:R0-(ABS(REF(R0,1))+ABS(REF(R0,2))+ABS(REF(R0,3))+ABS(REF(R0,4))+ABS(REF(R0,5))/2)>0 AND REF(平均线,1)>=REF(平均线,2) AND 平均线>=REF(平均线,1),NODRAW;
撤退:-((R0+(ABS(REF(R0,1))+ABS(REF(R0,2))+ABS(REF(R0,3))+ABS(REF(R0,4))+ABS(REF(R0,5))/2)<0) AND 平均线<=REF(平均线,1) AND REF(平均线,1)>=REF(平均线,2)),NODRAW;
CC:=EMA((CLOSE-最小值)/(最大值-最小值)*5,5);
AA:=EMA(CC,3)>=REF(EMA(CC,3),1);
DD:=CLOSE>MA(CLOSE,20)AND CLOSE>MA(CLOSE,5);
EE:=CLOSE<MA(CLOSE,10)AND CLOSE<MA(CLOSE,5);
M5:=MA(C,5),NODRAW;
M10:=MA(C,10),NODRAW;
M20:=MA(C,20),NODRAW;
M30:=MA(C,30),NODRAW;
M60:=MA(C,60),NODRAW;
MA5:=MA(V,5),NODRAW;
MA10:=MA(V,10),NODRAW;
涨停:=C=H AND C/REF(C,1)>1.092 AND REF(L,1)!=REF(H,1);
底=AA=1 AND REF(AA,1)=0 AND (REF(AA,2)+REF(AA,3)=0) AND EMA(CC,3)<0.5;
升=COUNT(底,10)>=1 AND REF(DIFF,1)>REF(DEA,1) AND REF(V,3)>REF(MA5,3) AND REF(V,2)>REF(MA5,2) AND REF(V,1)>REF(MA5,1) AND REF(MA5,1)>REF(MA10,1) AND REF(M5,1)>REF(M10,1);
追=升 AND NOT(REF(升,2)) AND REF(COUNT(涨停,5)=0,1) AND (OPEN-REF(CLOSE,1))/REF(CLOSE,1)*100>=-1;
DRAWTEXT(攻击,0,'...◆'),color00FFFF;
DRAWTEXT(撤退,0,'...▼'),color00FF00;
DRAWTEXT(底,0,'...▲'),colorDD00DD;
DRAWTEXT(追,0,'...★'),colorDD00DD;
IF(PERIODNAME<>"日线")
"该指标只在日线周期下有效。";
RA:((ZDMR[-1]+BDMR[-1])-(ZDMC[-1]+BDMC[-1]))/SHGZG*10,NODRAW;
STICKLINE(RA>0,0,RA,8),colorred;
STICKLINE(RA<0,0,RA,8),colorgreen;
RB:((IF(ISNULL(ZDMR[-1]),0,ZDMR)+IF(ISNULL(BDMR[-1]),0,BDMR))
-(IF(ISNULL(ZDMC[-1]),0,ZDMC)+IF(ISNULL(BDMC[-1]),0,BDMC)))
/SHGZG*10,NODRAW;
PARTLINE(0,RA>=REF(RA,1),colorred,RB<REF(RB,1),colorgreen);
R3=MA((ZDMR+BDMR)/100000000,3);
C3=MA(-(ZDMC+BDMC)/100000000,3);
DD:=2*(R3+C3);
D1:EMA(DD,60)*60,COLOR00FFFF;
D5:MA(D1,5),COLORFF00FF;
D10:=MA(D1,10),COLOR00DD00;
FILLRGN(D1,D5,D1>D5,colorred,D1<D5,colorligreen);
[url=http://www.70822.com/soft/sort013/sort036/down-168120.html]含金量MACD,顶底操盘(同花顺公式 副图 源码 测试图)[/url]