联系方式 Contact

云指标公式网

淘宝:zb-mart.taobao.com

电话:18020657357

微信:18020657357

Q Q:396950280

点击这里给我发消息

网址:www.yzhibiao.com

搜索 Search

通达信垂直线指标的写法(实线,虚线)

2015-12-21 11:38:34点击:

STICKLINE(DAY=1,  CONST(HHV(H,0)),CONST(LLV(L,0)),0,1),COLORYELLOW;

STICKLINE(MONTH=1,CONST(HHV(H,0)),CONST(LLV(L,0)),0,-1),COLORGREEN;
 
================================还有一种是如下下的,觉得不推荐:
VAR0:=(EMA(CLOSE,12) - EMA(CLOSE,26));
VAR1:=EMA(VAR0,9);
VAR2:=((VAR0 - VAR1) * 2);
VAR3:=(WINNER(CLOSE) * 100);
VAR4:=(VAR3 > 82);
VAR5:CONST(IF((CURRBARSCOUNT <= 81),HHV(MAX(VAR2,MAX(VAR0,VAR1)),BARSLAST(CURRBARSCOUNT = 81)),0));
VAR6:CONST(IF((CURRBARSCOUNT <= 81),LLV(MIN(VAR2,MIN(VAR0,VAR1)),BARSLAST(CURRBARSCOUNT = 81)),0));
VAR7:=FILTERX(CROSS(VAR0,VAR1),BARSSINCE(CLOSE));
VAR8:=SUM(CROSS(VAR0,VAR1),BARSSINCE(CLOSE));
VAR99:=CROSS((REFX(VAR8,MA(VAR7,0)) = (VAR8 + 1)),0.5);
VAR9:=VAR8 >REFX(VAR8, CURRBARSCOUNT-1)-2;
STICKLINE(CROSS(VAR0,VAR1),-5,5,0,0),COLORGREEN;