?拉升做选股
趋势:3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))
*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))
*100,5,1),3,1),COLORFF00FF,LINETHICK3;
买:IF(趋势<=10,15,0),LINETHICK2,COLORFF00FF;
DRAWTEXT(趋势<=10,10,'买'),COLORFF00FF;
VAR1:=HHV(HIGH,9)-LLV(LOW,9);
VAR2:=HHV(HIGH,9)-CLOSE;
VAR3:=CLOSE-LLV(LOW,9);
VAR4:=VAR2/VAR1*100-70;
VAR5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60));
VAR6:=(2*CLOSE+HIGH+LOW)/4;
VAR7:=SMA(VAR3/VAR1*100,3,1);
VAR8:=LLV(LOW,34);
VAR9:=SMA(VAR7,3,1)-SMA(VAR4,9,1);
VAR10:=IF(VAR9>100,VAR9-100,0);
VAR11:=HHV(HIGH,34);
VAR12:=EMA((VAR6-VAR8)/(VAR11-VAR8)*100,13);
VAR13:=EMA(0.667*REF(VAR12,1)+0.333*VAR12,2);
DRAWBAND(VAR12,RGB(255,0,0),VAR13,RGB(256,200,0));
A1:=HHV(HIGH,50)/LLV(LOW,100)>1.5;
A2:=(HHV(HIGH,50)-LOW)/(HHV(HIGH,50)-LLV(LOW,100));
A3:=(LOW-LLV(LOW,100))/(HHV(HIGH,50)-LLV(LOW,100));
A4:=HHVBARS(HIGH,50)
A6:=COUNT(A5,20)=1;
抢反弹:A6 AND A5;
STICKLINE(抢反弹,0,20,4,0),COLOR009999;
STICKLINE(抢反弹,0,20,2,0),COLOR00BBBB;
STICKLINE(抢反弹,0,20,1,0),COLOR00DDDD;
STICKLINE(抢反弹,0,20,0.4,0),COLOR00FFFF;
DRAWTEXT(抢反弹,22,'抢反弹'),COLOR00BBFF;
VAR2W:=100-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
MW:= EMA(VAR2W,3);
VAR3W:=EMA(VAR2W,7);
M1:= EMA(VAR3W,5);
MB1:=CROSS(MW,M1) AND M1<20;
抄底:IF((MB1),20,0),LINETHICK2,COLORRED;
DRAWTEXT(CROSS(MW,M1) AND M1<20,22,'★抄底'),COLORRED;
卖出:IF(趋势>=98,85,95),LINETHICK3,COLORFF0000;
DRAWTEXT(趋势>=98,85,'卖出'),COLORFF0000;
{DRAWICON(CROSS(80,趋势),80,2);}
买入:买 AND 抄底;
STICKLINE(买入,0,30,4,0),COLOR000099;
STICKLINE(买入,0,30,2,0),COLOR0000BB;
STICKLINE(买入,0,30,1,0),COLOR0000DD;
STICKLINE(买入,0,30,0.4,0),COLOR0000FF;
DRAWTEXT(买入,35,'买入'),COLORFFFFFF;
拉升:=CROSS(趋势,VAR12) AND VAR12<60;
DRAWICON(拉升,VAR12,23);
DRAWTEXT(拉升,趋势,'拉升'),COLORFFFFFF;
老K股票学习网解答:
趋势:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))
*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))
*100,5,1),3,1);
VAR6:=(2*CLOSE+HIGH+LOW)/4;
VAR8:=LLV(LOW,34);
VAR11:=HHV(HIGH,34);
VAR12:=EMA((VAR6-VAR8)/(VAR11-VAR8)*100,13);
拉升:CROSS(趋势,VAR12) AND VAR12<60;
Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号
免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!