指标出现信号不会漂移 黄金坑副图 通达信指标 源码 贴图
2018-05-31 09:04:00来源:本站整理浏览:686
指标出现信号不会漂移 黄金坑副图 通达信指标 源码 贴图
{黄金坑副图}
LC:=REF(CLOSE,1);
止损价位:(LC*1.0035*97+0.2)/99.65,COLORRED,LINETHICK0;
RSI5:=SMA(MAX(CLOSE-LC,0),5,1)/SMA(ABS(CLOSE-LC),5,1)*100;
R:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
A:=SMA(R,3,1);
B:=SMA(A,3,1);
CCC:=(B/2+40)*1.1;
D:=SMA(CCC,3,1);
【回抽】:IF(CROSS(D,RSI5),50,0),STICK,COLORRED;
【逃命】:IF(CROSS(80,RSI5),-50,0),STICK,COLORGREEN;
STICKLINE(CROSS(D,RSI5),50,0,8,0),COLORRED;
STICKLINE(CROSS(80,RSI5),-50,0,8,0),COLORGREEN;
RR8:=MA(CLOSE,27);
RR9:=(CLOSE-RR8)/RR8*100;
RRA:=MA(RR9,2);
RRB:=BARSLAST(CROSS(-10,RRA)=1);
RRD:=RRA<-10 AND RRB>3;
【黄金坑】:IF(RRD,-120,0),COLORYELLOW,LINETHICK2;
TYP := (HIGH + LOW + CLOSE)/3;
CCI:(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),COLORMAGENTA,LINETHICK2;
底部:-200;
关注:-150,COLORGREEN;
买入:-100,COLORGRAY;
卖出:100;
DRAWTEXT_FIX(1,0.1,0.1,0,'(一)长期下跌后第一次碰-100不能买,第二次碰-100在即将上穿之时买入(必须底背离,成功率才100%)。'),COLORYELLOW;
DRAWTEXT_FIX(1,0.1,0.2,0,'(二)股价到+100时“加码”买入,在+100以上开始回头时跌破+100应该卖出,然后按照支撑位置可以买入,第二次穿过+100之时股价一般会创新高,但是指标如果背离时,再次跌破+100,坚决抛光!'),COLORYELLOW;
DRAWTEXT_FIX(1,0.1,0.3,0,'(三)再次到-100以下时,就重复上面的方法。'),COLORYELLOW;