当前位置:分析家公式网 → 股票公式 → 同花顺公式 → 一键转帖:整合MMD第五版(同花顺公式 副图 源码 测试图)
软件名称:[B]整合MMD第五版(同花顺公式 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:0 Bytes
官方主页:Home Page
更新时间:2021-03-06 00:10:49
软件简介:
自用
第五版加入选股
不作投资意见
结合其他指标
趋势:SMA(((CLOSE-LLV(LOW,28))/(HHV(HIGH,28)-LLV(LOW,28))*100),3,1) ,colorgreen;
IF(趋势>50, 趋势,DRAWNULL), colorred;
RSV:=(CLOSE-LLV(CLOSE,9))/(HHV(CLOSE,9)-LLV(CLOSE,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
DIFF:=EMA(CLOSE,2)-EMA(CLOSE,55);
DEA:=EMA(DIFF,6);
MACD:=2*(DIFF-DEA);
判断:SMA(趋势,3,1),COLORFF00FF, LINETHICK2;
IF( 趋势>判断,判断,DRAWNULL), coloryellow, LINETHICK2;
IF( 趋势<判断,判断,DRAWNULL) ,COLORFFF000,LINETHICK2;
LC:= REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
VAR1:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;
VAR2:=SMA(VAR1,9,1)+100;
VAR3:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR4:=SMA(VAR3,3,1);
VAR5:=SMA(VAR4,3,1)+100;
VAR6:=VAR5-VAR2;
趋势1: IF(VAR6>45,VAR6-45,0),COLOR00FFFF;
VAR2Q:=REF(LOW,1);
VAR3Q:=SMA(ABS(LOW-VAR2Q),3,1)/SMA(MAX(LOW-VAR2Q,0),3,1)*100;
VAR4Q:=EMA(IF(CLOSE*1.3,VAR3Q*10,VAR3Q/10),3);
VAR5Q:=LLV(LOW,30);
VAR6Q:=HHV(VAR4Q,30);
VAR7Q:=IF(MA(CLOSE,58),1,0);
VAR8Q:=EMA(IF(LOW<=VAR5Q,(VAR4Q+VAR6Q*2)/2,0),3)/999*VAR7Q;
火焰山:=IF(VAR8Q>100,100,VAR8Q);
STICKLINE(火焰山>0,0 ,火焰山*1.2,5,0 ),COLOR4444FF;
STICKLINE(火焰山>0,0 ,火焰山*1.2,4,0 ),COLOR5555FF;
STICKLINE(火焰山>0,0 ,火焰山*1.2,3,0 ),COLOR7777FF;
STICKLINE(火焰山>0,0 ,火焰山*1.2,2,0 ),COLOR9999FF;
STICKLINE(REF(趋势1,1)< 趋势1, 趋势1,REF(趋势1,1),5,0),COLOR000033;
STICKLINE(REF(趋势1,1)< 趋势1, 趋势1,REF(趋势1,1),4,0),COLOR000055;
STICKLINE(REF(趋势1,1)< 趋势1, 趋势1,REF(趋势1,1),3,0),COLOR000077;
STICKLINE(REF(趋势1,1)< 趋势1, 趋势1,REF(趋势1,1),2,0),COLOR000099;
STICKLINE(REF(趋势1,1)< 趋势1, 趋势1,REF(趋势1,1),1.5,0),COLOR0000BB;
STICKLINE(REF(趋势1,1)< 趋势1, 趋势1,REF(趋势1,1),1,0),COLOR0000DD;
STICKLINE(REF(趋势1,1)> 趋势1, 趋势1,REF(趋势1,1),5,0),COLOR003300;
STICKLINE(REF(趋势1,1)> 趋势1, 趋势1,REF(趋势1,1),4,0),COLOR005500;
STICKLINE(REF(趋势1,1)> 趋势1, 趋势1,REF(趋势1,1),3,0),COLOR007700;
STICKLINE(REF(趋势1,1)> 趋势1, 趋势1,REF(趋势1,1),2,0),COLOR009900;
STICKLINE(REF(趋势1,1)> 趋势1, 趋势1,REF(趋势1,1),1,0),COLOR00DD00;
逃顶:=CROSS(82,RSI);
STICKLINE( 逃顶,0,100,5,0),colorliblue;
D1:=(C+L+H)/3;
D2:=EMA(D1,6);
D3:=EMA(D2,5);
D4:=EMA(D1,3);
D5:=EMA(D1,2);
DD:=D4-D5;
DDD:=D2-D3;
BBUY:=CROSS(D2,D3);
VARR1:=SMA(MAX(CLOSE-REF(C,1),0),6,1)/SMA(ABS(CLOSE-REF(C,1)),6,1)*100,colorlicyan;
差值1:=趋势-判断;
差值2:=D2-D3;
VAR11:=REF((L+O+C+H)/4,1);
VAR12:=SMA(ABS(VAR11-H),13,1)/SMA(MAX(VAR11-H,0),10,1);
VAR13:=EMA(VAR12,10);
VAR14:=HHV(H,33);
VAR15:=EMA(IF(H>=VAR14,VAR13,0),3)*-1;
主力退场:=IF(VAR15>REF(VAR15,1),MIN(100,ABS(VAR15)),0),LINETHICK2,Color0066BB;
主力诱多:=IF(VAR15<REF(VAR15,1),MIN(ABS(VAR15),100),0),LINETHICK2,ColorFF8800;
科创:INBLOCK('科创板');
创业:INBLOCK('创业板');
bool1:=IF(差值1>-3,1,0);
bool2:=IF((bool1 AND 差值1<3),1,0);
bool3:=IF((bool2 AND 差值2<0.03),1,0);
bool4:=IF((bool3 AND 差值2>-0.03),1,0);
bool5:=IF((bool4 AND NOT(科创) AND NOT(创业)),1,0);
bool6:=IF((bool5 AND 趋势<50),1,0);
买入:=IF(bool6,(bool6+IF(主力诱多>主力退场,1,0))*50,0),colorwhite;
S:=FROMNIGHT;
预计成交量:=IF(s=0 AND FROMOPEN>1,VOL*241/FROMOPEN,VOL);
比:预计成交量/REF(VOL,1);
买入:=MA(CROSS(趋势,判断),3,1)>0 AND 预计成交量/REF(VOL,1)>=1 AND MA(BBUY,3,1)>0 AND (CROSS(趋势,判断) OR BBUY);
选股:=(CROSS(D2,D3) OR CROSS(D5,D4)) AND BETWEEN(D2-D3,-0.1,0.1) AND BETWEEN(D4-D5,-0.1,0.1) AND ((D2-D3)>0 OR (D5-D4)>0);
选:IF(选股,50,0),colorligray;
DRAWTEXT(选股,-5,'选'),coloryellow;
高危:=(主力诱多=0 AND REF(主力诱多,1)>0) OR (CROSS(趋势,90) OR CROSS(85,趋势) OR CROSS(80,趋势));
高抛:=CROSS(82,VARR1) OR CROSS(85,VARR1) OR CROSS(80,VARR1);
升:=REF(高危,1)=1 AND 主力诱多>REF(主力诱多,1) AND MA(高抛,3)=0 AND 比>=1;
DRAWTEXT(升,-5,'升'),colorred;
买:IF(买入,50,IF(升,75,100)),colorwhite;
DRAWICON(买入 OR 升,5,1);
DRAWTEXT(买入,-5,'买'),colorred;
DRAWICON(高抛,95,2);
DRAWTEXT(高抛,105,'逃'),coloryellow;
DRAWICON(主力诱多=0 AND REF(主力诱多,1)>0,95,2);
DRAWTEXT(主力诱多=0 AND REF(主力诱多,1)>0,105,'离'),colorgreen;
DRAWTEXT(CROSS(趋势,90) OR CROSS(85,趋势) OR CROSS(80,趋势),105,'危'),colorligreen;
DRAWICON(CROSS(趋势,90) OR CROSS(85,趋势) OR CROSS(80,趋势),95,2);
[url=http://www.70822.com/soft/sort013/sort036/down-154576.html]整合MMD第五版(同花顺公式 副图 源码 测试图)[/url]