Type/to search

Cross-Market Overnight Position Strategy with EMA Filter

EMA
1
Follow
1781
Followers

img

This strategy is a cross-market overnight position strategy based on the EMA technical indicator, designed to capture trading opportunities before market close and after market open. The strategy achieves intelligent trading in different market environments through precise time control and technical indicator filtering.

Strategy Overview

The strategy mainly gains returns by entering at specific times before market close and exiting at specific times after the next day's market open. Combined with EMA indicators for trend confirmation, it seeks trading opportunities across multiple global markets (US, Asia, Europe). The strategy also integrates automated trading functionality for unattended operation.

Strategy Principle

  1. Time Control: Enter at fixed times before close and exit at fixed times after open based on different market trading hours
  2. EMA Filtering: Use optional EMA indicators to validate entry signals
  3. Market Selection: Support trading time adaptation for US, Asian, and European markets
  4. Weekend Protection: Force position closure before Friday's close to avoid weekend holding risks

Strategy Advantages

  1. Multi-market Adaptability: Flexible adjustment of trading times according to different market characteristics
  2. Comprehensive Risk Control: Includes weekend position closure protection mechanism
  3. High Automation Level: Supports automated trading interface integration
  4. Flexible Parameters: Customizable trading times and technical indicator parameters
  5. Trading Cost Consideration: Includes commission and slippage settings

Strategy Risks

  1. Market Volatility Risk: Overnight positions may face gap risk
  2. Time Dependency: Strategy effectiveness affected by market time period selection
  3. Technical Indicator Limitations: Single EMA indicator may show lag
    Suggestions: Set stop-loss limits, add more technical indicators for validation

Strategy Optimization Directions

  1. Add more technical indicator combinations
  2. Introduce volatility filtering mechanism
  3. Optimize entry and exit time selection
  4. Add adaptive parameter adjustment functionality
  5. Enhance risk control module

Summary

This strategy achieves a reliable overnight trading system through precise time control and technical indicator filtering. The strategy design comprehensively considers practical requirements, including multi-market adaptation, risk control, and automated trading elements, demonstrating strong practical value. Through continuous optimization and improvement, this strategy has the potential to achieve stable returns in live trading.

Source
Pine
/*backtest
start: 2019-12-23 08:00:00
end: 2024-11-11 00:00:00
period: 1d
basePeriod: 1d
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/

// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © PresentTrading

// This strategy, titled "Overnight Market Entry Strategy with EMA Filter," is designed for entering long positions shortly before 
Strategy parameters
Strategy parameters
Minutes Before Close to Enter (Optional)
Minutes After Open to Exit (Optional)
EMA Length (Optional)
EMA Timeframe (Optional)
Use EMA Filter
Select Market (Optional)
3commas Bot Settings
Email Token (Optional)
Long Bot ID (Optional)
Use this pair in PERP
Select Exchange (Optional)
Comment
All comments (0)
No data
No data
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)