We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
def QRR(VOL): # 量比(Quantity Relative Ratio) return (VOL / MA(REF(VOL), 5)).values def SHO(CLOSE, VOL, N=5): # 钱龙短线指标(Short) VAR1 = MA((VOL - REF(VOL, 1)) / REF(VOL, 1), 5) VAR2 = (CLOSE - MA(CLOSE, 24)) / MA(CLOSE, 24) * 100 SHT = VAR2 * (1 + VAR1) SHTMA = MA(SHT, N) return SHT, SHTMA def LON(CLOSE, HIGH, LOW, VOL): # 钱龙长线指标(Long) LC = REF(CLOSE, 1) VID = SUM(VOL, 2) / (((HHV(HIGH, 2) - LLV(LOW, 2))) * 100) RC = (CLOSE - LC) * VID LONG = SUM(RC, 0) DIFF = SMA(LONG, 10, 1) DEA = SMA(LONG, 20, 1) LON = DIFF - DEA LONMA = MA(LON, 10) return LON, LONMA
The text was updated successfully, but these errors were encountered:
感谢分享!
Sorry, something went wrong.
No branches or pull requests
The text was updated successfully, but these errors were encountered: