NC:=5;
VAR1AA:=4*MA((CLOSE-LLV(LOW,NC))/(HHV(HIGH,NC)-LLV(LOW,NC))*100,5)-
3*MA(MA((CLOSE-LLV(LOW,NC))/(HHV(HIGH,NC)-LLV(LOW,NC))*100,5),3.2),COLORYELLOW,LINETHICK0;
VAR2AA:=8,COLORGREEN,LINETHICK0;
V3AA:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
操盘线:=MA(V3AA,2);
V5AA:=MA(操盘线,2);
天下:IF(COUNT((操盘线>REF(操盘线,1) AND REF(操盘线,1)
DRAWICON(天下>0,0,1),NODRAW;
{DRAWTEXT(ISLASTBAR ,0, '天下');}
LC:=REF(CLOSE,1);
rsi:=MA(MAX(CLOSE-LC,0),4.1)/MA(Abs(CLOSE-LC),4.1)*100;
蛮准:IF(EXIST(CROSS(RSI,11)*80,5),1,0),COLORRED,NODRAW;
DRAWICON(蛮准>0,1,1),NODRAW;
{DRAWTEXT(ISLASTBAR ,1, '蛮准');}
VAR1A1:=3;
VAR2A1:=3*MA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5)-2*MA(MA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5),3);
启动:IF(EXIST(CROSS(VAR2A1,VAR1A1),5),1,0),NODRAW;
DRAWICON(启动>0,2,1),NODRAW;
{DRAWTEXT(ISLASTBAR ,2, '启动');}
AA:=REF(H,1)
BB:=L>REF(H*0.75,1);
CC:=AA AND BB ;
波段:IF(COUNT(FILTER((CC=1 ),13) AND "macd.MacD">REF("MACD.MACD",2),5),1,0),COLORGREEN,NODRAW;
DRAWICON(波段>0,3,1),NODRAW;
{DRAWTEXT(ISLASTBAR ,3, '波段');}
VAR1X:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;
VAR2X:=MA(VAR1X,3);
VAR3X:=MA(VAR2X,3);
VAR4X:=MA(VAR3X,3);
VAR5X:=CROSS(VAR3X,VAR4X) AND VAR3X<20;
VARX6:=CROSS(VAR4X,VAR3X) AND VAR3X>80;
长线1:IF(COUNT(FILTER(VAR5X,10)=1,5),1,0),NODRAW;
DRAWICON(长线1>0,4,1),NODRAW;
{DRAWTEXT(ISLASTBAR ,4, '长线');}
NB:=3;
VAR01:=MA(HHV(HIGH,485),17);
VAR02:=MA(HHV(HIGH,222),17);
VAR03:=MA(HHV(HIGH,96),17);
VAR04:=MA(LLV(LOW,485),17);
VAR05:=MA(LLV(LOW,222),17);
VAR06:=MA(LLV(LOW,96),17);
VAR07:=MA((VAR04*0.96+VAR05*0.96+VAR06*0.96+VAR01*0.558+VAR02*0.558+VAR03*0.558)/6,17);
VAR08:=MA((VAR04*1.25+VAR05*1.23+VAR06*1.2+VAR01*0.55+VAR02*0.55+VAR03*0.65)/6,17);
VAR09:=MA((VAR04*1.3+VAR05*1.3+VAR06*1.3+VAR01*0.68+VAR02*0.68+VAR03*0.68)/6,17);
VAR10:=MA((VAR07*3+VAR08*2+VAR09)/6*1.738,17);
VAR11:=IF(DATE<=1050531,VAR10,VAR10*DAY);
VAR12:=LOW;
VAR13:=REF(LOW,1);
VAR14:=MA(ABS(VAR12-VAR13),3)/MA(MAX(VAR12-VAR13,0),NB)*100;
VAR15:=MA(IF(CLOSE*1.35<=VAR11,VAR14*10,VAR14/10),NB);
VAR16:=LLV(LOW,30);
VAR17:=HHV(VAR15,30);
VAR18:=1990831;
VAR19:=IF(DATE<=VAR18,MA(IF(LOW<=VAR16,(VAR15+VAR17*2)/2,0),NB),100000000);
VAR20:=(HHV(H,9.8)-C)/(HHV(H,9.8)-LLV(L,9.8))*100;
VAR21:=MA(VAR20,3);
VAR22:=MA(VAR21,3);
VAR23:=3*VAR21-2*VAR22;
VAR24:=IF(VAR23>=100,100,IF(VAR23<=0,0,VAR23));
VAR25:=(CLOSE-MA(CLOSE,60))/MA(CLOSE,60)*100;
VAR26:=100+(-ABS(VAR25));
VAR27:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
VAR28:=MA(MA(VAR27,9),9)/7.77777;
VAR29:=MA(VAR28,5);
VAR30:=3*VAR28-2*VAR29;
VAR31:=CROSS(VAR30,VAR28) AND VAR28<2.7 AND C>O;
VAR32:=(CLOSE-LLV(LOW,17))/(HHV(HIGH,17)-LLV(LOW,17))*100;
VAR33:=(CLOSE-LLV(LOW,50))/(HHV(HIGH,50)-LLV(LOW,50))*100;
VAR34:=MA(MA(VAR32,3),3)+3*STD(CLOSE,10);
VAR35:=MA(VAR33,3);
抄底:IF(COUNT((CROSS(VAR34,VAR35) AND VAR35<18 AND VAR35>REF(VAR35,1)OR CROSS(VAR35,5)),5),1,0),COLORBLUE,NODRAW;
DRAWICON(抄底>0,5,1),NODRAW;
{DRAWTEXT(ISLASTBAR ,5, '抄底');}
你:=MA(CLOSE,1);
老:=(LOW+HIGH+CLOSE)/3;
板:= MA(老,5);
买卖:=LLV(板,10);
奇准:IF(COUNT(LLV((你<买卖),5),5),1,0),COLORRED,NODRAW;
DRAWICON(奇准>0,6,1),NODRAW;
{DRAWTEXT(ISLASTBAR ,6, '奇准');}
短线进出:=3*MA((C-LLV(L,13))/(HHV(H,13)-LLV(L,13))*100,5)-2*MA(MA((C-LLV(L,13))/(HHV(H,13)-LLV(L,13))*100,5),3);
VAR555:=10;
低吸:IF(COUNT(CROSS(短线进出,VAR555),5),1,0),NODRAW;
DRAWICON(低吸>0,7,1),NODRAW;
{DRAWTEXT(ISLASTBAR ,7, '低吸');}
金指63:IF(COUNT((((REF(CLOSE,13)-CLOSE)/(REF(CLOSE,13)))*(100)>15) AND
((SUM((vol)/(CAPITAL),13))*(100)<18) AND (((VOL)/(CAPITAL))*(100)<2.5)
AND (((REF(CLOSE,1)-CLOSE)/(REF(CLOSE,1)))*(100)<8),5),1,0),COLORFFCC66,NODRAW;
DRAWICON(金指63>0,8,1),NODRAW;
{DRAWTEXT(ISLASTBAR ,8, '金指63');}
AAH:=LLV(LOW,34);
BBH:=HHV(HIGH,30);
DDH:=(MA(((CLOSE-AAH)/(BBH-AAH))*(4),4))*(25);
杀入:=(((DDH-LLV(DDH,21))/(HHV(DDH,21)-LLV(DDH,21)))*(4))*(25);
绝谷:IF(COUNT(CROSS(杀入,90) AND (DDH<40),5),1,0),COLORFFFF00,NODRAW;
DRAWICON(绝谷>0,9,1),NODRAW;
{DRAWTEXT(ISLASTBAR ,9, '绝谷');}
bias3:=MA((CLOSE-MA(CLOSE,27))/MA(CLOSE,27),3)*100,COLORFF00FF,LINETHICK2;
抄底1:IF(COUNT(BIAS3<0,8)>=8 AND COUNT(BIAS3>0,34)>13 AND COUNT(BIAS3<0,55)>30,1,0),LINETHICK3,NODRAW;
DRAWICON(抄底1>0,10,1),NODRAW;
{DRAWTEXT(ISLASTBAR ,10, '抄底1');}
DIFFY:=MA(CLOSE,12) - MA(CLOSE,26); {选股设JC=10即可}
DEAY:=MA(DIFFY,9);
MACDY:=2*(DIFFY-DEAY),COLORSTICK;
AY:=IF(CROSS(0,DEAY),1,0);
A1Y:=IF(DIFFY<0 AND CROSS(DIFFY,DEAY),1,0);
SSY:=IF(AY,SUM(A1Y,0),0);
SSBY:=HHV(SSY,0);
SSSY:=SUM(A1Y,0);
江湖:IF(COUNT(SSSY-SSBY=2 AND SSSY>REF(SSSY,1),5),1,0),COLORFFFF00,NODRAW;
DRAWICON(江湖>0,11,1),NODRAW;
{DRAWTEXT(ISLASTBAR ,11, '江湖');}
买得好:(天下+蛮准+启动+波段+长线1+抄底+奇准+低吸+金指63+绝谷+抄底1+江湖),LINETHICK2,COLORRED;
5.5,LINETHICK2,COLORYELLOW;
3.5,COLORBLUE;