VAR1:=(2*CLOSE+HIGH+LOW+OPEN)/5;
安全线: EMA(VAR1,55), CIRCLEDOT;
K: SLOPE(EMA(VAR1,2),7)*15+VAR1;
D: EMA(K,2);
J: 2.8*K-1.8*D;
买1: IF(crOSS(K,D) AND K<安全线,9.8,6);
买2: IF(CROSS(K,安全线),9.8,6);
买3: IF(CROSS(K,D) AND K>安全线,9.8,6);
V6:=CLOSE/REF(CLOSE,3)>=1.1;
V7:=BacKSET(V6,3);
买4:IF((V7 AND COUNT(V7,3)=1),3,0),COLORFF00FF;
DRAWTEXT(买4,10,’买4′),COLORFF00FF;
{ _通达信股票指标公式}
最佳买入: zig(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)
<REF
(ZIG(3,10),2),COLORRED,LINETHICK2;
DRAWTEXT(最佳买入=1,1.5,’入!’),COLORRED;
止损: ZIG(0.5,10)<REF(ZIG(0.5,10),1) AND REF(ZIG(0.5,10),1)>REF
(ZIG(0.5,10),2),COLORGREEN;
DRAWTEXT(止损=1,1.5,’出!’),COLORGREEN;
VAR3:=PEAKBARS(3,15,1)<10;
VAR5:=IF(VAR3=1,2,0);
顶:= IF(VAR5=2,2,0);
逃命:IF(顶>REF(顶,1),10,0),COLORYELLOW;
DRAWTEXT(逃命=10,10,’逃!’),COLORYELLOW;
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(0)