Type/to search

평균 가격 이동 기반 거래 전략

Common strategy
Created: 2024-02-02 11:02:02
Last modified: 3 years ago
1
Follow
1802
Followers

img

개요

이 전략의 핵심 아이디어는 평균 가격의 움직임을 기반으로 거래 신호를 생성하는 것입니다. 서로 다른 세 가지 매개변수 설정을 가진 슈퍼트렌드 지표를 결합하며, ATR 손절매, 앵커 손절매, 퍼센트 손절매, 포인트 손절매 등 다양한 손절매 방식을 설정합니다.

전략의 장점은 다중 슈퍼트렌드 시스템을 활용하여 신호 정확도를 높이고, 유연한 손절매 설정을 제공하는 데 있습니다.

전략 원리

  1. 세 가지 슈퍼트렌드 지표를 계산합니다: 슈퍼트렌드 라인은 ATR 지표와 가격 평균값의 곱으로 계산됩니다. 가격이 슈퍼트렌드 라인을 상회하면 강세 신호, 하회하면 약세 신호로 간주합니다.

  2. 볼린저 밴드의 상단 및 하단 밴드를 사용하여 가격 돌파를 판단합니다. 볼린저 밴드 상단 돌파는 강세 신호, 하단 돌파는 약세 신호입니다.

  3. 세 가지 슈퍼트렌드 지표의 매수/매도 신호를 결합하여 롱 및 숏 진입 조건 충족 여부를 판단합니다.

  4. ATR 손절매, 앵커 손절매, 퍼센트 손절매, 포인트 손절매 등 다양한 손절매 방식을 설정하여 리스크를 관리합니다.

  5. ATR 지표 값의 크기에 따라 시장 진입 여부를 판단합니다. 이를 통해 낮은 변동성 환경에서의 잘못된 신호를 걸러낼 수 있습니다.

전략 장점

  1. 다양한 매개변수 설정을 가진 여러 슈퍼트렌드 지표를 결합하여 신호의 정확도를 높일 수 있습니다.

  2. 볼린저 밴드를 활용하여 가격이 상하한 밴드를 돌파하는지 판단함으로써 가짜 돌파를 방지합니다.

  3. 여러 손절매 방식을 제공하여 리스크를 관리하고, 감당할 수 있는 손실 이상을 최대한 방지합니다.

  4. ATR 지표 값을 사용하여 시장 진입 여부를 통제함으로써 오도하는 신호를 걸러낼 수 있습니다.

전략 리스크

  1. 여러 지표를 조합하여 진입 시점을 판단하기 때문에 일부 좋은 기회를 놓칠 수 있습니다.

  2. 손절매 방식이 부적절하게 설정되면 예상보다 큰 손실이 발생할 수 있습니다.

  3. 볼린저 밴드 매개변수가 부적절하게 설정되면 신호에 지연이 발생할 수 있습니다.

  4. ATR 지표 값 필터 조건이 너무 엄격하면 많은 신호가 필터링될 수 있습니다.

전략 최적화 방향

  1. 슈퍼트렌드 지표의 ATR 기간 매개변수를 조정하여 지표의 민감도를 최적화합니다.

  2. 가중 이동 평균 등 다양한 유형의 가격 평균값을 슈퍼트렌드 지표의 입력 소스로 시도합니다.

  3. 볼린저 밴드의 매개변수를 최적화하여 가격의 실제 추세에 더 빠르게 반응하도록 합니다.

  4. 시장 변동성 특성에 맞춰 ATR 지표 필터의 매개변수 경계를 조정합니다.

  5. 백테스트에서 다양한 손절매 조건 하의 수익률을 테스트하여 최적의 손절매 지점을 찾습니다.

요약

이 전략은 여러 지표를 조합하여 필터링하고 신호를 판단함으로써 일부 노이즈를 걸러냅니다. 동시에 유연한 손절매 메커니즘을 제공하여 리스크를 통제합니다. 매개변수를 조정하면 더 나은 전략 성과를 얻을 수 있습니다. 그러나 여러 지표 판단으로 인해 기회를 놓칠 수도 있습니다. 전반적으로 이 전략은 중장기 투자에 적합하며 안정적인 투자 수익을 얻을 수 있습니다.

Source
Pine
/*backtest
start: 2024-01-02 00:00:00
end: 2024-02-01 00:00:00
period: 1h
basePeriod: 15m
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/

// @version=5
// @strategy_alert_message {{strategy.order.comment}}
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © TradeSmart22
Strategy parameters
Strategy parameters
Plot Settings
Plot Signals
Plot SL/TP Lines
Supertrend 1
Plot Supertrend 1
Supertrend 1 can be entry signal
Long: Supertrend 1 has to be in
Short: Supertrend 1 has to be in
ATR Period 1
Source 1
ATR Multiplier 1
Supertrend 2
Plot Supertrend 2
Supertrend 2 can be entry signal
Long: Supertrend 2 has to be in
Short: Supertrend 2 has to be in
ATR Period 2
Source 2
ATR Multiplier 2
Supertrend 3
Plot Supertrend 3
Supertrend 3 can be entry signal
Long: Supertrend 3 has to be in
Short: Supertrend 3 has to be in
ATR Period 3
Source 3
ATR Multiplier 3
Supertrend 4
Plot Supertrend 4
Supertrend 4 can be entry signal
Long: Supertrend 4 has to be in
Short: Supertrend 4 has to be in
ATR Period 4
Source 4
ATR Multiplier 4
Exit Strategy
ATR Based Stop Loss
ATR Length
ATR Smoothing
Candle Low/High Based Stop Loss
Candle Lookback
Percentage Based Stop Loss
Percentage
Pip Based Stop Loss
Pip
Base Risk Multiplier
Risk to Reward Ratio
Force Exiting
1 - Force exit on custom session close
force_exit_exact_time_1
2 - Force exit on custom session close
force_exit_exact_time_2
3 - Force exit on custom session close
force_exit_exact_time_3
4 - Force exit on custom session close
force_exit_exact_time_4
Base Setups
Allow Long Entries
Allow Short Entries
Order Size
order_size_type
ATR Limiter
Use ATR Limiter
ATR Limiter Length
ATR Limiter Smoothing
High Boundary
Low Boundary
MA based calculation
MA Type
MA Length
Waddah Attar Filter
Explosion/Deadzone relation
Limit trades based on trends
WA bar value
Sensitivity
Fast MA Type
Fast MA Length
Slow MA Type
Slow MA Length
Channel MA Type
BB Channel Length
BB Stdev Multiplier
Trend Filter
Use long trend filter 1
Show long trend filter 1
TF1 - MA Type
TF1 - MA Length
TF1 - MA Source
Use short trend filter 1
Show short trend filter 1
TF2 - MA Type
TF2 - MA Length
TF2 - MA Source
Volume Filter
Only enter trades where volume is higher then the volume-based MA
Volume-based MA Type
Volume-based MA Length
Date Range Limiter
Limit Between Dates
Start Date
End Date
Session Limiter
Show session plots
Use session limiter
Sidney session
Tokyo session
London session
New York session
Trading Time Limiter
Limit Trading Time
Valid Trading Days Global
limit_day1
(1) Valid Trading Days
valid_hours1
(1) Valid Trading Hours Between
limit_day2
(2) Valid Trading Days
valid_hours2
(2) Valid Trading Hours Between
limit_day3
(3) Valid Trading Days
valid_hours3
(3) Valid Trading Hours Between
PineConnector Automation
PLEASE READ TOOLTIP -->
License ID
Risk (trading volume)
Comment
All comments (0)
No data
No data
  • 1
Forums
PINE Language
Get the app
iPhone Download
© 2015 - ∞ INVENTOR PTE LTD (SG)