安心均线操盘 转载和谐完全加密通达信指标!

[复制链接]
查看25 | 回复0 | 2022-6-27 22:19:21 | 显示全部楼层 |阅读模式

 {安心均线操盘}

MA250:MA(CLOSE,250),COLORWHITE,LINETHICK3;
生命线:MA(CLOSE,30),COLORMAGENTA,LINETHICK3;
XA_1:=IF((CLOSE-REF(CLOSE,1))*100/REF(CLOSE,1)>=9.9 AND OPEN=HIGH AND PERIOD=5,1,0);
XA_2:=BARSLASTCOUNT(XA_1)>=2;
XA_3:=CONST(BARSLAST(XA_2));
水平线:IF(CURRBARSCOUNT<=XA_3+1,CONST(IF(XA_3=0,MAX(CLOSE,OPEN),REF(MAX(CLOSE,OPEN),XA_3))),DRAWNULL),DOTLINE,COLORLIBLUE;
XA_4:=MA(CLOSE,30)+2*STD(CLOSE,60);
XA_5:=FILTER(BACKSET(FILTER(REF(LOW,500)=LLV(LOW,2*500+1),500),500+1),500);
XA_6:=FILTER(BACKSET(FILTER(REF(HIGH,25)=HHV(HIGH,2*25+1),25),25+1),25);
XA_7:=REF(CLOSE,BARSLAST(XA_6));
XA_8:=BARSLAST(XA_6)<BARSLAST(XA_5) AND NOT(XA_6);
麒麟:IF(XA_8,XA_7,XA_7),POINTDOT,COLORMAGENTA,LINETHICK3;
STICKLINE(XA_8,XA_7,XA_7,10,(-1)),COLORGREEN;
DRAWTEXT(ISLASTBAR,麒麟,5),COLORMAGENTA;
XA_9:=REF(HHVBARS(MAX(CLOSE,OPEN),60),15)+15;
XA_10:=REF(MAX(CLOSE,OPEN),XA_9);
STICKLINE(BARSTATUS=2,XA_10,XA_10,2000,1),COLORRED,LINETHICK2;
XA_11:=CONST(XA_9);{WWW.70822.com}
突破干:IF(CURRBARSCOUNT<=XA_11+1,CONST(IF(XA_11=0,MAX(CLOSE,OPEN),REF(MAX(CLOSE,OPEN),XA_11))),DRAWNULL),POINTDOT,COLORGREEN,LINETHICK4;
IF(CURRBARSCOUNT=XA_11+1,突破干,DRAWNULL),POINTDOT,COLORAA00AA,LINETHICK4;
DRAWTEXT(CURRBARSCOUNT=XA_11+1,突破干*1.01,STRCAT(CON2STR(CONST(XA_11+1),0),6)),COLORAA00AA;
REFDATE(CLOSE,1151224),COLOR009900,LINETHICK3;
REFDATE(CLOSE,1150615),COLORAA00AA,LINETHICK3;
XA_12:=EMA((LOW+HIGH+CLOSE)/3,5);
重心线1:EMA(XA_12,3),COLORGREEN,LINETHICK3;
XA_13:=MA((LOW+HIGH+CLOSE)/3,5);
XA_14:=MA((LOW+HIGH+CLOSE)/3,10);
XA_15:=MA(KDJ.J#MONTH,26);
XA_16:=MA(KDJ.K#WEEK,5);
XA_17:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*200-100;
XA_18:=SMA(XA_17,7,1);{WWW.70822.com}
XA_19:=XA_16>REF(XA_16,1);
XA_20:=XA_18>REF(XA_18,1);
XA_21:=XA_15>REF(XA_15,1);
XA_22:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4>=MA(CLOSE,1);
XA_23:=FILTER(XA_19 AND XA_20 AND XA_21 AND XA_22,2)*100;
底背离:STICKLINE(XA_23,OPEN,CLOSE,2.5,0),COLORWHITE,LINETHICK0;
XA_24:=MA(CLOSE,14);
XA_25:=POW(CLOSE-XA_24,2);
XA_26:=MA(XA_25,14);
XA_27:=SQRT(XA_26);
XA_28:=XA_24+2*XA_27;
XA_29:=XA_24-2*XA_27;
XA_30:=REF(XA_24,1);
XA_31:=REF(XA_28,1);
XA_32:=REF(XA_29,1);
XA_33:=100*(HHV(HIGH,10)-CLOSE)/(HHV(HIGH,10)-LLV(LOW,10));
XA_34:=100*(HHV(HIGH,6)-CLOSE)/(HHV(HIGH,6)-LLV(LOW,6));
XA_35:=XA_33-XA_34;
XA_36:=XA_35<(-30);
XA_37:=(CLOSE-XA_30)/(XA_31-XA_32)*100;
XA_38:=REF(CLOSE,1);
XA_39:=ABS(HIGH-XA_38);
XA_40:=ABS(LOW-XA_38);
XA_41:=ABS(HIGH-REF(LOW,1));
XA_42:=ABS(XA_38-REF(OPEN,1));
XA_43:=CLOSE-XA_38+(CLOSE-OPEN)/2+XA_38-REF(OPEN,1);
XA_44:=REF(ASI,1);
XA_45:=SMA(MAX(ASI-XA_44,0),6,1)/SMA(ABS(ASI-XA_44),6,1)*100;
XA_46:=SMA(MAX(ASI-XA_44,0),72,1)/SMA(ABS(ASI-XA_44),72,1)*100;
XA_47:=XA_45-XA_46+50;
XA_48:=XA_45-XA_47;
XA_49:=ATAN((重心线1/REF(重心线1,1)-1)*100)*180/3.141593;
蓝线:IF(XA_45>REF(XA_45,1) AND XA_47<REF(XA_47,1),重心线1,DRAWNULL),COLORBLUE,LINETHICK4;
XA_50:=EMA((XA_13-EMA(XA_13,13))/EMA(XA_13,13)*(0-100),7);
XA_51:=EMA(XA_50/10+EMA(XA_13,13),0);
XA_52:=MA(XA_13,1);
XA_53:=(CLOSE+0.618*REF(CLOSE,1)+0.382*REF(CLOSE,1)+0.236*REF(CLOSE,3)+0.146*REF(CLOSE,4))/2.382;
【趋势操盘线】:EMA(SLOPE(CLOSE,22)*20+CLOSE,55),COLOR0066CC,LINETHICK4;
明涨停价:CLOSE*1.1,NODRAW;
上次涨停天数:BARSLAST(CLOSE/REF(CLOSE,1)>=1.098),NODRAW;
【黄金线】:IF(XA_53>=【趋势操盘线】,【趋势操盘线】,DRAWNULL),COLORRED,LINETHICK2;
【空仓线】:IF(XA_53<【趋势操盘线】,【趋势操盘线】,DRAWNULL),COLORCYAN,LINETHICK2;
DRAWTEXT(ISLASTBAR,【趋势操盘线】,7),COLORCYAN;
XA_54:=(EMA(HIGH,1)+EMA(LOW,1)+EMA(HIGH,1)+EMA(HIGH,1))/4;
XA_55:=EMA(REF(HHV(HIGH,25),1),2);
DRAWTEXT(CROSS(XA_54,【趋势操盘线】),【趋势操盘线】,10),COLORGREEN;
XA_56:=IF((CLOSE-REF(CLOSE,1))*100/REF(CLOSE,1)>=10-0.01*100/REF(CLOSE,1),1,0);
XA_57:=IF((REF(CLOSE,1)-CLOSE)*100/REF(CLOSE,1)>=10-0.01*100/REF(CLOSE,1),1,0);
STICKLINE(XA_56,OPEN,CLOSE,3,0),COLORAA00AA;
STICKLINE(XA_56,OPEN,CLOSE,1,0),COLORBLACK;
STICKLINE(XA_56,HIGH,LOW,0,1),COLORCC00CC;
STICKLINE(XA_56,OPEN,CLOSE,3,1),COLORCC00CC;
跌停板:STICKLINE(XA_57,OPEN,CLOSE,3,0),COLORFF1100;
STICKLINE(XA_57,OPEN,CLOSE,2.5,0),COLORFF3300;
STICKLINE(XA_57,OPEN,CLOSE,2,0),COLORFF4400;
STICKLINE(XA_57,OPEN,CLOSE,1.5,0),COLORFF5500;
STICKLINE(XA_57,OPEN,CLOSE,1,0),COLORFF6600;
STICKLINE(XA_57,OPEN,CLOSE,0.5,0),COLORFF7700;
STICKLINE(XA_57,LOW,HIGH,0,0),COLORFF7700;
XA_58:=REF((CLOSE-REF(CLOSE,1))/REF(CLOSE,1)<=(-0.03),1) AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>=0.03;
STICKLINE(XA_58,OPEN,CLOSE,2.5,0),COLOR0000A5;
STICKLINE(XA_58,OPEN,CLOSE,2,0),COLOR0000C5;
STICKLINE(XA_58,OPEN,CLOSE,1.5,0),COLOR0000D5;
STICKLINE(XA_58,OPEN,CLOSE,1,0),COLOR0000E5;
STICKLINE(XA_58,LOW,HIGH,0,0),COLOR0000F5;
STICKLINE(XA_58,CLOSE,(OPEN+CLOSE)/2,2.5,0),COLOR008CFD;
XA_59:=(HIGH-REF(CLOSE,1))/REF(CLOSE,1)*100;
XA_60:=(MAX(CLOSE,OPEN)-REF(CLOSE,1))/REF(CLOSE,1)*100;
STICKLINE(XA_59-XA_60>=2.5 AND PERIOD=5 AND CLOSE>OPEN AND MA(CLOSE,5),MAX(CLOSE,OPEN),HIGH,0,0),COLORGREEN;
STICKLINE(XA_59-XA_60>=2.5 AND PERIOD=5 AND CLOSE>OPEN AND MA(CLOSE,5),CLOSE,OPEN,3.1,0),COLORRED;
XA_61:=CLOSE<OPEN AND CLOSE>REF(CLOSE,1);
STICKLINE(XA_61,OPEN,CLOSE,2.8,1),COLOR0000CC;
XA_62:=OPEN>CLOSE AND OPEN>REF(CLOSE,1) AND CLOSE>REF(CLOSE,1);
假阴线:STICKLINE(XA_62,OPEN,CLOSE,2,0),COLORLIRED;
XA_63:=IF(REF(CLOSE,1)*1.1-HIGH<0.01 AND CLOSE<REF(CLOSE,1)*1.09 AND CLOSE>REF(CLOSE,1),1,0);
STICKLINE(XA_63,OPEN,CLOSE,3,0),COLORLIMAGENTA;
STICKLINE(XA_63,OPEN,CLOSE,1,0),COLORWHITE;
STICKLINE(XA_63,HIGH,LOW,0,0),COLORWHITE;
XA_64:=EMA(CLOSE,7);
XA_65:=EMA(CLOSE,55);
XA_66:=EMA(CLOSE,12)-EMA(CLOSE,26);
XA_67:=EMA(XA_66,9);
XA_68:=(XA_66-XA_67)*2;
XA_69:=REF(MIN(OPEN,CLOSE),1)>REF(MAX(OPEN,CLOSE),2) AND MAX(OPEN,CLOSE)<REF(MIN(OPEN,CLOSE),1) AND REF(VOL,1)>VOL AND REF(VOL,1)>REF(VOL,2) AND REF(VOL,1)=HHV(VOL,30);
DRAWICON(XA_69,LOW*0.98,18);
STICKLINE(CROSS(CCI#WEEK,100) AND CLOSE>MA(CLOSE,80) AND MACD.MACD>=0,CLOSE,OPEN,3,0),COLORBLUE;
DRAWTEXT(CROSS(CCI#WEEK,100) AND CLOSE>MA(CLOSE,80) AND MACD.MACD>=0,LOW*0.97,13),COLORWHITE;

p20184131615979828.jpg

p20184131615979828.jpg

2018413162787689.rar

6.96 KB, 下载次数: 0

售价: 2 金钱  [记录]  [购买]

2018413162787689.rar

回复

使用道具 举报

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

本版积分规则