RSV1:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100; RSV2:=(CLOSE-LLV(LOW,37))/(HHV(HIGH,37)-LLV(LOW,37))*100; 短线:=SMA(SMA(RSV1,3,1),3,1)+3*STD(CLOSE,21),COLOR00FF00; 中线:=SMA(RSV2,5,1)+2*STD(CLOSE,37),COLORRED; cross(中线,短线) and 短线>ref(短线,1) and 中线>ref(中线,1); 系统说我最后一句有问题,但是我找不到,希望老师帮忙,万分感谢。
爱约股解答:
RSV1:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
RSV2:=(CLOSE-LLV(LOW,37))/(HHV(HIGH,37)-LLV(LOW,37))*100;
短线:=SMA(SMA(RSV1,3,1),3,1)+3*STD(CLOSE,21),COLOR00FF00;
中线:=SMA(RSV2,5,1)+2*STD(CLOSE,37),COLORRED;
CROSS(中线,短线) AND 短线>REF(短线,1) AND 中线>REF(中线,1);