
이치모쿠 킨코 히오 (Ichimoku Kinko Hyo) 거래 전략은 이치모쿠 기술 지표에 기반한 트렌드 추적 전략이다. 이 전략은 이치모쿠의 전환선, 기준선, 선도선 1, 선도선 2 등의 지표를 사용하여 트렌드 방향을 판단하고, 진출 및 중단 시간을 판단한다.
이 전략은 다음의 네 가지 조건에 따라 거래 방향을 결정합니다.
구체적으로, 전략은 먼저 전환선, 기준선, 선도선 1과 선도선 2을 계산한다. 그리고 닫기 가격이 클라우드 그래프의 상단 또는 하단 경계를 뚫었는지 판단하고, 오버 또는 오브를 결정한다.
만약 가격 위에 클라우드 그래프를 가로질러 26회 평균값을 닫는다면, 즉 선두선 1과 선두선 2의 더 큰 값을 가로질러, 주가가 상승 추세에 들어간다는 것을 나타낸다면, 이 때 더 많이 한다.
만약 가격이 아래로 흐르는 그림의 아래쪽을 닫으면, 즉 26시즌의 평균값을 26시즌 동안 흐르는 선두선 1과 선두선 2의 더 작은 값으로 닫으면, 주가가 하향 추세에 들어간다는 것을 나타냅니다. 이 때 공백을 다.
입점 후 정지 조건과 중지 조건. 정지 조건은 입점 가격의 3.5%, 중지 조건은 입점 가격의 1.5%이다.
이치모쿠 킨코 히오의 거래 전략은 다음과 같은 장점을 가지고 있습니다.
이치모쿠 킨코 히오의 거래 전략에는 위험도 있습니다.
대책:
Ichimoku Kinko Hyo의 거래 전략은 다음과 같은 측면에서 최적화 될 수 있습니다.
Ichimoku Kinko Hyo의 거래 전략은 전반적으로 잠재적인 트렌드를 적시에 캡처 할 수있는 상대적으로 좋은 전략입니다. 그러나 강력한 거래 시스템을 형성하기 위해 다른 지표와 더 많은 최적화와 조합이 필요합니다.
/*backtest
start: 2023-10-16 00:00:00
end: 2023-11-15 00:00:00
period: 1h
basePeriod: 15m
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/
//@version=4
strategy("Ichimoku system", overlay=true, initial_capital = 100000, default_qty_type = strategy.percent_of_equity, default_qty_value=100)
buyOnly = input(false, "only shows buying Trade", type = input.bool)
conversionPeriods = input(9, minval=1, title="Conversion Line Periods"),
basePeriods = input(26, minval=1, title="Base Line Periods")
laggingSpan2Periods = input(52, minval=1, title="Lagging Span 2 Periods"),
displacement = input(26, minval=1, title="Displacement")
donchian(len) => avg(lowest(len), highest(len))
conversionLine = donchian(conversionPeriods)
baseLine = donchian(basePeriods)
leadLine1 = avg(conversionLine, baseLine)
leadLine2 = donchian(laggingSpan2Periods)
plot(conversionLine, color=#0496ff, title="Conversion Line")
plot(baseLine, color=#991515, title="Base Line")
plot(close, offset = -displacement + 1, color=#459915, title="Lagging Span")
p1 = plot(leadLine1, offset = displacement - 1, color=color.green,
title="Lead 1")
p2 = plot(leadLine2, offset = displacement - 1, color=color.red,
title="Lead 2")
fill(p1, p2, color = leadLine1 > leadLine2 ? color.green : color.red)
profit = input(3.5, "enter target in % after entry", step = 0.5)
stoploss = input(1.5, "enter Stoploss in % after entry", step = 0.5)
sl = stoploss /100 * strategy.position_avg_price / syminfo.mintick
profitt = profit /100 * strategy.position_avg_price / syminfo.mintick
abovecloud = max(leadLine1, leadLine2)
belowcloud = min(leadLine1, leadLine2)
buying = close > abovecloud[26] and close[1] < abovecloud[27]
selling = close < belowcloud[26] and close[1] > belowcloud[27]
strategy.entry("BuyAboveCLoud", true, when = buying)
if buyOnly
strategy.close("BuyAboveCLoud", when = selling)
else
strategy.entry("SellBelowCloud", false, when = selling)
//strategy.exit("Exit Position", "BuyAboveCLoud", profit = profitt, loss = sl)
//strategy.exit("Exit Position", "SellBelowCloud", profit = profitt, loss = sl)