ZLCM:=EMA(WINNER(CLOSE)*70,3); SHCM:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3); ZZLKP:=ZLCM/(ZLCM+SHCM)*100; ZZLJJ:=EMA(ZZLKP,89); ZJLRQD:=ZZLKP-ZZLJJ; AA:=EMA(ZJLRQD,3); BB:=EMA(AA,5); CC:=AA-BB; STICKLINE(CC<REF(CC,1),CC,0,1,1), COLOR00FF00; STICKLINE(CC>REF(CC,1),CC,0,1,0), COLORRED; 資金進場:IF(CROSS(AA,BB),4,0),STICK,LINETHICK3,COLORFF00FF; 資金出場:IF(CROSS(BB,AA),-3,0),STICK,LINETHICK3,COLOR00FF00; 資金偷襲:IF(CROSS(CC,AA),-5,0),STICK,LINETHICK3,COLORYELLOW; 提醒逃頂:IF(CROSS(AA,CC),5,0),STICK,LINETHICK3,COLORBLUE; 資金逃頂:IF(CROSS(BB,CC),5,0),STICK,LINETHICK3,COLORLIGRAY; {資金進X:IF(CROSS(AA,BB) AND V<REF(V,1),4,0),STICK,LINETHICK3,COLORCYAN;} DRAWICON(資金進場>0,4,1); DRAWICON(資金出場<0,-4,2);
量能度:(CLOSE-MA(CLOSE,30))/MA(CLOSE,20)*120,COLORBLUE,LINETHICK0; 資金頻率:IF(量能度>0,量能度,0)*1{10},COLORLICYAN,LINETHICK0; 行情信號:STICKLINE(量能度>0,量能度,0,1.2{5},0)*500000,COLORMAGENTA,LINETHICK2; 行情信X:STICKLINE(量能度>0 AND C>REF(C,1) AND V<REF(V,1),量能度,0,0.1{5},0)
*500000,COLORGRAY,LINETHICK2; 行情信A:STICKLINE(量能度>0 AND O<REF(C,1) AND V<REF(V,1),量能度,0,0.1{5},0)
*500000,COLORYELLOW,LINETHICK2; 空倉信號:STICKLINE(量能度<0,0,量能度,1.2{5},0)*500000,COLORBLUE,LINETHICK2; 空倉信:STICKLINE(量能度<0 AND C>REF(C,1) AND V>REF(V,1),0,量能度,0.1{5},0)
*500000,COLORLIRED,LINETHICK2; 機構線:EMA(EMA(量能度,10{30}),3)*1{20},COLORRED,LINETHICK2; 乖離率:(C-MA(C,5))/MA(C,5)*100{1000},COLORGREEN,LINETHICK2; 觀:IF(機構線<REF(機構線,1),機構線,DRAWNULL),COLORFF6600,LINETHICK2; 乖觀:IF(乖離率<=REF(乖離率,1),乖離率,DRAWNULL),COLORLIGRAY,LINETHICK2; |