公式指标论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

股海明灯主图指标 (源码)

2013-6-2 19:54| 发布者: admin| 查看: 25| 评论: 0

ma3:ma(c,5),color000999;
ma10:ma(c,10),color008364;
ma21:ma(c,21),colorgray;
x1:=(C+L+H)/3;
x2:=EMA(x1,6);
x3:=EMA(x2,5);
stickline(x2>=x3,low,high,0.1,1),colorred;
stickline(x2>=x3,close,open,10,1),colorred;
stickline(x2>=x3,close,open,9,9),colore66878;
stickline(x2stickline(x2stickline(x2stickline(CROSS(X2,X3),open,close,6,0),colorYELLOW;
stickline(CROSS(X3,X2),open,close,6,0),colorBLUE;
DRAWTEXTABS(5,5,'股票软件下载网 www.gpxiazai.com'),linethick1,COLOR00EEff;
Var1:=REF(CLOSE,1);
Var2:=SUM(VOL,2)/((HHV(HIGH,2)-LLV(LOW,2))*100);
Var3:=(CLOSE-Var1)*Var2;
Var4:=SUM(Var3,0);
Var5:=SMA(Var4,5,1);
Var6:=SMA(Var4,8,1);
OSC:=Var5-Var6;
OSCMA:=MA(OSC,4);
VD:=SUM(IF(OSC>0,OSC*1.003,OSC*1.003>0),34)/34;
VE:=SUM(IF(OSC<=0,OSC*0.97,OSC*0.97<0),34)/34;
VARW:=(c/ref(c,1)-1)*100<=4;
drawtext(CROSS(OSC,VD) AND VARW,L-0.1,'加仓'),colorYELLOW;
KOH:=L>REF(H,1);
KOL:=HHIF:=L>REF(H,BARSLAST(KOH)+1);
NHIF:=L<=REF(H,BARSLAST(KOH)+1);
LIF:=HNLIF:=H>=REF(L,BARSLAST(KOL)+1);
DRAWICON(HIF AND barslast(koh)DRAWICON(LIF AND barslast(kol)

大智慧股海明灯主图指标公式


鲜花

握手

雷人

路过

鸡蛋
返回顶部