分析家公式网,提供指标公式,股票软件 用户登录  |  用户 注册

软件名称:[B]MACD自己优化修改(同花顺公式 副图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:5.00 KB
官方主页:Home Page
更新时间:2022-09-27 00:09:29
软件简介:

 MACD自己优化修改

ZF5:=C/REF(C,5)<=1.3;"这是5日涨幅小于30%";
RSV1:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
RSV2:=(CLOSE-LLV(LOW,37))/(HHV(HIGH,37)-LLV(LOW,37))*100;
短线:=SMA(SMA(RSV1,3,1),3,1)+3*STD(CLOSE,21);
中线:=SMA(RSV2,5,1)+2*STD(CLOSE,37);
RSV3:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
长线:=SMA(RSV3,5,1);
黄金坑:短线<20 AND 中线<20 AND 长线<20,coloryellow,nodraw;
STICKLINE(黄金坑>0 AND 黄金坑>=REF(黄金坑,1),0,黄金坑,2,0),coloryellow;
DIFF : EMA(CLOSE,12) - EMA(CLOSE,26),colorred;
DEA : EMA(DIFF,9),colorliblue;
DIFF大于零变白:IF(DIFF>=0,DIFF,DRAWNULL),colorwhite,linethick1;
DEA大于零变黄:IF(DEA>=0,DEA,DRAWNULL),coloryellow,linethick1;
MACD:2*(DIFF-DEA),nodraw;
Zero := 0;
gj:=MAX(C,O);
STICKLINE(MACD>0 AND MACD>=REF(MACD,1),0,MACD,2,0),color0000ff;
STICKLINE(MACD>0 AND MACD<REF(MACD,1),0,MACD,2,0),colorffff00;
STICKLINE(MACD<0 AND MACD>=REF(MACD,1),0,MACD,2,0),colorff00ff;
STICKLINE(MACD<0 AND MACD<REF(MACD,1),0,MACD,2,0),color00ff00;
DF火:= BARSLAST(EMA(CLOSE,5)<REF(EMA(CLOSE,5),1));
DF山:= COUNT(EMA(CLOSE,5)>REF(EMA(CLOSE,5),1),12);
天王卖:REF(DF火,4)>0 AND REF(DF火,3)>0 AND REF(DF火,2)>0 AND REF(DF火,1)>0 AND DF火=0 AND REF(DF火,1)>DF山,colorgreen,linethick2,nodraw;
STICKLINE(天王卖>0 AND 天王卖>=REF(天王卖,1),0,天王卖,10,0),colorgreen;
DRAWTEXT(天王卖,-MACD,"天王卖"),colorgreen;
RSV1:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
RSV2:=(CLOSE-LLV(LOW,37))/(HHV(HIGH,37)-LLV(LOW,37))*100;
短线:=SMA(SMA(RSV1,3,1),3,1)+3*STD(CLOSE,21),COLOR00FF00;
中线:=SMA(RSV2,5,1)+2*STD(CLOSE,37),colorred;
RSV3:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
长线:=SMA(RSV3,5,1),coloryellow;
中线2:=-100*(HHV(HIGH,40)-CLOSE)/(HHV(HIGH,40)-LLV(LOW,40));
大底:CROSS(中线2,-90) AND (长线<中线 AND 长线>REF(长线,1)OR 短线<20 AND 中线<20 AND 长线<20),colormagenta,nodraw;
STICKLINE(大底>0 AND 大底>=REF(大底,1),0,大底,10,0),colormagenta;
DRAWTEXT(大底,大底,"抄底"),colormagenta;
量比:=V/REF(MA(V,5),1),coloryellow;
DRAWTEXT(量比>3,-MACD,"注"),colorwhite;


[url=http://www.70822.com/soft/sort013/sort036/down-164325.html]MACD自己优化修改(同花顺公式 副图 源码 测试图)[/url]

关于本站 | 网站帮助 | 广告合作 | 声明 | 友情连接 | 网站地图 |
分析家公式网声明:本站所有股票公式软件资料均网上公开收集,如侵权请联系删帖。站内所有广告,均与本站无关!
Copyright © 2003-2024 70822.Com. All Rights Reserved .
页面执行时间:31.25000 毫秒