金融帝国波段VAR1:=SMA(MAX(CLOSE-REF(CLOSE,1),0),34,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*100;VAR2:=SMA(MAX(CLOSE-REF(CLOSE,1),0),13,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),13,1)*100;VAR3:=BARSCOUNT(CLOSE);VAR4:=VAR120ANDVAR223ANDVAR335;VAR5:=VAR4ANDCOUNT(VAR4,1)=1;VAR6:=EMA(CLOSE,21)-EMA(CLOSE,8);VAR7:=EMA(VAR6,5);VAR8:=TROUGHBARS(3,6,1)4ANDCROSS(VAR6,VAR7);VAR9:=(HIGH+LOW+CLOSE)/3;VAR10:=IF(TROUGHBARS(3,16,1)=0ANDHIGHLOW+0.04,4,0);VAR11:=(VAR9-MA(VAR9,14))/(0.015*AVEDEV(VAR9,14));见底:VAR10,COLORYELLOW,LINETHICK3;DRAWTEXT(VAR11-110AND见底0,3,'见底'),,COLORYELLOW;DRAWTEXT(见底ANDVAR11-100ANDVAR8ANDVAR50,4.1,'★组合5分钟线选股思路获利5%以上'),,COLORRED;DRAWICON(见底0,4,1);XX:=EMA(CLOSE,30)-EMA(CLOSE,17);AA:=EMA(XX,5);YY:=EMA(XX,13);短:=TROUGHBARS(3,10,1)1ANDCROSS(XX,AA);DRAWICON(短0,1.8,18);DRAWTEXT(短0,1.8,'慧眼'),COLORWHITE;枪:=TROUGHBARS(3,5,1)1ANDXXYY;短1:=IF(枪0,0.4,0),STICK,COLORF0F000,LINETHICK4;DRAWICON(短10,1.4,1);DRAWTEXT(短10,1.1,'套利'),COLORLIBLUE;短2:=CROSS(XX,AA)ANDTROUGHBARS(3,7,1)1;DRAWICON(短20,1.4,1);DRAWTEXT(短2,2.5,'小牛'),COLORWHITE;狙击:短OR短1OR短2,COLORWHITE,LINETHICK9;VAR12:=PEAKBARS(3,15,1)10;VAR13:=IF(VAR12=1,2,0);顶:=IF(VAR13=2,2,0);逃命:IF(顶REF(顶,1),3,0),COLORRED,LINETHICK2;DRAWTEXT(逃命=3,3,'逃!'),COLORRED;RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*5;FASTK:=SMA(RSV,3,1);金:SMA(FASTK,3,1),COLORLIGREEN,COLORYELLOW;阴阳:SMA(金,5,1),COLORLICYAN,COLORMAGENTA;VAR14:=TROUGHBARS(3,15,1)10;VAR15:=IF(VAR14=1,50,0);底部:=IF(VAR15=50,10,0);机构介入:底部/20,LINETHICK2,COLORBLUE;VAR16:=EMA(EMA(CLOSE,13),13);控盘:=(VAR16-REF(VAR16,1))/REF(VAR16,1)*1000,COLORFFCCCC,POINTDOT;无庄控盘:控盘0,LINESTICK;有庄控盘:控盘REF(控盘,1)AND控盘0,LINETHICK3;VAR17:=100*WINNER(CLOSE*0.95);主力出货:控盘REF(控盘,1)AND控盘0,COLORGREEN;高度控盘:VAR1750ANDCOST(85)CLOSEAND控盘0,COLORLIMAGENTA;我是《五线开花》的读者,绞尽脑汁,苦思冥想,按照最为严格的条件,编写了这个公式,和天下股友分享!一、说明:我编写的这个“四线粘合,一线金叉”选股公式,设了三个参数,方便股友在使用分周期和按自己的喜好是调节,其中参数:N:是60、90、120、250四条线的粘合度,我默认为3%;M:是60、90、120、250四条线粘合持续了多少个周期,我默认为20个周期;P:是指30线金叉四条线发生在多少个周期只内,我默认为10个周期。这三个参数都可以自己在使用时根据自己的需要进行调节。二、公式代码:A1:=MA(C,30);A2:=MA(C,60);A3:=MA(C,90);A4:=MA(C,120);A5:=MA(C,250);B1:=MAX(A5,MAX(A4,MAX(A3,A2)));B2:=MIN(A5,MIN(A4,MIN(A3,A2)));XG:EVERY(ABS((B1/B2-1)*100)=N,M)ANDEXIST(CROSS(A1,B1),P)ANDA1=B1;N:01003M:130020P:130010