VAR1:=IF(CLOSE > OPEN AND HIGH > REF(CLOSE,1),ATAN((HIGH-REF(CLOSE,1))/REF(CLOSE,1)),0); VAR2:=IF(CLOSE > OPEN AND HIGH < REF(CLOSE,1),-ATAN((REF(CLOSE,1)-HIGH)/REF(CLOSE,1)),0); VAR3:=IF(CLOSE > OPEN AND HIGH=REF(CLOSE,1),0,0); VAR4:=IF(CLOSE < OPEN AND HIGH > REF(CLOSE,1),ATAN((HIGH-REF(CLOSE,1))/REF(CLOSE,1)),0); VAR5:=IF(CLOSE < OPEN AND HIGH < REF(CLOSE,1),-ATAN((REF(CLOSE,1)-HIGH)/REF(CLOSE,1)),0); VAR6:=IF(CLOSE < OPEN AND HIGH=REF(CLOSE,1),0,0); VAR7:=VAR1+VAR2+VAR3+VAR4+VAR5+VAR6; VAR8:=MA(VAR7,9); VAR9:=MA(VAR7,5); VAR10:=MA(VAR7,3); VAR11:=IF(CLOSE > OPEN AND LOW > REF(CLOSE,1),ATAN((LOW-REF(CLOSE,1))/REF(CLOSE,1)),0); VAR12:=IF(CLOSE > OPEN AND LOW < REF(CLOSE,1),-ATAN(REF(CLOSE,1)-LOW)/REF(CLOSE,1),0); VAR13:=IF(CLOSE > OPEN AND LOW=REF(CLOSE,1),0,0); VAR14:=IF(CLOSE < OPEN AND LOW > REF(CLOSE,1),ATAN((LOW-REF(CLOSE,1))/REF(CLOSE,1)),0); VAR15:=IF(CLOSE < OPEN AND LOW < REF(CLOSE,1),-ATAN((REF(CLOSE,1)-LOW)/REF(CLOSE,1)),0); VAR16:=IF(CLOSE < OPEN AND LOW=REF(CLOSE,1),0,0); VAR17:=VAR11+VAR12+VAR13+VAR14+VAR15+VAR16; VAR18:=MA(VAR17,9); VAR19:=MA(VAR17,5); VAR20:=MA(VAR17,3); VAR21:=ATAN(VAR8/0.09); VAR22:=ATAN(VAR9/0.05); VAR23:=ATAN(VA
支付5荣誉值,阅读全文
还有更多精彩内容付费后可见,签到发帖可获取荣誉值
|