UR:=10;LR:=10; TC1:=IF(H=HHV(H,8*UR),H,DRAWNULL); TC2:=CONST(BARSLAST(TC1=H))+1; UPPER:=CONST(IF(TC2=1,H,REF(H,TC2-1))); BC1:=IF(L=LLV(L,8*LR),L,DRAWNULL); BC2:=CONST(BARSLAST(BC1=L))+1; LOWER:=CONST(IF(BC2=1,L,REF(L,BC2-1))); A:=EMA((LOW+CLOSE+OPEN)/3,28); B:=REF(EMA((LOW+CLOSE+OPEN)/3,28),1); 紅軌道:=MA(MA(CLOSE,4),1),LINETHICK1,COLORYELLOW; 軌道:MA(MA(CLOSE,4),4),COLOR32CD32,LINETHICK2; 升:IF(紅軌道>=軌道,軌道,DRAWNULL),COLORMAGENTA,LINETHICK2; DIF:=EMA(DCLOSE,12)-EMA(DCLOSE,26); DEA:=EMA(DIF,9); AAA:=(DIF-DEA)*2*60; 起爆:=CROSS(AAA-REF(AAA,1),15); DRAWTEXT(起爆,L*0.99,'↖穩(wěn)漲'),COLORYELLOW,LINETHICK2; K30:=SMA(((CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100),3,1); MD1:=K30-REF(K30,1)>9 ; MD2:=V/REF(V,1)>2.4 OR LAST(V/REF(V,1)>0.8,3,0) OR REF(V/REF(V,1)>2.4,1) ; DRAWTEXT(MD1 AND MD2,L,'↖穩(wěn)漲必買'),COLORMAGENTA; 漲家數(shù):INDEXADV,NODRAW,COLORRED; 跌家數(shù):INDEXDEC,NODRAW,COLORGREEN; 漲停:=IF((C-REF(C,1))*100/REF(C,1)>=(10-0.01*100/REF(O,1)),1,0); DIF:=EMA(DCLOSE,12)-EMA(DCLOSE,26);
DEA:=EMA(DIF,9); AAA:=(DIF-DEA)*2*60; 起爆:=CROSS(AAA-REF(AAA,1),15); K30:=SMA(((CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100),3,1); MD1:=K30-REF(K30,1)>9 ; MD2:=V/REF(V,1)>2.4 OR LAST(V/REF(V,1)>0.8,3,0) OR REF(V/REF(V,1)>2.4,1) ; (MD1 AND MD2) OR 起爆, |
|
來(lái)自: 鬼舞十七 > 《技術(shù)指標(biāo)》