您现在的位置:好股网 >> 股票公式 >> 大智慧L2公式 >> 一键转帖:狼巡成本均线主图公式

狼巡成本均线主图公式


指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:0 Bytes
更新时间:2009-02-27 11:33:00
公式简介:
狼巡成本均线主图公式
AB:=(SUM(CLOSE*AMOUNT,360)/SUM(AMOUNT,360));    
A1:= (SUM(CLOSE*AMOUNT,300)/SUM(AMOUNT,300));
A2:= (SUM(CLOSE*AMOUNT,240)/SUM(AMOUNT,240));
A3:= (SUM(CLOSE*AMOUNT,180)/SUM(AMOUNT,180));
A4:= (SUM(CLOSE*AMOUNT,120)/SUM(AMOUNT,120));
A5:= (SUM(CLOSE*AMOUNT,90)/SUM(AMOUNT,90));
A6:= (SUM(CLOSE*AMOUNT,60)/SUM(AMOUNT,60));
A7:= (SUM(CLOSE*AMOUNT,30)/SUM(AMOUNT,30));
B1:(A1+A2+A3)/3;
B2:(A3+A4+A5)/3;
B3:(A6+A7+A5)/3;
B4:(AB+A1)/2,LINETHICK2;
 

下面的公式源码,都是没有经过测试,甚至连标点符号都没有了,需要自己加工。
狼巡OBWN(附图)

A1:=SUM(IF(CLOSE>REF(CLOSE,1),VOL, IF(CLOSE<REF(CLOSE,1),-VOL,0)),0)/100000
A2:=EMA(A1,5)×CLOSE;
LONG:EMA(A2,24)-EMA(A2.52),COLORFFOOFF
XN:EMA(LONG,10),COLOR008800
LONGXN:3×LONG-2×XN,COLOR0000FF
LB:=(LONG-XN)×3
AA:0,COLORRED
STICKLINE(XN>=LONG,AA,LB,0,0),COLOR008800
STICKLINE(XN<LONG,AA,LB,0,0),COLORRED
(说明:A1赋值:如果收盘价>昨收,返回成交量(手),否则返回如果收盘价<昨收,返回-成交量(手),否则返回0的历史累和/100000)




狼巡成本均线(周线)
A1:= (SUM(CLOSE×AMOUNT,90)/SUM(AMOUNT,90))
A2:= (SUM(CLOSE×AMOUNT,60)/SUM(AMOUNT,60))
A3:= (SUM(CLOSE×AMOUNT,30)/SUM(AMOUNT,30))
A4:= (SUM(CLOSE×AMOUNT,20)/SUM(AMOUNT,20))
A5:= (SUM(CLOSE×AMOUNT,10)/SUM(AMOUNT,10))
长期成本:(A1+A2+A3)/3,COLORBLACK,LINETHICK2
中期成本:(A3+A4+A5)/3,COLORFF00FF

狼巡成本均线(周线)选股
A1:= (SUM(CLOSE×AMOUNT,90)/SUM(AMOUNT,90))
A2:= (SUM(CLOSE×AMOUNT,60)/SUM(AMOUNT,60))
A3:= (SUM(CLOSE×AMOUNT,30)/SUM(AMOUNT,30))
A4:= (SUM(CLOSE×AMOUNT,20)/SUM(AMOUNT,20))
A5:= (SUM(CLOSE×AMOUNT,10)/SUM(AMOUNT,10))
AC:= (A1+A2+A3)/3,
AZ:= (A3+A4+A5)/3,
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26)
DEA:=EMA(DIF,9)
CLOSE>AC   AND  CROSS(DIF,DEA)

 

[url=http://www.goodgupiao.com/gupiaogongshi/4905.html][B]狼巡成本均线主图公式[/B][/url]