请各位高手们,帮我把指标改成选股公式吧(通达信) 只要 “元宝坑” 和 “LLL” 两个提示

RSV:=(CLOSE-LLV(LOW,7))/(HHV(HIGH,7)-LLV(LOW,7))*100;
RSV1:=(CLOSE-LLV(LOW,52))/(HHV(HIGH,52)-LLV(LOW,52))*100;
RSV2:=(CLOSE-LLV(LOW,108))/(HHV(HIGH,108)-LLV(LOW,108))*100;
K1:=SMA(RSV2,15,1);
D1:=SMA(K1,15,1);
J1:=3*K1-2*D1;
STICKLINE(J1>D1,J1,D1,6,0),COLOR32608E;
STICKLINE(J1<D1,J1,D1,6,0),COLORBLUE;
K2:=SMA(RSV,3,1);
K3:=SMA(RSV1,5,1);
D2:=SMA(K3,10,1);
独立线:SMA(RSV2,5,1),COLORRED;
R1:=100-K3;
日底:=IF(R1-89.5<-3,-3,R1-89.5);
日顶:=IF(R1+80.5>100,100,R1+80.5);
A1:=MIN(100,R1+80.5);
A2:=MAX(-3,R1-89);
STICKLINE(日顶,100,A1,3,0),COLOR16AF36;
STICKLINE(日底,-3,A2,3,0),COLOR00CCFF;
快线:SMA(K2,3,1),COLOR00FF00;
慢线:SMA(RSV1,15,1),LINETHICK1,COLORYELLOW;
AA:=100-D2;
周底:=IF(AA-89.5<-3,-3,AA-89.5);
周顶:=IF(AA+80.5>100,100,AA+80.5);
BB:=MIN(100,AA+80.5);
DD:=MAX(-3,AA-88);
STICKLINE(周顶,100,BB,3,0),COLOR00FF00;
STICKLINE(周底,-3,DD,3,0),COLOR00AA00;
DRAWICON(CROSS(快线,慢线)AND 慢线<40,慢线,1);
DRAWTEXT(CROSS(快线,慢线)AND COUNT(快线<慢线,8)<5 AND 快线<70,快线+2,'一跃而起');
DRAWTEXT(EVERY(REF(快线,1)<REF(快线,2),5)AND 快线>REF(快线,1)AND 快线>慢线 AND 快线-慢线<5,慢线-5,'蜻蜓点水');
DRAWTEXT(EVERY(REF(快线,1)<REF(快线,2),5)AND 快线>REF(快线,1) AND 慢线-快线>35 AND 快线<30,快线,'元宝坑');
DRAWTEXT(LONGCROSS(快线,慢线,40)AND 慢线<50,快线,'LLL');
DRAWTEXT(LONGCROSS(慢线,快线,40)AND 慢线>60,90,'KKK');
DRAWTEXT(CROSS(独立线,慢线)AND 独立线>REF(独立线,1)AND 慢线>REF(慢线,1),独立线,'先看后买');
元宝坑:=(EVERY(REF(快线,1)<REF(快线,2),5) AND 快线>REF(快线,1) AND 慢线-快线>35 AND 快线<30;
这句无法通过 麻烦你了再改改吧

{ok.测试通过元宝坑选股}
RSV:=(CLOSE-LLV(LOW,7))/(HHV(HIGH,7)-LLV(LOW,7))*100;
RSV1:=(CLOSE-LLV(LOW,52))/(HHV(HIGH,52)-LLV(LOW,52))*100;
K2:=SMA(RSV,3,1);
快线:=SMA(K2,3,1);
慢线:=SMA(RSV1,15,1);
EVERY(REF(快线,1)<REF(快线,2),5)AND 快线>REF(快线,1) AND 慢线-快线>35 AND 快线<30;
=========================
{LLL选股}
RSV:=(CLOSE-LLV(LOW,7))/(HHV(HIGH,7)-LLV(LOW,7))*100;
RSV1:=(CLOSE-LLV(LOW,52))/(HHV(HIGH,52)-LLV(LOW,52))*100;
K2:=SMA(RSV,3,1);
快线:=SMA(K2,3,1);
慢线:=SMA(RSV1,15,1);
LONGCROSS(快线,慢线,40)AND 慢线<50;
温馨提示:内容为网友见解,仅供参考
第1个回答  2011-06-03
RSV:=(CLOSE-LLV(LOW,7))/(HHV(HIGH,7)-LLV(LOW,7))*100;
RSV1:=(CLOSE-LLV(LOW,52))/(HHV(HIGH,52)-LLV(LOW,52))*100;

K2:=SMA(RSV,3,1);
快线:=SMA(K2,3,1);
慢线:=SMA(RSV1,15,1);

元宝坑:=(EVERY(REF(快线,1)<REF(快线,2),5) AND 快线>REF(快线,1) AND 慢线-快线>35 AND 快线<30;
LLL:=(LONGCROSS(快线,慢线,40) AND 慢线<50;
元宝坑 OR LLL;

Warning: Invalid argument supplied for foreach() in /www/wwwroot/aolonic.com/skin/templets/default/contents.html on line 45
相似回答
大家正在搜