股票论坛

标题: 请老师编一个买入提示 [打印本页]

作者: 上官阳荣    时间: 2015-9-12 16:25
标题: 请老师编一个买入提示
源码:
WR1:=-120*(HHV(HIGH,N)-CLOSE)/(HHV(HIGH,N)-LLV(LOW,N)),COLORGREEN;
WR2:=-110*(HHV(HIGH,N1)-CLOSE)/(HHV(HIGH,N1)-LLV(LOW,N1)),COLORYELLOW;
WR3:=-108*(HHV(HIGH,N2)-CLOSE)/(HHV(HIGH,N2)-LLV(LOW,N2)),COLORRED;

RSV2:=(CLOSE-LLV(LOW,3))/(HHV(HIGH,3)-LLV(LOW,3))*100;
K2:=SMA(RSV2,2,1);
D2:=SMA(K2,3,1);
J2:=3*K2-2*D2;

否极泰来线:-100.00,COLORFF00FF,LINETHICK1;
底部线:=-80.00,COLORYELLOW,LINETHICK1;
突破线:=-50.00,COLORWHITE,LINETHICK1;
暴涨线:=-20.00,COLORYELLOW,LINETHICK1;
物极必反线:=0,COLORFF00FF,LINETHICK1;


B1:=WR1<REF(WR1,1) AND CLOSE>REF(CLOSE,1);
B2:=WR1>REF(WR1,1) AND CLOSE<REF(CLOSE,1);
B3:=J2>D2;
B5:=B1 OR B2;
B6:=B5 AND B3;

标注:=DRAWICON(B6,WR1,26);

二次上拐:STICKLINE(B6,-70,-73,2,0),COLORGREEN;

请老师编一个买入的提示,谢谢!
作者: 陪练专家    时间: 2015-9-12 16:25
N:=2;
N1:=4;
N2:=8;

WR1:120*(HHV(HIGH,N)-CLOSE)/(HHV(HIGH,N)-LLV(LOW,N)),COLORGREEN;
WR2:110*(HHV(HIGH,N1)-CLOSE)/(HHV(HIGH,N1)-LLV(LOW,N1)),COLORYELLOW;
WR3:108*(HHV(HIGH,N2)-CLOSE)/(HHV(HIGH,N2)-LLV(LOW,N2)),COLORRED;
RSV2:=(CLOSE-LLV(LOW,3))/(HHV(HIGH,3)-LLV(LOW,3))*100;
K2:=SMA(RSV2,2,1);
D2:=SMA(K2,3,1);
J2:=3*K2-2*D2;

否极泰来线:100.00,COLORFF00FF,LINETHICK1;
底部线:80.00,COLORYELLOW,LINETHICK1;
突破线:50.00,COLORWHITE,LINETHICK1;
暴涨线:20.00,COLORYELLOW,LINETHICK1;
物极必反线:0,COLORFF00FF,LINETHICK1;


B1:=WR1<REF(WR1,1) AND CLOSE>REF(CLOSE,1);
B2:=WR1>REF(WR1,1) AND CLOSE<REF(CLOSE,1);
B3:=J2>D2;
B5:=B1 OR B2;
B6:=B5 AND B3;

DRAWICON(B6,WR1,26);

二次上拐:STICKLINE(B6,-70,-73,2,0),COLORGREEN;
作者: 学习    时间: 2016-11-1 15:21
学习




欢迎光临 股票论坛 (http://100000w.com/) Powered by Discuz! X3.2