当前位置:分析家公式网 → 股票公式 → 同花顺公式 → 一键转帖:MACD修改,增加红绿柱(同花顺公式 副图 源码 测试图)
软件名称:[B]MACD修改,增加红绿柱(同花顺公式 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:5.00 KB
官方主页:Home Page
更新时间:2022-07-13 00:08:41
软件简介:
MACD修改
MACD增加红绿柱,仅此而已。学软件的朋友编的。我看看有没有用。
DIFF:= EMA(CLOSE,12) - EMA(CLOSE,26);
DIF:EMA(CLOSE,12)-EMA(CLOSE,26),LINETHICK2;
DEA:EMA(DIF,9),coloryellow;
MACD:(DIF-DEA)*2,NODRAW;
//手机上不要使用下面三个语句
FILLRGN(DIF,DEA,DIF>DEA,RGB(150,20,20),DIF<DEA,RGB(10,150,20));
FILLRGN(IF(DIF,DIF,DRAWNULL),RGB(250,250,250),DIF,RGB(0,0,0));
FILLRGN(IF(DEA,DEA,DRAWNULL),RGB(250,250,10),DEA,RGB(0,0,0));
卖:(DIF-DEA)*2,COLORSTICK;
加油续航:卖,NODRAW;
VARF:=TROUGHBARS(3,15,1)<4;
多空:=EMA((CLOSE-MA((2*CLOSE+HIGH+LOW)/4,30))/MA((2*CLOSE+HIGH+LOW)/4,30)*100,3),LINETHICK1,coloryellow;
STICKLINE(FILTER(VARF=1,5) AND 多空<-10,加油续航,0,3.2,1),COLOR00FFFF;
STICKLINE(FILTER(VARF=1,5),加油续航,0,4,0),colorred;
STICKLINE(MACD>0,0,MACD,1,0),colorred;
STICKLINE(MACD<0,0,MACD,1,0),colorgreen;
STICKLINE(MACD>0 AND MACD<=REF(MACD,1),0,MACD,1,0),coloryellow;
STICKLINE(MACD<0 AND MACD>=REF(MACD,1),0,MACD,1,0),colorwhite;
FH1:=REF(MACD,1)<REF(MACD,2) AND REF(MACD,2)<REF(MACD,3) AND REF(MACD,3)<REF(MACD,4);
FH2:=MACD>=0 AND COUNT(MACD>REF(MACD,1),1)=1;
FH3:=FH1 AND FH2 AND EMA(C,13)>REF(EMA(C,13),1);
FH4:=FH1 AND FH2 AND ABS((DIF-DEA)/C)<0.018;
FH5:=FH1 AND FH2 AND MACD<0.10;
VV:=CLOSE>OPEN AND MA(CLOSE,5)>MA(CLOSE,10) AND MA(CLOSE,10)>MA(CLOSE,30)
AND DIFF>DEA AND MACD>REF(MACD,1) AND DIFF>0 AND DEA>0 AND
MA(VOL,5)>MA(VOL,34) AND MA(CLOSE,30)>=REF(MA(CLOSE,30),1);
二次翻红:(FH3 OR FH4 OR FH5),colorred,NODRAW;
低买:CROSS(DIF,DEA) AND DIF<0,COLORFF00FF,NODRAW;
加油:CROSS(DIF,DEA) AND DIF>0,coloryellow,NODRAW;
DRAWICON(二次翻红,-0.05,1);
DRAWTEXT(二次翻红,-0.15,'↖翻红'),colorred;
DRAWTEXT(CROSS(DIF,DEA) AND DIF<0,DEA-0.02,'↑低买'),COLORFF00FF;
DRAWTEXT(CROSS(DIF,DEA) AND DIF>0,DEA-0.05,'↑加油'),coloryellow;
XG:二次翻红 OR 低买 OR 加油,NODRAW;
YLZC:=IF(CLOSE=INDEXC,(INDEXC+INDEXH+INDEXL+INDEXO)/4,AMOUNT/(VOL+0.01)/100);
[url=http://www.70822.com/soft/sort013/sort036/down-163232.html]MACD修改,增加红绿柱(同花顺公式 副图 源码 测试图)[/url]