通达信突破压力线买入源码副图

2016-07-19 09:53:00来源:本站整理浏览:687

 NK:=SMA(RSVQ,3,1);
 NK1:=(NK-50)*5,COLORRED;
 NK2:=SMA(NK1,3,1);
 ND2:=SMA(NK2,3,1);
 NJ2:=3*NK2-2*ND2;
 NBB1:=EMA(NJ2,5);
 NBB2:=REF(NBB1,1);
买N入:=RR AND NOT(REF(RR,1)) AND (NBB1<-100 AND NBB1<-100) AND CB1<-100;
 DRAWICON(买N入,L-0.010,5);
卖N出:=REF(RR,1)=1 AND NOT(RR) AND CB1>100,LINETHICK0;
 DRAWICON(卖N出,H+0.01,6);

RSV1:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
 K11:=SMA(RSV1,5,1);
 D11:=SMA(K11,5,1);
 J11:=3*K11-2*D11;
 AA11:=EMA(J11,5);
 AA22:=REF(AA11,1);
 RSV2:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
 K22:=SMA(RSV2,3,1);
 D22:=SMA(K22,3,1);
 J22:=3*K22-2*D22;
 BB11:=EMA(J22,5);
 BB22:=REF(BB11,1);
 DD:=AA11>AA22 AND BB11>BB22;
注意买入:=DD AND NOT(REF(DD,1)) AND (AA11<50 OR BB11<50);
注意卖出:=REF(DD,1)=1 AND NOT(DD);
 DRAWICON(注意买入,L-0.010,9);
 DRAWICON(注意卖出,H+0.010,10);


 STICKLINE(CURRBARSCOUNT=2,L,L,10,0),COLORGREEN,;
 DRAWNUMBER(ISLASTBAR,REF(L,1),REF(L,1));

上一页  [1] [2] 

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式