Strategi Pelacakan Kekuatan Beruang dirancang berdasarkan indikator Elder Ray Dr. Alexander Elder untuk mengukur tekanan pembelian dan penjualan di pasar.
Indikator inti dari strategi ini adalah Bear Power, yang dihitung dengan mengurangi EMA 13 hari dari harga rendah harian.
Ketika Bear Power melintasi di atas ambang batas yang ditentukan, posisi panjang dibuka.
Selain itu, arah panjang/pendek juga dapat beralih melalui parameter
Strategi ini sederhana dan mudah dilaksanakan dengan satu indikator menilai arah.
Keuntungan dari strategi ini meliputi:
Ada juga beberapa risiko:
Konfirmasi dengan beberapa indikator, stop loss dan pengaturan parameter dapat membantu mengoptimalkannya.
Beberapa arah untuk mengoptimalkan strategi:
Strategi Pelacakan Daya Beruang memiliki konsep sederhana untuk menilai masuk dan keluar dengan membandingkan satu indikator dengan ambang batas.
/*backtest start: 2023-12-01 00:00:00 end: 2023-12-31 23:59:59 period: 1d basePeriod: 1h exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}] */ //@version = 2 //////////////////////////////////////////////////////////// // Copyright by HPotter v1.0 07/12/2016 // Developed by Dr Alexander Elder, the Elder-ray indicator measures buying // and selling pressure in the market. The Elder-ray is often used as part // of the Triple Screen trading system but may also be used on its own. // Dr Elder uses a 13-day exponential moving average (EMA) to indicate the // market consensus of value. Bear Power measures the ability of sellers to // drive prices below the consensus of value. Bear Power reflects the ability // of sellers to drive prices below the average consensus of value. // Bull Power is calculated by subtracting the 13-day EMA from the day's High. // Bear power subtracts the 13-day EMA from the day's Low. // You can use in the xPrice any series: Open, High, Low, Close, HL2, HLC3, OHLC4 and ect... // 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="Elder Ray (Bear Power) Strategy Backtest") Length = input(13, minval=1) Trigger = input(0) reverse = input(false, title="Trade reverse") hline(0, color=purple, linestyle=line) xPrice = close xMA = ema(xPrice,Length) DayLow = iff(dayofmonth != dayofmonth[1], low, min(low, nz(DayLow[1]))) nRes = DayLow - xMA pos = iff(nRes > Trigger, 1, iff(nRes < Trigger, -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="Bear Power", style = histogram)