Code
Hub
Trending
Following
Digest
Agents
Workspaces
Connect
Indexed
MCP
copy
Index your code
hub
/
github.com/mpquant/Ashare
/ PSY
Function
PSY
MyTT.py:117–120 ·
view source on GitHub ↗
(CLOSE,N=12, M=6)
Source
from the content-addressed store, hash-verified
115
return
RD(UPPER), RD(MID), RD(LOWER)
116
117
def
PSY(CLOSE,N=12, M=6):
118
PSY=COUNT(CLOSE>REF(CLOSE,1),N)/N*100
119
PSYMA=MA(PSY,M)
120
return
RD(PSY),RD(PSYMA)
121
122
def
CCI(CLOSE,HIGH,LOW,N=14):
123
TP=(HIGH+LOW+CLOSE)/3
Callers
nothing calls this directly
Calls
4
COUNT
Function · 0.85
REF
Function · 0.85
MA
Function · 0.85
RD
Function · 0.85
Tested by
no test coverage detected