多空资金流监控(飞狐)
{多空资金流监控} 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:=ROUND(ZZLKP-ZZLJJ);//资金流入强度 AA:=EMA(ZJLRQD,3); BB:=EMA(AA,5); CC:=AA-BB; 出场资金:STICKLINE(CC进场资金:STICKLINE(CC>ref(CC,1),CC,0,8,6) colorred; 【进场】:if(CROSS(AA,BB),5,0),STICK,linethick3,COLOR00ff; 【出场】:if(CROSS(BB,AA),-5,0),STICK,linethick3,COLOR00ff00; DRAWICON(【进场】,6,1); DRAWICON(【出场】,-2,2); 仅提供源码 |