N1:=0;
T:=150;
TT:=3;
MAA5:MA(C,5),COLORMAGENTA,LINETHICK2;
量化预测1:=MA(C,10);
MAA30:MA(C,30),COLORRED;
量化:IF(量化预测1>MAA30,量化预测1,MAA30),COLOR999900;
量化预测2:=(C-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
量化预测3:=SMA(量化预测2,3,1);
量化预测4:=SMA(量化预测3,3,1);
量化预测5:=3*量化预测3-2*量化预测4;
量化预测6:=C-REF(C,1);
量化预测7:=100*EMA(EMA(量化预测6,6),6)/EMA(EMA(ABS(量化预测6),6),6);
量化预测8:=LLV(量化预测7,2)=LLV(量化预测7,7) AND COUNT(量化预测7< 0,2) AND CROSS(量化预测7,MA(量化预测7,2));
抄底:=FILTER(量化预测8=1,5);
DRAWTEXT(FILTER(量化预测8=1,5),LOW*0.98,'异动'),COLORYELLOW;
STICKLINE(量化预测8,OPEN,C,2,0),COLORYELLOW;
量化预测9:=C>REF(C,1) AND C>REF(C,2);
量化预测10:=REF(量化预测9,1) AND C<=REF(C,1) AND C>=REF(C,2);
量化预测11:=REF(量化预测10,1) AND C>=REF(C,1) AND C<=REF(C,2);
量化预测12:=REF(量化预测11,1) AND C<=REF(C,1) AND C>=REF(C,2);
量化预测13:=REF(量化预测12,1) AND C>=REF(C,1) AND C<=REF(C,2);
量化预测14:=REF(量化预测13,1) AND C<=REF(C,1) AND C>=REF(C,2);
量化预测15:=REF(量化预测14,1) AND C>=REF(C,1) AND C<=REF(C,2);
量化预测16:=REF(量化预测15,1) AND C<=REF(C,1) AND C>=REF(C,2);
量化预测17:=REF(量化预测16,1) AND C>=REF(C,1) AND C<=REF(C,2);
量化预测18:=REF(量化预测17,1) AND C<=REF(C,1) AND C>=REF(C,2);
量化预测19:=REF(量化预测18,1) AND C>=REF(C,1) AND C<=REF(C,2);
量化预测20:=REF(量化预测19,1) AND C<=REF(C,1) AND C>=REF(C,2);
STICKLINE(量化预测9 OR 量化预测10 OR 量化预测11 OR 量化预测12 OR 量化预测13 OR 量化预测14 OR 量化预测15 OR 量化预测16 OR 量化预测17 OR 量化预测18 OR 量化预测19 OR 量化预测20,C,OPEN,3,0),COLORRED;
量化预测21:=C< REF(C,1) AND C< REF(C,2);
量化预测22:=REF(量化预测21,1) AND C>=REF(C,1) AND C<=REF(C,2);
量化预测23:=REF(量化预测22,1) AND C<=REF(C,1) AND C>=REF(C,2);
量化预测24:=REF(量化预测23,1) AND C>=REF(C,1) AND C<=REF(C,2);
量化预测25:=REF(量化预测24,1) AND C<=REF(C,1) AND C>=REF(C,2);
量化预测26:=REF(量化预测25,1) AND C>=REF(C,1) AND C<=REF(C,2);
量化预测27:=REF(量化预测26,1) AND C<=REF(C,1) AND C>=REF(C,2);
量化预测28:=REF(量化预测27,1) AND C>=REF(C,1) AND C<=REF(C,2);
量化预测29:=REF(量化预测28,1) AND C<=REF(C,1) AND C>=REF(C,2);
量化预测30:=REF(量化预测29,1) AND C>=REF(C,1) AND C<=REF(C,2);
量化预测31:=REF(量化预测30,1) AND C<=REF(C,1) AND C>=REF(C,2);
量化预测32:=REF(量化预测31,1) AND C>=REF(C,1) AND C<=REF(C,2);
STICKLINE(量化预测21 OR 量化预测22 OR 量化预测23 OR 量化预测24 OR 量化预测25 OR 量化预测26 OR 量化预测27 OR 量化预测28 OR 量化预测29 OR 量化预测30 OR 量化预测31 OR 量化预测32,C,OPEN,3,0),COLORFFCC66;
量化预测33:=REF(量化预测21 OR 量化预测22 OR 量化预测23 OR 量化预测24 OR 量化预测25 OR 量化预测26 OR 量化预测27 OR 量化预测28 OR 量化预测29 OR 量化预测30 OR 量化预测31 OR 量化预测32,1) AND 量化预测9;
STICKLINE(量化预测33,C,OPEN,2,0),COLORYELLOW;
DRAWICON(量化预测33,L,1);
量化预测34:=REF(量化预测9 OR 量化预测10 OR 量化预测11 OR 量化预测12 OR 量化预测13 OR 量化预测14 OR 量化预测15 OR 量化预测16 OR 量化预测17 OR 量化预测18 OR 量化预测19 OR 量化预测20,1) AND 量化预测21;
PMA:MA(C,5),COLORWHITE,LINETHICK2;
IF(PMA>REF(PMA,1),PMA,DRAWNULL),COLORRED,LINETHICK2;
IF(PMA< REF(PMA,1),PMA,DRAWNULL),COLORGREEN,LINETHICK2;
量化预测35:=VOL*(OPEN+C)/2;
MAA:MA(C,N1),COLORGREEN;
量化预测36:=REF(HHV(HIGH,T),TT);
量化预测37:=REF(LLV(LOW,T),TT);
量化预测38:=量化预测36-(量化预测36-量化预测37)*0.191;
量化预测39:=量化预测36-(量化预测36-量化预测37)*0.382;
量化预测40:=量化预测36-(量化预测36-量化预测37)*0.5;
量化预测41:=量化预测36-(量化预测36-量化预测37)*0.618;
量化预测42:=量化预测36-(量化预测36-量化预测37)*0.809;
顶:REFDATE(量化预测36,DATE),COLORCYAN;
一:REFDATE(量化预测38,DATE),DOTLINE,COLORYELLOW;
二:REFDATE(量化预测39,DATE),DOTLINE,COLORMAGENTA;
三:REFDATE(量化预测40,DATE),COLORYELLOW;
四:REFDATE(量化预测41,DATE),DOTLINE,COLORMAGENTA;
五:REFDATE(量化预测42,DATE),DOTLINE,COLORYELLOW;
低:REFDATE(量化预测37,DATE),COLORGREEN;
量化预测43:=CURRBARSCOUNT=3;
量化预测44:=CURRBARSCOUNT=1;
DRAWNUMBER(量化预测43 AND 顶,顶,顶),COLOR999900;
DRAWNUMBER(量化预测43 AND 一,一,一),COLOR999999;
DRAWNUMBER(量化预测43 AND 二,二,二),COLOR999999;
DRAWNUMBER(量化预测43 AND 三,三,三),COLOR999999;
DRAWNUMBER(量化预测43 AND 四,四,四),COLOR999999;
DRAWNUMBER(量化预测43 AND 五,五,五),COLOR999999;
DRAWNUMBER(量化预测43 AND 低,低*1.01,低),COLOR999900;
量化预测45:=(OPEN+HIGH+LOW+C)/4;
BL:EMA(量化预测45,17),COLORRED,LINETHICK2;
DRAWNUMBER(ISLASTBAR AND BL,BL*1.005,BL);
量化预测46:=CROSS(C,BL);
IF(BL>REF(BL,1),BL,DRAWNULL),COLORYELLOW,LINETHICK2;
IF(BL< REF(BL,1),BL,DRAWNULL),COLORGREEN,LINETHICK2;
DRAWTEXT(ISLASTBAR AND BL>REF(BL,1),BL,'5345'),COLORYELLOW;
DRAWTEXT(ISLASTBAR AND BL< REF(BL,1),BL,'5346'),COLORGREEN;
量化预测47:=EMA(C,12)-EMA(C,26);
量化预测48:=EMA(量化预测47,9);
量化预测49:=2*(量化预测47-量化预测48);
GMB:IF(CROSS(量化预测47,量化预测48) AND 量化预测47>0,LOW*0.999,DRAWNULL),CROSSDOT,COLORYELLOW,LINETHICK3;
GMC:IF(CROSS(量化预测47,量化预测48) AND 量化预测47< 0,LOW*0.999,DRAWNULL),CROSSDOT,COLOR208FFF,LINETHICK3;
DRAWTEXT(CROSS(量化预测47,量化预测48) AND 量化预测47>0,LOW*0.998,'5354'),COLORYELLOW;
DRAWTEXT(CROSS(量化预测47,量化预测48) AND 量化预测47< 0,LOW*0.998,'主升'),COLORYELLOW;