斋主MACD通道(成本区、波段底)指标公式源码23850.docx
【通达信】斋斋主MAACD通通道(成成本区、波波段底、加加仓)-指标公公式源码码DIF:=EMAA(CLLOSEE,600)-EEMA(CLOOSE,1300);DEA:=EMAA(DIIF,445);MACD:=(DDIF-DEAA)*22,COOLORRSTIICK;MACDDRC:=DDYNAAINFFO(33)*11.1;DK:=MMACDD*2;STICKKLINNE(DDK<00 ANND DDK<RREF(DK,11),DDK+RRC,RRC,00.055,1),COOLORRLIBLLUE;STICKKLINNE(DDK<00 ANND DDK>RREF(DK,11),DDK+RRC,RRC,00.055,1),COOLORRWHIITE;STICKKLINNE(DDK>RREF(DK,1) ANDD DK>0,DK+RC,RC,0.005,11),CCOLOORREED;STICKKLINNE(DDK<RREF(DK,1) ANDD DK>0,DK+RC,RC,0.005,11),CCOLOOR000FF000;VAR4SS:=(2*CCLOSSE+HHIGHH+LOOW)/4;成本区:EEMA(VARR4S,90)*0.9955,CCOLOORYEELLOOW,PPOINNTDOOTCIRCCLEDDOT;GJZ:=(C+H+LL+O)/4;阻Z:=LL+(GGJZ-L)+(C-L);支Z:=LL+(CC-GJJZ);NN:=1100;高点:=CCONSST(HHHV(H,NNN);低点:=CCONSST(LLLV(L,NNN);明日阻力:=L+(GJJZ-LL)+(C-LL);明日支撑:=L+(C-GJZZ);明日阻力22:=LL+2*(GJJZ-LL)+(C-LL);明日支撑22:=LL+(CC-GJJZ)-(GJJZ-LL);今日阻力:=COONSTT(REEF(明明日阻力力 , 1),NOODRAAW;今日支撑:=COONSTT(REEF(明明日支撑撑 , 1),NOODRAAW;今日阻力22:=CCONSST(RREF(明日阻阻力2 , 11),NODDRAWW;今日支撑22:=CCONSST(RREF(明日支支撑2 , 11),NODDRAWW;STICKKLINNE(IISLAASTBBAR,今日阻阻力,今今日阻力力2,20,0),COLLORGGRAYY;STICKKLINNE(IISLAASTBBAR,今日支支撑,今今日支撑撑2,20,0),COLLORGGRAYY;MA60:=MAA(CLLOSEE,600),CCOLOORCYYAN,LINNETHHICKK2;MA1200:=MMA(CCLOSSE,1120),COOLORRCYAAN,LLINEETHIICK22;LC:=RREF(CLOOSE,1); VAR288Z:=SMAA(MAAX(CCLOSSE-LLC,00),55.5,1)/SMAA(ABBS(CCLOSSE-LC),66,1)*1000;VARA000:=(AAMOUUNT)/(VVOL)/(1000);VARABB00:=(3)*(HIIGH)+LOOW+OOPENN+(22)*(CLOOSE)/(7);VARACC00:=(SUMM(AMMOUNNT,77)/(VAARA000)/(1100);VARD00:=DDMA(VARRAB000,(VOLL)/(VARRAC000);VARDEE0:=(CCLOSSE-VVARDD0)/(VAARD00)*(1000);VARDEE0F:=(CLOOSE-LLVV(LOOW,334)/(HHHV(HIGGH,334)-LLVV(LOW,34)*(1000);VARDEE0JFF:=MMA(VVARDDE0,20)+STTD(VVARDDE0,20);BIAS118:=(CCLOSSE-MMA(CCLOSSE,118)/(MMA(CCLOSSE,118)*(100);AA:=SSMA(VARRDE00F,33,1);SS:=(REFF(BIIAS118,11)>=5) ANDD CRROSSS(VAARDEE0JFF,VAARDEE0) AND (AA>>79);中轨:=MMA(CCLOSSE,334)NNODRRAW;上轨:=中中轨*11.06618,CIRRCLEEDOTT,COOLORRFF666000;下轨:=中中轨*00.899,CIIRCLLEDOOT,CCOLOOR6CC6CFFF;顶轨:=中中轨*11.1991,CCOLOORGRREENN;底轨:=中中轨*00.8009,CCOLOORYEELLOOW;DRAWBBANDD(中轨轨,RGGB(2250,1500,0),REEF(中中轨,22),RRGB(00,550,2200);DRAWBBANDD(顶轨轨,RGGB(2200,50,51),REEF(顶顶轨*11.0005,11),RRGB(0,1660,1100);DRAWBBANDD(底轨轨,RGGB(2200,50,51),REEF(底底轨*00.9995,11),RRGB(0,1660,1100);DRAWBBANDD(上轨轨,RGGB(660,660,00),上上轨*11.0005,RRGB(50,1100,60);DRAWBBANDD(下轨轨,RGGB(550,1100,60),下轨轨*0.9955,RGGB(60,660,00);VA1:=CLOOSE>>REFF(CLOSSE,11) AAND CLOOSE>>REFF(CLLOSEE,2); VA2:=REFF(VAA1,11) AAND CLOOSE<<=REEF(CCLOSSE,11) AAND CLOSEE>=RREF(CLOOSE,2); VA3:=REFF(VAA2,11) AAND CLOOSE>>=REEF(CCLOSSE,11) AAND CLOSEE<=RREF(CLOOSE,2); VA4:=REFF(VAA3,11) AAND CLOOSE<<=REEF(CCLOSSE,11) AAND CLOSEE>=RREF(CLOOSE,2); VA5:=REFF(VAA4,11) AAND CLOOSE>>=REEF(CCLOSSE,11) AAND CLOSEE<=RREF(CLOOSE,2); VA6:=REFF(VAA5,11) AAND CLOOSE<<=REEF(CCLOSSE,11) AAND CLOSEE>=RREF(CLOOSE,2); VA7:=REFF(VAA6,11) AAND CLOOSE>>=REEF(CCLOSSE,11) AAND CLOSEE<=RREF(CLOOSE,2); VA8:=REFF(VAA7,11) AAND CLOOSE<<=REEF(CCLOSSE,11) AAND CLOSEE>=RREF(CLOOSE,2); VA9:=REFF(VAA8,11) AAND CLOOSE>>=REEF(CCLOSSE,11) AAND CLOSEE<=RREF(CLOOSE,2); VAA:=REFF(VAA9,11) AAND CLOOSE<<=REEF(CCLOSSE,11) AAND CLOSEE>=RREF(CLOOSE,2); VAB:=REFF(VAAA,11) AAND CLOOSE>>=REEF(CCLOSSE,11) AAND CLOSEE<=RREF(CLOOSE,2); VAC:=REFF(VAAB,11) AAND CLOOSE<<=REEF(CCLOSSE,11) AAND CLOSEE>=RREF(CLOOSE,2); STICKKLINNE(VVA1 OR VA22 ORR VAA3 OOR VVA4 OR VA55 ORR VAA6 OOR VA7 OOR VVA8 OR VA99 ORR VAAA OOR VVAB OR VACC,CLLOSEE,REEF(CLOSSE,11),33,0),COOLORRREDD;VAD:=CLOOSE<<REFF(CLLOSEE,1) ANND CCLOSSE<RREF(CLOOSE,2); VAE:=REFF(VAAD,11) AAND CLOOSE>>=REEF(CCLOSSE,11) AAND CLOSEE<=RREF(CLOOSE,2); VAF:=REFF(VAAE,11) AAND CLOOSE<<=REEF(CCLOSSE,11) AAND CLOSEE>=RREF(CLOOSE,2); VA10:=REEF(VVAF,1) ANDD CLLOSEE>=RREF(CLOOSE,1) ANDD CLOSEE<=RREF(CLOOSE,2); VA11:=REEF(VVA100,1) ANND CCLOSSE<=REFF(CLLOSEE,1) ANND CLOSEE>=RREF(CLOOSE,2); VA12:=REEF(VVA111,1) ANND CCLOSSE>=REFF(CLLOSEE,1) ANND CLOSEE<=RREF(CLOOSE,2); VA13:=REEF(VVA122,1) ANND CCLOSSE<=REFF(CLLOSEE,1) ANND CLOSEE>=RREF(CLOOSE,2); VA14:=REEF(VVA133,1) ANND CCLOSSE>=REFF(CLLOSEE,1) ANND CLOSEE<=RREF(CLOOSE,2); VA15:=REEF(VVA144,1) ANND CCLOSSE<=REFF(CLLOSEE,1) ANND CLOSEE>=RREF(CLOOSE,2); VA16:=REEF(VVA155,1) ANND CCLOSSE>=REFF(CLLOSEE,1) ANND CLOSEE<=RREF(CLOOSE,2); VA17:=REEF(VVA166,1) ANND CCLOSSE<=REFF(CLLOSEE,1) ANND CLOSEE>=RREF(CLOOSE,2); VA18:=REEF(VVA177,1) ANND CCLOSSE>=REFF(CLLOSEE,1) ANND CLOSEE<=RREF(CLOOSE,2); STICKKLINNE(VVAD OR VAEE ORR VAAF OOR VVA100 ORR VAA11 OR VA112 OR VAA13 OR VA114 OOR VVA155 ORR VAA16 OR VA117 OOR VA18,CLOOSE,REFF(CLLOSEE,1),3,0),COLLORLLIBLLUE; VA19:=REEF(VVAD OR VAEE ORR VAAF OOR VVA100 ORR VAA11 OR VA112 OR VAA13 OR VA114 OOR VVA155 ORR VAA16 OR VA117 OOR VVA188,1) AND VVA1; STICKKLINNE(VVA199,REEF(CCLOSSE,11),RREF(CLOSSE,22),33.4,0),COLLORYYELLLOW; VA1A:=REEF(VVA1 OR VA22 ORR VAA3 OOR VVA4 OR VA55 ORR VAA6 OOR VA7 OOR VVA8 OR VA99 ORR VAAA OOR VVAB OR VACC,1) ANND VVAD; STICKKLINNE(VVA1AA,REEF(CCLOSSE,11),RREF(CLOSSE,22),33.4,0),COLLORBBLUEE;AA1:=3*SSMA(C-LLVV(L,9)/(HHHV(H,99)-LLLV(L,99)*100,3,11)-22*SMMA(SSMA(C-LLVV(L,9)/(HHHV(H,99)-LLLV(L,9)*1100,3,11),33,1);加仓:=IIF(CCROSSS(AAA1,REFF(AAA1+00.011,1) AAND LLVV(AAA1,22)=LLV(AA11,8) ANND BBETWWEENN(AAA1,220,660),1,00);波段底:=(3)*(SSMA(CCLOSSE - LLLV(LLOW,27)/(HHVV(HIGHH,277) - LLLV(LLOW,27)*(1000),5,11) -(2)*(SMAA(SMMA(CLLOSEE - LLVV(LOOW,227)/(HHHV(HIGGH,227) - LLV(LLOW,27)*(1000),5,11),33,1);A:=(33*C+L+OO+H)/6;X:=(220*AA+199*REEF(AA,1)+188*REEF(AA,2)+177*REEF(AA,3)+16*RREF(A,44)+115*RREF(A,55)+14*REEF(AA,6)+133*REEF(AA,7)+122*REEF(AA,8)+111*REEF(AA,9)+10*RREF(A,110)+9*RREF(A,111)+8*RREF(A,112)+7*REEF(AA,133)+66*REEF(AA,144)+55*REEF(AA,155)+44*REEF(AA,166)+3*REEF(AA,177)+22*REEF(AA,188)+REF(AA,200)/2100;MTM:=C-RREF(C,11);DX:=1100*EMAA(EMMA(MMTM,6),6)/EMAA(EMMA(AABS(MTMM),66),66);CB:=EEMA(X,113);买:=IFF(LLLV(DDX,22)=LLLV(DX,7) ANDD COOUNTT(DXX<0,2) ANDD CROSSS(DXX,MAA(DXX,2),11,0);江恩线1444: EMAA(CLOSSE,1144),COOLORRREDD,LIINETTHICCK2,POIINTDDOT;日:=500;昨前前:=33; 高1:=RREF(HHVV(H,10),昨前前); 高2:=RREF(HHVV(H,日),昨前); 低:=REEF(LLLV(L,110),昨前); 低1:=RREF(LLVV(L,日),昨前); 十日压:RREFDDATEE(高1,DATTE),COLLORGGREEEN,LLINEETHIICK11,POOINTTDOTT; DRAWTTEXTT(ISSLASSTBAAR,十十日压,'100 K线线内压力力点位'),CCOLOORGRREENN;五十日压:REFFDATTE(高高2,DATTE),COLLORCCYANN,LIINETTHICCK1,POIINTDDOT;DRAWTTEXTT(ISSLASSTBAAR,五五十日压压,'550 KK线内压压力点位'),CCOLOORCYYAN;十日支撑:REFFDATTE(低,DAATE),LIINETTHICCK1,COLLORYYELLLOW,POIINTDDOT ;DRAWTTEXTT(ISSLASSTBAAR,十十日支撑撑,'110 KK线内支支撑点位'),CCOLOORYEELLOOW;五十日支撑撑:REEFDAATE(低1,DATTE),COLLORRRED,LINNETHHICKK1,PPOINNTDOOT;DRAWTTEXTT(ISSLASSTBAAR,五五十日支支撑,''50 K线内内支撑点点位'),CCOLOORREED;VAR5:=IFF(YEEAR=20002 AAND MONNTH=6 AAND DAYY=288,1,0);VAR6:=IFF(YEEAR=20002 AAND MONNTH=3 AAND DAYY=211,1,0);VAR7:=IFF(YEEAR=20001 AAND MONNTH=12 ANDD DAAY=55,1,0);VAR8:=IFF(YEEAR=20001 AAND MONNTH=6 AAND DAYY=144,1,0);VAR9:=IFF(YEEAR=20001 AAND MONNTH=1 AAND DAYY=111,1,0);VARA:=IFF(YEEAR=20000 AAND MONNTH=11 ANDD DAAY=223,11,0);VARB:=IFF(YEEAR=20000 AAND MONNTH=8 AAND DAYY=222,1,0);VARC:=IFF(YEEAR=20000 AAND MONNTH=4 AAND DAYY=211,1,0);VARD:=IFF(YEEAR=19999 AAND MONNTH=6 AAND DAYY=300,1,0);VARE:=IFF(YEEAR=19999 AAND MONNTH=4 AAND DAYY=9,1,00);VARF:=IFF(YEEAR=19998 AAND MONNTH=11 ANDD DAAY=117,11,0);VAR100:=IIF(YYEARR=19998 ANDD MOONTHH=6 ANDD DAAY=44,1,0);VAR111:=IIF(YYEARR=19997 ANDD MOONTHH=5 ANDD DAAY=112,11,0);VAR122:=IIF(YYEARR=19996 ANDD MOONTHH=122 ANND DDAY=11,1,00);VAR133:=IIF(YYEARR=19994 ANDD MOONTHH=9 ANDD DAAY=113,11,0);VAR144:=IIF(YYEARR=19993 ANDD MOONTHH=2 ANDD DAAY=116,11,0);VAR155:=IIF(YYEARR=19992 ANDD MOONTHH=5 ANDD DAAY=226,11,0);VAR166:=IIF(YYEARR=20003 ANDD MOONTHH=3 ANDD DAAY=44,1,0);VAR177:=IIF(YYEARR=20003 ANDD MOONTHH=4 ANDD DAAY=116,11,0);VAR188:=(CROOSS(1000,"KKDJ.J"(9,33,3) OOR CCROSSS("KDJJ.K""(9,3,33),""KDJJ.J""(9,3,33) ANND "KDJ.D"(9,33,3)>755;VAR199:=IIF(YYEARR>19990 ANDD YEEAR<<20003,00,1);VAR1AA:=IIF(YYEARR=20003 ANDD MOONTHH=1 ANDD DAAY=33,1,0);VAR1BB:=IIF(YYEARR=20002 ANDD MOONTHH=6 ANDD DAAY=66,1,0);VAR1CC:=IIF(YYEARR=20002 ANDD MOONTHH=1 ANDD DAAY=229,11,0);VAR1DD:=IIF(YYEARR=20001 ANDD MOONTHH=100 ANND DDAY=22,1,00);VAR1EE:=IIF(YYEARR=20001 ANDD MOONTHH=2 ANDD DAAY=222,11,0);VAR1FF:=IIF(YYEARR=20000 ANDD MOONTHH=9 ANDD DAAY=226,11,0);VAR200:=IIF(YYEARR=19999 ANDD MOONTHH=122 ANND DDAY=28,1,00);VAR211:=IIF(YYEARR=19999 ANDD MOONTHH=5 ANDD DAAY=117,11,0);VAR222:=IIF(YYEARR=19999 ANDD MOONTHH=2 ANDD DAAY=99,1,0);VAR233:=IIF(YYEARR=19998 ANDD MOONTHH=8 ANDD DAAY=118,11,0);VAR244:=IIF(YYEARR=19998 ANDD MOONTHH=3 ANDD DAAY=226,11,0);VAR255:=IIF(YYEARR=19997 ANDD MOONTHH=2 ANDD DAAY=220,11,0);VAR266:=IIF(YYEARR=19994 ANDD MOONTHH=7 ANDD DAAY=229,11,0);VAR277:=IIF(YYEARR=20000 ANDD MOONTHH=5 ANDD DAAY=115,11,0);VAR288:=IIF(YYEARR=19996 ANDD MOONTHH=1 ANDD DAAY=119,11,0);VAR299:=IIF(YYEARR=19992 ANDD MOONTHH=111 ANND DDAY=20,1,00);VAR2AA:=IIF(YYEARR=20003 ANDD MOONTHH=3 ANDD DAAY=226,11,0);VAR2BB:=IIF(YYEARR=20003 ANDD MOONTHH=5 ANDD DAAY=113 AAND CLOSEE>2000,11,0);VAR2CC:=MMA(33*SMMA(CLOOSE-LLVV(LOOW,227)/(HHHV(HIGGH,227)-LLV(LLOW,27)*1100,5,11)-22*SMMA(SSMA(CLLOSEE-LLLV(LOW,27)/(HHVV(HIIGH,27)-LLLV(LLOW,27)*100,5,11),33,1),5)*VAAR199;VAR2DD:=55;VAR2EE:=CCROSSS(VVAR22C,VVAR22D);VAR2FF:=VVAR11A OOR VVAR11B OOR VVAR11C OOR VVAR11D OOR VVAR11E OOR VAR1FF ORR VAAR200 ORR VAAR211 ORR VAAR222 ORR VAAR233 ORR VAAR244 OR VAAR255 ORR VAAR266 ORR VAAR277 ORR VAAR288 ORR VAAR299 ORR VAR2AA ORR VAAR2BB ORR VAAR2EE;VAR300:=(VARR18 OR VARR5 OOR VVAR66 ORR VAAR7 OR VARR8 OOR VAR9 OR VARRA OOR VVARBB ORR VAARC OR VARRD OOR VVAREE ORR VARF OR VARR10 OR VARR11 OR VARR12 OR VARR13 OR VARR14 OR VAAR155 ORR VAAR166 ORR VAAR177) ANDD CLLOSEE>2000;VAR244Z:=EMAA(AMMOUNNT/VVOL/1000,5);VAR255Z:=EMAA(AMMOUNNT/VVOL/1000,133);VAR266Z:=VARR24ZZ-VAAR255Z;VAR1ZZ:=(1000-(90*(HHHV(HHIGHH,211)-CCLOSSE)/(HHHV(HIGHH,211)-LLLV(LOWW,211);VAR2ZZ:=(1000-(90*(HHHV(HHIGHH,211)-CCLOSSE)/(HHHV(HIGHH,211)-LLLV(LOWW,211);VAR3ZZ:=(1000-MAA(1000*(HHHV(HIGGH,66)-CCLOSSE)/(HHHV(HIGHH,6)-LLLV(LLOW,6),334);DRAWTTEXTT(CRROSSS(VAAR2ZZ,MAA(VAAR3ZZ,6) AAND CROSSS(IFF(10000*VARR26ZZ/VAAR244Z>00,10000*VARR26ZZ/VAR244Z,00)*00.199+1.9,IIF(HHVV(HIIGH,13)-CLLOSEE)/(HHVV(HIGHH,133)-LLLV(LOWW,133)*1200>1000,1100,(HHV(HIGGH,113)-CLOOSE)/(HHHV(HIGGH,113)-LLVV(LOOW,113)*120)*0.07),(LLOW*0.9984),'强牛股股出现 '),COOLORRWHIITE;SS1:=CROOSS(波段底底,3);SS2:=FILLTERR(买=1,55);B1:=EEMA(2*CLOOSE+HIGGH+LLOW)/4,5);A1:IFF(EMMA(2*CCLOSSE+HHIGHH+LOOW)/4,66)>RREF(EMAA(2*CCLOSSE+HHIGHH+LOOW)/4,66),11),BB1,DDRAWWNULLL),COLLOR000000FF;A2:IFF(EMMA(2*CCLOSSE+HHIGHH+LOOW)/4,66)<RREF(EMAA(2*CCLOSSE+HHIGHH+LOOW)/4,66),11),BB1,DDRAWWNULLL),COLLOR000FFF00;B2:=EEMA(2*CLOOSE+HIGGH+LLOW)/4,13);A3:IFF(EMMA(2*CCLOSSE+HHIGHH+LOOW)/4,110)>>REFF(EMMA(2*CCLOSSE+HHIGHH+LOOW)/4,113),1),B2,DRAAWNUULL),COOLORR00000FF;A4:IFF(EMMA(2*CCLOSSE+HHIGHH+LOOW)/4,110)<<REFF(EMMA(2*CCLOSSE+HHIGHH+LOOW)/4,113),1),B2,DRAAWNUULL),LIINETTHICCK2,COLLOR000FFF00;B3:=RREF(EMAA(LLOW+CLOOSE+OPEEN)/3,225),1);A5:IFF(EMMA(LOWW+CLLOSEE+OPPEN)/3,28)>REEF(EEMA(LOWW+CLLOSEE+OPPEN)/3,28),1),B33,DRRAWNNULLL),LLINEETHIICK33,COLORR00000FFF;A6:IFF(EMMA(LOWW+CLLOSEE+OPPEN)/3,28)<REEF(EEMA(LOWW+CLLOSEE+OPPEN)/3,28),1),B33,DRRAWNNULLL),LLINEETHIICK33,COLORR00FFF000;B4:=(EMAA(LOOW,1125)+EMMA(CLOOSE+LOWW)/22,1225)/2;A7:IFF(EEMA(LOWW,1225)+EMAA(CCLOSSE+LLOW)/2,2500)/2>RREF(EMAA(LOOW,1125)+EMMA(CLOOSE+LOWW)/22,2550)/2,1),B4,DRAAWNUULL),COOLORR00000FFF;A8:IFF(EEMA(LOWW,1225)+EMAA(CCLOSSE+LLOW)/2,2500)/2<RREF(EMAA(LOOW,1125)+EMMA(CLOOSE+LOWW)/22,2550)/2,1),B4,DRAAWNUULL),COOLORR00FFF000;LCZ:=REFF(CLLOSEE,1);RSI:=(SSMA(MAXX(CCLOSSE - LCCZ),0),3,11) / SMMA(AABS(CLOOSE - LLCZ),33,1) * 1000);FF:=EEMA(CLOOSE,3);MA15:=EMMA(CCLOSSE,221);AAZ:=CLOOSE>>REFF(CLLOSEE,1) ANND RREF(CLOOSE,1)>>REFF(CLOSSE,22) AAND REFF(CLLOSEE,1)<REEF(CCLOSSE,33) AAND IF(REFF(CLOSSE,33)<RREF(CLOOSE,4),1,IIF(RREF(CLOOSE,4)<<REFF(CLOSSE,55),RREF(CLOOSE,1)<<REFF(CLLOSEE,4) ORR (RREF(CLOSSE,22)<RREF(CLOOSE,4) ANDD REEF(CCLOSSE,33)>=REFF(CLOSSE,55),IF(REFF(CLLOSEE,5)<REEF(CCLOSSE,66),11,REEF(CLOSSE,66)<RREF(CLOOSE,7);BBZ:=CLOOSE<<REFF(CLLOSEE,1) ANND RREF(CLOOSE,1)<<REFF(CLOSSE,22) AAND REFF(CLLOSEE,1)>REEF(CCLOSSE,33) AAND IF(REFF(CLOSSE,33)>RREF(CLOOSE,4),1,IIF(RREF(CLOOSE,4)>>REFF(CLOSSE,55),RREF(CLOOSE,1)>>REFF(CLLOSEE,4) ORR (RREF(CLOSSE,22)>RREF(CLOOSE,4) ANDD REEF(CCLOSSE,33)<=REFF(CLOSSE,55),IF(REFF(CLLOSEE,5)>REEF(CCLOSSE,66),11,REEF(CLOSSE,66)>RREF(CLOOSE,7);DRAWTTEXTT(AAAZ AAND CLOOSE>>REFF(OPPEN,2),L*00.988,'+三平平底'),CCOLOORYEELLOOW;DRAWTTEXTT(BBBZ AAND CLOOSE<<REFF(CLLOSEE,2),L*1.001,''-三平平顶'),CCOLOORGRREENN;DRAWTTEXTT(CRROSSS(FFF,MAA15),L*0.999,''底背离'),CCOLOORA66E5000;DRAWTTEXTT(CRROSSS(888,RSSI),L*11.0112,''顶背离'),CCOLOOR18880FFF;DRAWTTEXTT(CRROSSS(844,RSSI) ANDD CRROSSS(76,VVAR228Z),H*1.001,''卖出''),LLINEETHIICK44,COOLORRGREEEN;DRAWWICOON(VVAR22F,LLOW-LOWW*1/1000,1);DRAWIICONN(VAAR2FF ANND CCLOSSE>江江恩线1144,LOWW,1);DRAWIICONN(VAAR300,HIIGH,2);DRAWTTEXTT(VAAR2FF ANND CCLOSSE<江江恩线1144,LOWW,'秘秘密买点!'), COOLORRYELLLOWW;DRAWTTEXTT(VAAR2FF ANND CCLOSSE>江江恩线1144,LOWW,'强强势买点!'), COOLORRREDD;DRAWTTEXTT(VAAR300,HIIGH,'秘密密抛点''),CCOLOOR000FF000;STICKKLINNE(SSS2 ANDD SS1,LL*0.96,L*00.988,2,0),COLLORYYELLLOW;DRAWTTEXTT(SSS2 AAND SS11,L*0.996,''底买合合一'),CCOLOORYEELLOOW;DRAWTTEXTT(FIILTEER(买买=1,5),LOWW-0.03,'买入入'),COLLORRRED;DRAWTTEXTT(CRROSSS(波段段底,33),LL*0.97,'底'');DRAWTTEXTT(CRROSSS(MAA60,MA1120),MAA60*0.999,''60金金叉1