• 18976542384

    工作时间

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

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

  • 手机版二维码

    手机快速找资源

  • 扫描二维码

    加入官方qq群

2024紧跟龙头 买入起飞《通达信+指标+公式+副图+源码》

0
回复
326
查看
[复制链接]

85

主题

6

回帖

461

积分

中级会员

Rank: 3Rank: 3

积分
461
发表于 2024-3-20 09:35:25 | 显示全部楼层 |阅读模式
彩虹桥-投资充电站
副图公式源码支持 手机/电脑


G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
GUP1:=MA(100*(G1-LLV(G1,34))/(HHV(G4,34)-LLV(G2,34)),5)-20;
GUP2:=2*ABS(GUP1);
GUP3:=100-3*SMA((G1-LLV(G2,75))/(HHV(G4,75)-LLV(G2,75))*100,20,1)+2*SMA(SMA((G1-LLV(G2,75))/(HHV(G4,75)-LLV(G2,75))*100,20,1),15,1);
GUP4:=100-3*SMA((G3-LLV(G2,75))/(HHV(G4,75)-LLV(G2,75))*100,20,1)+2*SMA(SMA((G3-LLV(G2,75))/(HHV(G4,75)-LLV(G2,75))*100,20,1),15,1);
GUP5:=(G4+G2+G1)/3;
GUP6:=(GUP5-MA(GUP5,14))/(0.015*AVEDEV(GUP5,14));
GUP7:=(GUP5-MA(GUP5,70))/(0.015*AVEDEV(GUP5,70));
GUP8:=IF(GUP6>=150 AND GUP6<200 AND GUP7>=150 AND GUP7<200,10,0);
GUP9:=IF(GUP6<=-150 AND GUP6>-200 AND GUP7<=-150 AND GUP7>-200,-10,GUP8);
GUPA:=(G1-MA(G1,13))/MA(G1,13)*100;
GUPB:=100-ABS(GUPA);
GUPC:=3*SMA((INDEXC-LLV(INDEXL,75))/(HHV(INDEXH,75)-LLV(INDEXL,75))*100,20,1)-2*SMA(SMA((INDEXC-LLV(INDEXL,75))/(HHV(INDEXH,75)-LLV(INDEXL,75))*100,20,1),15,1);
GUPD:=3*SMA((INDEXO-LLV(INDEXL,75))/(HHV(INDEXH,75)-LLV(INDEXL,75))*100,20,1)-2*SMA(SMA((INDEXO-LLV(INDEXL,75))/(HHV(INDEXH,75)-LLV(INDEXL,75))*100,20,1),15,1);
GUPE:=REF(G2,1)*0.9;
GUPF:=G2*0.9;
GUP10:=(GUPF*VOL+GUPE*(CAPITAL-VOL))/CAPITAL;
GUP11:=EMA(GUP10,30);
GUP12:=GUP11-G1;
GUP13:=REF(G1,1);
GUP14:=SMA(MAX(G1-GUP13,0),7,1)/SMA(ABS(G1-GUP13),7,1)*100;
GUP15:=SMA(MAX(G1-GUP13,0),13,1)/SMA(ABS(G1-GUP13),13,1)*100;
GUP16:=BARSCOUNT(G1);
GUP17:=SMA(MAX(G1-REF(G1,1),0),6,1)/SMA(ABS(G1-REF(G1,1)),6,1)*100;
GUP18:=((-100)*(HHV(G4,60)-G1)/(HHV(G4,60)-LLV(G2,60))+50)*2;
GUP19:=(G1-LLV(G2,15))/(HHV(G4,15)-LLV(G2,15))*100;
GUP1A:=(SMA(GUP19,4,1)-50)*2;
GUP1B:=SMA(GUP1A,3,1);
GUP1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;
GUP1D:=SMA(GUP1C,4,1);
GUP1E:=SMA(GUP1D,3,1);
GUP1F:=(HHV(G4,30)-G1)/G1*100;
GUP20:=IF(GUP17<=25 AND GUP18<-95 AND GUP1F>20 AND GUP1B<-30 AND GUP1E<30 AND GUP12>=-0.25 AND GUP14<22 AND GUP15<28 AND GUP16>50,80,0);
GUA1:=IF(GUPB<90,GUPB,100);
GUA2:=IF(GUP1>0,GUP1,0);
GUA3:=IF(GUP1<0,GUP2,0);
买入:GUP20,COLORRED,LINETHICK2,COLORCYAN;
GUB1:=IF(GUP7>=200 AND GUP6>=150,15,IF(GUP7<=-200 AND GUP6<=-150,-15,GUP9))+60;
GUP21:=G1>MA(G1,20) AND MA(G1,20)>=REF(MA(G1,20),1);
GUP22:=G1<MA(G1,20) AND MA(G1,20)<REF(MA(G1,20),1);
GUP23:=GUA2>50 AND GUB1>60 AND GUA1=100;
GUP24:=GUA2>48 AND GUB1>60 AND GUA1<100;
GUP25:=GUA3>38 AND GUB1<55;
GUP26:=买入>50 AND GUA1<90;
GUP27:=GUP3<REF(GUP4,1) AND VOL>REF(VOL,1) AND G1>REF(G1,1);
GUP28:=GUP3>=REF(GUP4,1) AND G1<REF(G1,1) AND GUB1=60 AND 买入=0 AND GUA3>=REF(GUA3,1) AND GUPC<REF(GUPD,1);
起飞:IF(GUP27 AND COUNT(GUP27,30)=1,100,0),LINETHICK2,COLORYELLOW;

选股公式源码



{选股公式一:买入}

G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;

GUP1:=MA(100*(G1-LLV(G1,34))/(HHV(G4,34)-LLV(G2,34)),5)-20;

GUP2:=2*ABS(GUP1);

GUP3:=100-3*SMA((G1-LLV(G2,75))/(HHV(G4,75)-LLV(G2,75))*100,20,1)+2*SMA(SMA((G1-LLV(G2,75))/(HHV(G4,75)-LLV(G2,75))*100,20,1),15,1);

GUP4:=100-3*SMA((G3-LLV(G2,75))/(HHV(G4,75)-LLV(G2,75))*100,20,1)+2*SMA(SMA((G3-LLV(G2,75))/(HHV(G4,75)-LLV(G2,75))*100,20,1),15,1);

GUP5:=(G4+G2+G1)/3;

GUP6:=(GUP5-MA(GUP5,14))/(0.015*AVEDEV(GUP5,14));

GUP7:=(GUP5-MA(GUP5,70))/(0.015*AVEDEV(GUP5,70));

GUP8:=IF(GUP6>=150 AND GUP6<200 AND GUP7>=150 AND GUP7<200,10,0);

GUP9:=IF(GUP6<=-150 AND GUP6>-200 AND GUP7<=-150 AND GUP7>-200,-10,GUP8);

GUPA:=(G1-MA(G1,13))/MA(G1,13)*100;

GUPB:=100-ABS(GUPA);

GUPC:=3*SMA((INDEXC-LLV(INDEXL,75))/(HHV(INDEXH,75)-LLV(INDEXL,75))*100,20,1)-2*SMA(SMA((INDEXC-LLV(INDEXL,75))/(HHV(INDEXH,75)-LLV(INDEXL,75))*100,20,1),15,1);

GUPD:=3*SMA((INDEXO-LLV(INDEXL,75))/(HHV(INDEXH,75)-LLV(INDEXL,75))*100,20,1)-2*SMA(SMA((INDEXO-LLV(INDEXL,75))/(HHV(INDEXH,75)-LLV(INDEXL,75))*100,20,1),15,1);

GUPE:=REF(G2,1)*0.9;

GUPF:=G2*0.9;

GUP10:=(GUPF*VOL+GUPE*(CAPITAL-VOL))/CAPITAL;

GUP11:=EMA(GUP10,30);

GUP12:=GUP11-G1;

GUP13:=REF(G1,1);

GUP14:=SMA(MAX(G1-GUP13,0),7,1)/SMA(ABS(G1-GUP13),7,1)*100;

GUP15:=SMA(MAX(G1-GUP13,0),13,1)/SMA(ABS(G1-GUP13),13,1)*100;

GUP16:=BARSCOUNT(G1);

GUP17:=SMA(MAX(G1-REF(G1,1),0),6,1)/SMA(ABS(G1-REF(G1,1)),6,1)*100;

GUP18:=((-100)*(HHV(G4,60)-G1)/(HHV(G4,60)-LLV(G2,60))+50)*2;

GUP19:=(G1-LLV(G2,15))/(HHV(G4,15)-LLV(G2,15))*100;

GUP1A:=(SMA(GUP19,4,1)-50)*2;

GUP1B:=SMA(GUP1A,3,1);

GUP1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;

GUP1D:=SMA(GUP1C,4,1);

GUP1E:=SMA(GUP1D,3,1);

GUP1F:=(HHV(G4,30)-G1)/G1*100;

GUP20:=IF(GUP17<=25 AND GUP18<-95 AND GUP1F>20 AND GUP1B<-30 AND GUP1E<30 AND GUP12>=-0.25 AND GUP14<22 AND GUP15<28 AND GUP16>50,80,0);

GUA1:=IF(GUPB<90,GUPB,100);

GUA2:=IF(GUP1>0,GUP1,0);

GUA3:=IF(GUP1<0,GUP2,0);

买入:GUP20,COLORRED,LINETHICK2,COLORCYAN;

{选股公式二:起飞}

G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;

GUP1:=MA(100*(G1-LLV(G1,34))/(HHV(G4,34)-LLV(G2,34)),5)-20;

GUP2:=2*ABS(GUP1);

GUP3:=100-3*SMA((G1-LLV(G2,75))/(HHV(G4,75)-LLV(G2,75))*100,20,1)+2*SMA(SMA((G1-LLV(G2,75))/(HHV(G4,75)-LLV(G2,75))*100,20,1),15,1);

GUP4:=100-3*SMA((G3-LLV(G2,75))/(HHV(G4,75)-LLV(G2,75))*100,20,1)+2*SMA(SMA((G3-LLV(G2,75))/(HHV(G4,75)-LLV(G2,75))*100,20,1),15,1);

GUP5:=(G4+G2+G1)/3;

GUP6:=(GUP5-MA(GUP5,14))/(0.015*AVEDEV(GUP5,14));

GUP7:=(GUP5-MA(GUP5,70))/(0.015*AVEDEV(GUP5,70));

GUP8:=IF(GUP6>=150 AND GUP6<200 AND GUP7>=150 AND GUP7<200,10,0);

GUP9:=IF(GUP6<=-150 AND GUP6>-200 AND GUP7<=-150 AND GUP7>-200,-10,GUP8);

GUPA:=(G1-MA(G1,13))/MA(G1,13)*100;

GUPB:=100-ABS(GUPA);

GUPC:=3*SMA((INDEXC-LLV(INDEXL,75))/(HHV(INDEXH,75)-LLV(INDEXL,75))*100,20,1)-2*SMA(SMA((INDEXC-LLV(INDEXL,75))/(HHV(INDEXH,75)-LLV(INDEXL,75))*100,20,1),15,1);

GUPD:=3*SMA((INDEXO-LLV(INDEXL,75))/(HHV(INDEXH,75)-LLV(INDEXL,75))*100,20,1)-2*SMA(SMA((INDEXO-LLV(INDEXL,75))/(HHV(INDEXH,75)-LLV(INDEXL,75))*100,20,1),15,1);

GUPE:=REF(G2,1)*0.9;

GUPF:=G2*0.9;

GUP10:=(GUPF*VOL+GUPE*(CAPITAL-VOL))/CAPITAL;

GUP11:=EMA(GUP10,30);

GUP12:=GUP11-G1;

GUP13:=REF(G1,1);

GUP14:=SMA(MAX(G1-GUP13,0),7,1)/SMA(ABS(G1-GUP13),7,1)*100;

GUP15:=SMA(MAX(G1-GUP13,0),13,1)/SMA(ABS(G1-GUP13),13,1)*100;

GUP16:=BARSCOUNT(G1);

GUP17:=SMA(MAX(G1-REF(G1,1),0),6,1)/SMA(ABS(G1-REF(G1,1)),6,1)*100;

GUP18:=((-100)*(HHV(G4,60)-G1)/(HHV(G4,60)-LLV(G2,60))+50)*2;

GUP19:=(G1-LLV(G2,15))/(HHV(G4,15)-LLV(G2,15))*100;

GUP1A:=(SMA(GUP19,4,1)-50)*2;

GUP1B:=SMA(GUP1A,3,1);

GUP1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;

GUP1D:=SMA(GUP1C,4,1);

GUP1E:=SMA(GUP1D,3,1);

GUP1F:=(HHV(G4,30)-G1)/G1*100;

GUP20:=IF(GUP17<=25 AND GUP18<-95 AND GUP1F>20 AND GUP1B<-30 AND GUP1E<30 AND GUP12>=-0.25 AND GUP14<22 AND GUP15<28 AND GUP16>50,80,0);

GUA1:=IF(GUPB<90,GUPB,100);

GUA2:=IF(GUP1>0,GUP1,0);

GUA3:=IF(GUP1<0,GUP2,0);

买入:=GUP20,COLORRED,LINETHICK2,COLORCYAN;

GUB1:=IF(GUP7>=200 AND GUP6>=150,15,IF(GUP7<=-200 AND GUP6<=-150,-15,GUP9))+60;

GUP21:=G1>MA(G1,20) AND MA(G1,20)>=REF(MA(G1,20),1);

GUP22:=G1<MA(G1,20) AND MA(G1,20)<REF(MA(G1,20),1);

GUP23:=GUA2>50 AND GUB1>60 AND GUA1=100;

GUP24:=GUA2>48 AND GUB1>60 AND GUA1<100;

GUP25:=GUA3>38 AND GUB1<55;

GUP26:=买入>50 AND GUA1<90;

GUP27:=GUP3<REF(GUP4,1) AND VOL>REF(VOL,1) AND G1>REF(G1,1);

GUP28:=GUP3>=REF(GUP4,1) AND G1<REF(G1,1) AND GUB1=60 AND 买入=0 AND GUA3>=REF(GUA3,1) AND GUPC<REF(GUPD,1);

起飞:IF(GUP27 AND COUNT(GUP27,30)=1,100,0),LINETHICK2,COLORYELLOW;

回复

使用道具 举报

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

本版积分规则

全国统一客服电话
18976542384

24x7小时免费咨询

  • 官方在线客服

    QQ客服:股海浪子

    点击交谈

    QQ客服:beyond

    点击交谈

    QQ客服:明月

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

  • 添加客服微信

    可领取网站任一指标一个

  • 加入指标qq分享群

    免费领取资源

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