尾盤指標(biāo):=REF(LOW,1); 必漲指標(biāo):=SMA(ABS(LOW-尾盤指標(biāo)),13,1)/SMA(MAX(LOW-尾盤指標(biāo),0),13,1)*100; 必漲公式:=EMA(IF(CLOSE*1.2,必漲指標(biāo)*13,必漲指標(biāo)/13),13); ddd5:=LLV(LOW,34); ddd6:=HHV(必漲公式,34); ddd7:=IF(LLV(LOW,55),1,0); ddd8:=EMA(IF(LOW<=ddd5,(必漲公式+ddd6*2)/2,0),3)/618*ddd7; ddd9:=EMA(CLOSE,5); ddd10:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*(-10); ddd11:=EMA(IF(LOW<=ddd5,(必漲公式+ddd6*2)/2,0),3)/618*ddd7*(-1); ddd12:=EMA(CLOSE,5)*(-1); 必漲技術(shù):IF(ddd8>REF(ddd8,1),0,ddd8),COLOR0FFFFF,NODRAW; 尾盤技術(shù):0,COLORFFFFFF; eed1:=MA(LOW,2)*0.96; eed2:=MA(LOW,26)*0.85; eed3:=REF(eed1,1)<eed2 AND REF(eed1,1)<eed1 AND REF(eed1,1)<REF(eed1,2); qqa1:IF(eed3,0,ddd8*3),COLORRED,NODRAW; DRAWBAND(qqa1,RGB(180,80,200),0,DRAWNULL); STICKLINE(eed3,0,ddd8*3,4,0),COLORRED; STICKLINE(ddd8>REF(ddd8,1),0,ddd8,2,0),COLOR10FFFF; STICKLINE(ddd11>REF(ddd11,1),0,ddd11,4,1),COLORFFF810; DRAWICON(ddd11>REF(ddd11,1) AND CROSS(ddd11,ddd12),ddd11,11); 40,POINTDOT; rrt1:=(C+2*H+L)/4; VB:=LLV(L,8); rrt2:=HHV(H,8); VD:=EMA(((rrt1-VB)/(rrt2-VB)-rrt2/VB)*81,5)*-1; qqa2:REVERSE(VD)+100,COLORRED; qqa3:EMA(qqa2,3),COLORFFFF00; DRAWBAND(qqa2,RGB(150,030,030),qqa3,RGB(20,150,20)); IF(qqa2>=qqa3,qqa2,DRAWNULL),COLORLIMAGENTA,LINETHICK2; IF(qqa2<qqa3,qqa2,DRAWNULL),COLORGREEN,LINETHICK2; qqa5:= EMA(((2*CLOSE+HIGH+LOW)/4-LLV(LOW,5))/(HHV(HIGH,4)-LLV(LOW,5))*100,4); qqa7:= EMA(0.667*REF(qqa5,1)+0.333*qqa5,2); DRAWICON(CROSS(qqa5,qqa7) AND qqa5<30,qqa2*0.98,1); DRAWICON(CROSS(qqa7,qqa5) AND qqa5>70,qqa2*1.02,2); qqa9:IF((MA(C,5)-C)/C>0.04 AND (MA(C,10)-MA(C,5))/MA(C,5)>0.04,23,0),COLORFF00FF,NODRAW; DRAWICON((MA(C,5)-C)/C>0.04 AND (MA(C,10)-MA(C,5))/MA(C,5)>0.04,-3,25); RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100); K:=SMA(RSV,3,1); D:=SMA(K,3,1); J:=3*K-2*D; X:=LLV(J,2)=LLV(J,8); DRAWTEXT(CROSS(J,REF(J+0.01,1)) AND X AND J<19,qqa2*0.9,'短'),COLORLIRED; DRAWICON(CROSS(J,REF(J+0.01,1)) AND X AND J<16,qqa2,7); Qddd1A:=((HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21)))*(100)-10; Qddd1B:=((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21)))*(100); Qddd1C:=SMA(Qddd1B,13,8); Qddd1D:=SMA(Qddd1A,21,8); 機(jī)會來臨:SMA(Qddd1C,13,1),COLORCCCC00,LINETHICK2; STICKLINE(機(jī)會來臨>90,90,機(jī)會來臨,2,0),COLORCYAN; IF(機(jī)會來臨>=REF(機(jī)會來臨,1),機(jī)會來臨,DRAWNULL),COLORCC33CC,LINETHICK2; 中線:EMA(機(jī)會來臨,55),COLOR9933FF,LINETHICK2; IF(中線<REF(中線,1),中線,DRAWNULL),COLOR66FF66,LINETHICK2; AAS:=FILTER((COUNT((機(jī)會來臨-Qddd1D<(-65)),3)=3),34); 波段買點:IF(AAS,15,0),COLORFFFFFF,NODRAW; DRAWTEXT(AAS,32,'波段買'),COLORFFFFFF; STICKLINE(AAS,0,31,0.3,0),COLORMAGENTA; DRAWICON(CROSS(機(jī)會來臨,Qddd1D),機(jī)會來臨,23); JJ:=(HIGH+LOW+CLOSE)/3;QJ0:=VOL/IF(HIGH=LOW,4,HIGH-LOW); QJ1:=IF(CAPITAL=0,QJ0*(JJ-MIN(CLOSE,OPEN)),QJ0*IF(HIGH=LOW,1,(MIN(OPEN,CLOSE)-LOW))); QJ2:=IF(CAPITAL=0,QJ0*(MIN(OPEN,CLOSE)-LOW),QJ0*IF(HIGH=LOW,1,(JJ-MIN(CLOSE,OPEN)))); QJ3:=IF(CAPITAL=0,QJ0*(HIGH-MAX(OPEN,CLOSE)),QJ0*IF(HIGH=LOW,1,(HIGH-MAX(OPEN,CLOSE)))); QJ4:=IF(CAPITAL=0,QJ0*(MAX(CLOSE,OPEN)-JJ),QJ0*IF(HIGH=LOW,1,(MAX(CLOSE,OPEN)-JJ))); DDX:=((QJ1+QJ2)-(QJ3+QJ4))/IF(CAPITAL=0,1000000,10000); DX:=MA(DDX,5)*20; DDX1:=SMA(DX,3,1); DDX2:=SMA(DDX1,3,1); DDX3:=EMA(DDX2,5); 預(yù)警:=DDX>0 AND MA(V,5)>MA(MA(V,5),5) AND CROSS(DDX1,DDX2); STICKLINE(預(yù)警,40,50,1,0),COLORLIRED; GJTJ1:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5)); GJTJ2:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10)); GJTJ3:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20)); GJTJ4:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30)); A:=BARSLAST(CROSS(30,GJTJ1))<2 AND BARSLAST(CROSS(GJTJ1,50))<2; B:=BARSLAST(CROSS(GJTJ4,GJTJ1))<2 AND GJTJ1>GJTJ4; STICKLINE(A AND B ,40,47,2,0),COLORRED; O1:=(SUM(EMA((CLOSE+LOW)/2,1)/3,3)); CP1:=HHV(O1,20); CP2:=HHV(O1,1); AV:=CROSS(CP2,CP1); STICKLINE(AV,40,45,4,0),COLORLIMAGENTA; |
|