• 18976542384

    工作时间

    周一至周五:9:00-21:00

    周末及节日:9:00-18:00

  • 手机版二维码

    手机快速找资源

  • 扫描二维码

    加入官方qq群

2024MACD背离 提前买入《通达信+指标+公式+副图+源码》

1
回复
311
查看
[复制链接]

90

主题

8

回帖

492

积分

中级会员

Rank: 3Rank: 3

积分
492
发表于 2024-3-8 11:55:29 | 显示全部楼层 |阅读模式
彩虹桥-投资充电站
副图公式 源码支持手机/电脑

SHORT:=12;LONG:=26;MID:=9;
DIF1:EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);
DEA1:EMA(DIF1,MID);
MACD1 彩虹桥-投资充电站 DIF1-DEA1)*2,COLORSTICK;
DRAWICON(REF(DIF1,1)<REF(DIF1,2) AND DIF1>REF(DIF1,1) AND DIF1<0 AND DIF1<DEA1,DIF1*1.1,38),COLORRED;
GUP2:=BARSLAST(REF(MACD1,1)<0 AND MACD1>0);
GUP3:=LLVBARS(MACD1,GUP2+20);
GUP4:=IF(GUP3>GUP2,REF(MACD1,GUP3),0);
GUP5:=MACD1<0 AND MACD1>GUP4 AND LOW=LLV(LOW,GUP2+20) AND GUP4<0;
GUP6:=REF(GUP5,1)=1 AND MACD1>REF(MACD1,1) AND REF(DIF1,GUP3)<0 AND MACD1<0;
底背离 彩虹桥-投资充电站 RAWLINE(GUP4=GUP3,MACD1,GUP6,MACD1,0),COLORRED,DOTLINE;
DRAWICON(GUP6,MACD1*1.2,25);
GUP7:=HHVBARS(MACD1,GUP2+20);
GUP8:=IF(GUP7>GUP2,REF(MACD1,GUP7),0);
GUP9:=MACD1>0 AND MACD1<GUP8 AND HIGH=HHV(HIGH,GUP2+20) AND GUP8>0;
GUP10:=REF(GUP9,1)=1 AND MACD1>REF(MACD1,1) AND REF(DIF1,GUP7)>0;
顶背离RAWLINE(GUP8=GUP7,MACD1,GUP10,MACD1,0),COLOR1D7300,DOTLINE;
DRAWICON(GUP10,MACD1*1.2,27);
GUP11:=CLOSE/MA(CLOSE,40)*100<78;
GUP12:=CLOSE/MA(CLOSE,60)*100<74;
GUP13:=HIGH>LOW*1.051;
GUP14:=GUP13 AND COUNT(GUP13,5)>1;
GUP15:=IF(GUP14 AND (GUP11 OR GUP12),2,0);
GUP16:=CLOSE/REF(CLOSE,25)<=1.1;
GUP17:=SMA(MAX(CLOSE-REF(CLOSE,2),0),7,1)/SMA(ABS(CLOSE-REF(CLOSE,2)),7,1)*100<15;
GUP18:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
GUP19:=SMA(GUP18,2,1);
GUP20:=SMA(GUP19,2,1);
GUP21:=IF(GUP19>REF(GUP19,1) AND REF(GUP19,1)<REF(GUP19,2) AND GUP19<23,1.5,0);
GUP22:=100-100*(HHV(HIGH,5*8)-CLOSE)/(HHV(HIGH,5*8)-LLV(LOW,5*8));
GUP23:=MA(CLOSE,5);
GUP24:=IF(CLOSE>SAR(10,2,20),1,0);
GUP25:=IF(CLOSE<SAR(10,2,20),(-1),0);
GUP26:=ATAN((GUP23/REF(GUP23,1)-1)*100)*180/3.1416;
GUP27:=IF(GUP26>30,1,0);
GUP28:=IF(GUP26<(-30),(-1),0);
GUP29:=GUP24+GUP27+GUP25+GUP28;
IF(GUP29<(-1) OR GUP22<25.01,DIF1,DRAWNULL),COLOR1D7300;
IF(GUP22>74.989998 OR GUP29>0,DIF1,DRAWNULL),COLORRED;
0,COLORBROWN,POINTDOT;

选股公式源码



{选股公式一:红钻石图标}
SHORT:=12;LONG:=26;MID:=9;
DIF1:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);
DEA1:=EMA(DIF1,MID);
MACD1:=(DIF1-DEA1)*2;
GUP2:=BARSLAST(REF(MACD1,1)<0 AND MACD1>0);
GUP3:=LLVBARS(MACD1,GUP2+20);
GUP4:=IF(GUP3>GUP2,REF(MACD1,GUP3),0);
GUP5:=MACD1<0 AND MACD1>GUP4 AND LOW=LLV(LOW,GUP2+20) AND GUP4<0;
GUP6:=REF(GUP5,1)=1 AND MACD1>REF(MACD1,1) AND REF(DIF1,GUP3)<0 AND MACD1<0;
红钻石图标:GUP6;
{选股公式二:红三角图标}
SHORT:=12;LONG:=26;MID:=9;
DIF1:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);
DEA1:=EMA(DIF1,MID);
GUP11:=CLOSE/MA(CLOSE,40)*100<78;
GUP12:=CLOSE/MA(CLOSE,60)*100<74;
GUP13:=HIGH>LOW*1.051;
GUP14:=GUP13 AND COUNT(GUP13,5)>1;
红三角图标:REF(DIF1,1)<REF(DIF1,2) AND DIF1>REF(DIF1,1) AND DIF1<0 AND DIF1<DEA1;
回复

使用道具 举报

0

主题

6

回帖

22

积分

新手上路

Rank: 1

积分
22
发表于 2024-3-19 22:50:28 | 显示全部楼层
只为积分!感谢!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

全国统一客服电话
18976542384

24x7小时免费咨询

  • 官方在线客服

    QQ客服:股海浪子

    点击交谈

    QQ客服:beyond

    点击交谈

    QQ客服:明月

    点击交谈
  • 广东省深圳市福田区深南大道2012号

  • 添加客服微信

    可领取网站任一指标一个

  • 加入指标qq分享群

    免费领取资源

Powered by Discuz!X3.4 ©2001-2013 Comsenz Inc.彩虹桥投资充电站( 粤ICP备19084539号 )|网站地图