forex software

Create and Test Forex Strategies

forex software

eas-guide:mql-options

MQL Options

These options set the exported Expert Advisors' parameters.

You can later review or change these parameters when you attach the Expert to a MetaTrader chart.

MQL Export Options

Entry Protections

The Entry Protections can prevent the opening of a new position when activated.

  • Max spread (points) - prevent an entry if the current spread is higher than the set value. Her “point” means a change of the least significant price digit.
  • Max open positions - prevent entry if we already have such a count of open positions in this trading account.
  • Max open lots - similarly to the previous option, it prevents entry if we already have such or a higher number of open lots.

Daily Protections

These options are suitable for Prp-firm's accounts because they terminate a challenge if the account exceeds particular values.

When such protection is activated, it closes the current open positions and suspends trading until midnight.

  • Maximum daily loss (currency) - the maximum daily loss of the account measured in the Account's currency.
  • Maximum daily drawdown % - the maximum drawdown per cent for the last 24 hours.

Account Protections

The Account Protections close all open positions and suspend the algorithmic trading.

  • Minimum equity (currency) - activates when the account reaches this value.
  • Maximum equity drawdown % - activates when the curent drawdown reaches this value.
  • Maximum equity (currency) - activates when the account reaches this value. (Suibale for Prop-firms)

News Filter

Prevents the opening of new positions shortly before news and resumes trading after the news.

  • News priority - select which news can suspend our entries:
    • News filter disabled - no news can prevent new entries.
    • High news filter - only the “High” priority news can stop new entries.
    • High and medium news filter - news with “High” and “Medium” priority can prevent a new position from opening.