• 18976542384

    工作时间

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

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

  • 手机版二维码

    手机快速找资源

  • 扫描二维码

    加入官方qq群

[源码] 通达信黄金柱主图指标,助你股海擒牛!

2
回复
245
查看
[复制链接]

27

主题

18

回帖

203

积分

中级会员

Rank: 3Rank: 3

积分
203
发表于 2023-11-16 06:45:02 | 显示全部楼层 |阅读模式

指 标 源 码

DRAWTEXT_FIX(ISLASTBAR,0,0,0,HYBLOCK);

DRAWTEXT_FIX(ISLASTBAR,0.05,0,0,DYBLOCK);

DRAWTEXT_FIX(ISLASTBAR,0.1,0,0,GNBLOCK);

C_:CONST(CLOSE),POINTDOT,COLORYELLOW;

C收:MA(CLOSE,1),NODRAW;

O开:MA(OPEN,1),NODRAW;

二一:MA((CLOSE+OPEN)/2,1),NODRAW;

VAR1:=MA(CLOSE-(CLOSE-OPEN)/3,1);

VAR2:=MA(OPEN-(OPEN-CLOSE)/3,1);

三一:IF(CLOSE>OPEN,VAR1,VAR2),NODRAW;

VAR3:=MA(CLOSE,3);

VAR4:=REFX(VAR3,3);

高于实顶:CLOSE

VAR5:=STICKLINE(REF(LOW,1)>HIGH,HIGH,REF(LOW,1),5,0);

VAR6:=STICKLINE(REF(HIGH,1)

VAR7:=REF(CLOSE,1);

VAR8:=IF(CLOSE>=1,10000,100000);

VAR9:=1.1*VAR7-49/VAR8;

VAR10:=1.05*VAR7-49/VAR8;

VAR11:=0.9*VAR7+51/VAR8;

VAR12:=0.95*VAR7+51/VAR8;

VAR13:=NAMELIKE(1) OR NAMELIKE(2);

VAR14:=IF(VAR13,CLOSE<=VAR12,CLOSE<=VAR11);

VAR15:=IF(VAR13,CLOSE>=VAR10,CLOSE>=VAR9);

VAR16:=IF(VAR13,HIGH>=VAR10,HIGH>=VAR9);

VAR17:=IF(VAR13,LOW<=VAR12,LOW<=VAR11);

VAR18:=CLOSE/OPEN>=1.032 AND CLOSE>OPEN;

VAR19:=VAR18;

VAR20:=OPEN>CLOSE AND (OPEN-CLOSE)/OPEN>=0.032;

VAR21:=VAR20;

VAR22:=CLOSE/OPEN>=1.06 AND CLOSE>OPEN;

VAR23:=VAR22;

VAR24:=OPEN>CLOSE AND (OPEN-CLOSE)/OPEN>=0.06;

VAR25:=VAR24;

VAR26:=CLOSE/OPEN>=1.097 AND CLOSE>OPEN;

VAR27:=OPEN>CLOSE AND (OPEN-CLOSE)/OPEN>=0.097;

STICKLINE(VAR15,OPEN,CLOSE,1,0),COLORMAGENTA;

STICKLINE(VAR14,OPEN,CLOSE,1,0),COLORBLUE;

STICKLINE(VAR26,OPEN,CLOSE,1,0),COLORMAGENTA;

STICKLINE(VAR27,OPEN,CLOSE,1,0),COLORBLUE;

VAR28:=CLOSEREF(CLOSE,1);

VAR29:=CLOSEREF(CLOSE,1) AND OPEN>REF(CLOSE,1);

VAR30:=VAR28 OR VAR29;

STICKLINE(VAR30,OPEN,CLOSE,0.3,0),COLORRED;

VAR31:=CLOSE>OPEN AND CLOSE

STICKLINE(VAR31,OPEN,CLOSE,0.3,0),COLORGREEN;

VAR32:=1.3;

VAR33:=1;

VAR34:=0;

VAR35:=MA(CLOSE,5);

VAR36:=MA(CLOSE,10);

VAR37:=MA(CLOSE,20);

VAR38:=VAR35>REF(VAR35,1) AND VAR36

VAR39:=REF(VOL,1);

VAR40:=REF(VOL,2);

VAR41:=REF(VOL,3);

VAR42:=REF(VOL,4);

VAR43:=REF(CLOSE,2);

VAR44:=REF(CLOSE,3);

VAR45:=REF(CLOSE,4);

VAR46:=REF(OPEN,1);

VAR47:=REF(OPEN,2);

VAR48:=REF(OPEN,3);

VAR49:=REF(OPEN,4);

VAR50:=CLOSE>=VAR44 AND VAR7>=VAR44 AND VAR43>=VAR44;

VAR51:=LOW>VAR48 AND REF(LOW,1)>VAR48 AND REF(LOW,2)>VAR48;

VAR52:=AMOUNT/VOL/100;

VAR53:=REF(VAR52,1);

VAR54:=REF(VAR52,2);

VAR55:=CLOSE>=OPEN OR (CLOSEVAR7);

VAR56:=COUNT(VAR55,3)>=2;

VAR57:=REFV(OPEN>=CLOSE,4);

VAR58:=REFV(CLOSE>=OPEN,4);

VAR59:=REFV(CLOSE>OPEN,3);

VAR60:=VAR58 AND VAR59 OR VAR57 AND VAR59 AND VAR44>=(VAR49+VAR45)/2;

VAR61:=VAR52>=VAR53 OR CLOSE>VAR7 AND (VAR53>=VAR54 OR VAR7>=VAR43);

VAR62:=(CLOSE+VAR7+VAR43)/3>VAR44;

VAR63:=HHV(VOL,3)/REF(VOL,3)<=2;

VAR64:=VOL>VAR39 AND VAR39>VAR40;

VAR65:=VOL<=VAR39 AND VAR39<=VAR40;

VAR66:=(VOL+VAR39+VAR40)/3<=VAR41 AND NOT(VAR64);

VAR67:=CLOSE/VOL;

VAR68:=VAR67>=REF(VAR67,1) AND REF(VAR67,1)>=REF(VAR67,2);

VAR69:=(CLOSE+VAR7+VAR43)/3/VAR44;

VAR70:=(VOL+VAR39+VAR40)/3/VAR41;

VAR71:=VAR32*VAR69/VAR70>1;

VAR72:=VAR48>VAR45 AND VAR45>VAR49;

DRAWTEXT_FIX(1,0.980,20,1,),COLOR666666;

VAR73:=VAR60 AND VAR61 AND VAR65 AND VAR50 AND VAR51 AND VAR72;

VAR74:=BACKSET(VAR73,5);

VAR75:=FILTER(VAR74,4);

VAR76:=VAR60 AND VAR61 AND VAR65 AND VAR50 AND VAR51;

VAR77:=BACKSET(VAR76,4);

VAR78:=FILTER(VAR77,3);

VAR79:=VAR76 AND REF(VAR76,1);

VAR80:=BACKSET(VAR79,4);

VAR81:=FILTER(VAR80,3);

VAR82:=VAR76 AND REF(VAR76,2);

VAR83:=BACKSET(VAR82,4);

VAR84:=FILTER(VAR83,3);

VAR85:=VAR76 AND REF(VAR76,3);

VAR86:=BACKSET(VAR85,4);

VAR87:=FILTER(VAR86,3);

VAR88:=VAR60 AND VAR61 AND VAR66 AND NOT(VAR64) AND VAR50 AND VAR51 AND VAR72 AND NOT(VAR76) AND NOT(VAR73);

VAR89:=BACKSET(VAR88,5);

VAR90:=FILTER(VAR89,4);

VAR91:=VAR60 AND VAR61 AND VAR66 AND NOT(VAR64) AND VAR50 AND VAR51 AND NOT(VAR76) AND NOT(VAR73);

VAR92:=BACKSET(VAR91,4);

VAR93:=FILTER(VAR92,3);

VAR94:=VAR91 AND REF(VAR91,1);

VAR95:=BACKSET(VAR94,4);

VAR96:=FILTER(VAR95,3);

VAR97:=VAR91 AND REF(VAR91,2);

VAR98:=BACKSET(VAR97,4);

VAR99:=FILTER(VAR98,3);

VAR100:=VAR91 AND REF(VAR91,3);

VAR101:=BACKSET(VAR100,4);

VAR102:=FILTER(VAR101,3);

VAR103:=VAR60 AND VAR62 AND VAR65 AND VAR50 AND VAR51 AND VAR72 AND NOT(VAR76) AND NOT(VAR91) AND NOT(VAR73) AND NOT(VAR88);

VAR104:=BACKSET(VAR103,5);

VAR105:=FILTER(VAR104,4);

VAR106:=VAR60 AND VAR62 AND VAR65 AND VAR50 AND VAR51 AND NOT(VAR76) AND NOT(VAR91) AND NOT(VAR73) AND NOT(VAR88);

VAR107:=BACKSET(VAR106,4);

VAR108:=FILTER(VAR107,3);

VAR109:=VAR106 AND REF(VAR106,1);

VAR110:=BACKSET(VAR109,4);

VAR111:=FILTER(VAR110,3);

VAR112:=VAR106 AND REF(VAR106,2);

VAR113:=BACKSET(VAR112,4);

VAR114:=FILTER(VAR113,3);

VAR115:=VAR106 AND REF(VAR106,3);

VAR116:=BACKSET(VAR115,4);

VAR117:=FILTER(VAR116,3);

VAR118:=VAR60 AND VAR62 AND VAR66 AND VAR50 AND VAR51 AND VAR72 AND NOT(VAR76) AND NOT(VAR73) AND NOT(VAR91) AND NOT(VAR88) AND NOT(VAR106) AND NOT(VAR103);

VAR119:=BACKSET(VAR118,5);

VAR120:=FILTER(VAR119,4);

VAR121:=VAR60 AND VAR62 AND VAR66 AND VAR50 AND VAR51 AND NOT(VAR76) AND NOT(VAR91) AND NOT(VAR106) AND NOT(VAR73) AND NOT(VAR88) AND NOT(VAR103);

VAR122:=BACKSET(VAR121,4);

VAR123:=FILTER(VAR122,3);

VAR124:=VAR121 AND REF(VAR121,1);

VAR125:=BACKSET(VAR124,4);

VAR126:=FILTER(VAR125,3);

VAR127:=VAR121 AND REF(VAR121,2);

VAR128:=BACKSET(VAR127,4);

VAR129:=FILTER(VAR128,3);

VAR130:=VAR121 AND REF(VAR121,3);

VAR131:=BACKSET(VAR130,4);

VAR132:=FILTER(VAR131,3);

VAR133:=VAR60 AND VAR62 AND VAR71 AND VAR50 AND VAR51 AND VAR72 AND NOT(VAR76) AND NOT(VAR91) AND NOT(VAR106) AND NOT(VAR121) AND NOT(VAR73) AND NOT(VAR88) AND NOT(VAR103) AND NOT(VAR118);

VAR134:=BACKSET(VAR133,5);

VAR135:=FILTER(VAR134,4);

VAR136:=VAR60 AND VAR62 AND VAR71 AND VAR50 AND VAR51 AND NOT(VAR76) AND NOT(VAR91) AND NOT(VAR106) AND NOT(VAR121) AND NOT(VAR73) AND NOT(VAR88) AND NOT(VAR103) AND NOT(VAR118);

VAR137:=BACKSET(VAR136,4);

VAR138:=FILTER(VAR137,3);

VAR139:=VAR136 AND REF(VAR136,1);

VAR140:=BACKSET(VAR139,4);

VAR141:=FILTER(VAR140,3);

VAR142:=VAR136 AND REF(VAR136,2);

VAR143:=BACKSET(VAR142,4);

VAR144:=FILTER(VAR143,3);

VAR145:=VAR136 AND REF(VAR136,3);

VAR146:=BACKSET(VAR145,4);

VAR147:=FILTER(VAR146,3);

VAR148:=VAR60 AND VAR62 AND VAR68 AND VAR50 AND VAR51 AND VAR72 AND NOT(VAR76) AND NOT(VAR91) AND NOT(VAR106) AND NOT(VAR121) AND NOT(VAR136) AND NOT(VAR73) AND NOT(VAR88) AND NOT(VAR103) AND NOT(VAR118) AND NOT(VAR133);

VAR149:=BACKSET(VAR148,5);

VAR150:=FILTER(VAR149,4);

VAR151:=VAR60 AND VAR62 AND VAR68 AND VAR50 AND VAR51 AND NOT(VAR76) AND NOT(VAR91) AND NOT(VAR106) AND NOT(VAR121) AND NOT(VAR136) AND NOT(VAR73) AND NOT(VAR88) AND NOT(VAR103) AND NOT(VAR118) AND NOT(VAR133);

VAR152:=BACKSET(VAR151,4);

VAR153:=FILTER(VAR152,3);

VAR154:=VAR151 AND REF(VAR151,1);

VAR155:=BACKSET(VAR154,4);

VAR156:=FILTER(VAR155,3);

VAR157:=VAR151 AND REF(VAR151,2);

VAR158:=BACKSET(VAR157,4);

VAR159:=FILTER(VAR158,3);

VAR160:=VAR151 AND REF(VAR151,3);

VAR161:=BACKSET(VAR160,4);

VAR162:=FILTER(VAR161,3);

VAR163:=VAR60 AND VAR62 AND VAR63 AND VAR50 AND VAR51 AND VAR72 AND NOT(VAR76) AND NOT(VAR91) AND NOT(VAR106) AND NOT(VAR121) AND NOT(VAR136) AND NOT(VAR73) AND NOT(VAR88) AND NOT(VAR103) AND NOT(VAR118) AND NOT(VAR133) AND NOT(VAR148);

VAR164:=BACKSET(VAR163,5);

VAR165:=FILTER(VAR164,4);

VAR166:=VAR60 AND VAR62 AND VAR63 AND VAR50 AND VAR51 AND NOT(VAR76) AND NOT(VAR91) AND NOT(VAR106) AND NOT(VAR121) AND NOT(VAR136) AND NOT(VAR73) AND NOT(VAR88) AND NOT(VAR103) AND NOT(VAR118) AND NOT(VAR133) AND NOT(VAR148);

VAR167:=BACKSET(VAR166,4);

VAR168:=FILTER(VAR167,3);

VAR169:=VAR166 AND REF(VAR166,1);

VAR170:=BACKSET(VAR169,4);

VAR171:=FILTER(VAR170,3);

VAR172:=VAR166 AND REF(VAR166,2);

VAR173:=BACKSET(VAR172,4);

VAR174:=FILTER(VAR173,3);

VAR175:=VAR166 AND REF(VAR166,3);

VAR176:=BACKSET(VAR175,4);

VAR177:=FILTER(VAR176,3);

VAR178:=VAR78 AND NOT(REF(VAR78,4)) OR (VAR81 AND NOT(REF(VAR81,4))) OR (VAR84 AND NOT(REF(VAR84,4))) OR (VAR87 AND NOT(REF(VAR87,4)));

VAR179:=VAR93 AND NOT(REF(VAR93,4)) OR (VAR96 AND NOT(REF(VAR96,4))) OR (VAR99 AND NOT(REF(VAR99,4))) OR (VAR102 AND NOT(REF(VAR102,4)));

VAR180:=VAR108 AND NOT(REF(VAR108,4)) OR (VAR111 AND NOT(REF(VAR111,4))) OR (VAR114 AND NOT(REF(VAR114,4))) OR (VAR117 AND NOT(REF(VAR117,4)));

VAR181:=VAR123 AND NOT(REF(VAR123,4)) OR (VAR126 AND NOT(REF(VAR126,4))) OR (VAR129 AND NOT(REF(VAR129,4))) OR (VAR132 AND NOT(REF(VAR132,4)));

VAR182:=VAR138 AND NOT(REF(VAR138,4)) OR (VAR141 AND NOT(REF(VAR141,4))) OR (VAR144 AND NOT(REF(VAR144,4))) OR (VAR147 AND NOT(REF(VAR147,4)));

VAR183:=VAR153 AND NOT(REF(VAR153,4)) OR (VAR156 AND NOT(REF(VAR156,4))) OR (VAR159 AND NOT(REF(VAR159,4))) OR (VAR162 AND NOT(REF(VAR162,4)));

VAR184:=VAR168 AND NOT(REF(VAR168,4)) OR (VAR171 AND NOT(REF(VAR171,4))) OR (VAR174 AND NOT(REF(VAR174,4))) OR (VAR177 AND NOT(REF(VAR177,4)));

通达信指标公式:SMA(MAX(CLOSE-C,0),7,1)/SMA(ABS(CLOSE-C),7,1)*100,NODRAW;

VAR185:=VAR178 OR VAR179 OR VAR180 OR VAR181 OR VAR182 OR VAR183 OR VAR184;

STICKLINE(VAR185 AND NOT(REF(VAR185,4)),OPEN,CLOSE,1,0),COLORYELLOW;

VAR186:=SUMBARS(VAR185,1);

VAR187:=VAR75 AND NOT(REF(VAR75,5));

VAR188:=VAR90 AND NOT(REF(VAR90,5));

VAR189:=VAR105 AND NOT(REF(VAR105,5));

VAR190:=VAR120 AND NOT(REF(VAR120,5));

VAR191:=VAR135 AND NOT(REF(VAR135,5));

VAR192:=VAR150 AND NOT(REF(VAR150,5));

VAR193:=VAR165 AND NOT(REF(VAR165,5));

VAR194:=VAR187 OR VAR188 OR VAR189 OR VAR190 OR VAR191 OR VAR192 OR VAR193;

STICKLINE(VAR194 AND NOT(REF(VAR194,5)),OPEN,CLOSE,1,0),COLORYELLOW;

DRAWICON(VAR194 AND NOT(REF(VAR194,5)),LOW*0.978,34),COLORYELLOW;

VAR195:=SUMBARS(VAR194,1);

VAR196:=VAR76 OR VAR91 OR VAR106 OR VAR121 OR VAR136 OR VAR151 OR VAR166 AND VAR38 AND VAR34;

VAR197:=BACKSET(VAR196,4);

VAR198:=FILTER(VAR197,3);

STICKLINE(VAR198 AND NOT(REF(VAR198,4)),OPEN,CLOSE,1,0),COLORYELLOW;

VAR199:=VAR73 OR VAR88 OR VAR103 OR VAR118 OR VAR133 OR VAR148 OR VAR163 AND VAR38 AND VAR34;

VAR200:=BACKSET(VAR199,5);

VAR201:=FILTER(VAR200,5);

STICKLINE(VAR201 AND NOT(REF(VAR201,4)),OPEN,CLOSE,1,0),COLORYELLOW;

MA5角度:ATAN((VAR35/REF(VAR35,1)-1)*100)*180/3.1416,NODRAW;

VAR202:=CLOSE>OPEN AND (CLOSE>=VAR10 OR CLOSE>1.05*OPEN-51/VAR8) OR (CLOSE>1000 AND CLOSE>VAR7*1.024);

VAR203:=CLOSE1000 AND CLOSE

STICKLINE(VAR19 AND BETWEEN(CLOSE,1,500),(CLOSE+OPEN)/2,(OPEN+CLOSE)/2,2,0),COLORWHITE;

STICKLINE(VAR21 AND BETWEEN(CLOSE,1,500),(CLOSE+OPEN)/2,(OPEN+CLOSE)/2,2,0),COLORWHITE;

STICKLINE(VAR23 AND BETWEEN(CLOSE,1,500),CLOSE-(CLOSE-OPEN)/3,CLOSE-(CLOSE-OPEN)/3,2,0),COLORWHITE;

STICKLINE(VAR25 AND BETWEEN(CLOSE,1,500),OPEN-(OPEN-CLOSE)/3,OPEN-(OPEN-CLOSE)/3,2,0),COLORWHITE;

彩虹桥-投资充电站


回复

使用道具 举报

0

主题

6

回帖

23

积分

新手上路

Rank: 1

积分
23
发表于 2024-1-15 06:01:47 | 显示全部楼层
点赞楼主!
回复

使用道具 举报

0

主题

11

回帖

34

积分

新手上路

Rank: 1

积分
34
发表于 2024-2-21 22:19:07 | 显示全部楼层
沙发,多多点赞好好学习
回复

使用道具 举报

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

本版积分规则

全国统一客服电话
18976542384

24x7小时免费咨询

  • 官方在线客服

    QQ客服:股海浪子

    点击交谈

    QQ客服:beyond

    点击交谈

    QQ客服:明月

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

  • 添加客服微信

    可领取网站任一指标一个

  • 加入指标qq分享群

    免费领取资源

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