通达信公式伏击圈源码
-
相关简介:通达信公式 伏击圈 DIR:=ABS(CLOSE-REF(CLOSE,10)); VIR:=SUM(ABS(CLOSE-REF(CLOSE,1)),10); ER:=DIR/VIR; CS:=SMA(ER*(2/3-2/14)+2/14,3,1); CQ:=CS*CS*CS; 裁决:=EMA(MA(CLOSE,10-CS*10),2); AS:96; AD:106; CD:=C/裁决*100; OD:=OPEN/裁决*100; OH:=H/裁决*100; OL:=L/裁决*100; STICKL
-
文章来源:股海网作者:股海网发布时间:2019-04-22浏览次数:
通达信公式 伏击圈
DIR:=ABS(CLOSE-REF(CLOSE,10));
VIR:=SUM(ABS(CLOSE-REF(CLOSE,1)),10);
ER:=DIR/VIR;
CS:=SMA(ER*(2/3-2/14)+2/14,3,1);
CQ:=CS*CS*CS;
裁决:=EMA(MA(CLOSE,10-CS*10),2);
AS:96;
AD:106;
CD:=C/裁决*100;
OD:=OPEN/裁决*100;
OH:=H/裁决*100;
OL:=L/裁决*100;
STICKLINE(CD>=OD,OD,CD,2,0),COLOR2222DD;
STICKLINE(CD>=OD,OD,CD,1,0),COLOR3322FF;
STICKLINE(CD>=OD,OL,OH,0,0),COLOR3322FF;
STICKLINE(CD<OD,OD,CD,2,0),COLORDD0088;
STICKLINE(CD<OD,OD,CD,1,0),COLORFF0099;
STICKLINE(CD<OD,OL,OH,0,0),COLORFF0099;