• Forum
  • Market
  • Signals
  • Freelance
  • VPS
  • Quotes
  • MetaTrader
  • Articles
  • CodeBase
  • Algo Forge
  • Documentation
  • AlgoBook
  • NeuroBook
  • Calendar
  • WebTerminal
  • Tools
  • About
  • Download MetaTrader 5
ForumSections
  • Log in
  • Create an account
  • English
  • Русский
  • 中文
  • Español
  • Português
  • 日本語
  • Deutsch
  • 한국어
  • Français
  • Italiano
  • Türkçe

Multiple entry and exit condition in a single EA ?

New comment
Richard
292
Richard 2009.08.01 00:39

hello

How do you code an ma cross as and entry and exit and also have a Pivot based entry and exit or somthing similar.

The idea is to have short medium and long period entry and exits systems in a single EA.

How do you allocate the various entry and exits to the open and close order functions.

Regards


Kiwi

  • How to code?
  • Coding help
  • Time based order entry and exit (EA)
New comment
MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal
You are missing trading opportunities:
  • Free trading apps
  • Over 8,000 signals for copying
  • Economic news for exploring financial markets
Registration Log in
An error occurred
  • Log in With Google

You agree to website policy and terms of use

If you do not have an account, please register

Allow the use of cookies to log in to the MQL5.com website.

Please enable the necessary setting in your browser, otherwise you will not be able to log in.

Forgot your login/password?
  • Log in With Google
    • Online trading / WebTerminal
    • Free technical indicators and robots
    • Articles about programming and trading
    • Order trading robots on the Freelance
    • Market of Expert Advisors and applications
    • Follow forex signals
    • Low latency forex VPS
    • Traders forum
    • Trading blogs
    • Charts
    • Free widgets
    • MetaTrader 5 Trading Platform
    • MetaTrader 5 latest updates
    • News, implementations and technology
    • MetaTrader 5 User Manual
    • MQL5 language of trading strategies
    • MQL5 Cloud Network
    • MQL5 Algo Forge
    • Download MetaTrader 5
    • Install Platform
    • Uninstall Platform
    • About
    • Timeline
    • Terms and Conditions
    • Recurring Payment Agreement
    • Agency Agreement – Offer
    • Privacy and Data Protection Policy
    • Data Sources
    • Cookies Policy
    • Contacts and requests
  • MetaTrader 5
    Download MetaTrader 5 for Windows
    Download MetaTrader 5 for MacOS
    Download MetaTrader 5 for Linux
    Open MetaTrader 5 WebTerminal
    Scan to install from App Store
    Scan to install from Google Play
    Scan to install from Huawei AppGallery
    Scan to get Android APK file
    MQL5 Channels
    Scan to install from App Store
    Scan to install from Google Play
    Scan to install from Huawei AppGallery
    Scan to get Android APK file
    Economic Calendar
    Scan to install from App Store
    Scan to install from Google Play
    Scan to install from Huawei AppGallery
    Scan to get Android APK file
    Subscribe to algotrading news
    Not a broker, no real trading accounts
    35 Dodekanisou str, Germasogeia, 4043, Limassol, Cyprus
    Copyright 2000-2026, MetaQuotes Ltd