当前位置:首页 > 免费资源 > 正文

「翔博精选指标」千金不买绝_千金不买绝技捉潜力牛(通达信公式

2022-04-20原创 编 辑:翔博软件

 千金不买绝

{公式名称: 千金不买绝
公式描述: 千金不买绝技捉潜力牛
主图叠加}
 
VAR1:=5;
VAR2:=10;
VAR3:=20;
VAR4:=60;
VAR5:=120;
VAR6:=250;
MA1:MA(CLOSE,VAR1),COLORRED;
MA2:MA(CLOSE,VAR2);
MA3:MA(CLOSE,VAR3);
MA4:MA(CLOSE,VAR4);
MA5:MA(CLOSE,VAR5);
MA6:MA(CLOSE,VAR6);
MA7:MA(CLOSE,7),COLORRED;
MA13:MA(CLOSE,13),COLOR0096FF;
MA21:MA(CLOSE,21),COLOR00FF99;
MA49:MA(CLOSE,49),COLORMAGENTA;
VAR7:=BARSCOUNT(CLOSE);
VAR8:=HHV(HIGH,200);
VAR9:=LLV(LOW,200);
VAR10:=(VAR8-VAR9)/40;
VAR11:=HIGH+VAR10;
VAR12:=LOW-VAR10;
DRAWTEXT((VAR7+0)/34=FLOOR((VAR7+0)/34),VAR12-2.2*VAR10*1.1,2),COLORRED;
DRAWTEXT(IF(CROSS(69,SMA(MAX(CLOSE-REF(CLOSE,1),0),13,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),13,1)*100),1,0),HIGH*1.045,3),COLORWHITE;
VAR13:=REF(CLOSE,1);
VAR14:=SMA(MAX(CLOSE-VAR13,0),4.1,1)/SMA(ABS(CLOSE-VAR13),4.1,1)*100;
DRAWICON(CROSS(VAR14,11),LOW*0.99,3);
VAR15:=SMA(MAX(CLOSE-VAR13,0),5.5,1)/SMA(ABS(CLOSE-VAR13),6,1)*100;
DRAWTEXT(FILTER(EMA(CLOSE,60)-EMA(CLOSE,12)>0 AND EMA(CLOSE,12)/LOW>1.15,5),LOW,4),COLORMAGENTA;
VAR16:=AMOUNT/VOL/100;
VAR17:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
VAR18:=SUM(AMOUNT,7)/VAR16/100;
VAR19:=DMA(VAR17,VOL/VAR18);
VAR20:=(CLOSE-VAR19)/VAR19*100;
VAR21:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
VAR22:=MA(VAR20,20)+STD(VAR20,20);
VAR23:=(CLOSE-MA(CLOSE,18))/MA(CLOSE,18)*100;
VAR24:=SMA(VAR21,3,1);
VAR25:=REF(VAR23,1)>=5 AND CROSS(VAR22,VAR20) AND VAR24>79;
DRAWTEXT(REF(VAR23,1)>=5 AND CROSS(VAR22,VAR20) AND VAR24>VAR25 AND CROSS(84,VAR14),HIGH*1.028,5),COLORGREEN,LINETHICK7;
DRAWTEXT(CROSS(84,VAR14) AND CROSS(76,VAR15),HIGH*1.01,6),COLORYELLOW,LINETHICK7;
VAR26:=IF(CURRBARSCOUNT=1,VOL*240/FROMOPEN/REF(VOL,1)-1,VOL/REF(VOL,1)-1);
STICKLINE(VAR26>=1,OPEN,CLOSE,1,0),COLORYELLOW;
VAR27:=REF(CLOSE,1);
VAR28:=EMA(CLOSE,2);
VAR29:=EMA(SLOPE(CLOSE,13)*21+CLOSE,49);
STICKLINE(CROSS(VAR28,VAR29),OPEN,CLOSE,1.2,0),COLORYELLOW;
STICKLINE(CROSS(VAR29,VAR28),OPEN,CLOSE,1.2,0),COLORBLUE;
VAR30:=SMA(MAX(CLOSE-VAR27,0),3,1)/SMA(ABS(CLOSE-VAR27),3,1)*100;
VAR31:=EMA(CLOSE,3);
VAR32:=EMA(CLOSE,21);
VAR33:=EMA(CLOSE,60)-EMA(CLOSE,300);
VAR34:=EMA(VAR33,300);
VAR35:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
VAR36:=SMA(VAR35,2,1);
VAR37:=SMA(VAR36,2,1);
VAR38:=HHV(HIGH,20)-2*ATR.MAX;
VAR39:=CROSS(CLOSE,REF(HHV(HIGH,55),1));
VAR40:=CROSS(MIN(MA(CLOSE,13),VAR38),CLOSE);
VAR41:=BARSLAST(VAR39);
VAR42:=BARSLAST(VAR40);
VAR43:=VAR41=0 AND REF(VAR42,1)<REF(VAR41,1);
VAR44:=BARSLAST(VAR43);
VAR45:=VAR39=1 AND VAR44<VAR42 AND VAR44>0 AND COUNT(VAR39,VAR42)<3;
VAR46:=BARSLAST(VAR45);
VAR47:=VAR39=1 AND VAR46<VAR44 AND COUNT(VAR39,VAR42)<4 AND COUNT(VAR39,VAR42)>2;
DRAWICON(CROSS(VAR36,VAR37) AND MA7>REF(MA7,1),LOW*0.987,5);
DRAWICON(VAR36<REF(VAR36,1) AND REF(VAR36,1)>REF(VAR36,2) AND MA21<REF(MA21,1) AND REF(VAR36,1)>40 AND CROSS(VAR37,VAR36),HIGH*1.01,6);
STICKLINE(REF(VAR23,1)>=5 AND CROSS(VAR22,VAR20) AND VAR24>VAR25 AND CROSS(84,VAR14) AND CROSS(76,VAR15),CLOSE,OPEN,3,0),COLORGREEN,LINETHICK2;
STICKLINE(VAR36>REF(VAR36,1) AND CROSS(VAR36,VAR37) AND VAR37<50 AND MA13<REF(MA13,1),CLOSE,OPEN,3,0),COLORMAGENTA,LINETHICK2;
VAR48:=SMA(VAR35,2,1);
VAR49:=(2*CLOSE+HIGH+LOW)/4;
VAR50:=IF(YEAR>=2099 AND MONTH>2,0,1);
VAR51:=LLV(LOW,5);
VAR52:=HHV(HIGH,4);
VAR53:=EMA((VAR49-VAR51)/(VAR52-VAR51)*100,4)*VAR50;
VAR54:=EMA(0.667*REF(VAR53,1)+0.333*VAR53,2)*VAR50;
DRAWTEXT(CROSS(VAR53,VAR54) AND VAR53<30,LOW-0.05,7),COLORRED;
VAR55:=MA(CLOSE,20);
VAR56:=MA(CLOSE,90);
VAR57:=BARSLAST(CROSS(MA5,VAR55)) AND MA5>VAR55;
VAR58:=VAR57 AND BARSLAST(CROSS(MA5,VAR56));
VAR59:=VAR58 AND CROSS(VAR55,VAR56);
STICKLINE(VAR59,OPEN,CLOSE,3,0),COLORYELLOW;
DRAWTEXT(VAR59,LOW-0.4,8),COLORWHITE;
VAR60:=BARSLAST(CROSS(MA(CLOSE,5),MA(CLOSE,90)));
VAR61:=VAR60 AND BARSLAST(CROSS(MA(CLOSE,20),MA(CLOSE,90)));
VAR62:=VAR61 AND CROSS(MA(CLOSE,5),MA(CLOSE,20)) AND MA(CLOSE,20)>MA(CLOSE,90);
VAR63:=(CLOSE-LLV(LOW,528))/(HHV(HIGH,528)-LLV(LOW,528))*100;
DRAWICON(VAR62,LOW-0.1,1);
DRAWTEXT(VAR62,LOW-0.4,8),COLORMAGENTA;

 

大家都爱看
查看更多热点新闻
点击进入翔博软件旗下掌上指标--自助下载指标