将底部界限公式中发出买字时改为选股公式
2020/2/20 18:24:47
公式编写说明:
RSV15:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;K15:=SMA(RSV15,15,1);D15:=SMA(K15,5,1);STICKLINE(EMA(D15,3)>REF(EMA(D15,3),1) ,EMA(D15,3) ,REF(EMA(D15,3),1) ,3 ,0),COLORRED;STICKLINE(EMA(D15,3)<REF(EMA(D15,3),1) ,EMA(D15,3) ,REF(EMA(D15,3),1) ,3 ,0 ),COLORYELLOW;底部:0,COLORF00FF0,LINETHICK2;界线:20,POINTDOT,COLORYELLOW;DRAWTEXT(ISLASTBAR,20,'安 全 区'),COLORLIMAGENTA;DRAWTEXT(ISLASTBAR,80,'风 险 区'),COLORBLUE;DRAWTEXT(ISLASTBAR,100,'高风险区'),COLORGREEN;0,COLORRED,LINETHICK2;20,COLORLIMAGENTA;{50,COLORWHITE;}80,COLORBLUE;100,COLORGREEN,LINETHICK2;RSV:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;K周:SMA(RSV,15,1),COLORWHITE;D周:SMA(K周,3,1),COLORYELLOW;J周:3*K周-2*D周,COLORRED;STICKLINE((CROSS(D周,K周)),D周,K周,30,15),COLORRED;DRAWTEXT(CROSS(K15,D15),K15-0,'买'),COLORRED;DRAWTEXT(CROSS(D15,K15),K15+0,'卖'),COLORGREEN;求老师将公式中发出买字时改为选股公式,谢谢老师!
公式源码回答:
RSV15:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
K15:=SMA(RSV15,15,1);
D15:=SMA(K15,5,1);
XG:CROSS(K15,D15);
投 股票网 www. tou18.cn
股市公式下载推荐