以下是通达信自编底进高出选股指标公式 清晰买卖点源码
{底进高出}
N:=5;
趋势线:4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),3.2,1),COLORWHITE,LINETHICK1;
下线:15,COLORGREEN;
买入: CROSS(趋势线,下线);
STICKLINE(买入=1,15,60,2,0),COLORRED;
DRAWTEXT(买入=1,75,’买’),COLORRED;
VARO5:=LLV(LOW,27);
VARO6:=HHV(HIGH,34);
VARO7:=EMA((CLOSE-VARO5)/(VARO6-VARO5)*4,4)*25;
DRAWTEXT(趋势线>80,110,’卖’),COLOREE82EE;
天线:120,COLORWHITE,LINETHICK0;
顶线:100,COLORGREEN;
底线:0,COLORRED;
RSV:=(((CLOSE – LLV(LOW,9)) / (HHV(HIGH,9) – LLV(LOW,9))) * 100);
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
X:=LLV(J,2)=LLV(J,8);
底:CROSS(J,REF(J+0.01,1)) AND X AND J<19;
STICKLINE(底,0,-5,3,1),COLORYELLOW;
DRAWTEXT(底,-8,’底’);
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(0)