좁은 진동 내의收盘突破策略은 좁은 진동과 내부收盘突破를 식별하는 긴 선을 다하는策略이다. 그것은 가격의 진동이 좁은 진동과 내부收盘의 이중 조건을 충족할 때,均线方向을 판단하고, 다하는 신호를 생성하여, 돌파 이후의 가격 트렌드를 포착한다.
지난 7일 동안 가장 낮은 가격 변동이 있었던 날을 NR7로 결정합니다.
내부 종식 판단을 사용하여 전날의 최고점은 현재보다 낮고 전날의 최저점은 현재보다 높습니다.
NR7과 내부 폐쇄가 동시에 발생하고 폐쇄 가격이 개장 가격보다 높을 때, 더 많은 것을 입력하십시오.
평위 조건은 다음 날의 폐쇄 가격이 오픈 가격보다 높기 때문입니다.
이 전략은 가격의 흔들림 축소와 내부 폐쇄의 두 가지 신호를 동시에 활용하여 시장이 축적된 흔들림 단계에 들어간 것을 판단한다. 평균선 방향이 올라갈 때 가격이 돌파구가 발생할 가능성이 높다. 이러한 다중 조건 필터는 실제 거래의 정확성을 향상시킬 수 있다.
또한, 이 전략은 단지 더 많은 것을 하는 것만으로, 흔들림의 영역에 갇히지 않고, 불필요한 거래의 수를 줄일 수 있습니다.
“이번 사태는 우리나라는 안보를 위해 안보를 강화하고 있다.
평균선 방향은 큰 경향의 존재를 결정합니다.
다중 조건 필터링, 신호 정확도 향상
더 많은 일을 하면, 더 많은 충격이 없죠.
응답 파라미터가 최적화되고, 전략이 유연하다.
거래 신호를 최적화하기 위해 평균선 변수를 적절하게 조정해야 합니다.
구매가 늦어질 수도 있고, 돌파할 시점에 주의를 기울여야 합니다.
더 많은 일을 하는 것 만으로는 추락에서 이익을 얻을 수 없습니다.
지진이 다시 발생하지 않도록 주의해야 합니다.
좁은 폭의 진동 내의 수익 돌파구 전략은 시장 구조에 대한 심층적인 판단을 통해 높은 확률 상황에서 거래 신호를 생성한다. 그것은 강한 적응력을 가지고 있으며, 매개 변수를 조정하여 최적화 할 수 있다. 이 전략은 재검토 검증과 실장 조정의 가치가 있으며, 양적 거래 시스템의 핵심 모듈이 될 수 있다.
/*backtest
start: 2023-09-11 00:00:00
end: 2023-09-14 00:00:00
period: 10m
basePeriod: 1m
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/
//@version=2
strategy("NR7ID: Narrow Range + Inside Day, Long Only Strategy (by ChartArt)", shorttitle="CA_-_NR7ID_Strat", overlay=true) // max_bars_back=5000
// ChartArt's Narrow Range + Inside Day Strategy (Long Only)
//
// Version 1.0
// Idea by ChartArt on Oktober 16, 2016.
//
// This long only strategy determines when there is both
// a NR7 (narrow range 7, a trading day in which the range
// is narrower than any of the previous six days), plus a
// inside day (high of the current day is lower than the high
// of the previous day and the low of the current day is higher
// than the low of the previous day) both on the same trading day
// and enters a long trade when the close is larger than the
// open and the slope of the simple moving average is upwards, too.
//
// The strategy exits the long trade next time the close is
// larger than the open in any of the next trading days.
//
// In addition the NR7ID can be colored (if close large open
// colored in green, else in red) and the SMA can be drawn
// with a color based on the direction of the SMA slope.
//
// List of my work:
// https://www.tradingview.com/u/ChartArt/
//
// __ __ ___ __ ___
// / ` |__| /\ |__) | /\ |__) |
// \__, | | /~~\ | \ | /~~\ | \ |
//
//
// NR7 Identifier
show_NR7=input(true, type=bool,title="Show Narrow Range 7 (NR7) ?")
range=(high-low)
nr7=(range < range[1]) and (range < range[2]) and (range < range[3]) and (range < range[4]) and (range < range[5]) and (range < range[6])
plotchar(show_NR7?nr7:na, char="7", location=location.abovebar, color=blue)
// Inside Day Identifier
show_insidebar = input(true, type=bool,title="Show Inside Day (I) ?")
insidebar = (high < high[1] and low > low[1])
plotchar(show_insidebar?insidebar:na, char="i", location=location.abovebar, color=blue)
// NR7 + Inside Day Identifier
show_NR7ID = input(true, type=bool,title="Show NR7ID (NR7 + Inside Day) colors ?")
NR7ID = nr7 and insidebar
NR7ID_color = NR7ID and open < close ? green : NR7ID and open > close ? red : gray
barcolor(show_NR7ID?NR7ID_color:na)
// Simple Moving Average
show_ma = input(true, type=bool,title="Show SMA ?")
ma_length = input(14,title="SMA Length")
ma = sma(close,ma_length)
ma_change = change(ma) > 0
ma_change_color = change(ma) > 0 ? green : change(ma) < 0 ? red : blue
plot(show_ma?ma:na,color=ma_change_color,linewidth=3)
// (not enabled) Short Strategy: NR7 + Inside Day + close is smaller than open + change of SMA is downwards
//strategy.entry("sell", strategy.short, when = NR7ID and open > close and ma_change == false, comment="Short")
//strategy.close("sell", when = open > close )
// Long Strategy: NR7 + Inside Day + close is larger than open + change of SMA is upwards
strategy.entry("long", strategy.long, when = NR7ID and open < close and ma_change == true, comment="Long")
strategy.close("long", when = open < close )