将辣妹子附图的“买点”写成 选股及预警公式
2020/5/3 18:51:11
公式编写说明:
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.kanguba. com
其它股票公式列表