以下是通达信钻石主图指标公式(无源码的请下载附件导入)
AMV0:=VOL*(O+C)/2;
生命线:SUM(AMV0,88)/SUM(VOL,88),COLORFF00FF,LINETHICK2;
CG:MA(C,17),COLORFFCC66,LINETHICK2;
FL:=HHV(CG,2);
持股线:HHV(CG,2),COLOR00FF00;
FS:CG-(FL-CG),COLORYELLOW,LINETHICK2;
MA3:MA(C,3),COLORGRAY;
MA13:MA(C,13),COLORRED;
信号:=COUNT(REF(EMA(C,3),1)<REF(EMA(C,3),2),5)=5
AND EMA(C,3)>REF(EMA(C,3),1);
DRAWICON(信号,L*0.98,25);
830266809.png
|