启动以下选股会
-
相关简介:编写要求: www.guhai.com.cn 股海网解答: 网友求助: 各位大侠, 启动选股或测试以下公式会关掉飞狐千钧版, 请帮帮忙 RSV:=(C-LLV(L,4))/(HHV(H,4)-LLV(L,4))*100; K:=LLV(L,4)+SMA(RSV,4,1)/100*(HHV(H,4)-LLV(L,4)); D:=SMA(K,3,1); H2:=VALUEWHEN(C=d and dref(D,1),D); L2:=VALUEWHEN(C=d and dref(D,1),K); K
-
文章来源:股海网作者:股海网发布时间:2019-05-21浏览次数:
编写要求:
www.guhai.com.cn股海网解答:
网友求助:
各位大侠,
启动选股或测试以下公式会关掉飞狐千钧版, 请帮帮忙
RSV:=(C-LLV(L,4))/(HHV(H,4)-LLV(L,4))*100;
K:=LLV(L,4)+SMA(RSV,4,1)/100*(HHV(H,4)-LLV(L,4));
D:=SMA(K,3,1);
H2:=VALUEWHEN(C>=d and d>ref(D,1),D);
L2:=VALUEWHEN(C<=d and d<ref(D,1),K);
K1:=IF(C>H2,-3,IF(C<L2,1,0));
K2:=VALUEWHEN(K1<>0,K1);
G:=IF(K2>0,H2,L2);
CROSS(C,G);
解答如下:
RSV:=(C-LLV(L,4))/(HHV(H,4)-LLV(L,4))*100;
K:=LLV(L,4)+SMA(RSV,4,1)/100*(HHV(H,4)-LLV(L,4));
D:=SMA(K,3,1);
H2:=ref(d,BARSLAST(C>=d and d>ref(D,1)));
L2:=ref(k,BARSLAST(C<=d and d<ref(D,1)));
K1:=IF(C>H2,-3,IF(C<L2,1,0));
K2:=ref(k1,BARSLAST(K1<>0));
G:=IF(K2>0,H2,L2);
CROSS(C,G);
K:=LLV(L,4)+SMA(RSV,4,1)/100*(HHV(H,4)-LLV(L,4));
D:=SMA(K,3,1);
H2:=ref(d,BARSLAST(C>=d and d>ref(D,1)));
L2:=ref(k,BARSLAST(C<=d and d<ref(D,1)));
K1:=IF(C>H2,-3,IF(C<L2,1,0));
K2:=ref(k1,BARSLAST(K1<>0));
G:=IF(K2>0,H2,L2);
CROSS(C,G);