源码
N:=21;
Var1:=EMA(VOL/CAPITAL,n)*10;
s:100-100/(1+Var1);
STICKLINE(s>ref(s,1) ,s ,ref(s,1),8 ,1),colorred;
STICKLINE(s<=ref(s,1) ,s ,ref(s,1),8 ,1),colorgreen;
动向:ma(s,5);
潜伏线: 6.5,colorffffff,pointdot;
异动线: 15,colorffffff,pointdot;
压力线:21,colorffffff,pointdot;
风险线: 34,colorffffff,pointdot;
庄家动向: DRAWICON(CROSS(动向,潜伏线),潜伏线,1);
DRAWICON(CROSS(动向,异动线),异动线,1);
DRAWICON(CROSS(压力线,动向),压力线,2);
DRAWICON(CROSS(风险线,动向),风险线,2);