易学指标公式网

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 1425|回复: 0

【通达信指标源码】抄底买抢时机 抓黑马强上攻(含选股)

[复制链接]

441

主题

0

回帖

825

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
825
发表于 2022-11-13 22:13:51 | 显示全部楼层 |阅读模式
  
  第一部分 副图公式 手机/电脑

GUP01:=EMA(((CLOSE - LLV(LOW,25)) / (HHV(HIGH,25) - LLV(LOW,25))) * 100,5);GUP02:=(HHV(HIGH,25) - LLV(LOW,25)) / (EMA(CLOSE - LLV(LOW,25),5));GUP03:=CROSS(GUP02,GUP01);GUP04:=REF(GUP02,2);GUP05:=(COUNT(GUP03,7) > 0) AND GUP04;买入:=GUP05 AND (COUNT(GUP05,5) = 1);GUPS1:=REF(CLOSE,1);GUPS2:=SUM(VOL,2) / ((HHV(HIGH,2) - LLV(LOW,2)) * 100);GUPS3:=(CLOSE - GUPS1) * GUPS2;GUPS4:=SUM(GUPS3,0);GUPS5:=SMA(GUPS4,7,1);GUPS6:=SMA(GUPS4,89,1);OSC:=GUPS5 - GUPS6;MA1:=MA(OSC,5);抄底买入买入 AND (MA1 < 0)),COLORLIRED;STICKLINE(抄底买入,30,0,6,0),COLORLIRED;DRAWTEXT(抄底买入,25,' ★抄底买'),COLORLIRED;GUA2X:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;GUA3X:=SMA(GUA2X,4,1);GUA4X:=SMA(GUA3X,2,1);GUA5X:=SMA(GUA4X,2,1);GUA7:=CROSS(GUA4X,GUA5X) AND GUA4X<35;GUA8:=GUA7 AND VOL>REF(VOL,1)*2 AND VOL>REF(MA(VOL,5),1)*2;GUA01:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;GUA02:=SMA(GUA01,3,1);GUA03:=SMA(GUA02,3,1);GUA04:=SMA(GUA03,3,1);GUA06:=CROSS(GUA03,GUA04) AND GUA03<25;GUA07:=GUA06 AND VOL>REF(VOL,1)*2 AND VOL>REF(MA(VOL,5),1)*2;TT:=DATE<1231230;GUA2XM:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100;GUA3XM:=SMA(GUA2XM,5,1);GUA4XM:=SMA(GUA3XM,3,1);GUA5XM:=SMA(GUA4XM,3,1);GUA7M:=CROSS(GUA4XM,GUA5XM) AND GUA4XM<35;GUA8M:=GUA7M AND VOL>REF(VOL,1)*2 AND VOL>REF(MA(VOL,5),1)*2;GUA01M:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;GUA02M:=SMA(GUA01M,3,1);GUA03M:=SMA(GUA02M,3,1);GUA04M:=SMA(GUA03M,3,1);GUA06M:=CROSS(GUA03M,GUA04M) AND GUA03M<25;GUA07M:=GUA06M AND VOL>REF(VOL,1)*2 AND VOL>REF(MA(VOL,5),1)*2;GUCM:=STICKLINE(GUA8M OR GUA07M,-2,25,4,0);GUCMM:=STICKLINE(GUA8 OR GUA07,0,20,6,0)*TT;MHY:=STICKLINE(GUCM AND GUCMM,0,20,6,0)*TT;黑马:=FILTER(MHY,15);抓黑马:黑马,COLORYELLOW;STICKLINE(黑马,30,0,6,0),COLORYELLOW;DRAWTEXT(黑马,25,' ★抓黑马')*TT,COLORYELLOW;

第二部分 选股公式
{选股公式一:抓黑马}
GUA2X:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;GUA3X:=SMA(GUA2X,4,1);GUA4X:=SMA(GUA3X,2,1);GUA5X:=SMA(GUA4X,2,1);GUA7:=CROSS(GUA4X,GUA5X) AND GUA4X<35;GUA8:=GUA7 AND VOL>REF(VOL,1)*2 AND VOL>REF(MA(VOL,5),1)*2;GUA01:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;GUA02:=SMA(GUA01,3,1);GUA03:=SMA(GUA02,3,1);GUA04:=SMA(GUA03,3,1);GUA06:=CROSS(GUA03,GUA04) AND GUA03<25;GUA07:=GUA06 AND VOL>REF(VOL,1)*2 AND VOL>REF(MA(VOL,5),1)*2;TT:=DATE<1231230;GUA2XM:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100;GUA3XM:=SMA(GUA2XM,5,1);GUA4XM:=SMA(GUA3XM,3,1);GUA5XM:=SMA(GUA4XM,3,1);GUA7M:=CROSS(GUA4XM,GUA5XM) AND GUA4XM<35;GUA8M:=GUA7M AND VOL>REF(VOL,1)*2 AND VOL>REF(MA(VOL,5),1)*2;GUA01M:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;GUA02M:=SMA(GUA01M,3,1);GUA03M:=SMA(GUA02M,3,1);GUA04M:=SMA(GUA03M,3,1);GUA06M:=CROSS(GUA03M,GUA04M) AND GUA03M<25;GUA07M:=GUA06M AND VOL>REF(VOL,1)*2 AND VOL>REF(MA(VOL,5),1)*2;GUCM:=STICKLINE(GUA8M OR GUA07M,-2,25,4,0);GUCMM:=STICKLINE(GUA8 OR GUA07,0,20,6,0)*TT;MHY:=STICKLINE(GUCM AND GUCMM,0,20,6,0)*TT;黑马:=FILTER(MHY,15);抓黑马:黑马,COLORYELLOW;

{选股公式二:抄底买}

GUP01:=EMA(((CLOSE - LLV(LOW,25)) / (HHV(HIGH,25) - LLV(LOW,25))) * 100,5);GUP02:=(HHV(HIGH,25) - LLV(LOW,25)) / (EMA(CLOSE - LLV(LOW,25),5));GUP03:=CROSS(GUP02,GUP01);GUP04:=REF(GUP02,2);GUP05:=(COUNT(GUP03,7) > 0) AND GUP04;买入:=GUP05 AND (COUNT(GUP05,5) = 1);GUPS1:=REF(CLOSE,1);GUPS2:=SUM(VOL,2) / ((HHV(HIGH,2) - LLV(LOW,2)) * 100);GUPS3:=(CLOSE - GUPS1) * GUPS2;GUPS4:=SUM(GUPS3,0);GUPS5:=SMA(GUPS4,7,1);GUPS6:=SMA(GUPS4,89,1);OSC:=GUPS5 - GUPS6;MA1:=MA(OSC,5);抄底买入:=(买入 AND (MA1 < 0)),COLORLIRED;抄底买:抄底买入,COLORLIRED;



第三部分 图片示例


QQ截图20221113220742.png


QQ截图20221113220609.png









回复

使用道具 举报

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

本版积分规则

 
 
在线客服
客服QQ号:2458763583
客服QQ群:658254471
工作时间:
8:00-23:00
客服热线:
扫一扫加客服微信

QQ|Archiver|小黑屋|易学指标公式网

GMT+8, 2025-4-4 17:37 , Processed in 0.115094 second(s), 20 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表