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;
X1:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5))>100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30));
X2:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5))>60 ;
X3:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30))>70;
X4:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5))>100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30));
X5:=BArslAST(crOSS(30,100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5))))<2;
X6:=BARSLAST(CROSS(100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5)),50))<2;
X7:=BARSLAST(CROSS(100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30)),100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5))))<2 ;
X8:=BARSLAST(CROSS(50,100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5))))<3;
X9:=BARSLAST(CROSS(100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5)),50))<3;
X10:=BARSLAST(CROSS(100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30)),100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5))))<2;
X11:=MA(C,10)>REF(MA(C,10),1) AND MA(C,60)>REF(MA(C,60),1) AND C>O AND REF(C<O,1);
X12:=MA(C,5)>REF(MA(C,5),1) AND J>REF(J,1);
X1 AND X2 AND X3 AND X4 AND X5 AND X6 AND X7 AND X8 AND X9 AND X10 AND X11 AND X12;

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。