## 背离指标（通

2010-01-16
 LC:=REF(C,1);UP:=(C>O OR C>LC) AND V>REF(V,1);VAR1:=IF(MA(C,5)/MA(MA(C,9),16)<=0.85 AND C/LC>0.9015 AND C/LC<1.05 AND V/CAPITAL*100<5,50,0);RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:3*K-2*D,COLORCCCC00;RSV34:=100*(C-LLV(L,34))/(HHV(H,34)-LLV(L,34)),COLORCCCC00;K34:SMA(RSV34,3,1),COLOR00CC00;BIAS34:=((C-MA(C,34))/MA(C,34)*100+10)*5;BIAS70:=((C-MA(C,70))/MA(C,70)*100+10)*5;KB34:(K34+BIAS34)/4+10,COLOR0099CC;KBB34:(KB34+ABS(BIAS34-BIAS70))/2-5,COLORCCCC00;VARF:=IF(VAR1>0 AND KBB34<0,200,0);VAR10:=IF(KBB34<0 AND C=LLV(C,10) AND C/LC>0.9015 AND C/LC<1.05 AND V/CAPITAL*100<5 AND V0) AND VAR18>0 AND V0 AND VAR10<0 AND VAR11>0 AND VAR18>0 AND SUM(V/CAPITAL*100,5)/5<1;底2:IF(XX,90,0) AND VLC*0.9015,70,0),LINETHICK2,COLOR0066FF;BB:=IF((K34<10 OR (K34<15 AND HHV(H,5)/LLV(C,5)>1.15)) AND KB34<=-0.5,1,0);抢反弹:IF(BB=1 AND C=LLV(C,10) AND CLC*0.9015,60,0),LINETHICK2,COLORCCCCCC;   {MKR3背离8}DI:=(EMA(C,12)-EMA(C,26))/C*500,LINETHICK2,COLORFFCC00;DE:=EMA(DI,9),LINETHICK1,COLORFFFFFF;MACD1:=(DI-DE)*2,COLORSTICK,COLORFF99FF;NM:=CROSS(DI,DE);RSI6:SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100,COLORCCCCCC;A2:=BARSLAST(REF(J=LLV(J,10) AND C=LLV(C,10) AND L=LLV(L,10),1));B2:=REF(C,A2+1)>C AND REF(J,A2+1)LC*0.9015;KDJ底背:DRAWTEXT(B2>0 AND VC AND REF(RSI6,A3+1)0 AND VC AND REF(MACD1,A4+1)0 AND VMACD1 AND C=HHV(C,10) AND H=HHV(H,10);C2:=BARSLAST(REF(J=HHV(J,10) AND C=HHV(C,10) AND H=HHV(H,10),1));D2:=REF(C,C2+1)J AND C=HHV(C,10) AND H=HHV(H,10);C3:=BARSLAST(REF(RSI6=HHV(RSI6,10) AND C=HHV(C,10) AND H=HHV(H,10),1));D3:=REF(C,C3+1)RSI6 AND C=HHV(C,10) AND H=HHV(H,10);KDJ顶背:DRAWTEXT(D2>0,50,'K顶'),COLOR00FF00;MACD顶背:DRAWTEXT(D1>0,20,'M顶'),COLOR00FF00;RSI顶背:DRAWTEXT(D3>0,35,'R顶'),COLOR00FF00;   {一招定乾坤}NV:=(V>REF(V,1) OR V>MA(V,5)) AND MA(V,5)>REF(MA(V,5),1);DRAWTEXT((CROSS(C,MA(C,5)) OR CROSS(C,MA(C,10))) AND NV AND NM AND CROSS(K,D),30,'金叉'),COLOR00FFFF;

0条评论