李莜陽---TDX副圖之{狂龍戲水}(2010-06-01 01:24:40)
源碼---
l2:=ma(c,3); l3:=ma(c,60); l4:=ma(c,120); l5:=ma(c,40); var1:=SUM(WINNER(CLOSE)*100,10)/10-(SUM(WINNER(CLOSE)*100,10)/20+10); 綠島: STICKLINE(var1>0,0,var1,10,0),COLORGREEN; 海水: STICKLINE(var1<0,0,var1,10,0),COLORBLUE; 狂龍出海: IF(CROSS(l2,l3) AND CLOSE<l4,15,0); DRAWICON(狂龍出海,15,1); var2:=CLOSE/l5*100<78; var3:=CLOSE/l3*100<74; var4:=HIGH>(low*1.051); var5:=var4 AND COUNT(var4,5)>1; var6:=CLOSE/HHV(HIGH,BARSCOUNT(CLOSE>0))*100; 狂龍?zhí)降? IF((ref(c,13)-CLOSE)/ref(c,13)*100*var3>15 AND SUM(VOL/CAPITAL,13)*100<18 AND VOL/CAPITAL*100<2.5 AND (ref(c,1)-CLOSE)/ref(c,1)*100<8 AND var6<=50 AND var5 AND (var2 OR var3),-15,0); DRAWICON(FILTER(狂龍?zhí)降?6),-15,1); DRAWTEXT(FILTER(狂龍?zhí)降?6),-13,'狂龍?zhí)降?);
|