短线不可少的经典指标“愚公观景”副图源码
指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:0 Bytes
更新时间:2012-08-09 08:26:00
公式简介:
此指标相信有人曾见过或者正在用,但源码比较乱,整理一下好多了。用法不用多说,一看就知道了,可说是短线炒股的利器!
VAR32:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*10;
JM:=(3*SMA(SMA(VAR32,2,1),2,1)-2*SMA(SMA(SMA(VAR32,2,1),2,1),3,1));
火:BARSLAST(EMA(CLOSE,5)<REF(EMA(CLOSE,5),1)),COLORRED,NODRAW;
山:COUNT(EMA(CLOSE,5)>REF(EMA(CLOSE,5),1),5),COLORGREEN,NODRAW;
STICKLINE(山>0,火,0,4,0),COLORRED;
买入或持股:0,COLORRED;
STICKLINE(山>0,火,山,4,1),COLORFFCC66;
下跌抛出:0,COLORFFCC66;
STICKLINE(山=0 AND 火=0,0,1,4,1),COLORWHITE;
STICKLINE(山<火,火,山,4,0),COLOR00FF00;
K:SMA(SMA(VAR32,2,1),2,1),COLORWHITE;
D:SMA(SMA(SMA(VAR32,2,1),2,1),3,1),COLORYELLOW;
J:(3*SMA(SMA(VAR32,2,1),2,1)-2*SMA(SMA(SMA(VAR32,2,1),2,1),3,1)),COLORFF00FF;
IF(J<=REF(J,1),J,DRAWNULL),COLORGREEN;
顶:10,COLORGREEN,NODRAW;
STICKLINE(REF(山,1)=0 AND 山>0,0,5{-1},2,0),COLORYELLOW;
DRAWTEXT(REF(火,3)>0 AND REF(火,2)>0 AND REF(火,1)>0 AND 火=0 AND REF(火,1)>山,REF(火,1),'●'),COLORRED;
DRAWTEXT(REF(火,3)>0 AND REF(火,2)>0 AND REF(火,1)>0 AND 火=0 AND REF(火,1)>山,REF(火,1),'¤'),COLORYELLOW;
DRAWICON(CROSS(D,K),D+0.3,2),COLORGREEN;
DRAWICON(CROSS(K,D),D-0.3,1),COLORRED;
[url=http://www.goodgupiao.com/gupiaogongshi/21961.html][B]短线不可少的经典指标“愚公观景”副图源码[/B][/url]