Skip to content

ForexRobotEasy/Mission

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Mission EA ReadMe

Description

This ReadMe file provides a brief overview of the Mission EA code. The Mission EA is an optimized forex trading robot that utilizes a pullback strategy to place trades. It is designed to analyze currency strength, equity drops, and correlation thresholds to open opposite pairs when necessary. The EA also offers customization options for lot size, stop loss, and take profit.

Please note that ForexRobotEasy is not the official developer of this product. We only provide sample code that can work as described in this product. To find the official developer of this product, please refer to MQL5.

For detailed reviews and trading results of this product, please visit Forex Robot Easy.

Parameters

The Mission EA is customizable with the following parameters:

  • LotSize: Trading lot size.
  • StopLoss: Initial stop loss in pips.
  • TakeProfit: Initial take profit in pips.
  • CorrelationThreshold: Correlation threshold for opening opposite pairs.
  • UseOptimization: Flag to enable optimization feature.
  • OptimizationPeriod: Optimization period in bars.
  • MaxOppositePairs: Maximum number of opposite pairs to open.

Functions

The Mission EA consists of the following functions:

OnTick()

This function is called on each tick and is responsible for checking equity drops and placing trades based on the pullback strategy.

CheckEquityDrop()

This function checks if there is an equity drop on a certain pair. You can add your own code here to analyze equity drop on a specific pair and return true if equity drops, false otherwise.

OpenOppositePairs()

This function analyzes currency strength and opens opposite pairs if necessary. You can add your own code here to analyze currency strength and open opposite pairs. The totalOppositePairs variable is incremented for each pair opened.

PlacePullbackTrades()

This function implements the pullback strategy and places trades based on the strategy. You can add your own code here to customize the pullback strategy.

OnInit()

This function is called during EA initialization and is responsible for enabling the optimization feature, initializing variables, and indicators. You can add your own code here to enable the optimization feature and initialize any necessary variables or indicators.

OnDeinit(const int reason)

This function is called during EA deinitialization and is responsible for deinitializing any necessary variables or indicators. You can add your own code here to deinitialize any necessary variables or indicators.

Mission EA Customization Functions

The Mission EA provides customization functions for setting lot size, stop loss, and take profit. You can add your own code in these functions to customize the EA further.

Disclaimer

Please note that ForexRobotEasy is not the official developer of this product. We only provide sample code that can work as described in this product. To find the official developer of this product, please refer to MQL5.

For detailed reviews and trading results of this product, please visit Forex Robot Easy.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published