Type/to search

平均価格移動に基づく取引戦略

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

img

概要

この戦略の核となる考え方は、平均価格の動きに基づいて取引シグナルを生成することです。3つの異なるパラメータ設定を持つスーパートレンド指標を組み合わせ、ATRストップロス、アンカーストップロス、パーセンテージストップロス、ポイントストップロスなど複数のストップロス方式を設定しています。

戦略の利点は、マルチスーパートレンドシステムによりシグナルの精度を高めるとともに、柔軟なストップロス設定を提供することです。

戦略の原理

  1. 3組のスーパートレンド指標を計算します:スーパートレンドラインは、ATR指標と価格平均値の積から算出されます。価格がスーパートレンドラインを上回った場合は強気シグナル、下回った場合は弱気シグナルとなります。

  2. ボリンジャーバンド指標の上限バンドと下限バンドを利用して価格のブレイクを判断します。ボリンジャーバンドの上限バンドを突破した場合は強気シグナル、下限バンドを突破した場合は弱気シグナルとなります。

  3. 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)