1、MACD/自设 DIFF9:=(EMA(CLOSE,12)-EMA(CLOSE,26))*100/EMA(CLOSE,26),COLORRED; DEA9:=EMA(DIFF9,9),COLORRED,LINETHICK2; MACD:2*(DIFF9-DEA9), COLORSTICK,LINETHICK2; A1:=BARSLAST(REF(CROSS(DIFF9,DEA9),1)); 背离:=REF(CLOSE,A1+1)>CLOSE AND DIFF9>REF(DIFF9,A1+1) AND CROSS(DIFF9,DEA9); STICKLINE(背离,0,DEA9,2,0),COLOR00FF00; DRAWTEXT(背离,DEA9," 背离"); STICKLINE(MACD[0,0,MACD,0.5,0),COLORFF99AA; STICKLINE(MACD<REF(MACD,1)AND MACD<0,0,macd,0.5,0),colorblue; macd="">REF(MACD,1)AND MACD,0,MACD,0.5,0),COLORGRAY; STICKLINE(MACD>REF(MACD,1)AND MACD>0,0,MACD,0.5,0),COLORMAGENTA; DIFF :(EMA(CLOSE,12)-EMA(CLOSE,26))*100/EMA(CLOSE,26),COLORRED; DEA : EMA(DIFF9,9),COLORRED,LINETHICK2; IF(DIFF9<REF(DIFF9,1),DIFF9,DRAWNULL),COLORGREEN; IF(DEA9][VAR4; VARE:=REF(LOW,1)*0.9; VARF:=LOW*0.9; VAR11:=EMA(VARF,30); VAR12:=CLOSE-REF(CLOSE,1); VAR13:=MAX(VAR12,0); VAR14:=ABS(VAR12); VAR15:=SMA(VAR13,7,1)/SMA(VAR14,7,1)*100; VAR16:=SMA(VAR13,13,1)/SMA(VAR14,13,1)*100; VAR17:=BARSCOUNT(CLOSE); VAR18:=SMA(MAX(VAR12,0),6,1)/SMA(ABS(VAR12),6,1)*100; VAR19:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100; VAR1A:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100; VAR1B:=SMA((SMA(VAR1A,4,1)-50)*2,3,1); VAR1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100; VAR1D:=SMA(VAR1C,4,1); VAR1E:=SMA(VAR1D,3,1); VAR1F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100; VAR20:=VAR18<=25 AND VAR19<-95 and="" var1f="">20 AND VAR1B<-30 AND VAR1E<30 and="" var11-close="">=-0.25 AND VAR15<22 AND VAR16<28 and="" var17="">50; STICKLINE(VARD,VAR4,主力趋势,1,0),COLOR0099FF; STICKLINE(VAR20,0,80,1,0),COLORRED,LINETHICK3 ; 主力做底轴线:95,COLORYELLOW ,LINETHICK2 ; 主力做大底轴线:100,COLORMAGENTA ,LINETHICK3 ; 主力做顶轴线:0,COLORCYAN ,LINETHICK2 ; 中线轴: 15,COLORWHITE ,LINETHICK2 ; 买:=IF("KDJ.J"<0,10,0); 1:="CROSS(9.5,买);" vvar1:="(2*CLOSE+HIGH+LOW)/4;" vvar2:="LLV(LOW,7);" vvar3:="HHV(HIGH,7);" vvar4:="EMA((VVAR1-VVAR2)/(VVAR3-VVAR2)*100,5);" ma1:="MA(VVAR4,2);" vvar4="">MA1,VVAR4,MA1,6,1),COLORRED; BBB:STICKLINE(VVAR4>MA1 AND REF(VVAR4,1)<30,VVAR4,MA1,6,1),COLORRED; STICKLINE(VVAR4<=ma1,vvar4,ma1,6,1),colorliblue; vvar4="">MA1 AND REF(VVAR4,1)<30,vvar4+5,ma1-4,6,1),colorlired; 0="" --------------------------------------------------------------------------------------------------="" -------------------------------------="" ------------------------------="" -----------------------------="" ----------------------------="" var1:="(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;" var2:="SMA(VAR1,9,1)+100;" var3:="(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;" var4:="SMA(VAR3,3,1);" var5:="SMA(VAR4,3,1)+100;" var6:="VAR5-VAR2;" :="" var6="">45,VAR6-45,0); STICKLINE(REF(趋势,1)< 趋势, 趋势,REF(趋势,1),2,0),COLORMAGENTA; STICKLINE(REF(趋势,1)> 趋势, 趋势,REF(趋势,1),2,0),COLORGREEN; 强弱分界:50,COLORFFFFCC; 底部:0,COLOR00FFFF; 安全:20,COLORFFAA66,LINETHICK1; 预警:80,COLORFFAA66,LINETHICK1; 顶部:100,COLORFFFF33; V1:=LLV(LOW,10); V2:=HHV(H,25); 价位线:=EMA((C-V1)/(V2-V1)*4,4); DRAWTEXT(CROSS(价位线,0.3),20+4,"●买"),COLORRED; DRAWTEXT(CROSS(3.5,价位线),100-4,"●卖"),COLORGREEN; VAR2Q:=REF(LOW,1); VAR3Q:=SMA(ABS(LOW-VAR2Q),3,1)/SMA(MAX(LOW-VAR2Q,0),3,1)*100; VAR4Q:=EMA(IF(CLOSE*1.3,VAR3Q*10,VAR3Q/10),3); VAR5Q:=LLV(LOW,30); VAR6Q:=HHV(VAR4Q,30); VAR7Q:=IF(MA(CLOSE,58),1,0); VAR8Q:=EMA(IF(LOW<=var5q,(var4q+var6q*2) var9q:="IF(VAR8Q">100,100,VAR8Q); 吸筹:STICKLINE(VAR9Q>-120,0,VAR9Q,3,1),COLORYELLOW; AA3:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10; AA4:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100; AA5:=SMA(AA4,13,8); 走势:=CEILING(SMA(AA5,13,8)); AA6:=SMA(AA3,21,8); 卖临界:STICKLINE(走势-AA6>85,103,100,15,1),COLORRED,LINETHICK2; 主力线:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2* SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),LINETHICK1,POINTDOT; 超短线:(((主力线-LLV(主力线,21))/(HHV(主力线,21)-LLV(主力线,21)))*(4))*(25),LINETHICK2,COLORLIRED; VAR11:=3; VAR21:=(3)*(SMA(((CLOSE - LLV(LOW,27))/(HHV(HIGH,27) - LLV(LOW,27)))*(100),5,1)) - (2)*(SMA(SMA(((CLOSE - LLV(LOW,27))/(HHV(HIGH,27) - LLV(LOW,27)))*(100),5,1),3,1)); 股价准备启动:IF(CROSS(VAR21,VAR11),100,0),COLORRED,LINETHICK2; ---------------------------------------------------------- 8、30分时 VAR1:=(2*CLOSE+HIGH+LOW)/4; VAR2:=EXPMA(EXPMA(EXPMA(VAR1,4),4),4); J: 2*(VAR2-REF(VAR2,1))/REF(VAR2,1), COLORSTICK; D: MA(J,3); K: MA(J,1); 必买:IF(TROUGHBARS(3,15,1)=0 AND HIGH>LOW+0.08,-55,-70),COLORGREEN ,LINETHICK1 ; 必卖: IF(PEAKBARS(3,15,1)=1,20,40),COLORWHITE,LINETHICK1; VAR31:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100; VAR41:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100; VAR51:=(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100; VAR61:=(VAR31+VAR41+VAR51)/3; VAR71:=EMA(VAR61,5); VAR81:=IF(VAR61<=-20,10,0); var91:="HHV(VAR81,10);" vara:="IF(VAR91" and="" vara="20),0,10,5,0),COLORWHITE;" varc:="(ZIG(3,5)">REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2)) AND (REF(ZIG(3,5),2)<=REF(ZIG(3,5),3)); VARD:=(ZIG(3,5)][=REF(ZIG(3,5),2)) AND (REF(ZIG(3,5),2)>=REF(ZIG(3,5),3)); STICKLINE((VARC=1),(-14),0,4,0),COLOR0000FF; 买:DRAWTEXT((VARC=1),(-38),"买"),COLOR0000FF; STICKLINE((VARD=1),14,0,4,0),COLOR00FF00; 卖:DRAWTEXT((VARD=1),(38),"卖"),COLOR00FF00; {INPUT M 1 300 24;A 1 300 5} RSV:=((HHV(HIGH,M)-CLOSE)/(HHV(HIGH,M)-LLV(LOW,M))*200)-125; 空方主力:SMA(RSV,A,1); RSV1:=((CLOSE-LLV(LOW,M))/(HHV(HIGH,M)-LLV(LOW,M))*200)-105; 多方主力:SMA(RSV1,A,1); MA(多方主力,3); WD:=CROSS(空方主力,-85); {MA(空方主力,3);} WD1:=CROSS(空方主力,多方主力); VAR111:=ZIG(CLOSE,13); 备钱买: IF(REF(VAR111,2)>REF(VAR111,1) AND VAR111>REF(VAR111,1),-45,-70),COLORRED; 获利卖: IF(REF(VAR111,2)<REF(VAR111,1) AND VAR111][昨日VAR1ANDVAR1>昨日VAR1,返回0,否则返回-70,画红色 输出 获利卖: 如果2日前的VAR1<昨日VAR1ANDVAR1<昨日var1,返回0,否则返回40 aa3:="(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;" aa4:="(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;" aa5:="SMA(AA4,13,8);" :="CEILING(SMA(AA5,13,8));" aa6:="SMA(AA3,21,8);" -aa6="">85,85,80,15,1),COLORRED,LINETHICK2; ---------------------------------------------- 9、机构洗盘 VAR1:=1; 趋势线: ((3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1)-50)*1.032+50),COLORRED; VAR2:=(2*CLOSE+HIGH+LOW+OPEN)/5; VAR3:=LLV(LOW,34); VAR4:=HHV(HIGH,34); SK: EMA((VAR2-VAR3)/(VAR4-VAR3)*100,13)*VAR1,COLORWHITE; SD: EMA(SK,2)*VAR1,COLORYELLOW; VAR5:=EMA(CLOSE,12)-EMA(CLOSE,26); VAR6:=EMA(VAR5,9); VAR7:=VAR1*CLOSE*1.2361.021; VAR9:=(HIGH-CLOSE)*1.36<=close-open; vara:="(MA(CLOSE,120)-CLOSE)/CLOSE*100;" varb:="ABS(VAR5-VAR6);" varc:="STD(CLOSE,90)*10;" vard:="COUNT((REF(CLOSE,15)-CLOSE)/CLOSE*100">45,5); 买: VAR1*VAR7 AND VAR8 AND VAR9 AND VARC<25 AND CLOSE<8 AND VARA<114 AND VARB<=0.23*40,COLORRED; VARE:=SLOPE(CLOSE,40); VARF:=COUNT((CLOSE-REF(CLOSE,1))/REF(CLOSE,1)<-0.098,90); var10:="(MA(CLOSE,120)-CLOSE)/CLOSE*100;" var11:="VAR1*STD(CLOSE,63)*10;" var12:="VAR1*(MA(CLOSE,76)-MA(CLOSE,13)/3);" var13:="VAR1*MA((CLOSE-VAR12)/VAR12,1);" 1:="VAR1*IF(CROSS(VAR13,-0.008)" and="" vare="">-0.618 AND VAR10<114 AND VAR11<23.6 AND VARF<8 AND LOW/REF(HIGH,1)<1.145 OR REF(VAR13,2)=LLV(VAR13,20) AND REF(VAR13,2)<0.042 AND VARF<8 AND REF(VAR13,2)][REF(HIGH,2) AND LOW>REF(HIGH,1)) AND VAR13>-0.368 AND CLOSE>REF(CLOSE,1),68,0); VAR14:=MA(CLOSE,5); VAR15:=MA(CLOSE,10); VAR16:=MA(CLOSE,20); VAR17:=MA(CLOSE,30); VAR18:=MA(CLOSE,60); VAR19:=MA(CLOSE,150); VAR1A:=MA(CLOSE,250); VAR1B:=VAR1*VOL/CAPITAL*100; VAR1C:=(CLOSE-VAR1A)/VAR1A*100; VAR1D:=(CLOSE/REF(CLOSE,1)-1)*100; VAR1E:=PWINNER(1,CLOSE); VAR1F:=IF(VAR1>0.75 AND VAR1<0.901,0.618,1); :="" var14="">VAR15 AND VAR15>VAR16 AND VAR16>VAR17 AND VAR16>VAR18 AND VAR19>VAR1A AND (VAR1E>=0.9 OR VAR1E>0.76 AND VAR1E<0.901 and="" var1d="">5 AND VAR1B>5) AND VAR1D>1.8 AND VAR1C<40 and="" close="">3 AND (CLOSE-VAR18)/VAR18<0.25 AND VAR1B<=6 and="" var1b="">=1 AND CLOSE<18.5,76,0), var20:="(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;" var21:="(MA(CLOSE,48)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;" var22:="VAR1*(MA(CLOSE,12)+MA(CLOSE,24)+MA(CLOSE,48)+MA(CLOSE,96))/4;" var23:="VAR1*MA(CLOSE,250);" var24:="MA(CLOSE,125);" 1:="IF(SD">18 AND SK<75 AND CROSS(VAR20,VAR21) AND (VAR22-VAR23)/VAR23<0.161 AND REF(SK,3)<SK AND REF(VAR22,1)=1.05 AND CLOSE=HHV(CLOSE,3) AND MA(VOL,2)/MA(VOL,40)>=3 AND MA(VOL,2)=HHV(MA(VOL,2),3) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1); VAR26:=REF(CLOSE,1); VAR27:=SMA(MAX(CLOSE-VAR26,0),5,1)/SMA(ABS(CLOSE-VAR26),5,1)*100; VAR28:=VAR1*COUNT(VAR27<25,20)>=1; VAR29:=(HIGH-LOW)/HIGH*100+(CLOSE-VAR26)/VAR26*100; VAR2A:=EMA(MA(VAR29,41),6); VAR2B:=VAR2A>LLV(VAR2A,6)*1.02 AND REF(VAR2A,1)<REF(LLV(VAR2A,6),1)*1.02 AND LLV(VAR2A,29)=LLV(VAR2A,6); VAR2C:=VAR1*LLV(LOW,6)=LLV(LOW,41) AND LLV(LOW,6)LOW*1.033; 涨势确立: VAR1*(VAR2C>0 AND VAR2D*16+81.5)*VAR1,COLOR80FFFF ; 买入: IF(CROSS(趋势线,21),50,18.5); 卖出: IF(CROSS(87,趋势线),50,81.5),COLORFFAA00; DRAWTEXT(VAR2C>0 AND VAR2D,88,"↑"); VAR2E:=IF(CROSS(SK,SD),25,18.5); VAR2F:=IF(CROSS(SD,SK),75,81.5); 卖线: VAR2F, COLORWHITE; 买线: VAR2E,COLORRED; VAR13<0.06*(-10)+81.5,COLORWHITE; VAR30:0-SQRT(SQRT(FLOOR(SQRT(MA(1/WINNER(CLOSE)*100,4)/10000))))*5; STICKLINE(VAR30<-2,0,var30,1.5,1), ----------------------------------------------------------="" :="" lc:="REF(C,1);" f1:="ZIG(3,15);" f1="">REF(F1,1)),5,105),COLOR00FF00,LINETHICK2; DRAWTEXT(CROSS(抄底线,方向),抄底线,"逢低进场!") ,COLORRED; DRAWTEXT(CROSS(方向,抄底线),方向+20,"逢高出场!") ,COLORWHITE; -------------------------------------------------------------- 11、精准买卖 Q2:=(CLOSE-LLV(LOW, 18))/(HHV(HIGH, 18)-LLV(LOW, 18))*100; Q3:=SMA(Q2, 9, 1); Q4:=SMA(Q3, 3, 1); 长趋势:3*Q3-2*Q4,COLORWHITE,LINETHICK3; 趋势线:EMA(Q3, 3),COLORRED,LINETHICK3; DRAWTEXT(CROSS(趋势线, 长趋势) AND REF(长趋势,1)>80, REF(长趋势,3), "顶"),COLORRED,LINETHICK5; 逢低买: DRAWTEXT(REF(CROSS(趋势线,长趋势),82) AND 趋势线>1.3*长趋势,长趋势,"逢低买"),LINETHICK1; 买: DRAWTEXT(REF(CROSS(长趋势,趋势线),1) AND 长趋势>1.3*趋势线,趋势线,"买"),COLORRED,LINETHICK1; VAR3:=PEAKBARS(3,15,1)<10; var5:="IF(VAR3=1,2,0);" :="IF(VAR5=2,2,0);">REF(顶,1),50,0),COLORGREEN; DRAWTEXT(顶A=50,45,"快逃"),COLOR00FF00; 金叉: CROSS(长趋势,趋势线); DRAWTEXT(金叉,趋势线,""),COLORRED; V1:=EMA(CLOSE,60)-EMA(CLOSE,300); V2:=EMA(V1,300);{文章来源 } V3:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100; V4:SMA(V3,2,1); V5:SMA(V4,2,1); V6:=CLOSE/REF(CLOSE,3)>=1.1; V7:=BACKSET(V6,3); 买入:IF((V7 AND COUNT(V7,3)=1),30,0),COLORYELLOW,LINETHICK3; DRAWTEXT(买入,35,"买入 "),COLORYELLOW,LINETHICK3; ----------------------------------------------------- 12、VOL大资动向 ------------------------------------ 13、机构买卖 --------------------------------- 14、看图进出 --------------------------------- 15、分时抓涨 A1:=(VOL/CLOSE)/3; {A222:=IF(A1>0.29 AND CLOSE>REF(CLOSE,1),A1,0);} {A22:=SUM(A222,0);} A2:=SUM((IF(((A1>0.29) AND (CLOSE>(REF(CLOSE,1)))),A1,0)),0); A3:=SUM((IF(((A1>0.29) AND (CLOSE<(REF(CLOSE,1)))),A1,0)),0); A4:=SUM((IF(((A1<0.29) and="" close="">(REF(CLOSE,1)))),A1,0)),0); A5:=SUM((IF(((A1<0.29) AND (CLOSE<(REF(CLOSE,1)))),A1,0)),0); A6:=((A2+A3)+A4)+A5; A7:=IF((ISLASTBAR=1),((100*A2)/A6),0); A8:=((IF((ISLASTBAR=1),((100*A3)/A6),0))); A9:=((IF((ISLASTBAR=1),((100*A4)/A6),0))); A10:=((IF((ISLASTBAR=1),((100*A5)/A6),0))); 机构买盘:(A2),LINETHICK3,COLORFF55FF; 机构卖盘:(A3),LINETHICK3,COLORFFFF55; 散户买盘:(A4),COLOR5555FF; 散户卖盘:(A5),COLOR55FF55; DRAWTEXT(ISLASTBAR=1,机构买盘*0.9,"机构买盘"),LINETHICK2,COLORFF55FF; DRAWTEXT(ISLASTBAR=1,机构卖盘,"机构卖盘"),LINETHICK2,COLORFFFF55; DRAWTEXT(ISLASTBAR=1,散户买盘,"散户买盘"),LINETHICK2,COLOR5555FF; DRAWTEXT(ISLASTBAR=1,散户卖盘,"散户卖盘"),LINETHICK2,COLOR55FF55; VAR1:=(CLOSE-LLV(LOW,120))/(HHV(HIGH,120)-LLV(LOW,120))*100; VAR2:=SMA(VAR1,3,1); VAR3:=SMA(VAR2,3,1); VAR4:=SMA(VAR3,3,1); 波: VAR3; 段: VAR4; VAR6:=CROSS(VAR3,VAR4) AND VAR3<20; linethick3="" colorgreen="" var7:="CROSS(VAR4,VAR3)" and="" var3="">80; STICKLINE(FILTER(VAR7,5)=1,80,100,10,0),COLORYELLOW ; DRAWTEXT(FILTER(VAR7,5)=1,70,"逃顶"),LINETHICK3 ,COLORYELLOW; VAR8:=CROSS(VAR2,VAR3) AND VAR3>80 AND VAR3>VAR4; STICKLINE(VAR8,85,100,10,0) ; 90 ; 0; ------------------------------------------------- 15、主 四号黑马线 大盘:=EMA(INDEXC,500)/EMA(C,500); 大盘线:=INDEXC/大盘,LINETHICK1,COLORBLUE; 工作线:EMA(C,14),COLOR00FFFF,LINETHICK1; 一号线:EMA(CLOSE,144),POINTDOT,LINETHICK2,COLOR0000FF; 二号线:EMA(C,25),COLORWHITE,LINETHICK2; 三号线:EMA(C,318),COLOR0000FF,LINETHICK2; 四黑马线:EMA(C,453),CIRCLEDOT,LINETHICK1,COLOR428899; 五号线:EMA(C,550),COLORFFCC66; 六号线:EMA(C,610),LINETHICK2,COLORYELLOW; 七号线:EMA(C,730),COLORBLUE; 八号线:EMA(C,99),POINTDOT,LINETHICK2,COLORWHITE; DIFF:=( EMA(CLOSE,7) - EMA(CLOSE,19)),COLORWHITE; DEA:=EMA(DIFF,9),COLORF00FF0; MACD:=0.90*(DIFF-DEA),COLORSTICK; TJ:=(DIFF>=DEA); TJ1:=(DIFF>=0); {STICKLINE(TJ,H,L,0,0),COLORYELLOW;} STICKLINE(TJ,O,C,3,1),COLORYELLOW; STICKLINE(TJ1 AND TJ,H,L,0,0),COLORF00FF0; STICKLINE(TJ1 AND TJ,O,C,3,1),COLORF00FF0; STICKLINE(DIFF<DEA,H,L,0,0),COLORF0F000; STICKLINE(DIFF<DEA,O,C,3,0),COLORF0F000; VAR1:=(CLOSE*2+HIGH+LOW)/4; SK:=EMA(VAR1,13)-EMA(VAR1,73); SD:=EMA(SK,2); {DRAWTEXT((CROSS(SK,SD) AND SK<-0.04 and="">=0.03) OR (CROSS(SK,SD) AND SK<=-0.14 ) OR (CROSS(SK,SD) AND SK<=0.05 and="">2 OR C/REF(C,1)>0.035)),L*0.99,"低吸"),COLORRED;} {STICKLINE((CROSS(SK,SD) AND SK<-0.04 and="">=0.03) OR (CROSS(SK,SD) AND SK<=-0.14 ) OR (CROSS(SK,SD) AND SK<=0.05 and="">2 OR C/REF(C,1)>0.035)),H,L,0,0),COLORRED;} STICKLINE((CROSS(SK,SD) AND SK<-0.04 and="">=0.03) OR (CROSS(SK,SD) AND SK<=-0.14 ) OR (CROSS(SK,SD) AND SK<=0.05 and="">2 OR C/REF(C,1)>0.035)),O,C,3,0),LINETHICK3,COLORRED; SS:=CROSS(二号线,八号线) AND C>1.5 AND C>REF(C,1.5) AND C/REF(C,1.5)>=0.98 OR CROSS(二号线,三号线) AND C>1.5 AND C>REF(C,1.5) AND C/REF(C,1.5)>=0.98 OR CROSS(二号线,一号线) AND C>1.5 AND C>REF(C,1.5) AND C/REF(C,1.5)>=0.98{AND CROSS(二号线,三号线)}; DRAWICON(SS,L-0.04,1); DD:=CROSS(八号线,一号线) AND C>1.5 AND C>REF(C,1.5) AND C/REF(C,1.5)>=0.98 OR CROSS(八号线,四黑马线) AND C>1.5 AND C>REF(C,1.5) AND C/REF(C,1.5)>=0.98 OR CROSS(八号线,三号线) AND C>1.5 AND C>REF(C,1.5) AND C/REF(C,1.5)>=0.98 OR CROSS(八号线,三号线) AND C>1.5 AND C>REF(C,1.5) AND C/REF(C,1.5)>=0.98 AND CROSS(二号线,四黑马线); {DD:=CROSS(二号线,四黑马线)}; ------------------------------------------------- 16、主 明日提示 工作:EMA(CLOSE,5),COLORFFFFFF; 操盘:MA(CLOSE,9),COLORFFFF00; DRAWICON( FILTER(CROSS(工作,操盘),1),L*0.97,1); DRAWICON( FILTER(CROSS(操盘,工作),1),H*1.03,2); V2:=IF(CURRBARSCOUNT=1,VOL*240/FROMOPEN/REF(VOL,1)-1,VOL/REF(VOL,1)-1); STICKLINE(V2>=1,O,C,1,0),COLORYELLOW; LC:=REF(CLOSE,1); RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100); FF:=EMA(CLOSE,3); MA15:=EMA(CLOSE,21); DRAWTEXT(CROSS(FF,MA15),(LOW * 0.94),"底背离"),COLORYELLOW; AA:=(HHV(HIGH,20) - (2 * ATR)); BB:=CROSS(CLOSE,REF(HHV(HIGH,55),1)); SSS:=CROSS(MIN(MA(CLOSE,13),AA),CLOSE); BBB:=BARSLAST(BB); SSSB:=BARSLAST(SSS); B1:=((BBB = 0) AND (REF(SSSB,1) < REF(BBB,1))); B1B:=BARSLAST(B1); B2:=((((BB = 1) AND (B1B < SSSB)) AND (B1B > 0)) AND (COUNT(BB,SSSB) < 3)); B2B:=BARSLAST(B2); B3:=((((BB = 1) AND (B2B < B1B)) AND (COUNT(BB,SSSB) < 4)) AND (COUNT(BB,SSSB) > 2)); K:=(C+H+L)/3; D:=MA(K,4); 拉升:HHV(D,13),COLORRED,LINETHICK2; 阻力:HHV(D,55),COLORRED; 买卖:LLV(D,8),COLORYELLOW,LINETHICK2; 顶部:HHV(H*0.98,55),COLORYELLOW; DRAWTEXT(REF(C,1)>D AND CREF(D,1),H*1.02, "←卖出"); DRAWTEXT(REF(C,1)D AND D][REF(控盘,1) AND 控盘>0; SS:=有庄控盘 AND CROSS(均线1,均线2) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 OR CROSS(均线1,均线4) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 OR CROSS(均线2,均线3) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 OR CROSS(均线1,均线3) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 AND CROSS(均线1,均线4); DRAWICON(SS,L-0.04,26); DRAWTEXT(CROSS(追涨,神马),L*0.99,"↖买进"),COLORRED; DRAWTEXT(CROSS(神牛,大行情),L*0.98,"↖加仓"),COLORF00FF0; 大牛:追涨>大行情 AND 神马>大行情 AND 神牛>大行情,COLORF00FF0,NODRAW; {1.当追涨线穿越神马线时买进。 2.如神牛线穿越大行情线加仓。 3.当追涨线,神马线,神牛线三线都在大行情线之上,则显示大牛]
3.跌破支撑减仓或清仓 };
------------------------------------------------------- 18、