当前位置:分析家公式网 → 股票公式 → 同花顺公式 → 一键转帖:桃花MACD模型(同花顺公式 副图 源码 测试图)
软件名称:[B]桃花MACD模型(同花顺公式 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:7.00 KB
官方主页:Home Page
更新时间:2021-08-19 00:12:36
软件简介:
桃花MACD模型
桃花筹码分析,量化指标,买卖盘力度分析,将MACD方法用于买盘的一种尝试。
LOWV:=LLV(L,9);
HIGHV:=HHV(H,9);
RSV:=EMA((C-LOWV)/(HIGHV-LOWV)*100,3);
K:=EMA(RSV,3);
D:=MA(K,3);
DRAWTEXT(ISLASTBAR,70,"-- 70"),colorgreen;
DRAWTEXT(ISLASTBAR,80, "-- 80"),colorgreen;
DRAWTEXT(ISLASTBAR,90, "-- 90"),colorgreen;
ZLCM:=EMA(WINNER(C)*70,3);
SHCM:=EMA((WINNER(C*1.1)-WINNER(C*0.9))*80,3);
ZSHTL:=EMA(SHCM/(ZLCM+SHCM)*100,2);
ZZLKP:=EMA(ZLCM/(ZLCM+SHCM)*100,2);
ZZLKP3:=EMA(EMA(ZZLKP,2),2);
ZZLKP5:=MA(ZZLKP,7);
ZCMZL:=MA(ZLCM+SHCM,13);
ZCMZL3:=MA(ZCMZL,5);
ZZNTS:=BARSLAST(ZSHTL<90 AND REF(ZSHTL,1)>90);
ZSHJJ:=EMA(ZSHTL,89);
SH8:=EMA(ZSHJJ,8);
ZZLJJ:=EMA(ZZLKP,89);
ZJLRQD:=INTPART(ZZLKP-ZZLJJ);
ZJLRQD3:=EMA(ZJLRQD,3);
DKB:=IF(ZZLKP-REF(ZZLKP,1)>ZSHTL-REF(ZSHTL,1),1,0);
DIFF:=EMA(EMA((ZZLKP-ZSHTL)/10,2),2);
资金:= MA(ZZLKP-REF(ZZLKP,1),2)-MA(ZSHTL-REF(ZSHTL,1),2);
ZZL:=EMA(ZZLKP-ZZLKP5,2);
强:=EMA((C-REF(C,1))/C*10,2);
差A:=3*EMA(EMA(EMA(EMA(强,2),2),2),2),NODRAW;
参数:=IF(C>500,25,10);
净流:=3* EMA(EMA(EMA(EMA(差A,1),2),2),2)*参数;
净流3:=EMA(净流,3);
//RHL:=(O+H+L+3*C+REF(C,1))/7;
//RLC:=REF(RHL,1);
//RSI1:=SMA(MAX(RHL-RLC,0),9,1)/SMA(ABS(RHL-RLC),9,1)*100;
//RSI2:=SMA(MAX(RHL-RLC,0),12,1)/SMA(ABS(RHL-RLC),12,1)*100;
//XG1:= ZJLRQD>ZJLRQD3 AND ZZLJJ>REF(ZZLJJ,1);
//XG2:=(ZZL>0 AND ZZL>REF(ZZL,1)) OR(ZJLRQD>0 AND ZZL>0 AND ZZL>REF(ZZL,1));
//XG3:= 净流>REF(净流,1)AND 净流>0;
//XG4:=DIFF>REF(DIFF,1) AND DIFF>0;
//XG5:= 净流> 0 AND EMA(资金,3)>0;
//XG:=XG1+XG2+XG3+XG4+XG5;
LC:=REF(C,1);
RSI5:=((SMA(MAX((C - LC),0),5,1) / SMA(ABS((C - LC)),5,1)) * 100);
TR1:=SUM(MAX(MAX((H - L),ABS((H - REF(C,1)))),ABS((L - REF(C,1)))),10);
HD:=(H - REF(H,1));
LD:=(REF(L,1) - L);
DMP:=SUM(IF(((HD > 0) AND (HD > LD)),HD,0),10);
DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),10);
PDI:=((DMP * 100) / TR1);
MDI:=((DMM * 100) / TR1);
ADX:=MA(((ABS((MDI - PDI)) / (MDI + PDI)) * 100),5);
AV:=(RSI5 + ADX);
DXR:=(((ADX + REF(ADX,5)) / 2) + RSI5);
0,COLORFF00FF;
WR10:=((100 * (HHV(HIGH,10) - CLOSE)) / (HHV(HIGH,13) - LLV(LOW,13)));
NEWVOL:=(RSI5 - WR10);
阶段底部:=(AV + NEWVOL);
趋势线:=LLV(阶段底部,1),colorwhite,LINETHICK0;
STICKLINE(CROSS(阶段底部,0),-10,20,6,1),LINETHICK6,colorred;
STICKLINE((趋势线 >230 ),100,80,6,1),LINETHICK6,colorgreen;
主力:=ZZLKP,color0000BB;//红色
散户:=ZSHTL,color478F00;// 绿色
ZLDIFF:=EMA(EMA(EMA(ZZLKP-zzlkp5,2),2),2);
//STICKLINE(zjlrqd>zjlrqd3 AND zldiff<0 AND zzlkp>60,100,100+zzlkp-zzlkp5,12,0),colorblue;
STICKLINE(zjlrqd>zjlrqd3 AND zldiff>0 AND zzlkp>50,100,100+zzlkp-zzlkp5,12,0),coloryellow;
CLOWV:=LLV(ZZLKP,9);
CHIGHV:=HHV(ZZLKP,9);
CRSV:=EMA((ZZLKP-CLOWV)/(CHIGHV-CLOWV)*100,3);
CK:=EMA(CRSV,3);
CD:=MA(CK,3);
STICKLINE(C,CK,CD,8,0),colorgreen;
//ZJLRQD>ZJLRQD3 AND
STICKLINE( CK>CD , CK,CD ,8,0),colorred;
STICKLINE(ZJLRQD>ZJLRQD3 AND CK>CD , CK,CD ,8,0),colormagenta;//ZJLRQD>0 AND
老兵:=IF(C>MA(C,25) AND ZZLKP>ZSHTL AND ((K>D AND 净流>REF(净流,1)) OR (K>80 AND 净流>0)),70,0),colorwhite;
持股I:=IF(
DKB AND K>D AND CK>CD AND 净流> 0,90,0),coloryellow;
持股II:=IF(
(DKB OR K>D OR CK>CD )AND 净流> REF(净流,1) ,100,0),coloryellow;
STICKLINE(C,0,ZJLRQD-10,4,1),colorblue;
STICKLINE((DKB OR K>D OR CK>CD )AND 净流> REF(净流,1),0,ZJLRQD-10,6,1),colorwhite;
STICKLINE(ZJLRQD>0 AND ZJLRQD>ZJLRQD3,0,ZJLRQD-10,4,1),colorgreen;
STICKLINE(ZZLKP>70 AND ZJLRQD>0 AND ZJLRQD>ZJLRQD3,0,ZJLRQD-10,4,0),colorgreen;
STICKLINE(ZJLRQD>10 AND ZJLRQD>ZJLRQD3,0,ZJLRQD-10,4,1),colorred;
STICKLINE(ZZLKP>70 AND ZJLRQD>10 AND ZJLRQD>ZJLRQD3,0,ZJLRQD-10,4,0),colorred;
持股III:IF((CK>CD AND ZJLRQD>ZJLRQD3) OR ((DKB OR K>D OR CK>CD )AND 净流> REF(净流,1)) ,100,0),coloryellow;
DRAWTEXT(DKB AND ZJLRQD>0,105,"B"),colorred;
[url=http://www.70822.com/soft/sort013/sort036/down-157576.html]桃花MACD模型(同花顺公式 副图 源码 测试图)[/url]