联系方式 Contact

云指标公式网

淘宝:zb-mart.taobao.com

电话:18020657357

微信:18020657357

Q Q:396950280

点击这里给我发消息

网址:www.yzhibiao.com

搜索 Search

同花顺双线操作副图付费指标

2015-12-14 9:55:12点击:
STICKLINE(INDEXC>=INDEXO,INDEXC,INDEXO,8,1),colorred;
STICKLINE(INDEXC>=INDEXO,INDEXC,INDEXH,0.8,1),colorred;
STICKLINE(INDEXC>=INDEXO,INDEXO,INDEXL,0.8,1),colorred;
STICKLINE(INDEXC<INDEXO,INDEXC,INDEXO,8,0),RGB(0,255,255);
STICKLINE(INDEXC<INDEXO,INDEXC,INDEXL,0.8,0),RGB(0,255,255);
STICKLINE(INDEXC<INDEXO,INDEXO,INDEXH,0.8,0),RGB(0,255,255);
f1:MA(INDEXC,21);
dt:=IF(INDEXC>f1,(INDEXC+INDEXH)/2,f1);
f2:MA(dt,1);
gf1:=MA(CLOSE,21);
gdt:=IF(CLOSE>gf1,(CLOSE+HIGH)/2,gf1);
gf2:=MA(gdt,1);
dtxh:=REF(f1,1)=REF(f2,1) AND f2>f1;
gdtxh:=REF(gf1,1)=REF(gf2,1) AND gf2>gf1;
ktxh:=REF(f1,1)<REF(f2,1) AND f2=f1;
gktxh:=REF(gf1,1)<REF(gf2,1) AND gf2=gf1;
IF((gdtxh AND BARSLAST(dtxh)<3)OR(dtxh AND BARSLAST(gdtxh)<3))
{
DRAWTEXT(1,f1,'多头'),colorred;
VERLINE(1,1),colorred;
}
IF(gktxh)
{
DRAWTEXT(1,f2,'空头'),coloryellow;
VERLINE(1,1),coloryellow;
}股