去评论
彩虹桥投资充电站

通达信理想金钻云飞小妖主图指标公式源码分享

123456819
2023/09/15 04:05:00

通达信理想金钻云飞小妖主图指标公式源码分享


DRAWTEXT_FIX(ISLASTBAR AND DATE>=1160715,0.38,0.3,0,18),COLORYELLOW;

DRAWTEXT_FIX(ISLASTBAR AND DATE>=1160715,0.35,0.5,0,19),COLORYELLOW;



HHJSJDA:=(3*CLOSE+OPEN+LOW+HIGH)/6;

HHJSJDB20*HHJSJDA+19*REF(HHJSJDA,1)+18*REF(HHJSJDA,2)+17*REF(HHJSJDA,3)+16*REF(HHJSJDA,4)+15*REF(HHJSJDA,5)+14*REF(HHJSJDA,6)

+13*REF(HHJSJDA,7)+12*REF(HHJSJDA,8)+11*REF(HHJSJDA,9)+10*REF(HHJSJDA,10)+9*REF(HHJSJDA,11)+8*REF(HHJSJDA,12)

+7*REF(HHJSJDA,13)+6*REF(HHJSJDA,14)+5*REF(HHJSJDA,15)+4*REF(HHJSJDA,16)+3*REF(HHJSJDA,17)+2*REF(HHJSJDA,18)+

REF(HHJSJDA,20))/210,COLORYELLOW;

HHJSJDC:MA(HHJSJDB,5),COLORRED;



X:=(3*C+L+O+H)/6;

DKX:=(20*X+19*REF(X,1)+18*REF(X,2)+17*REF(X,3)+16*REF(X,4)+15*REF(X,5)+14*REF(X,6)

+13*REF(X,7)+12*REF(X,8)+11*REF(X,9)+10*REF(X,10)+9*REF(X,11)+8*REF(X,12)

+7*REF(X,13)+6*REF(X,14)+5*REF(X,15)+4*REF(X,16)+3*REF(X,17)+2*REF(X,18)+

REF(X,20))/210,COLORGREEN,LINETHICK2;

必涨:=CROSS(C,DKX);


MA05:=MA(C,5),LINETHICK3,COLOR00CCFF;

MA10:=MA(C,10);

MA20:=MA(C,20);

MA30:=MA(C,30);

五日乖离率:=(C-MA05)/MA05*100;

三拾日乖离率:=(C-MA30)/MA30*100,NODRAW;

MR:=COUNT(CROSS(五日乖离率,0),3)>=1 AND 三拾日乖离率>REF(三拾日乖离率,1) AND MA05>REF(MA05,1) AND (C/REF(C,1)-1)*100>5 AND REF(C,1)

买入:=FILTER(MR,10);


买入必涨:=必涨 AND 买入;


DRAWTEXT(买入必涨,L,'▲小妖来了'),COLORCYAN;



X_1:=4;

X_2:=HIGH=HHV(HIGH,X_1*5) AND HHV(HIGH,X_1*5)>REF(HHV(HIGH,X_1*5),1);

X_3:=LOW=LLV(LOW,X_1*5) AND LLV(LOW,X_1*5)

CC1RAWLINE(X_2,HIGH,X_3,LOW,0);

CC2RAWLINE(X_3,LOW,X_2,HIGH,0);

X_4:=1;

X_5:=BACKSET(LLV(LOW,5)

X_6:=BACKSET(X_5=0 AND REF(X_5,1)=1,2);

X_7:=IF(X_6=1 AND REF(X_6,1)=0,(-1),0);

X_8:=BACKSET(HHV(HIGH,5)>REF(HHV(HIGH,4),1),4);

X_9:=BACKSET(X_8=0 AND REF(X_8,1)=1,2);

X_10:=IF(X_9=1 AND REF(X_9,1)=0,1,0);

X_11:=IF(LOW>REF(HIGH,1),1,IF(HIGH

X_12:=BARSLAST(X_10=1);

X_13:=BARSLAST(X_7=(-1));

X_14:=LOWRANGE(LOW);

X_15:=TOPRANGE(HIGH);

X_16:=IF(X_7=(-1) AND REF(X_12,1)>REF(X_13,1) AND LLV(LOW,X_12+1)

X_17:=IF(X_7=(-1) AND REF(X_12,1)<=REF(X_13,1) AND (X_12>=4 OR LLV(X_11,X_12)=(-1) OR LLV(LOW,X_13+2)

X_18:=IF(X_16=(-1) OR X_17=(-1) AND LOW

X_19:=IF(X_13<4 AND HHV(X_11,X_13)!=1 OR REF(X_18,X_13)=0,1,0);

X_20:=IF(X_10=1 AND REF(X_13,1)<=REF(X_12,1) AND X_19=1 AND X_15>REF(X_14,X_13+1) AND X_15>REF(X_14,X_13) AND X_15>REF(X_15,X_12),1,0);

X_21:=IF(X_10=1 AND REF(X_13,1)>REF(X_12,1) AND HHV(HIGH,X_13+1)>REF(HHV(HIGH,X_13+1),1),1,0);

X_22:=IF(X_10=1 AND REF(X_13,1)<=REF(X_12,1) AND REF(X_18,X_13)=(-1) AND (X_13>=4 OR HHV(X_11,X_13)=1),1,0);

X_23:=IF(X_21=1 OR X_22=1 OR X_20=1 AND HIGH>REF(LOW,X_13+1),1,0);

X_24:=IF(X_12<4 AND HHV(X_11,X_12)!=1 OR REF(X_23,X_12)=0,1,0);

X_25:=IF(X_7=(-1) AND REF(X_12,1)<=REF(X_13,1) AND X_24=1 AND X_14>REF(X_15,X_12+1) AND X_14>REF(X_15,X_12) AND X_14>REF(X_14,X_13),(-1),0);

X_26:=IF(X_7=(-1) AND REF(X_12,1)>REF(X_13,1) AND LLV(LOW,X_12+1)

X_27:=IF(X_7=(-1) AND REF(X_12,1)<=REF(X_13,1) AND (X_12>=4 OR LLV(X_11,X_12)=(-1) OR X_25=(-1)),(-1),0);

X_28:=IF(X_26=(-1) OR X_27=(-1) AND LOW

X_29:=BARSLAST(X_23=1);

X_30:=BARSLAST(X_28=(-1));

X_31:=IF(X_30<4 AND HHV(X_11,X_30)!=1 OR REF(X_28,X_30)=0,1,0);

X_32:=IF(X_10=1 AND REF(X_30,1)<=REF(X_29,1) AND X_31=1 AND X_15>REF(X_14,X_30+1) AND X_15>REF(X_14,X_30) AND X_15>REF(X_15,X_29),1,0);

X_33:=IF(X_10=1 AND REF(X_30,1)>REF(X_29,1) AND HHV(HIGH,X_30+1)>REF(HHV(HIGH,X_30+1),1),1,0);

X_34:=IF(X_10=1 AND REF(X_30,1)<=REF(X_29,1) AND REF(X_28,X_30)=(-1) AND (X_30>=4 OR HHV(X_11,X_30)=1),1,0);

X_35:=IF(X_33=1 OR X_34=1 OR X_32=1 AND HIGH>REF(LOW,X_30+1),1,0);

X_36:=IF(X_29<4 AND HHV(X_11,X_29)!=1 OR REF(X_33,X_29)=0,1,0);

X_37:=IF(X_7=(-1) AND REF(X_29,1)<=REF(X_30,1) AND X_36=1 AND X_14>REF(X_15,X_29+1) AND X_14>REF(X_15,X_29) AND X_14>REF(X_14,X_30),(-1),0);

X_38:=IF(X_7=(-1) AND REF(X_29,1)>REF(X_30,1) AND LLV(LOW,X_29+1)

X_39:=IF(X_7=(-1) AND REF(X_29,1)<=REF(X_30,1) AND (X_29>=4 OR LLV(X_11,X_29)=(-1) OR X_37=(-1)),(-1),0);

X_40:=IF(X_38=(-1) OR X_39=(-1) AND LOW

X_41:=BARSLAST(X_35=1);

X_42:=BARSLAST(X_40=(-1));

X_43:=IF(X_42<4 AND HHV(X_11,X_42)!=1 OR REF(X_40,X_42)=0,1,0);

X_44:=IF(X_10=1 AND REF(X_42,1)<=REF(X_41,1) AND X_43=1 AND X_15>REF(X_14,X_42+1) AND X_15>REF(X_14,X_42) AND X_15>REF(X_15,X_41),1,0);

X_45:=IF(X_10=1 AND REF(X_42,1)>REF(X_41,1) AND HHV(HIGH,X_42+1)>REF(HHV(HIGH,X_42+1),1),1,0);

X_46:=IF(X_10=1 AND REF(X_42,1)<=REF(X_41,1) AND REF(X_40,X_42)=(-1) AND (X_42>=4 OR HHV(X_11,X_42)=1),1,0);

X_47:=IF(X_45=1 OR X_46=1 OR X_44=1 AND HIGH>REF(LOW,X_42+1),1,0);

X_48:=IF(X_41<4 AND HHV(X_11,X_41)!=1 OR REF(X_45,X_41)=0,1,0);

X_49:=IF(X_7=(-1) AND REF(X_41,1)<=REF(X_42,1) AND X_48=1 AND X_14>REF(X_15,X_41+1) AND X_14>REF(X_15,X_41) AND X_14>REF(X_14,X_42),(-1),0);

X_50:=IF(X_7=(-1) AND REF(X_41,1)>REF(X_42,1) AND LLV(LOW,X_41+1)

X_51:=IF(X_7=(-1) AND REF(X_41,1)<=REF(X_42,1) AND (X_41>=4 OR LLV(X_11,X_41)=(-1) OR X_49=(-1)),(-1),0);

X_52:=IF(X_50=(-1) OR X_51=(-1) AND LOW

X_53:=IF(X_47=1 AND X_52=(-1) AND HIGH>REF(HIGH,REF(X_41,1)+2),1,IF(X_47=1 AND X_52=(-1) AND LOW

X_54:=IF(X_53=0,X_47+X_52,X_53);

局部极点:IF(X_54=(-1),LOW,IF(X_54=1,HIGH,DRAWNULL)),CIRCLEDOT,COLORLIMAGENTA;

C1RAWLINE(X_54=(-1),局部极点,X_54=1,局部极点,0),COLORMAGENTA;

C2RAWLINE(X_54=1,局部极点,X_54=(-1),局部极点,0),COLORLIGRAY;

X_55:=IF(X_4=1,C2=C1 AND X_8 AND X_54=1,DRAWNULL);

X_56:=IF(X_4=1,C2=C1 AND X_5 AND X_54=(-1),DRAWNULL);

X_57:=BARSLAST(X_55);

X_58:=CURRBARSCOUNT=CONST(X_57)+1;

X_59:=BARSLAST(X_58);

X_60:=CONST(REF(HIGH,X_59));

X_61:=REF(X_57,X_57+1)+X_57+1;

X_62:=CURRBARSCOUNT=CONST(X_61)+1;

X_63:=BARSLAST(X_62);

X_64:=CONST(REF(HIGH,X_63));

X_65:=REF(X_61,X_57+1)+X_57+1;

X_66:=CURRBARSCOUNT=CONST(X_65)+1;

X_67:=BARSLAST(X_66);

X_68:=CONST(REF(HIGH,X_67));

X_69:=BARSLAST(X_56);

X_70:=CURRBARSCOUNT=CONST(X_69)+1;

X_71:=BARSLAST(X_70);

X_72:=CONST(REF(LOW,X_71));

X_73:=REF(X_69,X_69+1)+X_69+1;

X_74:=CURRBARSCOUNT=CONST(X_73)+1;

X_75:=BARSLAST(X_74);

X_76:=CONST(REF(LOW,X_75));

X_77:=REF(X_73,X_69+1)+X_69+1;

X_78:=CURRBARSCOUNT=CONST(X_77)+1;

X_79:=BARSLAST(X_78);

X_80:=CONST(REF(LOW,X_79));

X_81:=X_72X_60 AND X_73>X_57 AND X_57>X_69 AND X_61>X_73 AND CONST(CLOSE)>X_76;

X_82:=IF(X_81 AND CONST(CLOSE)

STICKLINE(X_82,CONST(CLOSE),X_76,0,0),COLORLIMAGENTA;

X_83:=IF(X_81 AND CONST(CLOSE)

STICKLINE(X_83,CONST(CLOSE),X_76,0,0),COLORLIMAGENTA;

DRAWLINE(X_82=1,CONST(CLOSE),X_83=1,CONST(CLOSE),0),DOTLINE,COLORLIMAGENTA;

DRAWLINE(X_82=1,X_76,X_83=1,X_76,0),COLORLIMAGENTA;

X_84:=IF(X_81 AND CONST(CLOSE)>=X_60,X_74,DRAWNULL);

STICKLINE(X_84,X_60,X_72,0,0),COLORLIMAGENTA;

X_85:=IF(X_81 AND CONST(CLOSE)>=X_60,ISLASTBAR,DRAWNULL);

STICKLINE(X_85,X_60,X_72,0,0),COLORLIMAGENTA;

DRAWLINE(X_84=1,X_60,X_85=1,X_60,0),COLORLIMAGENTA;

DRAWLINE(X_84=1,X_72,X_85=1,X_72,0),COLORLIMAGENTA;

X_86:=X_72>X_76 AND X_60>X_64 AND X_69>X_57 AND X_61>X_69 AND X_73>X_61 AND CONST(CLOSE)

X_87:=IF(X_86 AND CONST(CLOSE)>X_72,X_62,DRAWNULL);

STICKLINE(X_87,CONST(CLOSE),X_64,0,0),COLORGREEN;

X_88:=IF(X_86 AND CONST(CLOSE)>X_72,ISLASTBAR,DRAWNULL);

STICKLINE(X_88,CONST(CLOSE),X_64,0,0),COLORGREEN;

DRAWLINE(X_87=1,X_64,X_88=1,X_64,0),COLORGREEN;

DRAWLINE(X_87=1,CONST(CLOSE),X_88=1,CONST(CLOSE),0),DOTLINE,COLORGREEN;

X_89:=IF(X_86 AND CONST(CLOSE)<=X_72,X_62,DRAWNULL);

STICKLINE(X_89,X_64,X_72,0,0),COLORGREEN;

X_90:=IF(X_86 AND CONST(CLOSE)<=X_72,ISLASTBAR,DRAWNULL);

STICKLINE(X_90,X_64,X_72,0,0),COLORGREEN;

DRAWLINE(X_89=1,X_64,X_90=1,X_64,0),COLORGREEN;

DRAWLINE(X_89=1,X_72,X_90=1,X_72,0),COLORGREEN;

X_91:=X_72>X_76 AND X_64>X_60 AND X_73>X_57 AND X_57>X_69 AND X_61>X_73 AND CONST(CLOSE)>X_72;

X_92:=IF(X_91 AND CONST(CLOSE)

STICKLINE(X_92,CONST(CLOSE),X_72,0,0),COLORYELLOW;

X_93:=IF(X_91 AND CONST(CLOSE)

STICKLINE(X_93,CONST(CLOSE),X_72,0,0),COLORYELLOW;

DRAWLINE(X_92=1,CONST(CLOSE),X_93=1,CONST(CLOSE),0),DOTLINE,COLORYELLOW;

DRAWLINE(X_92=1,X_72,X_93=1,X_72,0),COLORYELLOW;

X_94:=IF(X_91 AND CONST(CLOSE)>=X_60,X_74,DRAWNULL);

STICKLINE(X_94,X_60,X_72,0,0),COLORYELLOW;

X_95:=IF(X_91 AND CONST(CLOSE)>=X_60,ISLASTBAR,DRAWNULL);

STICKLINE(X_95,X_60,X_72,0,0),COLORYELLOW;

DRAWLINE(X_94=1,X_60,X_95=1,X_60,0),COLORYELLOW;

DRAWLINE(X_94=1,X_72,X_95=1,X_72,0),COLORYELLOW;

X_96:=X_72>X_76 AND X_60X_57 AND X_61>X_69 AND X_73>X_61 AND CONST(CLOSE)

X_97:=IF(X_96 AND CONST(CLOSE)>X_72,X_62,DRAWNULL);

STICKLINE(X_97,CONST(CLOSE),X_60,0,0),COLORLICYAN;

X_98:=IF(X_96 AND CONST(CLOSE)>X_72,ISLASTBAR,DRAWNULL);

STICKLINE(X_98,CONST(CLOSE),X_60,0,0),COLORLICYAN;

DRAWLINE(X_97=1,X_60,X_98=1,X_60,0),COLORLICYAN;

DRAWLINE(X_97=1,CONST(CLOSE),X_98=1,CONST(CLOSE),0),DOTLINE,COLORLICYAN;

X_99:=IF(X_96 AND CONST(CLOSE)<=X_72,X_62,DRAWNULL);

STICKLINE(X_99,X_60,X_72,0,0),COLORLICYAN;

X_100:=IF(X_96 AND CONST(CLOSE)<=X_72,ISLASTBAR,DRAWNULL);

STICKLINE(X_100,X_60,X_72,0,0),COLORLICYAN;

DRAWLINE(X_99=1,X_60,X_100=1,X_60,0),COLORLICYAN;

DRAWLINE(X_99=1,X_72,X_100=1,X_72,0),COLORLICYAN;

X_101:=LLV(LOW,13);

X_102:=HHV(HIGH,13);

X_103:=SMA((CLOSE-X_101)/(X_102-X_101)*100,5,1);

X_104:=SMA((X_102-CLOSE)/(X_102-X_101)*100,5,1);

X_105:=X_103;

X_106:=X_104;

X_107:=SMA(MAX(CLOSE-REF(CLOSE,1),0),5,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),5,1)*100;

X_108:=EMA(X_107,3);

X_109:=EMA(CLOSE,12)-EMA(CLOSE,26);

X_110:=EMA(X_109,9);

X_111:=CROSS(X_109,0) OR CROSS(X_110,0);


X_112:=CROSS(X_108,X_106) AND X_108>=REF(X_108,1) AND X_106<=REF(X_106,3) AND X_108>=49.5 AND MA(CLOSE,3)>=REF(MA(CLOSE,3),1) AND MA(CLOSE,7)>=REF(MA(CLOSE,7),1) AND MA(CLOSE,60)>REF(MA(CLOSE,60),3) AND X_111;

STICKLINE(X_112,CLOSE,OPEN,4,0),COLORBLUE;

STICKLINE(X_112>0,CLOSE,OPEN,3,0),COLORBLUE;

STICKLINE(X_112>0,CLOSE,OPEN,2.5,0),COLOR730000;

STICKLINE(X_112>0,CLOSE,OPEN,1.5,0),COLOR870000;

STICKLINE(X_112>0,CLOSE,OPEN,0.8,0),COLOR9B0000;

STICKLINE(X_112>0,CLOSE,OPEN,0.1,0),COLORAF0000;

STICKLINE(X_112>0,CLOSE,OPEN,0.5,0),COLORC30000;

X_113:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;

X_114:=100-ABS(X_113);

X_115:=IF(X_114<90,X_114,100);

X_116:=(HIGH+LOW+CLOSE)/3;

X_117:=(X_116-MA(X_116,14))/(0.015*AVEDEV(X_116,14));

X_118:=(X_116-MA(X_116,70))/(0.015*AVEDEV(X_116,70));

X_119:=IF(X_117>=150 AND X_117<200 AND X_118>=150 AND X_118<200,10,0);

X_120:=IF(X_117<=(-150) AND X_117>(-200) AND X_118<=(-150) AND X_118>(-200),(-10),X_119);

X_121:=IF(X_118>=200 AND X_117>=150,15,IF(X_118<=(-200) AND X_117<=(-150),(-15),X_120))+60;

X_122:=X_115<100 AND X_121>60;

X_123:=VOL>SMA(VOL,3,1)*1.5;

X_124:=X_122 AND X_123;

DRAWICON(X_124,HIGH*1.03,19);

X_125:=MA(CLOSE,3);

X_126:=MA(CLOSE,5);

X_127:=MA(CLOSE,10);

X_128:=MA(CLOSE,20);

X_129:=(X_125+X_126)/2;

X_130:=IF(CLOSE>=OPEN,CLOSE,OPEN);

X_131:=(HIGH-X_130)/X_130*100;

X_132:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;

X_133:=(REF(HIGH,1)-REF(CLOSE,6))/REF(CLOSE,6)*100;

X_134:=(HIGH-REF(CLOSE,1))/REF(CLOSE,1)*100;

X_135:=(LOW-REF(CLOSE,1))/REF(CLOSE,1)*100;

X_136:=(CLOSE-OPEN)/CLOSE*100;

X_137:=COUNT(COUNT(X_132>9.9 AND CLOSE=HIGH,1)>=1,30)>0;

X_138:=COUNT(COUNT(X_132>9.9 AND CLOSE=HIGH,1)>=1,60)>0;

X_139:=REF(HHV(VOL,10),1);

X_140:=X_128>REF(X_128,1) AND VOL3 AND OPEN<=X_126 AND CLOSE>X_126 AND (COUNT(X_129>REF(X_129,1),3)>=3 OR COUNT(X_126>REF(X_126,1),3)>=3) AND COUNT(X_128>REF(X_128,1),25)>=16;

X_141:=(CLOSE-OPEN)/OPEN*100;

X_142:=X_138 AND VOL<1.3*REF(VOL,1) AND COUNT(X_141>0.5,6)>=5 AND COUNT(X_125>X_126,5)>=5 AND COUNT(HIGH>REF(HIGH,1),6)>=5 AND X_134>4.5 AND OPEN<=X_125 AND CLOSE>X_125 AND OPEN>X_126;

X_143:=X_112;

X_144:=X_143=1 AND COUNT(X_143,15)=1;

X_145:=COUNT(X_144,8)=1 AND COUNT(VOL>REF(VOL,1),3)<3 AND COUNT(X_131>4 AND CLOSE(-5.2) AND VOL<1.17*REF(VOL,1) AND VOLREF(X_126,1) OR X_125>REF(X_125,1));

X_146:=X_145;

X_147:=X_144=0 AND COUNT(X_144,8)>=1 AND (X_146=0 OR COUNT(X_146=1,8)>=8);

X_148:=X_144=0 AND COUNT(X_144,8)>=1 AND X_146=1;

X_149:=X_147=1 AND COUNT(X_147,8)=1;

X_150:=X_148=1 AND COUNT(X_148,8)>=1 AND COUNT(X_147,8)=0;

MR0RAWICON(X_144,(OPEN+CLOSE)/2,23);

MC0RAWICON(X_149,(OPEN+CLOSE)/2,35);

CG0RAWICON(X_150,(OPEN+CLOSE)/2,1);





{2}

{涨跌停K线图}

NEB:=IF(NAMELIKE('S') OR NAMELIKE('*S'),0.05,0.1);{适用ST股}

涨停B:=C/REF(C,1)-1>=NEB-0.01/REF(C,1) AND C=H AND PERIOD=5;{仅在日线上变色}

STICKLINE(涨停B,C,O,-1,0),COLORFF00F5;

跌停B:=REF(C,1)/C-1>=NEB-0.01/REF(C,1) AND L=C AND PERIOD=5;

STICKLINE(跌停B,C,O,-1,0),COLORBLUE;


{曾涨跌停K线图}

曾涨停B:=H/REF(C,1)-1>=NEB-0.01/REF(C,1) AND C

STICKLINE(曾涨停B,H-(H-MAX(O,C)),H,0,0),COLORFF00B5;

曾跌停B:=REF(C,1)/L-1>=NEB-0.01/REF(C,1) AND L

STICKLINE(曾跌停B,L+(MIN(O,C)-L),L,0,0),COLORBLUE;


{涨跌停开盘K线图}

涨停开盘B:=O/REF(C,1)-1>=NEB-0.01/REF(C,1) AND O=H AND PERIOD=5;{阴阳线的十分之一变色}

STICKLINE(涨停开盘B,C+(O-C)*0.9,O,-1,0),COLORFF00F5;

跌停开盘B:=REF(C,1)/O-1>=NEB-0.01/REF(C,1) AND L=O AND PERIOD=5;

STICKLINE(跌停开盘B,C-(C-O)*0.9,O,-1,0),COLORBLUE;




短期均线:SUM(V*C,30)/SUM(V,30),COLORWHITE,POINTDOT;

长期均线:SUM(V*C,240)/SUM(V,240),COLORWHITE,POINTDOT;

KMJ1:=C>短期均线;

KMJ2:=C<短期均线;

IF(短期均线>长期均线 AND KMJ1,短期均线,DRAWNULL),COLORRED,LINETHICK3;

IF(短期均线>长期均线 AND KMJ2,短期均线,DRAWNULL),COLORYELLOW,DOTLINE;

IF(短期均线<长期均线 AND KMJ2,短期均线,DRAWNULL),COLORGREEN,LINETHICK2;

IF(短期均线<长期均线 AND KMJ1,短期均线,DRAWNULL),COLORGREEN,DOTLINE;



X_1U:=MAX(MAX(HIGH-LOW,ABS(REF(CLOSE,1)-HIGH)),ABS(REF(CLOSE,1)-LOW));

X_2U:=(HIGH+LOW)/2+MA(X_1U,2);

X_3U:=(HIGH+LOW)/2-MA(X_1U,2);

X_4U:=REF(X_2U,BARSLAST(X_2U<=REF(X_2U,1)));

X_5U:=LLV(X_2U,2*1.5);

X_6U:=IF(X_5U!=REF(X_5U,1) AND X_4U

X_7U:=BARSLAST(CROSS(0.5,X_2U=X_6U))+1;

X_8U:=CROSS(COUNT(CROSS(CLOSE,X_6U) OR CROSS(CLOSE,REF(X_6U,2)) AND X_2U>X_6U,X_7U),0.5);

X_9U:=BARSLAST(X_8U);

X_10U:=BARSLAST(CROSS(HHV(X_3U,X_9U+1),CLOSE));

X_11U:=MA(CLOSE,18);

X_12U:=CLOSE>=X_11U*1.004;

X_13U:=X_11U>=REF(X_11U,1);

X_14U:=X_12U AND X_13U;

X_15U:=IF(CLOSE

今买明卖2019B:CROSS(X_9U,X_10U) AND CLOSE/REF(LLV(LOW,3),1)<1 AND CLOSE0.03 AND X_15U<0.3;


DRAWICON(今买明卖2019B,LOW*0.99,44);

  • 鍏嶈垂鎸囨爣鍒嗕韩銆愮簿鍝佹寚鏍囥戞捣楸间箣閲戜紭鍖栫増鈥斺旂ǔ瀹氬彲闈犵殑
  • 鍏嶈垂鎸囨爣鍒嗕韩閫氳揪淇°愭父璧勯噾榫欑獊鐮淬戜富鍥炬寚鏍 锛屽姪浣犺偂
  • 鍏嶈垂鎸囨爣鍒嗕韩閫氳揪淇°愰緳鑸熸姄榫欍 鎵嬫満鐢佃剳閫氱敤鍓夋寚鏍
  • 鍏嶈垂鎸囨爣鍒嗕韩閫氳揪淇♀滄瀬闄愭礂鐩樷濆壇鍥炬寚鏍囬夎偂鍏紡--鍚姩
  • 鍏嶈垂鎸囨爣鍒嗕韩0729|鈥嬧嬧嬧嬮氳揪淇¢珮鑳滅巼銆愮珵浠疯繛鏉挎墦濡
  • 鍏嶈垂鎸囨爣鍒嗕韩鍛ㄦ湯绂忓埄閾佹爲寮鑺辫繘鍑荤増鎸囨爣婧愮爜涓诲浘闄勫浘閫