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; |