山川河流-(副图对应选股公式 配图 源码)
指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:3.00 KB
更新时间:2010-06-11 10:18:00
公式简介:
{山川河流}
LC:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),21,1)/SMA(ABS(CLOSE-LC),21,1)*100;
JW1:=EMA(RSI,8)-EMA(RSI,17);
G1:JW1*1.5;
G2:JW1*1.5,COLORSTICK;
VAR1:=(C-EMA(C,6))/EMA(C,6)*100;
VAR2:=(C-MA(C,24))/MA(C,24)*100;
VAR3:=(C-MA(C,32))/MA(C,32)*100;
VAR4:=(VAR1+VAR2+VAR3)/3;
KX:=MEMA(VAR4,3),NODRAW,COLORWHITE;
DX:=MEMA(KX,3),NODRAW,COLORYELLOW;
飘红:=(KX-DX)>0;
零上:=KX>0 AND DX>0;
源头:=(CROSS(JW1,0) AND 飘红) OR (CROSS(JW1,0) AND 零上);
DRAWTEXT(FILTER(JW1>0,20),HHV(JW1,120),'山川'),COLORLIRED;
DRAWTEXT(FILTER(JW1<0,20),LLV(JW1,120),'河流'),COLOR00F080;
{DRAWTEXT(CROSS(JW1,0),0,'源头'),COLORDD22DD;}
DRAWTEXT(源头,-3,'源头'),COLORDD22DD;
DRAWICON(源头,-2,1);
风险:4,COLORGREEN;
对应副图中的 红箭头 的选股公式,取名“长江之源”
{长江之源}:
LC:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),21,1)/SMA(ABS(CLOSE-LC),21,1)*100;
JW1:=EMA(RSI,8)-EMA(RSI,17);
VAR1:=(C-EMA(C,6))/EMA(C,6)*100;
VAR2:=(C-MA(C,24))/MA(C,24)*100;
VAR3:=(C-MA(C,32))/MA(C,32)*100;
VAR4:=(VAR1+VAR2+VAR3)/3;
KX:=MEMA(VAR4,3);
DX:=MEMA(KX,3);
飘红:=(KX-DX)>0;
零上:=KX>0 AND DX>0;
长江之源:(CROSS(JW1,0) AND 飘红) OR (CROSS(JW1,0) AND 零上);
[url=http://www.goodgupiao.com/gupiaogongshi/7683.html][B]山川河流-(副图对应选股公式 配图 源码)[/B][/url]