
動的絶対値指数策略は,Tushar Chandeが開発した動的絶対値指数CMOの改良版である.この策略は,価格の絶対動的量値を計算して,市場が現在過買または過売状態にあるかどうかを判断し,市場の中期価格変動を捕捉する.
この戦略の核心指標は,改良されたCMO指標であるAbsCMOである.AbsCMOの計算式は以下のとおりである.
AbsCMO = abs(100 * (最新收盘价 - Length周期前的收盘价) / (Length周期内价格波动绝对值的简单移动平均 * Length))
その中で,Lengthは平均期間長さを表している。AbsCMO値の範囲は0から100。この指標は,動力の方向性と強さのmonumentalityを組み合わせ,市場の中期トレンドと超買い超売り領域を明確に判断できる。
AbsCMOの上線が指定された上線 ((デフォルト70)) を突破すると,市場が超買い,空白を表示する.AbsCMOの下線が指定された下線 (デフォルト20) を突破すると,市場が超売り,多出を表示する。
他の動力指標と比較して,AbsCMO指標は以下の利点があります.
この戦略には以下のリスクがあります.
ポジション保持周期を適切に短縮したり,パラメータを最適化したり,他の指標の組み合わせで使用することでリスクを軽減することができます.
この戦略は以下の点で最適化できます.
動量絶対値指数戦略は,全体的に比較して実用的な中期取引戦略である.価格の中期絶対動量特性を反応して,市場の中期傾向を判断する判断力が強い.しかし,この戦略は,短期的な急激な変動に無感であり,一定のリスクがある.パラメータ最適化,指標フィルタリング,止損機構などのさらなる改良により,この戦略の実盘パフォーマンスをより安定的に信頼できる.
/*backtest
start: 2023-02-12 00:00:00
end: 2024-02-18 00:00:00
period: 1d
basePeriod: 1h
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/
//@version=2
////////////////////////////////////////////////////////////
// Copyright by HPotter v1.0 17/02/2017
// This indicator plots the absolute value of CMO. CMO was developed by Tushar
// Chande. A scientist, an inventor, and a respected trading system developer,
// Mr. Chande developed the CMO to capture what he calls "pure momentum". For
// more definitive information on the CMO and other indicators we recommend the
// book The New Technical Trader by Tushar Chande and Stanley Kroll.
// The CMO is closely related to, yet unique from, other momentum oriented indicators
// such as Relative Strength Index, Stochastic, Rate-of-Change, etc. It is most closely
// related to Welles Wilder`s RSI, yet it differs in several ways:
// - It uses data for both up days and down days in the numerator, thereby directly
// measuring momentum;
// - The calculations are applied on unsmoothed data. Therefore, short-term extreme
// movements in price are not hidden. Once calculated, smoothing can be applied to
// the CMO, if desired;
// - The scale is bounded between +100 and -100, thereby allowing you to clearly see
// changes in net momentum using the 0 level. The bounded scale also allows you to
// conveniently compare values across different securities.
//
// You can change long to short in the Input Settings
// Please, use it only for learning or paper trading. Do not for real trading.
////////////////////////////////////////////////////////////
strategy(title="CMOabs", shorttitle="CMOabs")
Length = input(9, minval=1)
TopBand = input(70, minval=1)
LowBand = input(20, minval=0)
reverse = input(false, title="Trade reverse")
// hline(0, color=gray, linestyle=dashed)
// hline(TopBand, color=red, linestyle=line)
// hline(LowBand, color=green, linestyle=line)
xMom = abs(close - close[1])
xSMA_mom = sma(xMom, Length)
xMomLength = close - close[Length]
nRes = abs(100 * (xMomLength / (xSMA_mom * Length)))
pos = iff(nRes > TopBand, -1,
iff(nRes < LowBand, 1, nz(pos[1], 0)))
possig = iff(reverse and pos == 1, -1,
iff(reverse and pos == -1, 1, pos))
if (possig == 1)
strategy.entry("Long", strategy.long)
if (possig == -1)
strategy.entry("Short", strategy.short)
barcolor(possig == -1 ? red: possig == 1 ? green : blue )
plot(nRes, color=blue, title="CMO")