将辣妹子附图的“买点”写成 选股及预警公式
2020/5/3 19:22:27
公式编写说明:
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;J1:=REVERSE(J);AA:=REF(MA(C,1),10)>REF(MA(C,60),10);买点:CROSS(J,J1) AND AA;STICKLINE(买点,0,30,12,0),COLOR0000FF;STICKLINE(买点,30,60,10,0),COLORWHITE;STICKLINE(买点,60,80,6,0),COLORYELLOW;DRAWTEXT(买点,40,'买'),COLORFF00FF;
公式源码回答:
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;
J1:=REVERSE(J);
AA:=REF(MA(C,1),10)>REF(MA(C,60),10);
买点:CROSS(J,J1) AND AA;
投 股票网 www.to u18.cn
股市公式下载推荐