CPAXZ:=(C+0.618*REF(C,1)+0.382*REF(C,2)+0.236*REF(C,3)+0.146*REF(C,4))/2.382,COLORYELLOW,LINETHICK1; GAO:=HHV(C,55)-LLV(C,55); RSI:=SMA(MAX(CPAXZ-REF(CPAXZ,1),0),3,1)/SMA(ABS(CPAXZ-REF(CPAXZ,1)),5,1); HONGXS:CPAXZ+GAO*(RSI-0.5),COLORMAGENTA,LINETHICK1; STICKLINE(CROSS(RSI,0.1),HONGXS,REF(HONGXS,1),1,0),COLORYELLOW; STICKLINE(CROSS(0.9,RSI),HONGXS,REF(HONGXS,1),1,0),COLORGREEN; DRAWTEXT_FIX(CURRBARSCOUNT=1,0.5,0.1,0,' 牢記以下三條原則:'),COLORRED; DRAWTEXT_FIX(CURRBARSCOUNT=1,0.5,0.2,0,' 1,、嚴禁追票,買時多考慮,,賣時要果斷!'),COLORYELLOW; DRAWTEXT_FIX(CURRBARSCOUNT=1,0.5,0.3,0,' 2,、順勢而為,分批介入,高拋低吸,控制倉位!'),COLORYELLOW; DRAWTEXT_FIX(CURRBARSCOUNT=1,0.5,0.4,0,' 3、短線看K線,中線看形態(tài),長線重趨勢!'),COLORLIGREEN; GUIJI:MA(CLOSE,49),LINETHICK2,COLORYELLOW; KS:=((CLOSE - EMA(CLOSE,13)) / EMA(CLOSE,13))*(-100); QUSHIX:=EMA(((KS / 10) + EMA(CLOSE,10)),3); AA:= - 100 *(QUSHIX - CLOSE)/QUSHIX; AC:=EMA(AA,5); AG:=SUM((VOL / FINANCE(7)),1); SSL:=EMA(CLOSE,3); MMV:=EMA(((SLOPE(CLOSE,22) * 20) + CLOSE),55); MM:=MA(MMV,2); SA:=(MM * 0.985); SS:=(MA(CLOSE,5)); DD:=(MA(CLOSE,13)); GG:=(MA(CLOSE,21)); IF(((SSL > MM)),SSL,SA),LINETHICK1,COLORGREEN; IF(((SSL > MM) ),MM,SA),LINETHICK1,COLORGREEN; IF(((SSL > MM)),MM,SA),LINETHICK2,COLORWHITE; QQW2Y:=(((CLOSE - REF(CLOSE,1)) / REF(CLOSE,1)) * 100); QQW3Y:=(((CLOSE - REF(OPEN,29)) / REF(OPEN,29)) * 100); QQW4Y:=REF(CLOSE,1); QQW5Y:=((SMA(MAX((CLOSE - QQW4Y),0),6,1) / SMA(ABS((CLOSE - QQW4Y)),6,1)) * 100); QQW6Y:=((SMA(MAX((CLOSE - QQW4Y),0),12,1) / SMA(ABS((CLOSE - QQW4Y)),12,1)) * 100); QQW7Y:=((SMA(MAX((CLOSE - QQW4Y),0),24,1) / SMA(ABS((CLOSE - QQW4Y)),24,1)) * 100); QQW8Y:=(((CLOSE - LLV(LOW,45)) / (HHV(HIGH,45) - LLV(LOW,45))) * 100); QQW9Y:=SMA(QQW8Y,3,1); QQWAY:=SMA(QQW9Y,3,1); QQWBY:=((3 * QQW9Y) - (2 * QQWAY)); QQWCY:=(CROSS(QQW5Y,10) AND (QQW3Y < (0 - (28 * 20)))); QQWDY:=((100 - CROSS(76,QQW5Y)) AND (QQW3Y > (5 * 20))); DRAWICON(((CROSS(76,QQW5Y) AND (QQW3Y > 5)) ),(HIGH * 1.0099),6),COLORFFFFFF; QQWEY:=((((CROSS(QQW9Y,QQWAY) AND (QQWAY < 10)) AND (QQW3Y < (0 - 30))) AND (QQW2Y > 3)) * 30); QQWFY:= - ((((QQWAY < 11) AND (QQW5Y < 15)) AND (QQW3Y < (0 - 26))) * 10); DRAWICON((CROSS(QQWFY,(0 - 9))),(LOW * 0.998),5); NENGLXIANX:=DMA(((CLOSE + OPEN) / 2),(VOL / (SMA(VOL,4,1) * 4))); QQW3C:=EMA(NENGLXIANX,1); QQW4C:=REF(NENGLXIANX,1); X:=EMA(((SLOPE(CLOSE,21) * 20) + CLOSE),68); Y:=EMA(CLOSE,10); LL:=REF(CLOSE,2); MD:=((SMA(MAX((CLOSE - LL),0),6,1) / SMA(ABS((CLOSE - LL)),6,1)) * 100); DB:=IF(((MD < REF(MD,1)) AND (MD > 79)),MD,0); DRAWICON(CROSS(Y,X),(LOW * 0.985),1),LINETHICK3,COLORRED; DRAWICON(CROSS(X,Y),(HIGH * 1.02),2),LINETHICK2,COLOR00FF00; DRAWTEXT(DB,(HIGH * 1.02),'拋'),LINETHICK2,COLOR00FF00; QQW1:=LLV(LOW,21); QQW2:=HHV(HIGH,21); AK:=EMA((((CLOSE - QQW1) / (QQW2 - QQW1)) * 50),13); AK1:=EMA((((CLOSE - QQW1) / (QQW2 - QQW1)) * 100),5); QQW3:=LLV(LOW,55); QQW4:=HHV(HIGH,34); QQW5:=EMA((((CLOSE - QQW3) / (QQW4 - QQW3)) * 100),3); QQW6:=((AK + QQW5) / 2); QQW8:=EMA(QQW6,5); BB:=EMA(((0.667 * REF(QQW8,1)) + (0.333 * QQW8)),2); AB:=CROSS(AK1,AK); BB1:=(CROSS(AK1,BB) AND (BB < 30)); CD:=(BB1 * 0.6); DRAWICON((CD = 0.6),(LOW * 0.99),9); |