1、MACD/自設(shè)
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<REF(MACD,1)AND MACD>0,0,MACD,0.5,0),COLORFF99AA; STICKLINE(MACD<REF(MACD,1)AND MACD<0,0,MACD,0.5,0),COLORBLUE; STICKLINE(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<REF(DEA9,1),DEA9,DRAWNULL),COLORGREEN,LINETHICK2; ------------------------------------------------------------------------------------------- 2、KDJ/籌碼趨勢(shì)
VAR1:=1;
VAR3:=MA(CLOSE,13); VAR4:=100-ABS((CLOSE-VAR3)/VAR3*100); VAR5:=LLV(LOW,75); VAR6:=HHV(HIGH,75); VAR7:=(VAR6-VAR5)/100; VAR8:=SMA((CLOSE-VAR5)/VAR7,20,1); VAR9:=SMA((OPEN-VAR5)/VAR7,20,1); VARA:=3*VAR8-2*SMA(VAR8,15,1); VARB:=3*VAR9-2*SMA(VAR9,15,1); VARC:=100-VARB; 主力趨勢(shì): (100-VARA)*VAR1,COLOR0099FF; VARD:=主力趨勢(shì)>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,主力趨勢(shì),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); AA:STICKLINE(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; DRAWICON(CROSS(9.9,買),VVAR4-12,17); STICKLINE(CROSS(9.9,買),VVAR4+5,MA1-4,6,1),COLORLIBLUE; DRAWICON(CROSS(9.9,買),VVAR4-12,17); XXX:STICKLINE(VVAR4>MA1 AND REF(VVAR4,1)<30,VVAR4+5,MA1-4,6,1),COLORLIRED; -------------------------------------------------------------------------------------------------- 3、T+0
-------------------------------------
4、大道至簡(jiǎn)
------------------------------
5、共振買點(diǎn)
-----------------------------
6、KDJ/日周月
----------------------------
7、短線逃頂
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; 趨勢(shì): IF(VAR6>45,VAR6-45,0); STICKLINE(REF(趨勢(shì),1)< 趨勢(shì), 趨勢(shì),REF(趨勢(shì),1),2,0),COLORMAGENTA; STICKLINE(REF(趨勢(shì),1)> 趨勢(shì), 趨勢(shì),REF(趨勢(shì),1),2,0),COLORGREEN; 強(qiáng)弱分界:50,COLORFFFFCC; 底部:0,COLOR00FFFF; 安全:20,COLORFFAA66,LINETHICK1; 預(yù)警:80,COLORFFAA66,LINETHICK1; 頂部:100,COLORFFFF33; V1:=LLV(LOW,10); V2:=HHV(H,25); 價(jià)位線:=EMA((C-V1)/(V2-V1)*4,4); DRAWTEXT(CROSS(價(jià)位線,0.3),20+4,'●買'),COLORRED; DRAWTEXT(CROSS(3.5,價(jià)位線),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)/2,0),3)/618*VAR7Q; 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); 走勢(shì):=CEILING(SMA(AA5,13,8)); AA6:=SMA(AA3,21,8); 賣臨界:STICKLINE(走勢(shì)-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)); 股價(jià)準(zhǔn)備啟動(dòng):IF(CROSS(VAR21,VAR11),100,0),COLORRED,LINETHICK2; ---------------------------------------------------------- 8、30分時(shí)
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 CROSS(MA(CLOSE,3),MA(CLOSE,5)),20,0); STICKLINE((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),1)) AND (REF(ZIG(3,5),1)>=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<REF(VAR111,1),0,40); 分界線:0,COLORWHITE; {RSV賦值:((M日內(nèi)最高價(jià)的最高值-收盤價(jià))/(M日內(nèi)最高價(jià)的最高值-M日內(nèi)最低價(jià)的最低值)*200)-125 輸出 空方主力:RSV的A日[1日權(quán)重]移動(dòng)平均 RSV1賦值:((收盤價(jià)-M日內(nèi)最低價(jià)的最低值)/(M日內(nèi)最高價(jià)的最高值-M日內(nèi)最低價(jià)的最低值)*200)-105 輸出 多方主力:RSV1的A日[1日權(quán)重]移動(dòng)平均 WD賦值:空方主力上穿-85 WD1賦值:空方主力上穿多方主力 VAR1賦值:收盤價(jià)13%的之字轉(zhuǎn)向 輸出 備錢買: 如果2日前的VAR1>昨日VAR1ANDVAR1>昨日VAR1,返回0,否則返回-70,畫紅色 輸出 獲利賣: 如果2日前的VAR1<昨日VAR1ANDVAR1<昨日VAR1,返回0,否則返回40 輸出 分界線:0,CIRCLEDOT,畫白色} ; 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); 走勢(shì):=CEILING(SMA(AA5,13,8)); AA6:=SMA(AA3,21,8); 賣臨界:STICKLINE(走勢(shì)-AA6>85,85,80,15,1),COLORRED,LINETHICK2; ---------------------------------------------- 9、機(jī)構(gòu)洗盤
VAR1:=1;
趨勢(shì)線: ((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.236<MA(CLOSE,60); VAR8:=CLOSE/REF(CLOSE,1)>1.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(VAR13,1) AND NOT(REF(LOW,1)>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); 牛: IF(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 VAR4*VAR1B>=1 AND CLOSE<18.5,76,0), COLORMAGENTA; 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)<VAR22,95,0); VAR25:=CLOSE/MA(CLOSE,3)>=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)<HHV(LOW,41)*71/100; VAR2D:=HIGH>LOW*1.033; 漲勢(shì)確立: VAR1*(VAR2C>0 AND VAR2D*16+81.5)*VAR1,COLOR80FFFF ; 買入: IF(CROSS(趨勢(shì)線,21),50,18.5); 賣出: IF(CROSS(87,趨勢(shì)線),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), COLORYELLOW; ---------------------------------------------------------- 10、主力走向
主力資金:EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3), COLORRED,LINETHICK2;
即將爆發(fā)線: 65,COLOR00FF00; 爆發(fā)線:80,COLORWHITE,LINETHICK1; DRAWTEXT(CROSS(主力資金,爆發(fā)線),主力資金,'★爆發(fā)!') ,COLORYELLOW; 爆發(fā)警戒線: 50,COLOR00FF00; 抄底線:20,COLORWHITE,LINETHICK2; DRAWTEXT(CROSS(主力資金,抄底線),主力資金,'★抄底') ,COLORWHITE;
DRAWTEXT(CROSS(主力資金,爆發(fā)警戒線),主力資金,'★加倉(cāng)') ,COLORWHITE; DRAWTEXT(CROSS(主力資金,即將爆發(fā)線),主力資金,'★加倉(cāng)') ,COLORWHITE; DRAWTEXT(CROSS(爆發(fā)線,主力資金),爆發(fā)線,'★空倉(cāng)') ,COLORWHITE; LC:= REF(C,1); F1:=ZIG(3,15); 方向:IF((F1> REF(F1,1)),5,105),COLOR00FF00,LINETHICK2; DRAWTEXT(CROSS(抄底線,方向),抄底線,'★逢低進(jìn)場(chǎng)!') ,COLORRED; DRAWTEXT(CROSS(方向,抄底線),方向+20,'★逢高出場(chǎng)!') ,COLORWHITE; --------------------------------------------------------------
11、精準(zhǔn)買賣
Q2:=(CLOSE-LLV(LOW, 18))/(HHV(HIGH, 18)-LLV(LOW, 18))*100;
Q3:=SMA(Q2, 9, 1); Q4:=SMA(Q3, 3, 1); 長(zhǎng)趨勢(shì):3*Q3-2*Q4,COLORWHITE,LINETHICK3; 趨勢(shì)線:EMA(Q3, 3),COLORRED,LINETHICK3; DRAWTEXT(CROSS(趨勢(shì)線, 長(zhǎng)趨勢(shì)) AND REF(長(zhǎng)趨勢(shì),1)>80, REF(長(zhǎng)趨勢(shì),3), '頂'),COLORRED,LINETHICK5; 逢低買: DRAWTEXT(REF(CROSS(趨勢(shì)線,長(zhǎng)趨勢(shì)),82) AND 趨勢(shì)線>1.3*長(zhǎng)趨勢(shì),長(zhǎng)趨勢(shì),'逢低買'),LINETHICK1; 買: DRAWTEXT(REF(CROSS(長(zhǎng)趨勢(shì),趨勢(shì)線),1) AND 長(zhǎng)趨勢(shì)>1.3*趨勢(shì)線,趨勢(shì)線,'買'),COLORRED,LINETHICK1; VAR3:=PEAKBARS(3,15,1)<10; VAR5:=IF(VAR3=1,2,0); 頂:= IF(VAR5=2,2,0); 頂A:IF(頂>REF(頂,1),50,0),COLORGREEN; DRAWTEXT(頂A=50,45,'快逃'),COLOR00FF00; 金叉: CROSS(長(zhǎng)趨勢(shì),趨勢(shì)線); DRAWTEXT(金叉,趨勢(shì)線,'★'),COLORRED; V1:=EMA(CLOSE,60)-EMA(CLOSE,300); V2:=EMA(V1,300);{文章來(lái)源 WWW.028588.COM} 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大資動(dòng)向
------------------------------------
13、機(jī)構(gòu)買賣
---------------------------------
14、看圖進(jìn)出
---------------------------------
15、分時(shí)抓漲
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))); 機(jī)構(gòu)買盤:(A2),LINETHICK3,COLORFF55FF; 機(jī)構(gòu)賣盤:(A3),LINETHICK3,COLORFFFF55; 散戶買盤:(A4),COLOR5555FF; 散戶賣盤:(A5),COLOR55FF55; DRAWTEXT(ISLASTBAR=1,機(jī)構(gòu)買盤*0.9,'機(jī)構(gòu)買盤'),LINETHICK2,COLORFF55FF; DRAWTEXT(ISLASTBAR=1,機(jī)構(gòu)賣盤,'機(jī)構(gòu)賣盤'),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; DRAWTEXT(FILTER(VAR6,10)=1,40,'抄底'),LINETHICK3 ; STICKLINE(FILTER(VAR6,10)=1,0,30,10,0),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、主 四號(hào)黑馬線
大盤:=EMA(INDEXC,500)/EMA(C,500);
大盤線:=INDEXC/大盤,LINETHICK1,COLORBLUE; 工作線:EMA(C,14),COLOR00FFFF,LINETHICK1; 一號(hào)線:EMA(CLOSE,144),POINTDOT,LINETHICK2,COLOR0000FF; 二號(hào)線:EMA(C,25),COLORWHITE,LINETHICK2; 三號(hào)線:EMA(C,318),COLOR0000FF,LINETHICK2; 四黑馬線:EMA(C,453),CIRCLEDOT,LINETHICK1,COLOR428899; 五號(hào)線:EMA(C,550),COLORFFCC66; 六號(hào)線:EMA(C,610),LINETHICK2,COLORYELLOW; 七號(hào)線:EMA(C,730),COLORBLUE; 八號(hào)線: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 (C-REF(C,1))/REF(C,1)>=0.03) OR (CROSS(SK,SD) AND SK<=-0.14 ) OR (CROSS(SK,SD) AND SK<=0.05 AND (V/MA(V,5)>2 OR C/REF(C,1)>0.035)),L*0.99,\'低吸\'),COLORRED;} {STICKLINE((CROSS(SK,SD) AND SK<-0.04 AND (C-REF(C,1))/REF(C,1)>=0.03) OR (CROSS(SK,SD) AND SK<=-0.14 ) OR (CROSS(SK,SD) AND SK<=0.05 AND (V/MA(V,5)>2 OR C/REF(C,1)>0.035)),H,L,0,0),COLORRED;} STICKLINE((CROSS(SK,SD) AND SK<-0.04 AND (C-REF(C,1))/REF(C,1)>=0.03) OR (CROSS(SK,SD) AND SK<=-0.14 ) OR (CROSS(SK,SD) AND SK<=0.05 AND (V/MA(V,5)>2 OR C/REF(C,1)>0.035)),O,C,3,0),LINETHICK3,COLORRED; SS:=CROSS(二號(hào)線,八號(hào)線) AND C>1.5 AND C>REF(C,1.5) AND C/REF(C,1.5)>=0.98 OR CROSS(二號(hào)線,三號(hào)線) AND C>1.5 AND C>REF(C,1.5) AND C/REF(C,1.5)>=0.98 OR CROSS(二號(hào)線,一號(hào)線) AND C>1.5 AND C>REF(C,1.5) AND C/REF(C,1.5)>=0.98{AND CROSS(二號(hào)線,三號(hào)線)}; DRAWICON(SS,L-0.04,1); DD:=CROSS(八號(hào)線,一號(hào)線) AND C>1.5 AND C>REF(C,1.5) AND C/REF(C,1.5)>=0.98 OR CROSS(八號(hào)線,四黑馬線) AND C>1.5 AND C>REF(C,1.5) AND C/REF(C,1.5)>=0.98 OR CROSS(八號(hào)線,三號(hào)線) AND C>1.5 AND C>REF(C,1.5) AND C/REF(C,1.5)>=0.98 OR CROSS(八號(hào)線,三號(hào)線) AND C>1.5 AND C>REF(C,1.5) AND C/REF(C,1.5)>=0.98 AND CROSS(二號(hào)線,四黑馬線); {DD:=CROSS(二號(hào)線,四黑馬線)}; ------------------------------------------------- 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 C<D AND D>REF(D,1),H*1.02, '←賣出'); DRAWTEXT(REF(C,1)<D AND C>D AND D<REF(D,1),L*0.98, '←次日買'),COLORWHITE; ------------------------------------------------------ 17、主 抓大牛
均線1:=EMA(C,3);
均線2:=EMA(C,5); 均線3:=EMA(C,7); 均線4:=EMA(C,12); 均線5:=EMA(C,20); 均線6:EMA(C,50),COLORBLUE; 年線:=EMA(C,250); 追漲:EMA(C,3); 大行情:(年線-(追漲-年線)),NODRAW; 壓力:MA(LLV(C,9)*1.1,14),COLORBROWN; 支撐:MA(HHV(C,26)*0.9,14); 多空:=(壓力+支撐)/2; 神馬:(壓力+支撐)/2,COLORRED; 神牛:MA(LLV(C,9)*1.1,14),COLOR0099FF; VAR1:=EMA(EMA(CLOSE,13),13); 控盤:= (VAR1-REF(VAR1,1))/REF(VAR1,1)*1000; 有莊控盤:=控盤>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,'↖買進(jìn)'),COLORRED; DRAWTEXT(CROSS(神牛,大行情),L*0.98,'↖加倉(cāng)'),COLORF00FF0; 大牛:追漲>大行情 AND 神馬>大行情 AND 神牛>大行情,COLORF00FF0,NODRAW; {1.當(dāng)追漲線穿越神馬線時(shí)買進(jìn)。 2.如神牛線穿越大行情線加倉(cāng)。 3.當(dāng)追漲線,神馬線,神牛線三線都在大行情線之上,則顯示大牛 3.跌破支撐減倉(cāng)或清倉(cāng) }; ------------------------------------------------------- 18、
|
|
來(lái)自: 修遠(yuǎn)自疏 > 《我的圖書館》