MCPcopy Index your code
hub / github.com/mpquant/Ashare / TAQ

Function TAQ

MyTT.py:143–145  ·  view source on GitHub ↗
(HIGH,LOW,N)

Source from the content-addressed store, hash-verified

141 return PDI, MDI, ADX, ADXR
142
143def TAQ(HIGH,LOW,N): #唐安奇通道交易指标,大道至简,能穿越牛熊
144 UP=HHV(HIGH,N); DOWN=LLV(LOW,N); MID=(UP+DOWN)/2
145 return UP,MID,DOWN
146
147def TRIX(CLOSE,M1=12, M2=20): #三重指数平滑平均线
148 TR = EMA(EMA(EMA(CLOSE, M1), M1), M1)

Callers

nothing calls this directly

Calls 2

HHVFunction · 0.85
LLVFunction · 0.85

Tested by

no test coverage detected