通达信牛股三绝主图(指标主图贴图)无未来喜欢量学来

[复制链接]
查看200 | 回复0 | 2021-8-19 18:41:40 | 显示全部楼层 |阅读模式

以下是通达信牛股三绝主图(指标主图贴图)无未来喜欢量学来(无源码的请下载附件导入)

{牛股三绝主图}

 

{技术指标} {其他类型} {主图叠加}

{公式描述: BJ: 1=倍量,2=高量,3=跳空,4=全部 }

{参数填入: { BJ:(1,4,1); 高量周期:(3,50,5); 取虚实:(0,1,1); 显买卖点:(0,1,0); 显3121刻度:(0,1,1);  }

 

VAR0:=CONST((HHV(HIGH,240) - LLV(LOW,240)));

VAR1:=(LOW - (VAR0 * 0.03));

VAR2:=(HIGH + (VAR0 * 0.03));

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

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

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

STICKLINE((REF(LOW,1) > HIGH),HIGH,REF(LOW,1),5,0),COLORGRAY;

STICKLINE((REF(HIGH,1) < LOW),LOW,REF(HIGH,1),5,0),COLORGRAY;

C_:CONST(CLOSE),POINTDOT,COLOR8080FF;

VAR9:=MA(CLOSE,5);

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

DRAWKLINE(HIGH,OPEN,LOW,CLOSE);

VAR12:=REF(CLOSE,1);

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

VAR14:=((1.1 * VAR12) - (49 / VAR13));

VAR15:=((1.05 * VAR12) - (49 / VAR13));

VAR16:=((0.9 * VAR12) + (51 / VAR13));

VAR17:=((0.95 * VAR12) + (51 / VAR13));

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

VAR19:=IF(VAR18,(CLOSE >= VAR15),(CLOSE >= VAR14));

VAR20:=IF(VAR18,(CLOSE <= VAR17),(CLOSE <= VAR16));

VAR21:=IF(VAR18,(HIGH >= VAR15),(HIGH >= VAR14));

VAR22:=IF(VAR18,(LOW <= VAR17),(LOW <= VAR16));

STICKLINE(VAR21,HIGH,MAX(CLOSE,OPEN),0,0),COLORMAGENTA;

STICKLINE(VAR22,LOW,MIN(CLOSE,OPEN),0,0),COLOR808000;

VAR25:=(((CLOSE > OPEN) AND ((CLOSE >= VAR15) OR (CLOSE > ((1.05 * OPEN) - (51 / VAR13))))) OR ((CLOSE > 1000) AND (CLOSE > (VAR12 * 1.024))));

STICKLINE(VAR25,OPEN,CLOSE,1,0),COLOR0000BB;

VAR27:=(((CLOSE < OPEN) AND ((CLOSE <= VAR17) OR (CLOSE < ((0.95 * OPEN) + (49 / VAR13))))) OR ((CLOSE > 1000) AND (CLOSE < (VAR12 * 0.976))));

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

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

STICKLINE(VAR20,OPEN,CLOSE,1,0),COLOR808000;

VAR31:=((CLOSE < OPEN) AND (CLOSE > REF(CLOSE,1)));

STICKLINE(VAR31,OPEN,CLOSE,0,0),COLORRED;

VAR33:=((CLOSE > OPEN) AND (CLOSE < REF(CLOSE,1)));

STICKLINE(VAR33,OPEN,CLOSE,0,0),COLORGREEN;

VAR35:=(((PERIOD = 5) AND NAMELIKE(3)) AND (((ABS((CLOSE - REF(CLOSE,1))) / REF(CLOSE,1)) >= 0.025) OR (ABS((CLOSE - OPEN)) >= 60)));

STICKLINE(VAR35,((HIGH + LOW) / 2),((HIGH + LOW) / 2),2,0),COLORYELLOW;

VAR37:=高量周期;

高量:FILTER(BACKSET(FILTER((REF(VOL,VAR37) = HHV(VOL,((2 * VAR37) + 1))),VAR37),(VAR37 + 1)),VAR37),NODRAW;

倍量:((VOL >= (1.9 * REF(VOL,1))) AND (CLOSE > OPEN)),NODRAW;

跳空:(LOW > REF(HIGH,1)),NODRAW;

VAR41:=((VOL = HHV(VOL,VAR37)) AND REFX((VOL < REF(VOL,1)),1));

VAR42:=IF((CURRBARSCOUNT < VAR37),VAR41,高量);

VAR43:=IF((BJ = 1),倍量,IF((BJ = 2),VAR42,IF((BJ = 3),跳空,((VAR42 OR 倍量) OR 跳空))));

VAR44:=BARSLAST(FILTER(VAR43,3));

VAR45:=REF(跳空,VAR44);

VAR46:=取虚实;

VAR47:=IF((VAR46 = 0),LOW,MIN(CLOSE,OPEN));

VAR48:=IF(VAR45,REF(HIGH,(VAR44 + 1)),REF(VAR47,VAR44));

VAR49:=IF(VAR45,(VAR44 + 1),VAR44);

底线:IF(((LLV(CLOSE,VAR49) >= VAR48) AND (VAR48 = REF(VAR48,1))),VAR48,DRAWNULL),COLORYELLOW;

VAR51:=(CLOSE > 500);

VAR52:=IF(VAR51,HIGH,MAX(CLOSE,OPEN));

VAR53:=IF(VAR51,LOW,MIN(CLOSE,OPEN));

VAR54:=IF((CLOSE > OPEN),IF((VAR46 = 0),LOW,VAR53),IF((VAR46 = 0),HIGH,VAR52));

VAR55:=(VAR52 - ((VAR52 - VAR53) / 3));

VAR56:=(VAR53 + ((VAR52 - VAR53) / 3));

VAR57:=(VAR53 + ((VAR52 - VAR53) / 2));

VAR58:=(1 + (IF(VAR51,2,4.92) / 100));

VAR59:=((VAR52 / VAR53) >= VAR58);

VAR60:=((VAR59 OR 倍量) OR VAR42);

VAR61:=BARSLAST(VAR60);

C31:IF((显3121刻度 = 1),REF(VAR55,VAR61),DRAWNULL),POINTDOT,COLOR8080FF;

C21:IF((显3121刻度 = 1),REF(VAR57,VAR61),DRAWNULL),POINTDOT,COLORC0C0C0;

C32:IF((显3121刻度 = 1),REF(VAR56,VAR61),DRAWNULL),POINTDOT,COLOR40C040;

CO:IF((显3121刻度 = 1),REF(VAR54,VAR61),DRAWNULL),POINTDOT,COLORYELLOW;

VAR66:=FILTER((CROSS("KDJ.J",0) OR CROSS("KDJ.J",10)),3);

DRAWICON((((显买卖点 = 1) AND VAR66) AND (CLOSE > REF(CLOSE,1))),(VAR1 - (VAR0 * 0.03)),1);

DRAWICON(((显买卖点 = 1) AND CROSS("RSI.RSI1",20)),VAR1,1);

VAR69:=REF(HHV(IF((VAR46 = 1),MAX(CLOSE,OPEN),HIGH),2),1);

VAR70:=FILTER((CLOSE > VAR69),1);

VAR71:=REF(LLV(IF((VAR46 = 1),MIN(CLOSE,OPEN),LOW),2),1);

VAR72:=FILTER((CLOSE < VAR71),1);

VAR73:=((VAR70 AND (COUNT(VAR70,BARSLAST(VAR72)) = 1)) AND (显买卖点 = 1));

VAR74:=((VAR72 AND (COUNT(VAR72,BARSLAST(VAR70)) = 1)) AND (显买卖点 = 1));

STICKLINE(VAR74,VAR71,VAR71,18,-1),COLORGREEN;

DRAWICON(VAR74,VAR2,39);

STICKLINE(VAR73,VAR69,VAR69,18,-1),COLORMAGENTA;

DRAWICON(VAR73,VAR1,38);

 

{参数精灵: 请设置计算参数:

BJ: PARAM#0 (1.00--4.00)

高量周期: PARAM#1 (3.00--50.00)

取虚实: PARAM#2 (0.00--1.00)

显买卖点: PARAM#3 (0.00--1.00)

显3121刻度: PARAM#4 (0.00--1.00) }

 

{-----------------------------------};

 

638111153.jpg

638111153.jpg
 

638177919.jpg

638177919.jpg

回复

使用道具 举报

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

本版积分规则