Strategi Smart Breakthrough Dual-Sync adalah kombinasi dari strategi 123 Reversal dan strategi Axis Detection Vibrator. Strategi ini terutama menggunakan bentuk dual-sync untuk menilai titik balik tren potensial, dengan kombinasi dari Axis Detection Indicator Filter False Breakthrough Operasi, untuk mencapai operasi breakthrough yang menangkap pergeseran tren di lokasi teknologi penting.
Strategi ini terdiri dari dua bagian:
123 Strategi reversal berasal dari Ulf Jensen’s How to Double Your Value in the Futures Market, halaman 183. Strategi ini termasuk dalam strategi reversal.
Logika spesifiknya adalah: ketika harga penutupan 2 hari berturut-turut lebih tinggi dari harga penutupan hari sebelumnya, dan pada hari ke-9 garis lambat acak di bawah 50, lakukan over; ketika harga penutupan 2 hari berturut-turut lebih rendah dari harga penutupan hari sebelumnya, dan pada hari ke-9 garis cepat acak di atas 50, lakukan over.
Strategi pendorong pendeteksian sumbu pivotal dikemukakan oleh Giorgos E. Siligardos, yang dipublikasikan dalam jurnal Stocks & Commodities pada bulan September 2009.
Strategi ini menggunakan garis rata-rata dan RSI dalam kombinasi untuk menilai kondisi getaran saat harga mendekati tren naik turun, menghasilkan sinyal perdagangan. Rumus perhitungan spesifik adalah sebagai berikut:
当价格 > 移动均线时:
指标值 = (RSI值 - 35) / (85 - 35)
当价格 <= 移动均线时:
指标值 = (RSI值 - 20) / (70 - 20)
如果指标值 > 50, 做多
如果指标值 < 50, 做空
Menggabungkan dua strategi, dalam bentuk ganda, jika indikator sinyal arah yang sama, melakukan operasi terobosan. Dengan demikian, dapat menemukan tren baru di lokasi teknologi penting, sekaligus menghindari terobosan palsu dalam zona getaran.
Metode pengendalian dan pengoptimalan risiko:
Strategi ini dapat dioptimalkan dengan:
Uji coba sistem linear yang berbeda untuk mencari kombinasi parameter yang optimal
Optimalkan pengaturan parameter RSI untuk mengurangi kesalahan pelaporan
Meningkatkan Filtrasi Transaksi untuk Menjamin Penembusan Efektif
Indikator Keuntungan dan Kerugian
Optimalisasi parameter tuning secara otomatis menggunakan metode pembelajaran mesin
Meningkatkan strategi stop loss dan mengendalikan risiko
Evaluasi keberlanjutan terobosan, target profit
Analisis karakteristik varietas yang berbeda, menyesuaikan pengaturan parameter
Dengan cara optimasi parameter, evaluasi efek terobosan, dan penyesuaian strategi stop loss, strategi ini dapat terus ditingkatkan untuk mendapatkan keuntungan yang stabil di berbagai lingkungan pasar.
Strategi penembusan cerdas dual-switch menggunakan mekanisme pengesahan reversal and indicator filter yang komprehensif untuk menangkap titik-titik konversi tren potensial di lokasi teknologi yang penting. Dibandingkan dengan strategi yang hanya melacak terobosan, waktu pelaksanaan operasi penembusan lebih tepat, menghindari kesulitan dari kerugian berulang di zona getaran.
/*backtest
start: 2023-09-30 00:00:00
end: 2023-10-03 00:00:00
period: 45m
basePeriod: 5m
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/
//@version=4
////////////////////////////////////////////////////////////
// Copyright by HPotter v1.0 20/04/2021
// This is combo strategies for get a cumulative signal.
//
// First strategy
// This System was created from the Book "How I Tripled My Money In The
// Futures Market" by Ulf Jensen, Page 183. This is reverse type of strategies.
// The strategy buys at market, if close price is higher than the previous close
// during 2 days and the meaning of 9-days Stochastic Slow Oscillator is lower than 50.
// The strategy sells at market, if close price is lower than the previous close price
// during 2 days and the meaning of 9-days Stochastic Fast Oscillator is higher than 50.
//
// Second strategy
// The Pivot Detector Oscillator, by Giorgos E. Siligardos
// The related article is copyrighted material from Stocks & Commodities 2009 Sep
//
// WARNING:
// - For purpose educate only
// - This script to change bars colors.
////////////////////////////////////////////////////////////
Reversal123(Length, KSmoothing, DLength, Level) =>
vFast = sma(stoch(close, high, low, Length), KSmoothing)
vSlow = sma(vFast, DLength)
pos = 0.0
pos := iff(close[2] < close[1] and close > close[1] and vFast < vSlow and vFast > Level, 1,
iff(close[2] > close[1] and close < close[1] and vFast > vSlow and vFast < Level, -1, nz(pos[1], 0)))
pos
PDO(Length_MA,Length_RSI,UpBand,DownBand,MidlleBand) =>
pos = 0.0
xMA = sma(close, Length_MA)
xRSI = rsi(close, Length_RSI)
nRes = iff(close > xMA, (xRSI - 35) / (85-35),
iff(close <= xMA, (xRSI - 20) / (70 - 20), 0))
pos:= iff(nRes * 100 > 50, 1,
iff(nRes * 100 < 50, -1, nz(pos[1], 0)))
pos
strategy(title="Combo Backtest 123 Reversal & Pivot Detector Oscillator)", shorttitle="Combo", overlay = true)
line1 = input(true, "---- 123 Reversal ----")
Length = input(14, minval=1)
KSmoothing = input(1, minval=1)
DLength = input(3, minval=1)
Level = input(50, minval=1)
//-------------------------
line2 = input(true, "---- Pivot Detector Oscillator ----")
Length_MA = input(200, minval=1)
Length_RSI = input(14, minval=1)
UpBand = input(100, minval=1)
DownBand = input(0)
MidlleBand = input(50)
reverse = input(false, title="Trade reverse")
posReversal123 = Reversal123(Length, KSmoothing, DLength, Level)
posPDO = PDO(Length_MA,Length_RSI,UpBand,DownBand,MidlleBand)
pos = iff(posReversal123 == 1 and posPDO == 1 , 1,
iff(posReversal123 == -1 and posPDO == -1, -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)
if (possig == 0)
strategy.close_all()
barcolor(possig == -1 ? #b50404: possig == 1 ? #079605 : #0536b3 )